feat: support secret controller

Please answer these questions before submitting a pull request

Why submit this pull request?

[ ] Bugfix

[x] New feature provided

[ ] Improve performance

[ ] Backport patches

Related issues
https://github.com/apache/apisix-ingress-controller/issues/221

Codecov Report

Merging #284 (3df0132) into master (c65cc23) will increase coverage by 47.80%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           master      #284       +/-   ##
============================================
+ Coverage   52.19%   100.00%   +47.80%
============================================
  Files          33         1       -32
  Lines        2320         1     -2319
============================================
- Hits         1211         1     -1210
+ Misses        952         0      -952
+ Partials      157         0      -157

Impacted Files
Coverage Δ

pkg/ingress/apisix/tls.go

pkg/log/logger.go

pkg/log/default_logger.go

pkg/seven/conf/conf.go

pkg/kube/translation/apisix_upstream.go

pkg/apisix/nonexistentclient.go

cmd/ingress/ingress.go

pkg/types/event.go

pkg/kube/translation/apisix_route.go

pkg/kube/translation/translator.go

... and 21 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 c65cc23...3df0132. Read the comment docs.

@gxthrj PR's look good to me, but we should add more descriptions about ApisixTLS to document, both the typical usage and API references should be recorded, I think we can create an issue to do it.


impl not found

Hello! I have a problem. After choice needed interface from list, i have error:

My bad. Need install
go get -u github.com/josharian/impl

My bad. Need install
go get -u github.com/josharian/impl


[Impeller][bug] Text foreground Paint()..shader doesn't render inside scroll view

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

clone this repo https://github.com/junaid1460/flutter_impeller_gradient_shader_bug_example
run without and with --no-enable-impeller

Expected results
Should render text with gradient paint
https://github.com/flutter/flutter/assets/3303745/8e5824ad-1ceb-44cd-8c37-7f5c91dfb36a
Actual results
Rendering with no color at all
https://github.com/flutter/flutter/assets/3303745/8dda32ba-589d-44ab-900b-115385e1702d
The issue was earlier reported here https://github.com/flutter/flutter/issues/120003 but the fix looks like partial
Code sample
Code sample
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}
class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  var _showRichText = true;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: _showRichText ? SafeArea(child: _richText()) : _scrollView(),
      floatingActionButton: FloatingActionButton(
        onPressed: () => setState(() {
          _showRichText = !_showRichText;
        }),
        child: const Icon(Icons.swap_horiz_rounded),
      ),
    );
  }

  Widget _scrollView() => CustomScrollView(
        physics: BouncingScrollPhysics(parent: AlwaysScrollableScrollPhysics()),
        slivers: [
          const SliverAppBar(
            title: Text('Scroll View'),
          ),
          SliverToBoxAdapter(
              child: SingleChildScrollView(
            child: Row(
              children: [
                _richText(),
              ],
            ),
          )),
        ],
      );

  Widget _richText() => RichText(
        text: TextSpan(
          children: [
            const TextSpan(
              text: 'Hello, ',
            ),
            TextSpan(
              text: 'John',
              style: TextStyle(
                  fontWeight: FontWeight.bold,
                  foreground: Paint()
                    ..shader = const LinearGradient(
                      colors: [
                        Colors.red,
                        Colors.blue,
                      ],
                    ).createShader(
                        const Rect.fromLTWH(0.0, 0.0, 500.0, 800.0))),
            ),
          ],
          style: const TextStyle(
            fontSize: 44,
            color: Colors.black,
          ),
        ),
      );
}

Screenshots or Video

Expected (skia)
https://github.com/flutter/flutter/assets/3303745/8e5824ad-1ceb-44cd-8c37-7f5c91dfb36a

Vs Impeller
https://github.com/flutter/flutter/assets/3303745/8dda32ba-589d-44ab-900b-115385e1702d

Logs
No response
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.1, on macOS 13.1 22C65 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] Android Studio (version 2021.3)
[✓] IntelliJ IDEA Community Edition (version 2022.2.1)
[✓] VS Code (version 1.78.1)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Hi @chinmaygarde, this is used in many apps ( including ours ) to render texts with highlights, can we look into this?

Thanks for the report. Seeing the same behavior as reported.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.10.1, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.10.1 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d3d8effc68 (35 hours ago), 2023-05-16 17:59:05 -0700
    • Engine revision b4fb11214d
    • Dart version 3.0.1
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.11.0-6.0.pre.134, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.11.0-6.0.pre.134 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f31dae2a80 (5 hours ago), 2023-05-17 17:18:51 -0700
    • Engine revision d970370779
    • Dart version 3.1.0 (build 3.1.0-118.0.dev)
    • DevTools version 2.23.1
    • 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 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

xref: https://github.com/flutter/engine/pull/42142


Fixed routes json

routes should be an array - updated the docs to reflect this

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

#label:"aq-pr-triaged"

thanks, @kzhen!
#sign-off


Fix/check review_limit only if is_learn is false

fix https://github.com/ankitects/anki/issues/3654

OK, so we should make a breaking change?

This does actually fix this issue nvm.
I'm not sure its worth the breaking change, maybe if another breaking change happens we can include it then.

I tend to merge this PR and keep the breaking change in the future. What do you think of?

Sounds good


Likely RTL / post-synthesis mismatch in Vregfile

This always_latch
https://github.com/pulp-platform/spatz/blob/31d651d280fb8657780aec21c047590be12ea065/hw/ip/spatz/src/vregfile.sv#L101
introduces a very likely simulation-to-synthesis mismatch.
The vregfile is resetted in RTL simulation, but the latches are (correctly) not resetted when synthesized.
In my opinion, the resetting should be removed also from the simulation.

Solved with #6, thanks for reporting the issue!


Reuse what exists and make contributions, don't start a new project if possible

Just a quick search for XANES, https://www.ebi.ac.uk/ols/search?q=XANES shows that it's covered in a few different ontologies (CHMO or FIX)
so you can imagine just looking up terms in those, reusing their synonyms, and potentially contributing back stuff that's missing

There is also some more detail in the ExPaNDS project and the related PaNET ontology (WebVOWL link) from Alejandra's talk that contain some more specific concepts for describing the output and instrument parameters for XANES and related techniques.


Singleton with parameters

Hello,
I want to create a tree type with parameter:
@data Tree{T} begin
    Empty
    Leaf(T)
    Node(T, Tree{T}, Tree{T})
end

And then create a tree:
Tree.Node(5, Tree.Leaf(3), Tree.Empty())
but I can't get this working, the empty tree is of another type than the integer tree. How would I instantiate a Tree.Empty() which is compatible with Tree.Leaf(3). I am thinking I might be be missing some syntax but can't find examples in the documentation.
I'm using Moshi v0.3.5 and Julia v1.11.1

Okay, I think I figured the syntax. Need to specify the type for the singleton
Tree.Node(5, Tree.Leaf(3), Tree.Empty{Int64}())


Taxonomy

statics
interactive
graphic rendering device
image processing
color palette

statics and interactive graphics can be broken down into domain-specific.

GraphicsStatic

GraphicsDynamic

GraphicsPalettes

GraphicsDevices


Sep7 UI Tweaks

This addresses the majority of PICNIC-145:
[x] Rounded modal corners on desktop
[x] Delete back button on desktop
[x] BodyTiny → BodySmall
[x] Disable pay button if they haven't entered an amount yet
[ ] Scrolling
[x] Left align recipient
[x] Margins around stellar address
[x] Black stellar logo
[x] Blue highlight for pending transaction
Note the change for the last one that makes it so all pending transactions are highlighted in blue.

Note that we'll need to cherry-pick this in, see #releases

Rounded corners:

Blue highlight:

Margins and disabled pay button:

Enabled pay button:

@ddworken Thanks! Could we keep the memo/message/etc vertically aligned instead of indented?  Here's the Zeplin shot:


UML-1415 Static analysis for IaC

Purpose
Report security concerns related to IaC to team.
Fixes UML-1415
Approach

Run Tfsec as github action
Address findings

Learning
https://github.com/tfsec/tfsec
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] I have added welsh translation tags and updated translation files
[ ] I have run an accessibility tool on any pages I have made changes to and fixed any issues found
[ ] The product team have tested these changes

Next task on this PR is to force tfsec to report an error, and perhaps to remove the "only on tf changes" filter


Expand messes up selected item

Describe the bug
When the item is expanded the selected item is messed up, goes to a random one, and often is out of screen
Steps to reproduce the bug
download solution: https://1drv.ms/u/s!AohVtHaw3aCiwaE8ADrS0bbIbs6vkA?e=DaJGvn

Compile
Click on the first folder - Pictures (NOT on the expand glyph)

Expected behavior
Pictures to be expanded AND remain selected and visible
Screenshots
I just clicked on the PictureFolder and the LAST item is selected!

Version Info
Windows 10 1909 - 64bit.
App compiled debug 64bit
NuGet package version:
Microsoft.UI.Xaml 2.4.0

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

November 2019 Update (18363)
Yes

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

Additional context
Example directly from page: TreeView

This looks like the same/similar issue as #1820

in my case it does not always select the item below, it's more random


Fast roads/tracks reported as 140 km/h

Due to the way speed signs work in 10.21 and above, anything between 138 and 950 km/h will be shown as 140 km/h.
This is confusing for users, as previously (10.20 and below) they'd see the 'unlimited' sign for anything above ~130 km/h.
Example feedback from a Steam user:

Termite 3 hours ago
Why is the highest default speed limit only 140km instead of unlimited as in the stable version? I asked the same question on the labs page.

I would say, it's not a bug but feature 😄 Now it shows a little bit more real speed of road/track

Current behaviour, speeds which cannot be represented by available speed signs are mapped to 140 (or 90 mph) all the way up to 950 km/h. Anything over 950 km/h becomes unlimited.
Old behaviour in 10.20: Speeds over 130 become unlimited.
Oneline fix https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/blob/master/TLM/TLM/UI/TextureResources.cs#L261

Assuming we want to keep 140 speed as 140 sign, above what speed should we consider it unlimited? 143?

I would really miss the most beloved sign of the German Autobahn...

I'm OK to restore the previous behaviour, it is 1-line fix

Copied from the PR:

Now clicking ⬅ on 5 mph (10 km) will show 🚫 and wrap over to 90 mph (140 km)
Now clicking ➡ on 90 mph (140 km) will show 🚫 and wrap over to 5 mph (10 km)

Where 🚫 = "no limit" speed sign (eg. white circle with black stripe for German/UK signs)


How do you guys debug this?

I'm trying to add slot support for JSX templates and man has this whole ordeal triggered me. I thought the easiest way to go about it would be to duplicate the slot e2e tests from the grid.test.ts to the grid-jsx.test.ts, add some slots in the component and just run them.
I put some visitors with console.logs into script-handlers/slotHandler.js but nothing is being output. Lots of googling, this seems to be a Jest issue that they haven't fixed in two years.
So how do you guys do it? Is there a better alternative for me to test this JSX stuff on? I won't be able to change anything as long as Jest keeps fiddling with stdout.

Hmm so I've reverted to building into dist and then requiring dist/main.js, wrapping it into a small CLI script. Console logs still aren't showing though. Since we're here anyway, would you be all right with the following syntax:
        {/** @slot Use this slot header */}
        <slot name="header"></slot>

or alternatively
        {/**
           @slot Use this slot header
         */}
        <slot name="header"></slot>

And would you know what the AST node is called that starts the comment? None of the JSX visitors I set seem to run.

Ok I got it. Still a pretty clunky dev setup.


Escape node id in graphviz dot diagram

Hello, this is a really cool library. Thanks so much for creating it!
I found a small bug in the dotTemplate used to render graphviz dot diagrams; it doesn't quote node ids or escape special characters.
Could we improve support by adding quotes to the dotTemplate and escaping any quotes in the node id?
Here's an id i've got in my graph for reference: /home/folder:hello.world.
If i manually quote the strings in the generated dot diagram it works.
strict digraph {

	"/home/folder:hello.world" -> "something/else" [  weight=0 ];

}

Thanks for reporting this! Shouldn't be too hard to support nodes containing whitespaces and special characters.

@Place1 The fix has been released in v0.11.0.

Thanks so much! Amazing
On Wed, 14 Sep 2022 at 8:43 pm, Dominik Braun @.***>
wrote:

Closed #44 https://github.com/dominikbraun/graph/issues/44 as completed
via #46 https://github.com/dominikbraun/graph/pull/46.
—
Reply to this email directly, view it on GitHub
https://github.com/dominikbraun/graph/issues/44#event-7384543460, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZQDFTEQJMK7MYKQYVWFHLV6GT5FANCNFSM6AAAAAAQK5LV7Y
.
You are receiving this because you authored the thread.Message ID:
@.***>


What happened to $m-columns?

It seems the docs are no long coherent as this variable is nowhere to be found. How do you generate different columns for mobile now?

Hi @adi518,
To define different columns on mobile, you have to use the $breakpoints variable. For example, if you want to have .col-m-n-of-3 and .col-m-n-of-5 on mobile, you should define the breakpoints variable as:
$breakpoints: (
	m: (840px, (3, 5)),
)

This variable is an object, that has the breakpoint names as keys (m in this case), and ( screen-width , (col-amount-1, col-amount-2...) ), as a value. The source code has a quick explanation for each variable in the comments.
Hope this helps, and thanks for pointing out the outdated docs! I'll fix them ASAP.
Lucas


Enhance Partial Class Documentation with Real-World Example Separation Across Files.

Summary
In this PR, I have

Clarified partial class usage with examples split across multiple files to reflect real-world scenarios.
Updated Employee and Coords examples to demonstrate the recommended multi-file structure.
Added guidance within documentation to prevent confusion and enhance code readability.
Reinforced best practices for managing large classes, helping developers avoid common pitfalls and potential breaking issues.

Fixes #43217

Internal previews

📄 File
🔗 Preview link

docs/csharp/programming-guide/classes-and-structs/partial-classes-and-methods.md
docs/csharp/programming-guide/classes-and-structs/partial-classes-and-methods

Thanks @shethaadit
I'll :shipit: now.


tracking and then updating a signal in on_cleanup causes Router to rerender

Describe the bug
When using a tracked signal in on_cleanup of a page component, and then updating it from within that component for example via request_animation_frame or set_timeout then once navigation switches to a different page, the Router renders the new page twice.
Leptos Dependencies
leptos = { version = "0.5.1", features = ["nightly"] }
leptos_meta = { version = "0.5.1", features = ["nightly"] }
leptos_actix = { version = "0.5.1", optional = true }
leptos_router = { version = "0.5.1", features = ["nightly"] }

To Reproduce
Use the code below, go to the HomePage (default), then click on "Random" to switch to the other page. In the console, there will be these log messages:
RandomPage
HomePage cleanup
RandomPage

use leptos::*;
use leptos_router::*;

#[component]
pub fn App() -> impl IntoView {
    let ctx = create_rw_signal(());

    provide_context(ctx);

    view! {
        <Router>

                    "Home"
                    "Random"

                <Routes>
                    <Route path="" view=HomePage/>
                    <Route path="/random" view=RandomPage/>
                </Routes>

        </Router>
    }
}

#[component]
pub fn RandomPage() -> impl IntoView {
    logging::log!("RandomPage");
    view! {

"RandomPage"

    }
}

#[component]
pub fn HomePage() -> impl IntoView {
    let ctx = expect_context::<RwSignal<()>>();

    on_cleanup(move || {
        logging::log!("HomePage cleanup");
        ctx.track();

        request_animation_frame(move || {
            ctx.update(|_| {});
        });
    });

    ()
}

Expected behavior
Ideally, the code in on_cleanup should only be using untracked functions I guess, but this bug is very difficult to track down. I don't know why this tracking causes the Router to end up rerendering the page. It shouldn't, I think.

Uhhh interesting. So I guess it would be possible to internally untrack before running cleanups. This just adds an overhead to every on_cleanup. I don't understand why you'd ever need a tracked reactive access in an on_cleanup but I can understand it's easy to do inadvertently.
Just so I'm clear: is there a use case in which you actually want something tracked in a cleanup function, or was it tracked accidentally?

This was tracked accidentally due to https://github.com/leptos-rs/leptos/issues/1880. Probably it would be sufficient if there was some kind of diagnostic in debug mode for this case.

Sounds like a good idea.

For the sake of clarity, I checked and it doesn't rerender the Router or Routes, just the RandomPage.
It was also easy and very cheap (a single Cell access and re-set) to ensure these are never tracked; two lines of code and it seems to have fixed the example issue, so I'll just leave it there.

Ah, that's very nice. Thanks a lot! <3


Multiple lazy loaders in row not working

So i have this kind of code:

header

text

					<button class="see-more">więcej</button>

header

text

		Zobacz więcej

header.

text.

header

text

					<button class="see-more">więcej</button>

header

text

		Zobacz więcej

And few more. No matter how many of them i have, it'll only show last one.
In pevious part of document i have directive with this inside:

{{row.title}}

and it's working 100% fine. Don't think webp format is issue here. I had all on png and wasn't working anyway.
What i noticed, that lazyimg is deployed for every corrupted image but will always show src of last one.

i am having such an issue, lazy loader images are not shown anymore, it was working but now don't know what happened!

Facing the same issue

Faced the same issue
Using scope:true in this directive definition would solve the issue: https://github.com/Pentiado/angular-lazy-img/blob/7d282b52f3ebd65b955bbf7debb1a0e1494a5948/src/angular-lazy-img-directive.js#L28
That will create a new non-isolated scope.
@mich4s in your second example, the ng-repeat is creating new scopes for each directive. Thats why it's working

i have faced such an issue, and I solved it by updating angular version.

Well it was quite long, and I've made my own simple directive, but still @SiddarthaAdusumalli answer is helpful.

Can we have this updated with the scope: true so there can be multiple directives on a page?


prevent create too much connections

The default pool could create 230000 x N  connections, it will eat are the memory.

Seems not so easy! I will take a look at where does the ConcurrentHashMap come from


Need to create a new branch

Hi AS, please add me as repo owner so I can create my branch

Hi, Tao. I've sent you an invite to collaborate. Please use the link. If you have any issues, please don't hesitate to let me know.
Thanks!


'theme.js' is not included when building 'htmlhelp'

Details

Create a new sphinx doc project
run make htmlhelp

Expected Result
theme.js should be included in each .html file
Actual Result
theme.js is not included in any .html file

htmlhelp is a windows specific file format that this theme does not support.


Dartpad type error not pretty

The `
In Dartpad, I run this code:
class A	{
  final A a = null;
}

void main() {
  var x = new A();
  print(x.a.a);
}

Expected result (and what other things do):

Unhandled exception:
NoSuchMethodError: The getter 'a' was called on null.
Receiver: null
Tried calling: a
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
dart-lang/sdk#1      main (main.dart:7:13)
dart-lang/sdk#2      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:19)
dart-lang/sdk#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
Command exited with non-zero status 255

Actual result:
Uncaught TypeError: Cannot read property 'get$a' of nullError: TypeError: Cannot read property 'get$a' of null

...which is both less informative and less pretty.

Hi @vsmenon,
I'm curious what you would like us to do here, as the above code is successfully compiled by the dart compiler to JS, but the generated JS is broken, unless I miss my guess.
/cc @devoncarew if you have any clues what else we can do

@domesticmouse - I sent it this way to triage / prioritize.  The stack trace is what I'd expect from dart2js.
Some options:

Reassess after null safety - the above will fail statically.
Switch to DDC (which we're using for null safety pad) for better error messages.  It may not run as well on some devices though.
Show the stack trace / line numbers?

@sigmundch - if Dart2JS, is there any further deobfuscation DartPad could use?

...  is there any further deobfuscation DartPad could use?

Yes. Even if the stack trace is not minified, there is value in using it (both to translate error line locations, but also to translate error messages (to replace 'a' for get$a).
Happy to provide more pointers if needed.

This is now printing normally:
Error compiling to JavaScript:
Info: Compiling with sound null safety
lib/main.dart:2:15:
Error: The value 'null' can't be assigned to a variable of type 'A' because 'A' is not nullable.
 - 'A' is from 'package:dartpad_sample/main.dart' ('lib/main.dart').
  final A a = null;
              ^
Error: Compilation failed.


When a plugin has an error, console shows it's not detecting the path

Okay folks, I was trying to install a plugin I created, no matter what's the path of it, saleor kept saying it can't detect it from it's path, the path was correct, no typos, nothing.
I figured out that my plugin has an import error that VSCode didn't detect, the exception didn't propagate and the console had a message saying it's not detecting the plugin
I'm running the latest tagged version on GitHub by the time this report is made. I'm running it on WSL2 Ubuntu 20.04.1

My first guess is that the plugin importing part tries to import it and catches any error, then raises that the plugin is not available error, I'll be looking in the source code soon for furthur details about this

Closing the ticket, as plugins won't be developed anymore in new versions.


feat: allow the baseIRI to be provided

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


hi~ Will 'data-name' invalid is how is it?

Tell us about your environment

Browser and Browser Version:Google Chrome60.0.3112.90
After Effects Version:

What did you do? Please explain the steps you took before you encountered the problem.
What did you expect to happen?
What actually happened? Please include as much relevant detail as possible.
Please provide a download link to the After Effects file that demonstrates the problem.

Hi, not sure I understand the issue.
Can you elaborate on it?

Required
. a class called "bodymovin" . a "data-animation-path" attribute with relative path to the data.json
Optional
. a "data-anim-loop" attribute . a "data-name" attribute to specify a name to target play controls specifically
Is there any example of this format?
"data-name" is not quite clear.
thanks!


Add Special therapy page

I wish to add the special therapy page on the website. But the UI, and design, I am not completely sure of. It would be great if you could help me in that process, Once I get the UI, I can continue with the page formation. Can I also contribute it under hacktoberfest'22?

Hello! I want to contribute on this issue. Could you assign this to me?

@zugzwang03 Special therapy is something like real-time interaction thing which one may use it. For example, we can make a chatbot or a system where users can use it to express his/her feelings and chat to reduce his/her stress

Okay, then probably I can't make it now. I need to lean a lot of things before that.

I can help with this feature!

Hello @joshl26 Would you like take it up?

@Susmita-Dey Yes thank you, I would love to help!


Request to add Letterboxd to social networks

Love the theme--it would be awesome if Letterboxd (http://letterboxd.com) was included in the social list for film-buffs. Otherwise, I give minima five bags of popcorn. Cheers!

Thanks for the suggestion, but we can't list all social networks out there, so we'll limit ourselves to the most commonly used.
Feel free to override the social include in your repo.


Encode hashes correctly in proxied requests

This is a very disgusting fix, but it works. Fixes https://github.com/matrix-org/pantalaimon/issues/21

Codecov Report

Merging #24 into master will increase coverage by 0.02%.
The diff coverage is 50%.

@@           Coverage Diff            @@
##           master    #24      +/-   ##
========================================
+ Coverage   23.97%    24%   +0.02%
========================================
  Files          10     10
  Lines        2181   2183       +2
========================================
+ Hits          523    524       +1
- Misses       1658   1659       +1

Impacted Files
Coverage Δ

pantalaimon/daemon.py
27.29% <50%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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


[Proposition] Add border for items with quality

Like:
Show
Quality > 0
SetBorderColor 0 255 218
On the beginning will be very good to catch that items and make quality shards to improve our items

This seems easy enough to warrant a PR written by yourself @JakubSzczepek

done


Make the integration tests work on OSX

When I run make test, all the docker-based tests fail because the 172.* does not resolve. I think this is the difference between OSX and Linux when it comes to docker networking. I think it would be better to expose the ports on the host machine and use <IP_ADDRESS> instead as this should also run on Linux.
running 3 tests
test tests::gcs_exists has been running for over 60 seconds
test tests::gcs_read has been running for over 60 seconds
test tests::gcs_write has been running for over 60 seconds
test tests::gcs_exists ... FAILED
test tests::gcs_read ... FAILED
test tests::gcs_write ... FAILED

failures:

---- tests::gcs_exists stdout ----
thread 'tests::gcs_exists' panicked at crates/iceberg/tests/file_io_gcs_test.rs:67:14:
called `Result::unwrap()` on an `Err` value: error sending request for url (http://<IP_ADDRESS>:4443/storage/v1/b)

Caused by:
    0: client error (Connect)
    1: tcp connect error: Operation timed out (os error 60)
    2: Operation timed out (os error 60)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- tests::gcs_read stdout ----
thread 'tests::gcs_read' panicked at crates/iceberg/tests/file_io_gcs_test.rs:67:14:
called `Result::unwrap()` on an `Err` value: error sending request for url (http://<IP_ADDRESS>:4443/storage/v1/b)

Caused by:
    0: client error (Connect)
    1: tcp connect error: Operation timed out (os error 60)
    2: Operation timed out (os error 60)

---- tests::gcs_write stdout ----
thread 'tests::gcs_write' panicked at crates/iceberg/tests/file_io_gcs_test.rs:67:14:
called `Result::unwrap()` on an `Err` value: error sending request for url (http://<IP_ADDRESS>:4443/storage/v1/b)

Caused by:
    0: client error (Connect)
    1: tcp connect error: Operation timed out (os error 60)
    2: Operation timed out (os error 60)

I'm using native docker, I might give orbstack a go then. I know that @c-thiel is using Podmon, so maybe we should make the docker bin configurable.


Building a TypeScript Syntax Tree with source from another language (F#)

Hi there! Since TypeScript is getting more and more wonderful features like tuples or union types, I wonder if it makes sense to retarget a project like FunScript (F# to JS compiler) to TypeScript and leverage all its power. @ctaggart suggested we could use the improved compiler services to create an AST directly instead of generating TS code.
From the repository I can see there's still some work to be done with the compiler services. But if you have time, I'd like to make a couple of questions to know what to expect of the upcoming version.

Do you plan to provide some documentation/tutorials for the compiler services? If not possible, will the compiler API be close enough to Roslyn to use this knowledge when working with it?
Do you think it will be feasible to build a TypeScript AST directly with the info from another language (F# in this case, with many similarities)? Or will it be better to generate the TypeScript code directly?

Thanks a lot in advance!

I got the ball rolling with TypeScript 1.4 AST from Node.js.

Now I'm trying to generate TypeScript files and actively working on this right now for work. I posted this as a question on StackOverflow:
How do I use TypeScript 1.4 API to write a .ts file?
Am I on the right track? What do I need to do to have it populate the .text properties?
///<reference path='../TypeScript/built/local/typescript.d.ts' />

import ts = require('typescript');

export function main() {
    var m = <ts.ModuleDeclaration>ts.createNode(ts.SyntaxKind.ModuleDeclaration);
    var nm = <ts.Identifier>ts.createNode(ts.SyntaxKind.Identifier);
    nm.text = "Blah"
    m.name = nm;

    var sf = <ts.SourceFile>ts.createNode(ts.SyntaxKind.SourceFile);
    sf.statements = <ts.NodeArray<ts.ModuleElement>>[m];

    console.log("file: "+sf.text); // sf.text is undefined :(
}

main();

Hey guys, we have some documentation in flux here.
I've spoken with others on the team; there are difficulties associated with dynamically creating an AST and using our emitters. For one thing, there are times in which we look back at the source text for certain operations, so you need to have a valid TypeScript corpus to base some checking/emit off of. I don't think an AST-to-AST transformation is going to work as ideally as it could.
It honestly may be better to do a straight TS emit if what you're looking for is definition file emit, if you're looking to use it as a verification pass for an intermediate language, or if you're looking to take advantage of our downlevel emit functionality.

suggestion: putting the wiki in a repo of MD files would help with people updating and sending PRs

The basic building block of the Abstract Syntax Tree (AST). In general node represent non-terminals in the language grammar; some terminals are kept in the tree such as identifiers and literals.

Just curious which terminals are excluded? Perhaps comments. I haven't reviewed the grammer (I know its in the specification).

@basarat Wiki suggestion isn't a bad idea, we'll consider it.
Terminals which have useful textual content are kept. So for instance, anything that has a .text property will have that. Off the top of my head, I can think of

SyntaxKind

NumericLiteral

StringLiteral

TemplateHeadLiteral

TemplateMiddleLiteral

TemplateTailLiteral

Identifier

NoSubstitutionTemplateLiteral

If you need tokens beyond those on any given Node, they can be "rehydrated" on demand using the sourcetext by calling getChildren().

@DanielRosenwasser Thanks for the documentation!
My current attempt is failing with a Error: Object #<SourceFileObject> has no method 'getSyntacticDiagnostics'. My guess is that I need to create the SourceFile some other way or do some more processing to it. Any ideas?
https://github.com/ctaggart/TsAst/blob/c6db6f6b5d35cae81e2cb037280bb2914ab403ab/app.ts
///<reference path='../TypeScript/built/local/typescript.d.ts' />
import ts = require('typescript');

// https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API

function compile(sourceFile: ts.SourceFile) {
    var outputs = [];
    var compilerOptions: ts.CompilerOptions = {
        noImplicitAny: true, noEmitOnError: true,
        target: ts.ScriptTarget.Latest, module: ts.ModuleKind.CommonJS
    };
    var defaultCompilerHost = ts.createCompilerHost(compilerOptions);
    var compilerHost: ts.CompilerHost = {
        getSourceFile: function (filename, languageVersion, onError) {
            console.log("getSourcefile: " + filename);
            if (filename === "file.ts")
                //return ts.createSourceFile(filename, contents, compilerOptions.target);
                return sourceFile;
            return defaultCompilerHost.getSourceFile(filename, languageVersion, onError);
        },
        writeFile: function (name, text, writeByteOrderMark) {
            outputs.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark });
        },
        getDefaultLibFilename: defaultCompilerHost.getDefaultLibFilename,
        useCaseSensitiveFileNames: defaultCompilerHost.useCaseSensitiveFileNames,
        getCanonicalFileName: defaultCompilerHost.getCanonicalFileName,
        getCurrentDirectory: defaultCompilerHost.getCurrentDirectory,
        getNewLine: defaultCompilerHost.getNewLine
    };
    var program = ts.createProgram(["file.ts"], compilerOptions, compilerHost);
    var errors = program.getDiagnostics();
    if (!errors.length) {
        var checker = program.getTypeChecker(true);
        errors = checker.getDiagnostics();
        program.emitFiles();
    }
    return {
        outputs: outputs,
        errors: errors.map( e => e.file.filename + "(" + e.file.getLineAndCharacterFromPosition(e.start).line + "): " + e.messageText )
    };
}

export function main() {
    var m = <ts.ModuleDeclaration>ts.createNode(ts.SyntaxKind.ModuleDeclaration);
    var nm = <ts.Identifier>ts.createNode(ts.SyntaxKind.Identifier);
    nm.text = "Blah"
    m.name = nm;

    var sf = <ts.SourceFile>ts.createNode(ts.SyntaxKind.SourceFile);
    //sf.statements = <ts.NodeArray<ts.ModuleElement>>[m];

    var result = compile(sf);
    console.log(JSON.stringify(result));
}

main();

SourceFiles are a bit more involved than other Nodes because they are created in the createSourceFile function in parser.ts rather than simply with createNode.

Thanks a lot for the documentation @DanielRosenwasser and for the work on the compiler services. They're looking great! Understood about emitting source files instead of building an AST directly. In any case, understanding the AST makes it easier to build an emitter and we can still use the compiler API to parse d.ts files for interacting with JS libraries in a type-safe way from F#.
Thanks again! I'm closing the issue now. Please reopen it if necessary.

Ah, understood - that's a use case I hadn't yet realized. Please feel free to ask us any further questions about it.

For future travelers, @DanielRosenwasser just added this example on how to build a source string from a synthetic AST: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#creating-and-printing-a-typescript-ast


policy: From clauses are not combined correctly

The following NetworkPolicy is not converted correctly:

The list of from clauses are combined with an AND instead of an OR

apiVersion: extensions/v1beta1
kind: NetworkPolicy
metadata:
  name: foo
spec:
  egress:
  - {}
  ingress:
  - from:
    - ipBlock:
        cidr: <IP_ADDRESS>/26
    - ipBlock:
        cidr: <IP_ADDRESS>/26
    - namespaceSelector:
        matchLabels:
          name: blah
  podSelector: {}
  policyTypes:
  - Ingress
  - Egress

How to reproduce:

Load the above policy with kubectl apply -f and check Cilium logs. It will contain a complaint that it can't be loaded correctly

Function parsing a NetworkPolicy and returning generic policy rules:
func ParseNetworkPolicy(np *networkingv1.NetworkPolicy) (api.Rules, error) {


How to preserve long lines when running Matlab?

Looking for an alternative to 5ed01dad7fc7c69a05f03b84b4900ca9ebc96f6f.
I understand that the command window width can be queried using get(0, 'CommandWindowSize'), but there doesn't seem to be a way to change it. I also tried to set the COLUMNS environment variable (before starting Matlab), but it does not appear to be used.
Moreover, the default width when running Matlab from the command line seems to be equal to the width of the terminal, so fixing all doctests to some default width (as we had discussed in #96) also does not seem to be a viable alternative.
Unless you guys have a better idea I'll mark this as "upstream-bug" and "will-not-fix".

I found a gui option: "set matrix display width to eighty columns", which would probably be better than current terminal width.  Maybe its accessible via java?

I couldn't find programmatic access to this option (also am not sure if it
is used when Matlab is run from the command line). :-/
On Sun, Jul 12, 2015 at 23:09 Colin Macdonald<EMAIL_ADDRESS>wrote:

I found a gui option: "set matrix display width to eighty columns", which
would probably be better than current terminal width. Maybe its accessible
via java?
—
Reply to this email directly or view it on GitHub
https://github.com/catch22/octave-doctest/issues/108#issuecomment-120762450
.


End tag removed when option tag found in html

when i view full html it looks like  end tag removed

currently using HtmlAgilityPack.dll with version <IP_ADDRESS>

Hello @ankit1985 ,
Do you think you could provide a project sample with this issue?
It will help my developer investigate the issue more efficiently.
We now always ask for a project sample even if the issue is easy to reproduce. As a free product, we must find some way to save time to offer an overall better experience for everyone and release fixes faster.
You can send it to<EMAIL_ADDRESS>if you need to keep the source private
Best Regards,
Jonathan

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus •  LinqToSql Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

As this issue is part to corporate project i will not able provide project here. but i will make another sample project and submit asap. @JonathanMagnan

Hello @ankit1985 ,
Did you succeed to make your project?

Hello @ankit1985 ,
This issue will be closed but we will re-open it if you succeed to provide a project.
Best Regards,
Jonathan


Make use of Mixpanel People analytics

See https://mixpanel.com/people/.
We can register users as "people", so we can start making use of the "People" menu in the Mixpanel dashboard to track usage of specific users.

Closing stale issues


Destroy-option defaults to true instead of false

Hi,
I was wondering where the keyfiles went, because the documentation says:
destroy, destroy the key files once they have been read, defaults false
but in ssh-keygen.js in line #102 destroy defaults to true:
if(_.isUndefined(opts.destroy)) opts.destroy = true;
Please change either the documentation or the readme.
Thanks, Gerald

Sorry about the issue! PR would be accepted for this

Actually there are already two pending PRs (#7 and #8)  who fix the issue ;)

Fix released in 0.4.0


runtime error

I used swd to batch download 176 addons from the workshop, with a wait of 10 seconds between downloads.
Only 100 addons were successfully downloaded, 76 gave this error.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x96b9d2]

goroutine 1 [running]:
main.main()
        C:/Users/SegoCode/Documents/GitHub/swd/swd.go:96 +0x132

it was running via exe file from the releases.

Hi,
That error appears when there is a connection problem, something has happened when trying to connect to github server or steamworkshopdownloader.io... i need to catch nil err in future versions...
I've tested and it seems to be working fine, maybe it's a 429 Too Many Requests to the github server to check the version or steamworkshopdownloader.io if you're running it in some kind of loop. or firewall problems, or internet problems
In future versions I will make it more verbose, to show the errors cool.

btw please add more supported params - like --downloadFormat gmaextract
this would be very useful for some games, for example, for the Garrys mod, such a payload makes the steamworkshopdownloader.io automatically unpack the .gma
{"publishedFileId":282498239,"collectionId":null,"hidden":false,"downloadFormat":"gmaextract","autodownload":false}

i use luvit for batch downloading download.lua.txt its just a 2 min script, i wanted to download all the addons I subscribed to - without spending a lot of time developing a tool for this :)

I think the problem is github version check, break when you do many request without token, i make it optional

New release probably fix the issue


feat(input): add focus function on host element

Added focus() function to the component.
Clicking anywhere on the host it will focus the input.

@jean-merelis you've got some lint errors on CI


SQL Server standalone is also supported. Is not mandatory to have AlwaysOn setup as per documentation above

The following line should be modified from:
Microsoft SQL Server 2016 (64-bit edition), and you must run with the latest updates, and with AlwaysOn availability groups.
To:
Microsoft SQL Server 2016 (64-bit edition), and you must run with the latest updates
This has been confirmed by PM

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cd40e9bf-6fb5-b597-5494-b9ccc17e4660
Version Independent ID: 46d0d0a0-2ea9-efbd-1ef8-63686f7fef62
Content: System requirements for Skype for Business Server 2019
Content Source: Skype/SfBServer2019/plan/system-requirements.md
Product: skype-for-business-itpro
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

@joaolloureiro Thank you for this feedback
I will get this suggestion over to the Skype for Business writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

I will take this one @AndreaBarr


HMAC?

HMAC support for sha3?

@bramski As far as I know, there isn't an 'official' HMAC construction using SHA3 (or test vectors). But, I'll take a look to see if there has been movement on that front.

Possible HMAC SHA3 construction here http://www.di-mgt.com.au/hmac_sha3_testvectors.html


Optimize Serializer for type-aliased blob fields

Reduce number of calls to BondTypeAliasConverter.Convert methods
for type-aliased blobs fields.

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

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

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


Does harbor support HA or cluster architecture to distribute pull pressure?

Find nothing about this.

@moooofly
Harbor HA architecture is on the way. Still need a little time for the work.

All the HA related design and discussion can be find in the follow Epic and related sub tasks.
https://github.com/vmware/harbor/issues/3197


Broken

I deployed this myself and i get this error when trying to get a screenshot: The server encountered an error. You may have inputted an invalid query.
And my vercel logs give me this error:
Error: Failed to launch the browser process!
/tmp/chromium: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

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

    at onClose (/var/task/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:229:20)
    at Interface.<anonymous> (/var/task/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:219:68)
    at Interface.emit (node:events:529:35)
    at Interface.close (node:internal/readline/interface:534:10)
    at Socket.onend (node:internal/readline/interface:260:10)
    at Socket.emit (node:events:529:35)
    at endReadableNT (node:internal/streams/readable:1368:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

I have same issue. The problem is newest Node version on Vercel.
I dont know how to fix it.


Snackbar

Are there any plans or active development for a Snackbar (https://www.google.com/design/spec/components/snackbars-toasts.html) and a Stepper (https://www.google.com/design/spec/components/steppers.html)? Otherwise I am going to implement them the next weekends.

Yeah, trying to work through all of the guidelines, I'll  probably hit snack bars first.

I start to implement a Snackback these days.

Is there any schedule for version 2.1.0? It would be nice to have a rough time frame for the next implementation steps.
It's a little bit tricky to implement all of the details of the Stepper specs. However I already have a partially working vertical Stepper on my development branch. I'll continue it the next days.

I will start looking at this again shortly; I have some personal work which will utilise it so should go into 2.2

(renamed to Snackbar to account for that's what's going into 2.2)

Final proposed API now on snackbar branch, in this PR: https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/pull/524
And also detailed in wiki: https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/wiki/Snackbar

The current implementation works well. However I did not find a detail in the behaviour yet: Does new content interrupt an already visible Snackbar? I mean that a visible Snackbar hides immediatelly so the new content can be shown. At the moment I think that this needs another implementation of the queue interface.

If you use the queue, then it is just that; queued.  If you affect the .Content directly then it act as as any other content control.

@spiegelp yes...regarding the interruptions; I agree.  I was playing swiping through some Google Inbox messages the other day and you get the immediate snackbar.
I'm internally debating the API.  Either replacing bool neverConsiderToBeDuplicate with some sort of Enum, or add a whole new  Now(. . .) type of method (I've never been comfortable with other pump's Send/Post semantics; too confusing).
Any thoughts?

I was thinking of a new class inheriting from ISnackbarMessageQueue (something like SnackbarSwapper). Enqueue() will not add the content to a queue. It will replace a visible content directly (like the experimental and deleted SnackbarHost did). Although the method name does not describe the behaviour. That is the easy "let inherit and do it differently" way.
In my current imagination I am not happy with Now(). The behaviour of Now() will be in conflict with Enqueue() in SnackbarMessageQueue. Certain parts of the controller logic contradict inside the controller. I am afraid of the neccessary state management to prevent side effects. Usually a user does exactly what he is not supposed to do. So I would consider this approach as last fallback.
Are you thinking of the Enum as some kind of switch for different behaviour inside one class (enqueue, replace, ...)? That might be an interesting approach. ISnackbarMessageQueue could change to an ISnackbarController with a method Add(). The method will act according to enum SnackbarMode or maybe delegates the work to specific internal classes.
These are some thoughts on possible approaches. Sometimes you only see resulting problems of an idea if you write code. A short anecdote: This year, a two week task took me three months to implement. Our customers did not consider the side effects on several related processes that we found during coding. They were surprised of hearing about them and they had a hard time to decide how to move on. So I cannot guarantee that my current opinion will be a great solution before trying it.
Maybe I confirmed your preference or I did the opposite.

Renamed last param to "promote".  This opens it up so I can tweak the delay on promoted items in the future.


robot.adapter.callMethod is not a function

I'm trying to implement a bot that updates messages as suggested in #126.
However, something seems to have changed since then since I'm unable to use robot.adapter.callMethod as it results in an error message in the log: TypeError: robot.adapter.callMethod is not a function
RocketChat version: 0.64.0
Full test script:
module.exports = function(robot) {
    robot.respond(/test/i, function(msg) {
        robot.adapter.callMethod(
            'updateMessage',
            {
                _id: msg.message.id,
                rid: msg.message.room,
                msg: 'bla'
            }
        );
    });
};

Relevant log lines:
Loaded test.js
Exception in callback of async function: TypeError: robot.adapter.callMethod is not a function
    at /hubot/scripts/test.js:3:23
    at runWithEnvironment (packages/meteor.js:1238:24)
    at packages/meteor.js:1251:14
    at runWithEnvironment (packages/meteor.js:1238:24)

Apparently the problem is that the RC internal hubot doesn't use this adapter but rather another less functional one...
I'll close this issue and have opened RocketChat/Rocket.Chat#10646 instead


Cask 'brew-cask' is unavailable: '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/Casks/brew-cask.rb' does not exist.

DavidtekiMacBook-Air:~ du$ brew install caskroom/cask/brew-cask
==> Tapping caskroom/cask
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3797, done.
remote: Compressing objects: 100% (3771/3771), done.
remote: Total 3797 (delta 42), reused 516 (delta 22), pack-reused 0
Receiving objects: 100% (3797/3797), 1.29 MiB | 60 KiB/s, done.
Resolving deltas: 100% (42/42), done.
Tapped 0 formulae (3,804 files, 4MB)
==> brew cask install caskroom/cask/brew-cask
==> Creating Caskroom at /usr/local/Caskroom
==> We'll set permissions properly so we won't need sudo in the future
Password:
Error: Cask 'brew-cask' is unavailable: '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/Casks/brew-cask.rb' does not exist.
Error: Install incomplete.

You don't need to brew install caskroom/cask/brew-cask

https://github.com/caskroom/homebrew-cask#lets-try-it
To start using Homebrew-Cask, you just need Homebrew installed.

Try brew cask install atom

@commitay   I already installed the Homebrew,  now  I  want to install the "brew cask" , so I  used the
brew install caskroom/cask/brew-cask.      I think brew cask install atom is used to install the "atom".  Perhaps the "brew cask" does not need to install?

Perhaps the "brew cask" does not need to install?

Correct, "brew cask" does not need to be installed. Just run any brew cask command.

@commitay Thanks.^_^


Automl Refactor

Merging AUTOML branch into master
Canonical samples
Java
Python

Mike, I won't get to these before Monday.

Mike, I won't get to these before Monday.

Mike, I won't get to these before Monday.

Okay, I will try to find someone else if not I will wait :)

Sorry, I definitely won't be able to look at it either.

Sorry, I definitely won't be able to look at it either.

No worries, I will wait until Monday then

Let me know when this is ready for review.
Also, it seems that this branch is now outdated, you'll need to rebase locally and fix the conflicts before merging.
Let me know if you need help with that.

Thanks Amanda, I will wait for AutoML API team

Mike you need to rebase this PR onto upstream/master so that only your changes are part of the commit history. Ping me later if you need to.

Mike you need to rebase this PR onto upstream/master so that only your changes are part of the commit history. Ping me later if you need to.

Successfully rebased and updated refs/heads/automl-cleanup.

Can this one be closed? As long as you keep your branch, you shouldn't loose any code.

Yes it can be closed.
On Wed, May 6, 2020 at 2:35 AM Amanda Tarafa Mas<EMAIL_ADDRESS>wrote:

Can this one be closed? As long as you keep your branch, you shouldn't
loose any code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/dotnet-docs-samples/pull/921#issuecomment-624542856,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK2FOZESQ533QMQ6GVAKMH3RQEVMHANCNFSM4JZVLMFA
.


python311Packages.zulip: 0.8.2 -> 0.9.0

Description of changes
Diff: https://github.com/zulip/python-zulip-api/compare/0.8.2...0.9.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

@ofborg eval

@ofborg eval


能否提供更复杂的cmake例子？

目前hello-world的cmake太简单了，能否提供更复杂的例子，比如自动搜索源文件构建工程等

Your Mandarin is too advanced for me! :-) After applying machine translation...
Thanks for your suggestion.

This tutorial serves as a very basic-level guide to using CMake together with the IAR C/C++ compilers to cross-compile embedded software applications for the supported target architectures.

The "hello-world" was added exactly for the opposite reason you are now suggesting. Earlier, the provided examples were not so clear about what a "minimal" project would be.
In the end, it is an open-ended tutorial, and our aim is not to go too deep into all options CMake offers. That would be for the CMake's official documentation (and books). If you are already aware of FILE_GLOB possibilities and wants use that on your own projects, please be aware of the consequences. FILE_GLOB for blindly adds sources to a target, the CMake developers themselves advocate against its use as it will, in the best case, hide dependencies if not worse. It is explained in the documentation's first note.
Please also consider Effective Modern CMake, a collection of hints and best practices for your projects.

ok, thk


Need to click submit button twice in "Invite user" modal with validation error

Issue Summary
If you have a validation error when inviting a user (through the team page) and then correct the email the first time you click on the "Send Invite" button the validation is cleared but the invite is not sent.
Steps to Reproduce

Visit the Team page
Click "Invite People" button
Enter an invalid email address, e.g. "foo"
Click "Send" - note the inline validation
Enter a valid email address, e.g<EMAIL_ADDRESS>Click "Send"
Note the inline validation message disappears but the invite hasn't been sent
Click "Send" again - invite is actually sent this time

I would expect the invite to be sent on the first button press when a valid e-mail address is present.
Technical details:

Ghost Version: master && LTS?

@kevinansfield so, I did some testing, looks like the reason it doesn't take your click is because the focus out event happens first, which moves the button upwards and then the click didn't technically happen on the button. If you click at the very top of the button this works.
I see two ways to solve this, either remove the on focus out event and just have it validate on click (this would also solve a problem where when you close the modal, you see a flash of the error), or we give that error permanent space so the invite button never moves.
I can do either of those or something else if you have a better solution.
What are your thoughts?

Hi, i would like to work on this issue as my first PR, is anybody working on it ?

@Avasse there is an old implementation attempt here https://github.com/TryGhost/Ghost-Admin/pull/170 however it would be preferable to find a solution that did not rely on a timeout.

Can't reproduce this issue. I think its fixed, can we close this issue?

@kevinansfield https://github.com/TryGhost/Ghost-Admin/pull/1020 was merged, can this be closed?

We're dropping LTS support on 31st December. The only fixes that will happen between now and then are any major security issues. Closing this as wontfix.


Feature/68 duplicated projects

Include

Adding logic for fixing duplicated projects in the list
Fixing dependabot pointing badge
Adding TODO for upgrade constants
Adding general error info logging in the console
Adding TODO for remove output folder after usage on the deploy
Adding TODO for delete custom table logic

Screenshots or GIF

Clean code +1

thanks, can you approve it? Or do you want a change on this PR?


Feature/99 create raylib related ecs components

Codecov Report

Merging #104 (3f4064b) into master (5017897) will decrease coverage by 2.60%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
- Coverage   24.28%   21.67%   -2.61%
==========================================
  Files          67       83      +16
  Lines        1186     1310     +124
  Branches      412      476      +64
==========================================
- Hits          288      284       -4
- Misses        783      901     +118
- Partials      115      125      +10

Impacted Files
Coverage Δ

src/game/components/Animation.hpp
0.00% <0.00%> (ø)

src/game/components/Color.hpp
0.00% <0.00%> (ø)

src/game/components/Model.hpp
0.00% <0.00%> (ø)

src/game/components/Position.hpp
0.00% <0.00%> (ø)

src/game/components/RotationAngle.hpp
0.00% <0.00%> (ø)

src/game/components/RotationAxis.hpp
0.00% <0.00%> (ø)

src/game/components/Scale.hpp
0.00% <0.00%> (ø)

src/game/systems/Animation.hpp
0.00% <0.00%> (ø)

src/game/systems/Model.hpp
0.00% <0.00%> (ø)

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

... and 16 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 5017897...3f4064b. Read the comment docs.


Option to swipe only to n number of slides (1 by default)

First, I would like to say thank you, @davidcetinkaya , for this wonderful implementation of carousel!
I really liked it!
Feature request is related to

[x] The Embla Carousel core (all versions)

I am trying to use Embla for navigation through slides, and it works great from the box! But I could not find option or example, how to constraint number of slides, when swipe (or pointer move) is faster then regular one. When swipe (or pointer move) is fast, Embla spins through undetermined number of slides, depending on speed of move. In my case, I just need it to go to only next slide.
I am sure, there are some ways to implement this feature, using existing Embla API + some custom code. But, may be, it would be much more effective to add such an option to the Embla library ?
Thanks, David!

Hi Sergey (@bannndi),
Thank you for your feature request. I think this is more or less related to/duplicate of issue #38. I'm intending to re-open issue #38 because it seems like it's getting traction and has been requested a couple of times now.
Would an implementation of issue #38 fulfill your needs?
Kindly,
David

Hi @davidcetinkaya !
I hope so. I will try to explain how I am trying to use Embla. I fetch from REST a number of items (future slides), say 5.
Then user must go through all slides one-by-one, no skipping, and on each slide make a decision action (like or skip).
It perfectly works with buttons in your examples, and may be, my use case can be solved by passing custom handler (instead of swiping) with call of emblaApi.scrollPrev() or emblaApi.scrollNext() ?

Hi @bannndi,
Thanks for explaining more in detail.

and may be, my use case can be solved by passing custom handler (instead of swiping)

I'm not sure what the suggestion here is? Is it ok to disable dragging or what do you have in mind?
Kindly,
David

I'm not sure what the suggestion here is? Is it acceptable for your use case to disable dragging or am I misunderstanding you?

My suggestion is may there is a way to call  scrollPrev/scrollNext when making drag/swipe (current behavior) ? So that click on button next/prev and drag/swipe were identical.

Hi again Sergey (@bannndi),
Thanks for clarifying. I see what you mean now. I’ll see if there’s an easy way to achieve this that can help you achieve what you want, without having to wait for a new feature to be implemented.
As you can see [here](https://github.com/davidcetinkaya/embla-carousel/blob/master/src/vanilla/components/dragHandler.ts, there’s quite a lot to consider when creating solid drag handlers, everything from locking page scroll while dragging to not reacting to the right mouse button and so on.
I’ll let you know when when I have tried solving this. Are you using the vanilla JavaScript or React version of Embla?
Best,
David

Hi David !
Thank you!
I am using React version.

Hi Sergey (@bannndi),
Is this the behavior you're looking for?
https://user-images.githubusercontent.com/11529148/112989186-ed5d3d80-9164-11eb-8b7f-f0b9a10ed613.mp4
Kindly,
David

Hello Sergey (@bannndi),
Thanks for clarifying. In that case, you can pass 2 slides at a time to the carousel component, and reset the carousel when changing slides:

Pass the 2 initial slides to the carousel component.
As soon as the user is done answering whatever questions inside these two slides, pass the next 2 slides.
Reset Embla so it picks up the new slides with a useEffect like demonstrated below.

import React, { useEffect } from 'react'
import { useEmblaCarousel } from 'embla-carousel/react'

export const EmblaCarousel = ({ slides }) => {
  const [emblaRef, emblaApi] = useEmblaCarousel()

  useEffect(() => {
    if (emblaApi) {
      emblaApi.reInit() // This will reset Embla as soon as the slides prop changes
    }
  }, [
  emblaApi,
  slides // Passing slides here will trigger this as soon as the slides prop changes
])

  return (

        {slides.map((slide, index) => (

{slide}

        ))}

  )
}

This approach should be what you're looking for. But I don't think this is a feature that should be added to the Embla Carousel core. The reason for this is that the embla.reInit() method already offers a way to reset the carousel. I hope this makes sense.
Best,
David

Hello David (@davidcetinkaya),
I think that should work. Closing.
Thank you!

Hi David! (@davidcetinkaya)
Tried many variants based on suggested gist of yours, didn't work for me.. I could make work passing 2 or 3 slides to Carousel (slice of items array, based on index in store), and this worked good. But, as I could judge, reInit method worked not always consistent and predictive in my case. I tried it with and without options.startIndex = 1. Tried to reInit in the start or in the end of on.settle handler. One part of my code was useEffect, which created one on.settle (with or without on.select) listener, in which I updated index of currently used slide of the whole array of items. Based on this index, I sliced this array to get prev?, curr, next? items. This was the whole point, - to restrict carousel with a minimum of items, and re-slice array every time, when on.settle (or on.select) fires, and updates store.index. So that swipe/drag with any speed always changed to only the prev or next slide.
I thought I could use methods emblaApi.previousScrollSnap()/emblaApi.selectedScrollSnap() to figure out in which direction swipe/drag was made, to calculate next store.index. Intent was to store their results to local state, and then use it in on.settle.
In particular, methods emblaApi.previousScrollSnap()/emblaApi.selectedScrollSnap(), I called in on.settle, they returned strange results.
Also, I tried to use on.select, with no luck - handler was called unpredictibly, not when some slide was selected, but sometimes when there was no slides after the last one, and sometimes correctly.
Of course, I could miss something.
Will try some another strategy for now, and if it will work, I'll post result.

David (@davidcetinkaya ),
May be there is a way to disable or override core swipe/drag events ?
If so, I could try to use emblaApi scrollPrev()/scrollNext() methods in my custom events, so that current core behavior of swipes/dragging was completely replaced by result of calling these 2 methods.

Hi Sergey (@bannndi),

May be there is a way to disable or override core swipe/drag events?

You can disable drag events by setting the draggable option to false:
 const [emblaRef, emblaApi] = useEmblaCarousel({ draggable: false })

I hope it helps.
Best,
David

Hi David! (@davidcetinkaya)
Thanks, will try.


Updates instruction for windows.

This PR updates the instruction to manually start the browser and then access the Oppia localhost.
Referred issue: https://github.com/oppia/oppia/issues/15952

To fix oppia/oppia#15952, I think we need to change the start.py code, not the docs. See https://github.com/oppia/oppia/issues/15952#issuecomment-1380520464

Merging since @gp201's comments have been addressed


Migrating instrumention test to robot test pattern

Reference

AboutScreenTest.kt
https://github.com/android/nowinandroid/pull/402
UI Testing in Android — The Robot Pattern

포기
#400


include mdx and demo blog post

Include mdx library
demo of blog post using mdx at http://localhost:3000/blog

@psugihara this is rendering but all styles are reset probably by one of the style libraries you included.  Can you show me what is doing that or what other things should be included on the page?
Todo:

@psugihara for future, do we want dynamic routing for blog posts instead of adding each to pages-manifest.json?

@psugihara for future, do we want dynamic routing for blog posts instead of adding each to pages-manifest.json?

I don't think we need dynamic routing... we can just drop the posts in that directory with the slug as filename.

@psugihara Why are the netlify builds failing?

nm I think I have to move the components folder up

@psugihara So can I use MDX by default now?

@agamm no sorry, this was for the website mailing.run
it's a cool idea though. If that's something you want, feel free to open an issue or discussion with some more detail on your use-case and how you might want to use and customize it.

@psugihara done https://github.com/sofn-xyz/mailing/issues/150


ME - Onboarding

The following items, generally in order, must be completed to successfully onboard a receiver to ReportStream:

[ ] Added to organization.yml
[ ] Added to organizations-local.yml
[ ] Added to staging settings table
[ ] Added to prod settings table
[ ] Added at least one receiver
[ ] Added OKTA group to download site
[ ] Added customers to OKTA group for download site
[ ] Is customer contact made?
What doc format are we supporting for the receiver (HLV, CSV, other)? (Add comment below)
What transport(s) are we supporting for the receiver (SFTP, other)? (Add comment below)
[ ]  Got credentials?
[ ] Tested ELR connection locally?
[ ] Tested ELR connection from Azure?
[ ] Has the receiver accessed the download site?
[ ] Has the receiver been sent at least one test file?
[ ] Has the receiver signed off on file formatting?
[ ] Are there labs sending data?
[ ] Has the receiver confirmed receipt of the data?
[ ] Have the files processed successfully?
[ ] Are we in production?
[ ] Update customerStatus flag in production settings to active

**Do you have an implementation guide we should follow?** Nothing specific to Maine; we follow the PHIN HL7 spec for ELR
Do you accept HL7 v2.5.1? Yes, we prefer it
What sending protocol do you use to accept files?
SFTP (preferred) This is our preferred as well
REST API
AS2
Do you accept HL7 batch messages? Yes
Would you like to receive the AoE questions? Yes
1.  Frequency - we typically send files every two hours. That’s fine
If SFTP
How do we get credentials for an SFTP connection? Scott Snow can coordinate
Do the credentials need to be rotated/do they expire? They don’t expire
Do you need to whitelist our IP addresses before we connect? No
What file path do we need to write files to on the SFTP server? We’ll provide that info
What value do you want in MSH-5? MEDOH
What value do you want in MSH-6? MEDOH
Do you require us to put our own identifier and CLIA in MSH-4? Yes, please
Do you require a specific value in MSH-21-1 (Message profile ID)? We have facilities use “PHLabReport-NoAck”
Do you want to receive OTC results? If so, how would you like to receive them? No, thanks
These are the ones I (Scott) don’t have answers for yet -
Is there a limit on the number of messages in a batch?
Do you require a specific file name format?
Do we need to suppress the QST flag in OBX-29?
Are there any other fields that are required? For example, the ordering provider information is sometimes missing, and some states won’t accept messages without it.

@brick-green to check in and see if ready to onboard

@sliu1000 can we reach out to Maine to see if their situation has changed?

@LaFreda1 It looks like the last correspondence was August 2022. I'll reach out.

We have been meeting with Maine to see how we can assist with their onboarding. Our next check-in will be this month (November).

ME in production. Closing


ARROW-6732: [Java] Implement quick sort in a non-recursive way to avoid stack overflow

The current quick sort algorithm in implemented by a recursive algorithm. The problem is that for the worst case, the number of recursive layers is equal to the length of the vector. For large vectors, this will cause stack overflow.
To solve this problem, we implement the quick sort algorithm as a non-recursive algorithm.

Note that you can avoid a lot of pushing/popping (and limit stack size requirements) by handling one of the two partitions inline. See Numpy's implementation:
https://github.com/numpy/numpy/blob/master/numpy/core/src/npysort/quicksort.c.src

Note that you can avoid a lot of pushing/popping (and limit stack size requirements) by handling one of the two partitions inline. See Numpy's implementation:
https://github.com/numpy/numpy/blob/master/numpy/core/src/npysort/quicksort.c.src

Awesome! Thank you.
I have revised the code to push the larger partition first, to reduce the requirement of the stack size.

+1, thank you.


added an else clause to fix erroneous DM

I spotted a silly error, wherein whenever anyone performs .togglechannel elsewhere, Kurisu DMs them with both the toggle confirmation AND elsewhere is not a valid toggleable channel.
I decided to fix it, and did so in literally four letters.
¯\(ツ)/¯ It bothered me, m'kay?

LUL forgot Python syntax


Remove deprecated getAntBuilder method

Fixes #22367

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


helix: unable to fetch / build custom tree-sitter grammars

Describe the bug
tree-sitter grammars are a bit of an odd beast. At runtime, they are very platform-specific .so (or .dylib) files, which is why the community seems to have settled on referring to source code of some javascript package, plus some c code, and compiling this every once in a while on the target machine running the editor.
Helix compiles most of its grammars during build time, but also allows custom grammars to be configured. These configs point to checkouts of said node modules.
It ships some hx --grammar fetch and hx --grammar build (sub)commands, which theoretically would (re)build existing grammars (shouldn't be necessary in our case for the ones shipped with helix itself), but also include new ones manually added to ~/.config/helix/languages.toml.
This currently fails:
Fetching 124 grammars
124 grammars failed to fetch
	Failure 1/124: Could not create grammar directory "/nix/store/yhb17fbjgsfp7mgvn5igxkz3fjayfinb-helix-22.12/lib/runtime/grammars/sources/awk"
	Failure 2/124: Could not create grammar directory "/nix/store/yhb17fbjgsfp7mgvn5igxkz3fjayfinb-helix-22.12/lib/runtime/grammars/sources/rust"

I'm not sure it's because we remove the grammars initially, or because the "upstream grammars" Helix itself is bundled with should be skipped (they can't change anyways, because their git rev is defined in the languages.toml of the source code we built helix with).
Maybe helix should only fetch/rebuild new ones in a local directory?
Another orthogonal thing would be to be able to point helix to a .so/.dylib file directly (even though it's platform-specific), rather than this compiling at runtime - but that'd be a feature request for helix, and I'm not sure it's a good idea.
Steps To Reproduce
Steps to reproduce the behavior:

Add a new grammar section to your ~/.config/helix/languages.toml, as described in https://docs.helix-editor.com/guides/adding_languages.html#adding-languages
Run hx --grammar fetch
Observe the build errors

Expected behavior
I'd expect helix to fetch (and later compile) the added grammar.
Notify maintainers
@danth @yusdacra
Also cc @the-mikedavis

It looks like nvim-treesitter has a setting to configure it to compile grammars into a separate directory, maybe helix could fall back to also consider ~/.local/state/helix (XDG_STATE_HOME) instead, especially if the global path is read-only?

Thanks for the link! I'll check how a more recent version of helix will behave.

Ah booh, it's a bit more complicated to test, as the tree-sitter grammars are not normally part of the repo, and only in the release tarballs :thinking:
We could potentially nixify all that build as well, but it'll be a lot of work. Do you plan to do a new release soon, by any chance? ;-)

If you have flakes enabled you can use the Helix flake to run the latest master: nix shell github:helix-editor/helix
The next release is currently planned for 2023-03-31

I don't have flakes enabled, but I'll be happy to check the next release, if it's just around the corner.

So hx --grammar fetch and hx --grammar build now seem to work. I still couldn't get that custom grammar I'm testing with to work, but there's now a bunch of .so files in ~/.config/helix/runtime/grammars - so I guess it'd work in theory, and might very well be a problem with that specific grammar.
Let's close this one.


Add support for BigQuery User Defined Functions in BigQuery operator

User Defined Functions let a BigQuery user do data transformations on query results. If you are using BigQuery for ELT, then UDFs let you do the Transform step entirely in BigQuery, using javascript functions on a per-row basis.
This pull request allows an Airflow DAG to pass a UDF config to the BigQuery operator, and have that UDF config be included in the query API call.
See https://cloud.google.com/bigquery/user-defined-functions for more details on UDFs.

LGTM


Multiple RTSP streams are not managed

Created for tracking issue: https://github.com/bropat/eufy-security-client/issues/63

hi @bropat , anything pending on me for this?

This problem should now be solved. You are welcome to test it and if necessary write here if the problem has not yet been solved.

I missed that it has been resolved, my bad, thanks


Guide outdated

Please update this guide to use latest libraries and code. The NuGet package Xamarin.Azure.NotificationHubs.Android is obsolete and Microsoft.Azure.NotificationHubs should be used instead. Even the code used in examples here is marked as obsolete.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2a03ab5f-3dda-f469-33e0-9504c90d468c
Version Independent ID: 4f8e4309-cd06-f09f-00f0-d978b3d16777
Content: Push notifications to Xamarin.Android apps using Azure Notification Hubs
Content Source: articles/notification-hubs/xamarin-notification-hubs-push-notifications-android-gcm.md
Service: notification-hubs
GitHub Login: @dimazaid
Microsoft Alias: dimazaid

Nevermind, I misunderstood Microsoft.Azure.NotificationHubs purpose. Closing.

@albru123 Glad to hear that there was no issues. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


CNV-32332: Boot from CD with CD source "PVC (clone PVC)" not working

📝 Description
When checking Boot from CD on the customize VM parameters view, and choosing a PVC, we missing the storage section for the data volume template to clone the PVC we selected, which caused the VM creation to fail.
Note: For some reason pending changes alert for eviction strategy is shown on VM creation, will address that in a different Jira/PR.
🎥 Demo
After:
Create a VM with CD as boot (DV upload takes a while this mainly shows that the process of cloning the PVC is really happening)
https://github.com/kubevirt-ui/kubevirt-plugin/assets/67270715/d106e060-bc34-4851-95f4-9a367754ecf1
VM is running successfully:

/lgtm

/lgtm

/cherry-pick release-4.13


118 data schema

Pull Request submission
Insert detailed bullet points about your changes here!

This should in theory only be needed once
xlsx file had to be downloaded and run locally as connecting to Sharepoint directly proved too difficult and not needed in the scope of this ticket
data_schema.py can be found in src/data_validation
DataSchema.toml is located in config

Insert any instructions to help the reviewer, e.g. "install new requirements from environment.yml"

Download the BERD xlsx file locally along with the data_schema.py
You may want to change where DataSchema.toml is saved to. It is currently saved to the same directory.

*Let the reviewer know what data files are needed (and if applicable, where they are to be found)

Download the BERD Data Dictionary locally for use: https://officenationalstatistics.sharepoint.com/:x:/r/sites/ESCSEPDS/_layouts/15/doc2.aspx?sourcedoc={e1685b01-3318-451e-b413-4f551ad143bf}&action=edit&activeCell='Sheet1'!B10&wdinitialsession=306d0a09-707b-4b33-8cc0-0f388f8ccf54&wdrldsc=2&wdrldc=1&wdrldr=OpenACopyInExcel%2CAccessTokenExpiredWarning%2CDeploym

Closes or fixes

Detail the ticket(s) you are closing with this PR
Closes #

Code

[x] Code runs The code runs on my machine and/or CDSW
[ ] Conflicts resolved There are no conflicts (I have performed a rebase if necessary)
[x] Requirements My/our code functions according to the requirements of the ticket
[x] Dependencies I have updated the environment yaml so it includes any new libraries I have used
[ ] Configuration file updated any high level parameters that the user may interact with have been put into the config file (and imported to the script)
[x] Clean Code

[x] Code is as PEP 8 compliant as I can humanly make it
[x] Code passess flake8 linting check
[x] Code adheres to DRY

[x] Type hints All new functions have type hints

Documentation
Any new code includes all the following forms of documentation:

[x] Function Documentation Docstrings within the function(s')/methods have been created

[x] Includes Args and returns for all major functions
[x] The docstring details data types

[ ] Updated Documentation: User and/or developer working doc has been updated

Data

[ ] All data needed to run this script is available in Dev/Test
[x] All data is excluded from this pull request
[x] Secrets checker pre-commit passes

Testing

[ ] Unit tests Unit tests have been created and are passing or a new ticket to create tests has been created

Peer Review Section

[ ] All requirements install from (updated) environment.yaml
[ ] Documentation has been created and is clear - check the working document
[ ] Doctrings (Google format) have been created and accurately describe the function's functionality
[ ] Unit tests pass, or if not present a new ticket to create tests has been created
[ ] Code runs The code runs on reviewer's machine and/or CDSW

Final approval (post-review)
The author has responded to my review and made changes to my satisfaction.

[ ] I recommend merging this request.

Review comments
Insert detailed comments here!
These might include, but not exclusively:

bugs that need fixing (does it work as expected? and does it work with other code
that it is likely to interact with?)
alternative methods (could it be written more efficiently or with more clarity?)
documentation improvements (does the documentation reflect how the code actually works?)
additional tests that should be implemented (do the tests effectively assure that it
works correctly?)
code style improvements (could the code be written more clearly?)
Do the changes represent a change in functionality so the version number should increase? Start a discussion if so.
As a review you can generates the same outputs from running the code

Your suggestions should be tailored to the code that you are reviewing.
Be critical and clear, but not mean. Ask questions and set actions.

There is an old version of data_schema.py in the higher level src folder that I think is now redundant.
Also there are trailing spaces in the description strings in the toml file, we could do to remove these.

All recommended changes have been completed. Ready for re-review/merge.

On lines 139 to 142 of data_schema.py - it is worth giving the test variables more descriptive names.

@ali-i3
I am running @RoddyMacrae 's code here and getting this error related to config_df in the run log

The creation of config_df is inside retrieve_configs() but that function doesn't run at any point.


How to extract distance to object?

Hi,
Could you please teel me How to extract distance from camera to object?
Thank you.

+1

+1


website needs favicon

...it's bothering me.  I can come up with a design.

Go for it.

On May 25, 2017, at 4:43 PM, nconrad<EMAIL_ADDRESS>wrote:
...it's bothering me. I can come up with a design.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1523, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd78oK-haEHQwH_OEuGkbpfTbLJ127ks5r9fX7gaJpZM4Nm7cE.

please update here when you have one.


Update configuration parsing more arguments

Little bit of an ugly hack to set the defaults to -1, but I don't have a neater solution...
I suggest if we merge the pull request, that we up the version number, since it breaks forward compatibility (while maintaining backward compatibility) with configuration files.

Little bit of an ugly hack to set the defaults to -1, but I don't have a neater solution...

Can you explain the issue this is solving?
Maybe it is a good idea to start with release notes...

Okay, give me some time, I'll find a better solution. At this point the first ugly hack (updating from configuration file) needs to many hacks to not break...

Check the new commit; I think it should fix all concerns.


Docs.MS CI Updates for Azure.Template

CI Update for release of Azure.Template

Docs Build status updates of commit 22defcc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

bundlepackages/azure-dotnet-preview.csv
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Repository visibility

Was there a particular reason to make the repo private or can it not be made public

no


Support for long bluetooth device names

Off the back of #11, it was suggested to change how the advertising is done....
Switched out the device name to be only included when responding to a scan request.  This saves on advertising space as we are limited to 31 octets, so now only the profiles (and powerlevel) are included in the single advertising data, which then triggers a response data when another device queries it.  This resolves long Bluetooth devices names as this would otherwise trigger a ADVERTISE_FAILED_DATA_TOO_LARGE error code

Opps, I see that my other change has decided to piggy back onto the PR... doh!  should have done them in a branch!!!   This also includes a couple of changes with regards to how the services runs so that when you stop the bridge, the service actually stops.

Opps, I see that my other change has decided to piggy back onto the PR... doh!  should have done them in a branch!!!   This also includes a couple of changes with regards to how the services runs so that when you stop the bridge, the service actually stops.

Awesome fix both for the device name and the stop button! Works perfectly. I've manually merged your commits into master after re-formatting your commit messages. Thanks!

Awesome fix both for the device name and the stop button! Works perfectly. I've manually merged your commits into master after re-formatting your commit messages. Thanks!