org-journal fails on first load

What did you expect to happen?
Functions that call org-journal-mode (e.g. org-journal-new-entry) should work normally the first time.
What actually happened?
The journal buffer opens in Fundamental mode. Calling org-journal-mode a second time works normally.
Debugger entered--Lisp error: (void-function org-journal-is-journal)
  org-journal-is-journal()
  +org-journal-p()
...

Additional details:

https://github.com/dangirsh/.doom.d

Backtrace

Debugger entered--Lisp error: (void-function org-journal-is-journal)
  org-journal-is-journal()
  +org-journal-p()
  #f(compiled-function (re dummy) #<bytecode 0x205aa568797086c>)(+org-journal-p nil)
  assoc-default(nil ((+org-journal-p . org-journal-mode) ("<\\?xml" . nxml-mode) ("%PDF" . pdf-view-mode)) #f(compiled-function (re dummy) #<bytecode 0x205aa568797086c>))
  #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the filename against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode -0x1133f38ef4059e5d>)()
  apply(#f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the filename against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode -0x1133f38ef4059e5d>) nil)
  #f(advice-wrapper :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the filename against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode -0x1133f38ef4059e5d>) auto-minor-mode-set)()
  apply(#f(advice-wrapper :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the filename against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode -0x1133f38ef4059e5d>) auto-minor-mode-set) nil)
  so-long--set-auto-mode(#f(advice-wrapper :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the filename against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode -0x1133f38ef4059e5d>) auto-minor-mode-set))
  apply(so-long--set-auto-mode #f(advice-wrapper :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the filename against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode -0x1133f38ef4059e5d>) auto-minor-mode-set) nil)
  set-auto-mode()
  normal-mode(t)
  #f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode -0x54f387b11659653>)(nil t)
  apply(#f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode -0x54f387b11659653>) (nil t))
  doom--optimize-for-large-files-a(#f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode -0x54f387b11659653>) nil t)

System information:

emacs   version    28.0.50
        features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER LCMS2 GMP
        build      Apr 26, 2020
        buildopts  (--with-modules)
        windowsys  x
        daemonp    server-running
doom    version    2.0.9
        build      HEAD -> develop, origin/develop 87364138d 2020-06-03 03:46:58 -0400
        dir        ~/repos/neurosys/home/.doom.d/
system  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /bin/bash
        uname      Linux 5.3.0-53-generic #47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020 x86_64
        path       (~/.cargo/bin ~/.nix-profile/bin ~/.guix-profile/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin ~/emacs27-release/lib-src/)
config  envfile    envvar-file
        elc-files  119
        modules    (:personal neurosys :completion (company +childframe) (ivy +prescient +childframe) :ui doom hl-todo modeline nav-flash zen :editor lispy multiple-cursors word-wrap :emacs dired electric vc :term vterm :checkers syntax :tools (eval +overlay) docker lookup (magit +forge) pass pdf :lang common-lisp data emacs-lisp (haskell +dante) (latex +latexmk +cdlatex) markdown nix (org +journal +hugo +jupyter) rust sh :app calendar :config literate (default +bindings +smartparens))
        packages   ((ace-window) (aggressive-indent) (company-org-roam :recipe (:host github :repo jethrokuan/company-org-roam)) (company-posframe) (deadgrep) (dired-narrow) (dmenu) (google-this) (helpful) (key-chord) (org-cliplink) (org-download) (org-drill) (org-noter) (org-ref) (org-roam :recipe (:host github :repo jethrokuan/org-roam)) (org-roam-server) (phi-search) (ob-rust) (real-auto-save) (smartscan) (toc-org) (undo-tree) (wrap-region) (julia-mode :pin 1c122f1dff) (julia-snail) (julia-repl :recipe (:host github :repo tpapp/julia-repl :branch tp/terminal-backends)))
        unpin      (n/a)
        elpa       (super-save simple-httpd s poet-theme org-variable-pitch org-sticky-header org-roam-server org-roam f emacsql-sqlite3 emacsql dash cdlatex auctex)

I assume this is related to changes in 16ecfd3e4.
I can't find any definition for org-journal-is-journal in Doom or org-journal...

https://github.com/bastibe/org-journal/blob/master/org-journal.el#L408-L411
It seems you've somehow updated Doom without updating org-journal. Did you git pull without running doom sync -u afterwards? If so, I'd recommend using doom upgrade. It'll update Doom and packages with it.
If for some reason doom sync -u or doom upgrade didn't update org-roam, try updating it manually:
cd ~/.emacs.d/.local/straight/repos/org-journal
git pull
rm -rf ~/.emacs.d/.local/straight/build/org-journal
doom sync

Gah, thought it might be something silly like that.
I did try doom upgrade while debugging, but for some reason org-journal didn't update. Don't see why.
Thanks for the fast help!!!


where download aarch64 of vernemq abount ubuntu?

Environment

VerneMQ Version:
OS:
Erlang/OTP version (if building from source):
Cluster size/standalone:

Current Behavior
VerneMQ Version:latest
OS: Ubuntu 20.04 aarch64
Erlang/OTP version (if building from source): 25.0
Cluster size/standalone: 3 nodes
Expected behaviour
VerneMQ Version:latest
OS: Ubuntu 20.04 aarch64
Erlang/OTP version (if building from source): 25.0
Cluster size/standalone: 3 nodes
Configuration, logs, error output, etc.
No response
Code of Conduct

[X] I agree to follow the VerneMQ's Code of Conduct

@kervin521 There's no official ARM binary yet. Our next release will likely enable it.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.


[IRGen] Always use target from swift invocation in IRGen

Do not infer IRGen target from clang importer. -clang-target can give it a different OS version for importing clang Decls and that triple should not be used to generate code.
rdar://130547690

@swift-ci please smoke test

@swift-ci please smoke test

Alternative fix: https://github.com/swiftlang/swift/pull/74755

Taking the other fix. Closing.


Menu dropdown isn't working in the product pages

Hello,
The extension still work pretty good even though it's old, I'm using it on a Magento <IP_ADDRESS> installation. The only issue so far is that the menu dropdowns doesn't work in the Products page, probably some Js conflict.
Any idea on how to solve this?

@d3viliz3d I have no idea how to solve it. I don't even know what the problem is. If it works on the default theme with no extensions installed then it may conflict with something in your theme or 3rd party module.
Anyway, this extension is discontinued due to mostly lack of time.

Ok thank you anyway!


Support Swift2.2

Thanks @hiroraba, it's a real shame that currying isn't as elegant as it were in Swift 2.0.

Thanks @kylef！
When it will be reflected in cocoapods?

cocoapods for this?
trunk doesn´t allow libs that have warnings, cannot update my lib :(


When an asyncNotifier watches a streamProvider then loading gets called again

Describe the bug
I watch an asyncNotifier inside the build method of a widget. AsyncNotifier watches a streamProvider with 3 yields. In the view, there are sudden changes just when the yield happens. The loading part of the .when method gets called 3 times.
To Reproduce
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return ProviderScope(
      child: MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
          useMaterial3: true,
        ),
        home: const MyHomePage(title: 'Riverpod shows loading between state changes'),
      ),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: const BuildContent(),
      floatingActionButton: FloatingActionButton(
        onPressed: () {},
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

class BuildContent extends ConsumerStatefulWidget {
  const BuildContent({super.key});

  @override
  ConsumerState<ConsumerStatefulWidget> createState() => _BuildContentState();
}

class _BuildContentState extends ConsumerState<BuildContent> {
  @override
  Widget build(BuildContext context) {
    final provider = ref.watch(boxesControllerProvider);
    return provider.when(
      data: (data) => const SizedBox.expand(
        child: ColoredBox(
          color: Colors.green,
        ),
      ),
      error: (error, stackTrace) {
        return const SizedBox.expand(
          child: ColoredBox(
            color: Colors.red,
          ),
        );
      },
      loading: () {
        print('loading is shown');
        return const SizedBox.expand(
          child: ColoredBox(
            color: Colors.blue,
          ),
        );
      },
    );
  }
}

/// Providers
final streamBoxesControllerProvider = StreamProvider<Boxes?>((ref) {
  return getUserBoxes();
});

Stream<Boxes> getUserBoxes() async* {
  const Duration duration = Duration(seconds: 2);
  await Future.delayed(duration);

  yield Boxes.fakeBox1;

  await Future.delayed(duration);

  yield Boxes.fakeBox2;

  await Future.delayed(duration);

  yield Boxes.fakeBox3;
}

final boxesControllerProvider = AsyncNotifierProvider<BoxesController, Boxes?>(() {
  return BoxesController();
});

class BoxesController extends AsyncNotifier<Boxes?> {
  @override
  Future<Boxes?> build() async {
    final Boxes? boxes = await ref.watch(streamBoxesControllerProvider.future);
    return boxes;
  }
}

/// Boxes
class Boxes {
  String id;
  List<BoxElement> boxElements;
  Boxes({
    required this.id,
    required this.boxElements,
  });

  static Boxes fakeBox1 = Boxes(
    id: '1',
    boxElements: [
      BoxElement(id: '1', name: 'Box 1', quantity: 1),
      BoxElement(id: '2', name: 'Box 2', quantity: 2),
      BoxElement(id: '3', name: 'Box 3', quantity: 3),
    ],
  );

  static Boxes fakeBox2 = Boxes(
    id: '2',
    boxElements: [
      BoxElement(id: '4', name: 'Box 4', quantity: 4),
      BoxElement(id: '5', name: 'Box 5', quantity: 5),
      BoxElement(id: '6', name: 'Box 6', quantity: 6),
    ],
  );

  static Boxes fakeBox3 = Boxes(
    id: '3',
    boxElements: [
      BoxElement(id: '7', name: 'Box 7', quantity: 7),
      BoxElement(id: '8', name: 'Box 8', quantity: 8),
      BoxElement(id: '9', name: 'Box 9', quantity: 9),
    ],
  );
}

class BoxElement {
  String id;
  String name;
  int quantity;
  BoxElement({
    required this.id,
    required this.name,
    required this.quantity,
  });
}

and dependencies are
dependencies:
  flutter:
    sdk: flutter
  riverpod: ^2.4.9
  flutter_riverpod: ^2.3.6
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^2.0.0
  custom_lint: ^0.5.1
  riverpod_lint: ^2.0.0

Expected behavior
The loading method should only be called once, the first time before asyncNotifier gets any value, it should keep oldValue presented and then change immediately to new one.

Not a bug. There is an async gap involved here, so there is a loading state.
The old value is still accessible though.
You're probably looking for when(skipLoadingOnReload: true, ...)

Thanks for the swift response! While it seems like this is intended it does show up as a buggy behavior. I know you are rewriting the docs, so it would be really helpfull to have an example there with this kind of use as well. Thank you!

Docs have stopped using .when for a while now. They use Dart 3's switch-case instead


Cannot install dependencies

I've downloaded the latest version of your SwiftAI package and am getting the following errors when running
composer install
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - laravel/framework is locked to version v10.13.5 and an update of this package was not requested.
    - laravel/framework v10.13.5 requires composer-runtime-api ^2.2 -> found composer-runtime-api[2.0.0] but it does not match the constraint.
  Problem 2
    - laravel/framework v10.13.5 requires composer-runtime-api ^2.2 -> found composer-runtime-api[2.0.0] but it does not match the constraint.
    - spatie/laravel-ignition 2.1.3 requires illuminate/support ^10.0 -> satisfiable by laravel/framework[v10.13.5].
    - spatie/laravel-ignition is locked to version 2.1.3 and an update of this package was not requested.

Am running
PHP 8.2.0 (cli) (built: Dec  9 2022 16:19:06) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.0, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.0, Copyright (c), by Zend Technologies

can you let me know the install requirements?

I just cloned and installed the app locally without any problems.
One thing you can try is to delete composer.lock and running composer install again.

@geosem42 have downgraded my php to PHP 8.1.0
deleting composer.lock and installing gave me the following:
  Problem 1
    - laravel/framework[v10.0.0, ..., v10.15.0] require composer-runtime-api ^2.2 -> found composer-runtime-api[2.0.0] but it does not match the constraint.
    - Root composer.json requires laravel/framework ^10.0 -> satisfiable by laravel/framework[v10.0.0, ..., v10.15.0].

This looked like composer version issue.
I have ran:
composer clearcache

composer selfupdate

and this now lets me run composer install


RAMS -> DMPTool Test integration feedback

Brian added Erin to some of the test cases for review

Is it possible to link back to RAMS application?


API camli/sig/sign not following the json-signing document

I think the response not following the format of singed document described in https://perkeep.org/doc/json-signing/#signing which should be:
C == CONCAT(T, ',"camliSig":"', S, '"}', '\n')

but:
$ http --verbose --form post "http://<IP_ADDRESS>:3179${json_sign_root}camli/sig/sign" json='{"camliVersion": "1", "camliSigner": "'${key_blob_ref}'", "foo": "bar"}'
POST /sighelper/camli/sig/sign HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 160
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Host: <IP_ADDRESS>:3179
User-Agent: HTTPie/0.9.9

json=%7B%22camliVersion%22%3A+%221%22%2C+%22camliSigner%22%3A+%22sha224-ea0ba9068820cc128e993b20d0511de736febc62fbd430d17bba9792%22%2C+%22foo%22%3A+%22bar%22%7D

HTTP/1.1 200 OK
Content-Length: 521
Content-Type: text/plain; charset=utf-8
Date: Tue, 23 Oct 2018 12:32:01 GMT

{
    "camliSig": "wsBcBAABCAAQBQKIbgkACRApMaZ8JvWr2gAAz7UIAIm+Fo2w5/ONn32iXqaqhAaU6uTrMpP0UyMvGFRsmwgMdxVqxiX1zxcH9z0GW5YjhrF2Kcc0GmkVmzDlTibjlMQhzcn2tcJ3QwrjK/Eub2ECeNhQ1bTpJwlqMRNv9Oqpfi8EihUMTVb3+a+MfZZu1Vf0hexMWfmZjQxgzTaTLiKa+LVr/bwtF6vEs4Nhj4RVPg/C8D9IUQxMfmJxq6GZ4Wa2qTwFzMLbf8oHax8mrAlnsr62pNDhaV6v9udz+aAdxVB3uywfIJ44OKQ95WBC+bfmsvXwOwj88BU/UG4RebqYxgv2VO0Wa4hDJD4+ZQVkhPwqRQTLehcVjXhHjX+0MGM==Zacu",
    "camliSigner": "sha224-ea0ba9068820cc128e993b20d0511de736febc62fbd430d17bba9792",
    "camliVersion": "1",
    "foo": "bar"
}

perkeep:
$ pk --version
pk version: master, 2018-10-07-dc4c57880c

Httpie re-formated the response, sorry it is my mistake.


Add documentation for C# Markup

Docs for Toolkit PR #522
What changes to the docs does this PR provide?
It adds full C# Markup documentation to the Toolkit, based on:

Existing documentation for C# Markup in Forms
Documentation for additional C# Markup features in Forms PR #11428

PR Checklist
Please check if your PR fulfills the following requirements:

[x] For new pages, used the provided template.
[x] For new features, added an entry in the Table of Contents.
[x] Ran against a spell and grammar checker.
[x] Contains NO breaking changes.

Additional information
This PR assumes that the existing documentation for C# Markup in Forms will remain available at the existing url. Developers using C# Markup in Forms 4.6 - 4.8 need to use that documentation.
After this doc is published, it is recommended to update the old documentation with a link to this new Toolkit documentation for developers using Forms 5

Docs Build status updates of commit cb8da8a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/markup.md
:warning:Warning
View
Details

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/media/shared/download.png
:white_check_mark:Succeeded
View

docs/markup.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 19, Column 1: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/csharp-markup' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 27, Column 1: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/csharp-markup' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 477, Column 52: [Warning-file-not-found] Invalid file link: '~/xamarin-forms/platform/android/index.md'.
Line 477, Column 124: [Warning-file-not-found] Invalid file link: '~/xamarin-forms/platform/ios/index.md'.
Line 477, Column 192: [Warning-file-not-found] Invalid file link: '~/xamarin-forms/platform/windows/index.md'.
Line 505, Column 1: [Warning-multiple-h1s] Multiple H1s(H1 'Additional Functionality in Xamarin Community Toolkit') are not allowed. You can only have one top-level heading.
Line 516, Column 1: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/data-binding/multibinding' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 574, Column 1: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/layouts/bindable-layouts' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 641, Column 1: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/csharp-markup' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.

You can put in me (joverslu) for this tag

Docs Build status updates of commit 2c87a08:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/markup.md
:white_check_mark:Succeeded
View

docs/media/shared/download.png
:white_check_mark:Succeeded
View

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

@jfversluis can you give me access to the preview URLs? (account<EMAIL_ADDRESS>Thx

Unfortunately I cannot :(
Just so you can review it for a bit, I made it available here

Docs Build status updates of commit 68fe0de:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/markup.md
:white_check_mark:Succeeded
View

docs/media/shared/download.png
:white_check_mark:Succeeded
View

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

Unfortunately I cannot :(
Just so you can review it for a bit, I made it available here

@jfversluis thanks; that helped to make a few small improvements.
I'm all done now with markup and markup doc PR's. I will have time next week to process any review comments, if needed.

Docs Build status updates of commit 4c1eeff:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/markup.md
:white_check_mark:Succeeded
View

docs/media/shared/download.png
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 7d0e45d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/markup.md
:white_check_mark:Succeeded
View

docs/media/shared/download.png
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit f8e7036:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/markup.md
:white_check_mark:Succeeded
View

docs/media/shared/download.png
:white_check_mark:Succeeded
View

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


Make sure to use Bundler 1.x on Travis CI

Bundler 2.x does not support Ruby 2.2.
So I fixed .travis.yml so as to use Bundler 1.x.
See https://docs.travis-ci.com/user/languages/ruby/#bundler-20

Coverage remained the same at 100.0% when pulling 5caa0bfc730c125b583c7c259d48dadf790aeac8 on nard-tech:feature/fix-travis-ci-settings into afe97fdee604a02db38681488702855553438aa5 on alfa-jpn:master.

Coverage remained the same at 100.0% when pulling 5caa0bfc730c125b583c7c259d48dadf790aeac8 on nard-tech:feature/fix-travis-ci-settings into afe97fdee604a02db38681488702855553438aa5 on alfa-jpn:master.

Coverage remained the same at 100.0% when pulling 5caa0bfc730c125b583c7c259d48dadf790aeac8 on nard-tech:feature/fix-travis-ci-settings into afe97fdee604a02db38681488702855553438aa5 on alfa-jpn:master.

Is this gem still maintained?
This PR is left alone for a long time.
If there is no problem, please merge this PR, or if the maintainers will want to drop support for Ruby older than 2.6, I will add commits.
cf. https://www.ruby-lang.org/en/news/2020/04/05/support-of-ruby-2-4-has-ended/


I had the same problem, there was a fix for the installer in https://github.com/ngld/OverlayPlugin/commit/9990b52d513b560500a5c0d399e6e139141a2061 so I guess it's already fixed for 0.7.3?


Stuck in Login Loop in Authors App

Hi,
I just deployed the company communicator to my tenant and have added it to Teams as an admin. I then added the app to a test-team for authors, but I now get stuck in a login loop whenever I want to login to the authors app in order to create messages.
Teams only shows me a couple of screens in very fast motion and I then land back on the "sign in" screen without being able to type or do anything.
Does anyone know how to fix this issue?
Thanks in advance for your help!

Hi @apptemplatequestions
I faced this issue when i misconfigured the Expose an Api settings of the AAD App Settings.
And don't forget to check the webApplicationInfo in the teams app you must specify:
"webApplicationInfo": {
"id": "<APP ID (an Guid)>",
"resource": "api://"
}

I am having the same issue.... I configured everything in the Expose API settings as instructed, and properly updated the manifest.json file also, however, it is in a forever sign in loop.  It's worth mentioning that this only happens when during the deployment the tenant ID is different from the subscription's tenant.  My subscription doesn't allow me to switch tenants for the subscription and the "stuck in Sign in" loop holds true so far for any app template I tried to deploy with the subscription...

@kahopkin Take a look at my recent post in issue #200. I discuss the use of multiple tenants.

@apptemplatequestions @kahopkin This usually happens when the tenantId configured is different from the tenant where you're installing the teams application. Please ensure that the tenantId configured matches the tenant where you are installing the teams application (subscription tenant could be different!).


[Carbon X] Danger button should match design spec

Detailed description
cc @IBM/carbon-designers
The current danger button variation does not match the new Carbon X design spec (has a transparent background, etc., and looks more like the v9 danger button).
Moreover, there is currently an old danger--primary variation of the button that is not in the design spec and needs to be removed.
Here's a current Carbon X screenshot, showing a danger button in a g100 theme:

Note that I'm unable to assign myself to this, but I am currently working on a PR 👍


fix: create event error when event name is invalid

[x] PR title and description conform to Pull Request guidelines.

Description of changes:

create event error when  event name is invalid

How did you test these changes?
added test case for record an event with invalid event name.
Documentation update required?

[ ] No
[ ] Yes (Please include a PR link for the documentation update)

General Checklist

[x] Added Unit Tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.13% :warning:

Comparison is base (1c006ae) 86.65% compared to head (9200bb7) 86.52%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #42      +/-   ##
============================================
- Coverage     86.65%   86.52%   -0.13%
- Complexity      399      400       +1
============================================
  Files            39       39
  Lines          1446     1447       +1
  Branches        126      127       +1
============================================
- Hits           1253     1252       -1
- Misses          120      122       +2
  Partials         73       73

Files Changed
Coverage Δ

...aws/solution/clickstream/AWSClickstreamPlugin.java
83.72% <100.00%> (+0.19%)
:arrow_up:

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ensure cmake version discovery works

added git to update ziti-builder issue https://github.com/openziti/ziti-builder/issues/5


Using Repository pattern in this solution.

How can we implement Using Repository pattern in this solution.

To my understanding your DbContext is your repository.

Keep interfaces for repos in app layer (for example IUsersRepository) and implementations in Persistence (UsersRepository). I really like repository pattern - it's a simple solution to make your project persistence ignorance. In implementation you can you EF or Dapper - it doesn't matter. Of course you have to somehow add it into di. For instance you can use Scrutor:
      var persistenceAssembly = typeof(UsersRepository).GetTypeInfo().Assembly;

      services.Scan(scan =>
        scan.FromAssemblies(persistenceAssembly)
          .AddClasses()
          .AsMatchingInterface());

Actually my architecture is Something like Handlers=>Service Layer=>Repository Layer

To my understanding your DbContext is your repository.

DbContext id your UOW, DbSet is your repo (y)

It's relatively straight forward in the current design. I'd suggest following @rafalschmidt97's recommendations and taking a look at this implementation - https://deviq.com/repository-pattern/.


Add example mechanism for releasing and publishing of artifacts

Expected Behavior
This template repo also demonstrates how to release and publish consumable artifacts.
Actual Behavior
There is no such mechanics available.

https://github.com/actions/create-release

Added with
https://github.com/baloise/repository-template-java/compare/73686b54a44cb..e909a30437a


return Stream.Null when 7z entry has no stream

bug: 7z file extraction fails when the archive contains empty file
I'm using the following code to extract a 7z file:
using var sevenZip = SharpCompress.Archives.SevenZip.SevenZipArchive.Open(data);
sevenZip.WriteToDirectory(root);

But it fails when the archive file (data) contains an empy file.
The same GetCompressedStream method returns Stream.Null, I think this method should also return Stream.Null instead throwing an exception.
It would be good to put an empy file to the tests\TestArchives\Original folder and to all the test files, to cover this case in the tests, but I don't know how to create them.

There should be a tested added but can merge just for consistency

Yes. There should be an empty file in the tests\TestArchives\Original folder... but I don't know how to add that to all "exotic" archives in the tests\TestArchives\Archives folder (for example tests\TestArchives\Archives\7Zip.ZSTD.7z). So please add it. Thank you.


Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>

The react-rails gem already uses react 0.14.3, so I can't use react-bootstrap-table along with it. https://github.com/reactjs/react-rails
Seems like we need a version bump for react here.

I will upgrade react.js to 0.14.3, Thanks

Released on v1.4.0


Move root-level docker files into docker/ subdir

Purpose
I thought there were too many files at the root level. I also saw some opportunities for refactoring a few of the docker-related files
Changes

merge Dockerfile.app and Dockerfile.worker into a single Dockerfile with different build targets for each purpose (they overlapped 99%)
remove the docker-compose.no-db.yml file since the same thing can be accomplished using existing docker compose command line options
the same as above ^ but for docker-compose.worker.yml
move all of the .py scripts at the root level into scripts/
update all of the places that reference scripts to look in scripts/
update scripts/run_infrastructure.py to use the python sleep instead of the shell sleep (windows interop)
update the Makefile commands to be aware of the changes

Checklist

[x] Update CHANGELOG.md file

[ ] Merge in main so the most recent CHANGELOG.md file is being appended to
[x] Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
[x] Add a link to this PR at the end of the description with the PR number as the text. example: #1

[ ] Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram.
If docs updated (select one):

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[x] Good unit test/integration test coverage
[ ] This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
[ ] The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket
Fixes #

@seanpreston Dockerfile.worker and Dockerfile.app seem to be practically identical, am I overlooking something? Otherwise I think they could be a single file and leverage build stages for the slight variation?

@seanpreston Dockerfile.worker and Dockerfile.app seem to be practically identical, am I overlooking something? Otherwise I think they could be a single file and leverage build stages for the slight variation?

nevermind I already compared by eye and did it, all seems working 🤷

@conceptualshark can you help me update the docs for this change? thank you! 🙏

sidenote that it takes a really long time to run tests, which definitely slows down dev time here

@sanders41 this is ready for a review, I figure you're a good choice for this since its a lot of Docker/infra changes

I think most of the way these changes are referenced in the docs should stay the same - they're either referencing docker compose up or various make commands which haven't changed at that level. Did a brief sanity check making sure the commonly referenced commands do what they should and it looks good to me.
Is there anything else you think is missing?

nope! Just wanted to confirm I wasn't missing anything, thank you!

@sanders41 ready for another check


GEOMESA-3001 Upgrade install version for httpclient

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

The file docs/user/filesystem/install.rst also mentions the 4.3.4 version of these libraries.  That should be updated.


octavia-ingress-controller: [doc] Add Requirements and Caveats

What this PR does / why we need it:
Add Requirements and Caveats description for octavia-ingress-controller
Which issue this PR fixes: fixes #
Special notes for your reviewer:
Release note:

/lgtm

/approve
/lgtm


Can't setup web extensions

Hi, thanks for such a neat theme for FF!
I'm having trouble setting up the updater (Mac). The script is in the correct folder and I can initiate it, however after manually chaging my UUID's and completing running the script it defaults back to not having an UUID.
Thanks in advance

Hi there!
Glad you're enjoying the project :)
My apologies for the confusion and current lack of documentation for the updater scripts (I keep meaning to do so but get caught up with other work).
The updater scripts basically work by backing up your old userChrome/Content, downloading the new ones from the repo, then applying any customizations found in the ShadowFox_customization directory to the two files.
In the case of the UUID's, you'll want to make use of the file internal_UUIDs.txt file that was generated the first time you ran the updater.  In this file, you'll add one line per extension, in the following format:
extensionName_UUID=internalUUID
So, for example, lets say you have two extensions, uBlock Origin and Tree Style Tab.  In userContent.css, you'll see the strings to be replaced are tree_style_tab_UUID and ublock_origin_UUID.  Your internal_UUIDs.txt file should then contain two lines:
ublock_origin_UUID=72cc0bdd-b9ee-9d4a-b306-8d044cc4dd98 tree_style_tab_UUID=efb99b92-8e90-4041-a9a3-924049c1819a
(obviously replace the UUIDs with yours, however)

I'm sorry for the trouble but I'm not being able to make it work.
I've have added the four extension UUID's that I use (cookie_autodelete, decentraleyes, https_everywhere and ublock_origin) to the text file, re-run the script and still hasn't applied the changes. What am I missing?

What does your text file look like?

cookie_autodelete_UUID=5ba7e258-ab98-d648-a941-19d366e39b5a
decentraleyes_UUID=fdb3f0b4-e463-7a4f-afcb-bd182e14d0be
https_everywhere_UUID=e5cd1b97-6cbe-3d4b-97ad-9dce2b62868c
ublock_origin_UUID=c34c43d6-47bd-0045-b10a-cfc9b0840376

Hmm that all looks good.  I copy/pasted that and it worked as expected for me on a mac.
Is the updater script located in the root directory of your Firefox profile (not the chrome folder)?
Also, when you run the script, which message are you given:
You have not defined any internal UUIDs for webextensions.

If you choose not to do so, webextensions will not be styled with a dark theme and may have compatibility issues in about:addons.

For more information, see here:
https://github.com/overdodactyl/ShadowFox/wiki/Altering-webextensions`

or
Your internal UUIDs have been inserted.

Yes, the updater is in the root folder and I get the second message! Any other info I can give you to pinpoint the problem?

At the very least that should indicate the script is correctly locating your text file and recognizes it has content in it...
Can you open up userContent.css (in your chrome directory) and just search for 5ba7e258 and see if it's getting placed anywhere in the file?

It is. Result: @-moz-document url-prefix("moz-extension://5ba7e258-ab98-c648-a941-19d366e39b5a/")

So that's what it should look like.  Are you sure you're using the right UUID's? Did you make sure to restart your browser?

Strange.  Is it possible you're in a different FF profile?
Try adding
* {
  background: red !important;
}

to the very end of the file, restart the browser, open a few pages and see if everything's red.  That should tell ya if the right file's being used.

Doesn't affect anything. Is the folder looking ok to you? screenshot

That looks good.
Try the following:

Go to about:support via the address bar

Scroll down to the Profile Folder

Click "Show in Finder"

This should open up a finder window with your profile highlighted

Double click that folder to open it

Do you see your chrome folder there?
I'm wondering if it's possible that you put it in your local profile directory instead of the root one, or that you have multiple Firefox profiles and it's not in your active one.

It opened that "xmm..." folder that had a chrome folder in it too, so I dragged the script there (xmm folder) and runned it but had the previous error of You have not defined any internal UUIDs for webextensions.

I fixed it! You were right, I had to run it from that weird name profile folder and then I just replaced the text file where I previously added the UUID's. Now I just need to wait for Privacy Badger to be added to the list of supported add-ons. Thank you so much for your help and patience! Best of luck with this project mate, it's amazing!

Glad you got it working :) Sorry for any confusion!

Privacy Badger

That's probably a good one to add.  While I don't use it myself, I know a lot of people do.  Feel free to open a new issue for it if you would like...that will keep kinda keep it in my cue of things to do and keep me from forgetting haha.
And no problem! Happy there's people making use of it


Windows Defender Catchup Scans in InTune

There is a ticket #10553 that addresses some of the unclear wording--but the wording addressed in such issue is no longer present in InTune.
While it is still confusing, it is now directly contradictory to the MS Docs, so if that could be fixed, that would be great. I think I can understand the difference between the enable/disable, but I cannot deploy DisableCatchupFullScan because I cannot figure out the right setting.
Here are my notes:
With both DisableCatchupQuickScan and DisableCatchupFullScan set to not configured/disabled in InTune, a device with the policy shows both settings as True in MpPreference. I assume this means that the catch up scans are not occurring.
Here is the InTune description of Full Scan

and here is the same segment in MS Docs

In docs, enabling the setting turns the scans on. In InTune, enabling the setting disables the scans. Can this conflict be resolved?

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

ID: 66b1ab2e-1964-5580-7c99-4bd4cd480075
Version Independent ID: f7b5da46-04cb-3501-65fa-870a3c6f09b8
Content: Defender Policy CSP - Windows Client Management
Content Source: windows/client-management/mdm/policy-csp-defender.md
Product: windows-client
Technology: itpro-manage
GitHub Login: @vinaypamnani-msft
Microsoft Alias: vinpa

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!

I have submitted an issue in both places, so hopefully someone will see it somewhere. I find the new process much less intuitive and I also cannot use Markdown formatting, which is disappointing. Though, my main focus is the product in this issue so I will focus on that for now.


Show an OS notification if something fails

Tests could take a long time.

I'm assuming this should be platform independent?
On MacOS you could do something like osascript -e 'display notification "\(failedCommand)" with title "Komondor" subtitle "Failed hook"', but beside if-ing the platform (MacOS/Linux), is there an approach that you're aware of to achieve this?

I'm very fine with Mac only, as nearly everyone devs on a Mac - so long as it doesn't crash on linux that's a very reasonable answer to me 👍


ZAC36 - Update driver to support new parameters

https://community.hubitat.com/t/zooz-titan-water-valve-zac36-c-8-connectivity/117374/4?u=jtp10181
Would it be possible sometime to add Parameter 99 to your driver? Pretty please with cherry on top? In my case, 99's been a very helpful option, so easier access to tweak/refine that setting would be muy bueno. Thanks for consideration - all your Zooz drivers kick butt!

Solved via https://github.com/jtp10181/Hubitat/commit/54e29d072df99a6e0f936830701113db2a211207


README Demo link

Hi 👋
I guess that Demo should instead be Demo.

Right, I changed my username a while ago, thanks for the heads up <3


core: add missing reason to Display on Error::Validation in Request

fixes #777

Codecov Report

Merging #798 (ae55ed0) into master (93fcff3) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #798      +/-   ##
==========================================
+ Coverage   71.75%   71.92%   +0.16%
==========================================
  Files          56       56
  Lines        3770     3775       +5
==========================================
+ Hits         2705     2715      +10
+ Misses       1065     1060       -5

Impacted Files
Coverage Δ

kube-core/src/request.rs
95.84% <100.00%> (+0.84%)
:arrow_up:

kube-core/src/params.rs
71.02% <0.00%> (+2.80%)
: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 93fcff3...ae55ed0. Read the comment docs.


Auth v2

maybe I'm missing something but it seems like if i login anonymously i can't choose my username?

yeah @gwprice115 if you use anonymous login want you want a session-scoped username, you'll want to implement it as part of your app logic (e.g. having a joinGame method which takes a nickname input). does that make sense?

oh yeah right


feat: Add a optional delay between actions for demo/debuging perposes

Description
In this tweet by @wolfenrain you can't clearly see what's happening due to the blazingly fast execution time 💨
We want to have the option to add a pause between actions in order to make demos/debugging more slow and easy to watch
Requirements

[ ] Either Add a new pause action or a global pause that adds a delay after every action
[ ] Pause time will be in seconds
[ ] Pause time can be customized

I just merged and released #186 which will allow people to add artificial waits between steps. So that should help slightly for the use cases of this issue.

That's Awesome, I didn't know that


Forensic Tool

Hi @suattas
No description provided. Please If you have an issue open a new you with a detailed description
Thank you


feat: initial chain setup

closes #15

LGTM

Epoch time should not be 10 minutes. Other than that LGTM

Is it actually used anywhere ? @martinfridrich

@lumir-mrkva @fakirAyoub guys do you see why we don't have workflow run on the force-push?

@jak-pan not sure i understand i see the commit "remove epoch" and it has workflow on it. anyway i wouldn't recommend to use force push in any case


Provide GTUs with a flexible String attribute

There are several use-cases to identify GTU's in more specific ways than GTU type, but not on individual ID:

Coloring with GTU colorer.
Associating GTU's in OTS with specific vehicles from a library e.g. in Unity as a combined driver simulator.
Specifying groups for statistics.

The field should be String such that it can contain a rich range of information.

Use 'Gtu.setTag(name, value)andvalue = Gtu.getTag(name)` to use tags on GTUs.


Show method parameters during typing of method call

It would be also great if when method call is typed foo( then the context popup would not show just the possible values (as it is now) but also what parameters are expected. Something like

It might be too complicated, but even bellow implementation would help a lot.

This example is from PhpStorm 2016, but well I just wanted to show the idea, it doesn't have to be the same.

We had function signature completion, however after the move to monaco it got sorted away from the top of the list. I've added (sig) prefix to make sure they show up at the front of the list again :)

Documented here as well : https://basarat.gitbooks.io/alm/content/features/autocomplete.html#functions (however the screenshots are pre monaco) :rose:

0.1.35 :rose:


Rename calico directory to docs

Description

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Will deal with this later!


This issue is not an SUPER ERROR or any like this, but just to let you know. When I start my bot at the first time, and it's syncing messages (I think), when I send a command (like "/hello"), sendMessage() works fine, but when I send again, the bot takes a long time to receive other messages (after the first sendMessage)
Now it's working so-so (sometimes stops to receive again), but just so you know this happens
1656414810575.txt
1656414796820.txt
1656414790570.txt
1656414856856.txt
1656414850574.txt
1656414830573.txt

The first "/ping" sends normally, when i type "/ping" again (ping or other commands), the bot takes a long time to receive the message and reply again

Originally posted by @JoseHM8A in https://github.com/Auties00/WhatsappWeb4j/issues/143#issuecomment-1168581688

Jun 28, 2022 11:13:30 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$0
WARNING: Socket failure at ERRONEOUS_NODE
Jun 28, 2022 11:13:30 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$0
WARNING: Saved stacktrace at: C:\Users\Darker\.whatsappweb4j\exceptions\1656414810575.txt
Jun 28, 2022 11:13:30 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$0
WARNING: Ignoring failure

The SOCKET FAILURE error, closing the session is solved, and quoted messages are now working!!
This issue is not an SUPER ERROR or any like this, but just to let you know. When I start my bot at the first time, and it's syncing messages (I think), when I send a command (like "/hello"), sendMessage() works fine, but when I send again, the bot takes a long time to receive other messages (after the first sendMessage)
Now it's working so-so (sometimes stops to receive again), but just so you know this happens
1656414810575.txt<PHONE_NUMBER>820.txt<PHONE_NUMBER>570.txt<PHONE_NUMBER>856.txt<PHONE_NUMBER>574.txt<PHONE_NUMBER>573.txt

The first "/ping" sends normally, when i type "/ping" again (ping or other commands), the bot takes a long time to receive the message and reply again

Originally posted by @JoseHM8A in #143 (comment)

Yeah this is not this library's fault. You can test it yourself by sending and receiving messages using the app. If your number is fresh and you start to use WhatsApp web immediately whatsapp will limit your number for like a day. It could happen a couple of times, but it will fix itself. It's not really anything I can fix. For the errors I'm working on a new version that should fix all of them

if you need further help reopen the issue


interfacing acs712 with esp32

hii, I want to interface acs712(5 A) with ESP32(Doit esp32 Devkit v1) and measure AC RMS current through a load. I am confused about the isuue #15 . Whether  do i need to connect the voltage divider or not,  if needed, how to connect and the resistor values??Where do i connect the sensor output (like which pin , because some pins cant be interfaced if we use wifi as I read). Can you please tell me the hardware connections and corresponding arduino IDE code for it from scratch(step by step). I request you to solve my confusions.

here are some extra details,  in my country  the voltage is 230V 50Hz AC.

Thanks for your question,
As I am quite busy this week it will take several days before having time to dive into your question.
Sorry for the inconvenience.
Probably you will get answers faster on the Arduino forum.
Have you searched youtube for ESP32 tutorials?
Expect there are several that explain it.

yeah, there are no youtube tutorils as far i searched, everything is for arduino . Thanks for your response . I request you to give  us (esp32 community) the solution as quick as possible.

I cannot find anything clear and crisp on the arduino forum(or rather anywhere) . There are many confusions related to this. I request you to give the exact hardware connections and code by taking your time. It will be very useful for my project and for others in future too.Thank you.

To get started I propose to use a voltage divider of a 20 KΩ and a 10 KΩ resistors (1% or better).
This will reduce the maximum voltage of the ACS with one third from 5.0 Volt to 3.3 Volt.
This will reduce the signal to be within range of the ESP32.
ACS712-OUT ----- 10 KΩ -----X------20 KΩ ------- GND
                            |
                            |
                            |
                        ADC of ESP32

The voltage divider will also reduce the 185 mV per Ampere steps with one third to 123.4 mV per Ampere.
So use 123.4 as the mVperAmpere parameter in the constructor.
ACS712  ACS(34, 3.3, 4095, 123.4);

optionally you can use a voltage divider with two 10 KΩ resistors. That will reduce with one half.
So the parameter should become 92.5 mVperAmpere
Success

I request you to give the exact code for my purpose ( as there are some confusions in the void setup() function related to the setADC, Automidpoit functions...) And void loop() too.

See examples

Which example should I use for my purpose? Suggest one thing from those which gives accurate values of AC rms current

ACS712_20_AC_compare.ino

That compares both AC methods, and you can verify which gives the best values.
Be aware that the form factor of the AC will differ if there is noise on your 230 lines or when dimmers are used.
You can compensate for that with the appropriate function. Default the library uses sqrt(2)/2 ~~ 0.707

I will test and give the result so if I have problems I will report.

I have done the testing, the current value always shows greater than the original value when the noise value is higher. How can I reduce the noise?

My circuit

My code:
//
//    FILE: ACS712_20_AC_compare.ino
//  AUTHOR: Rob Tillaart
// PURPOSE: demo AC measurement comparison
//     URL: https://github.com/RobTillaart/ACS712
#include "ACS712.h"
//  Arduino UNO has 5.0 volt with a max ADC value of 1023 steps
//  ACS712 5A  uses 185 mV per A
//  ACS712 20A uses 100 mV per A
//  ACS712 30A uses  66 mV per A
//ACS712  ACS(A0, 5.0, 1023, 100);
//  ESP 32 example (might requires resistors to step down the logic voltage)
ACS712  ACS(35, 3.3, 4095, 123.4);
void setup()
{
Serial.begin(115200);
while (!Serial);
Serial.println(FILE);
Serial.print("ACS712_LIB_VERSION: ");
Serial.println(ACS712_LIB_VERSION);
ACS.autoMidPoint(50,100);
//ACS.setMidPoint(1903);
Serial.print("MidPoint: ");
Serial.print(ACS.getMidPoint());
float a = ACS.mVNoiseLevel(50,100);
ACS.setNoisemV(a); //25mV if needed or a if
Serial.print(". Noise mV: ");
Serial.println(ACS.getNoisemV());
ACS.suppressNoise(1);
}
void loop()
{
//int m1 = ACS.mA_AC(50,60);
int m2 = ACS.mA_AC_sampling(50,90);
//Serial.print("mA:\t");
//Serial.print(m1);
//Serial.print("\t\t");
if(m2<400) m2=0;
Serial.println(m2);
//delay(1000);
}
//  -- END OF FILE --

Output
When the load is off:

When the load is on:

While the load draws 650 to 690 milliAmps, this shows much  greater value. But the one thing I noticed is that when I reset the program and sometimes the noise gets reduced (because of some unknown factors) , the values are accurate. So I think the noise is the problem. What may be the unknown factors or any other things??

I have done the testing, the current value always shows greater than the original value when the noise value is higher. How can I reduce the noise?

What did you exactly test?
What do you mean by original value?
What levels of noise do you measure?
Noise will always disturb peak to peak measurements as you dont know how the peak is affected. The sampling method has the stochastic behaviour (if enough measurements are made) that the + and - noise cancel each other out.

Please observe the details given and give me some inference, it's my kind request

Please do not post images of output.
Text can be used for analysis (spreadsheet).
Images cannot.

Sorry

What may be the unknown factors or any other things??

Loose wires?
Unshielded wires?
Running motors nearby?
Indecent power supplies?
Noise in the AC signal itself?
Fake ACS712 chip?
....

I have used jumper wires and breadboard

E.g.
if the power supply of the ESP32 is not stable, it might affect the ADC readings.

While load off:
12:33:12.130 -> D:\8thSemProject\ACS712_20_AC_compare\ACS712_20_AC_compare.ino
12:33:12.130 -> ACS712_LIB_VERSION: 0.3.9
12:33:16.110 -> MidPoint: 2094. Noise mV: 63
12:33:19.925 -> 0
12:33:21.736 -> 0
12:33:23.543 -> 0

While load on:
12:34:12.266 -> 0
12:34:14.093 -> 479
12:34:15.863 -> 808
12:34:17.665 -> 808
12:34:19.489 -> 806
12:34:21.305 -> 806
12:34:23.104 -> 807
12:34:24.891 -> 809

So zero point looks ok

So current is stable around 808.
What value did you expect?

E.g.
if the power supply of the ESP32 is not stable, it might affect the ADC readings.

I have checked the value with multimeter it's ok like 5.05 volts

So current is stable around 808.
What value did you expect?

650 to 690 milliAnps, this is the max, it can't go greater than this

So zero point looks ok

Yeah I think so,  noise is the thing that makes the noise, I guess

Note that the noise level often is in the mV level.
Your multimeter does not show 3rd or 4th decimal.
That said, lets assume it is stable.

Note that the noise level often is in the mV level.
Your multimeter does not show 3rd or 4th decimal.
That said, lets assume it is stable.

Yeah you are right, but esp32 power supply is regulated I guess

So you read 808 and you expect ~670.
That is ~15% off,
Be aware that with these values you use less than
20 % of the ADC range == max 1000 steps.
So your precision will be in the order of 0.5% if all rest is perfect stable etc.

15% off is way more than normal noise.
Can you put your multimeter in series with your load so you can compare the current measurements with the multimeter?

15% off is way more than normal noise.
Can you put your multimeter in series with your load so you can compare the current measurements with the multimeter?

Yeah the multimeter measures ~670mA

The jumper wires do slightly shake because of the ceiling fans air , so do  they make any problem

My code:
//
//    FILE: ACS712_20_AC_compare.ino
//  AUTHOR: Rob Tillaart
// PURPOSE: demo AC measurement comparison
//     URL: https://github.com/RobTillaart/ACS712
#include "ACS712.h"
//  Arduino UNO has 5.0 volt with a max ADC value of 1023 steps
//  ACS712 5A  uses 185 mV per A
//  ACS712 20A uses 100 mV per A
//  ACS712 30A uses  66 mV per A
//ACS712  ACS(A0, 5.0, 1023, 100);
//  ESP 32 example (might requires resistors to step down the logic voltage)
ACS712  ACS(35, 3.3, 4095, 123.4);
void setup()
{
Serial.begin(115200);
while (!Serial);
Serial.println(FILE);
Serial.print("ACS712_LIB_VERSION: ");
Serial.println(ACS712_LIB_VERSION);
ACS.autoMidPoint(50,100);
//ACS.setMidPoint(1903);
Serial.print("MidPoint: ");
Serial.print(ACS.getMidPoint());
float a = ACS.mVNoiseLevel(50,100);
ACS.setNoisemV(a); //25mV if needed or a if
Serial.print(". Noise mV: ");
Serial.println(ACS.getNoisemV());
ACS.suppressNoise(1);
}
void loop()
{
//int m1 = ACS.mA_AC(50,60);
int m2 = ACS.mA_AC_sampling(50,90);
//Serial.print("mA:\t");
//Serial.print(m1);
//Serial.print("\t\t");
if(m2<400) m2=0;
Serial.println(m2);
//delay(1000);
}
//  -- END OF FILE --

Is there any problem in the code corresponding to the circuit

Yeah the multimeter measures ~670mA

So sometimes the measurements are quite good as you had 650-690 mA. That means there is no error in the library or the code you use.

The jumper wires do slightly shake because of the ceiling fans air, so do they make any problem

No, what you see is a higher current and it is rather stable. More current means a lower resistance. Loose wires give higher resistance.
A fan has a motor which can generate a decent amount of noise.

Q: what is the load you use?

Resistive load (incandescent bulb)

Is there any problem in the code corresponding to the circuit

No as you get values.

Yeah the multimeter measures ~670mA

So sometimes the measurements are quite good as you had 650-690 mA. That means there is no error in the library or the code you use.

The jumper wires do slightly shake because of the ceiling fans air, so do they make any problem

No, what you see is a higher current and it is rather stable. More current means a lower resistance. Loose wires give higher resistance.
A fan has a motor which can generate a decent amount of noise.

No change, but everytime I reset the esp32 by pressing reset,   the noise value keeps changing drastically around min 40mV to max 130mV , everytime I reset. There is something to do with the supply I guess

Can you add a delay(5000) in setup.
That could give everything time to stabilize.

Where should I exactly add the delay in the code

the noise gets found automatically through the code, so the loads need to be off initially while measuring the noise. So how can it be a problem with the load or home supply.

The noise measurement is only done once in time.
The code assumes that the noise level is constant after that.
It might be interesting to run a sketch that measures the noise constantly and plot it.
It might give hints what causes the extreme noise.

Where should I exactly add the delay in the code

As first statement in setup()

the noise gets found automatically through the code, so the loads need to be off initially while measuring the noise. So how can it be a problem with the load or home supply.

The noise measurement is only done once in time.
The code assumes that the noise level is constant after that.
It might be interesting to run a sketch that measures the noise constantly and plot it.
It might give hints what causes the extreme noise.

Yeah I will do it

@vishaala
Any progress to report?

As there was no answer I assume the problem is solved and I close the issue.


Query often fails when using a property alias

What happened:
Calling Get Property Value History, Get Interpolated Property Values, and Get Property Value Aggregates often fails with a 500 when the query has a property alias specified (associated or disassociated).
When I edit an individual panel and refresh the query it will sometimes fetch data correctly. But 90% of the time it fails.
Info about this concept: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html
What you expected to happen:
Data should be queried successfully when setting up a property history, interpolated, or aggregates query with a property alias used instead of an asset id.
How to reproduce it (as minimally and precisely as possible):

Have an AWS account with a SiteWise data stream that has a data stream alias, and there is data ingested
Add a Get Interpolated Property Values query to a panel in Grafana
Specify a property alias for a property with data on the query
See the query fail

Screenshots

Anything else we need to know?:
Environment:

Grafana version: 10.1.1
Plugin version: 1.22.1
OS Grafana is installed on: MacOS
User OS & Browser: Sonoma 14.5, Chrome
Others: Self Managed Grafana environment

Hi @hwandersman thanks for reporting this. I'm unfortunately unable to reproduce this either for associated or unassociated streams. Is there anything in the query options that could be relevant for reproducing this?

I use a property alias instead of an asset id and property id in the query.
I have set up a dashboard with multiple queries with associated and disassociated data streams and I have issues consistently showing data for all of them. I can sometimes show data for individual panels when editing them.

Hi @hwandersman is it only "get interpolated property values" or is it also  "Get Property Value History", and "Get Property Value Aggregates" ?
It seems like get interpolated property values and get property value history are doing some kind of streaming-type behavior which I believe we added recently if I remember correctly? It seems possible something about that implementation could be faulty in certain circumstances? But that wouldn't explain getPropertyValueAggregates I don't think.
One thing I've noticed is that we make A LOT of requests if you have a lot of data right now. And we make them fairly quickly. See this video with the network tab:
https://github.com/user-attachments/assets/88e14c44-13d8-4dd7-bb40-136cbc0def9e
While it seems appropriate to stream data, I do feel like we're making a request to /query multiple times a second which seems like a good way to spam a server. I wonder if it's possible that depending on where it's deployed if it's possible we're hitting some kind of rate limiting error and the plugin doesn't handle it properly and throws a 500? I haven't been able to reproduce this, it's just a theory.
Perhaps the first action we could take for this ticket would be to add some kind of logging or return the error client. Other than that I'm not sure we have enough information to really take action. I'll put this into "next" to see if someone can take on double checking if there is anywhere we could improve error handling or add logging for these queries.


Rename TyKind::Unknown and TyKind::ForeignType (Chalk move)

CC #8313

changelog skip

r? @flodiebold
(it's mechanical, but I'll wait for you to avoid conflicts if you're working on something else)

Thanks!
bors r+


Bug: Generates invalid code due to inheritance

If you have
class Codec {
  val Writer = 123
}
trait Settings {
  val codec = new Codec
}

object Server extends Settings

and then an import
import Server.codec.Writer

0.3.1-RC2 generates this
import com.blah.blah.Settings.codec.Writer

which doesn't compile. It should be s/Settings/Server/
import com.blah.blah.Server.codec.Writer

Successfully reproduced this issue with the following patch:
diff --git a/input/src/main/scala/fix/Inheritance.scala b/input/src/main/scala/fix/Inheritance.scala
new file mode 100644
index 0000000..5e13f14
--- /dev/null
+++ b/input/src/main/scala/fix/Inheritance.scala
@@ -0,0 +1,9 @@
+/*
+rules = [OrganizeImports]
+OrganizeImports.expandRelative = true
+ */
+package fix
+
+import SomeObject.field.any
+
+object Inheritance
\ No newline at end of file
diff --git a/output/src/main/scala/fix/Inheritance.scala b/output/src/main/scala/fix/Inheritance.scala
new file mode 100644
index 0000000..15cba88
--- /dev/null
+++ b/output/src/main/scala/fix/Inheritance.scala
@@ -0,0 +1,5 @@
+package fix
+
+import fix.SomeObject.field.any
+
+object Inheritance
\ No newline at end of file
diff --git a/shared/src/main/scala/fix/Inheritance.scala b/shared/src/main/scala/fix/Inheritance.scala
new file mode 100644
index 0000000..1a42554
--- /dev/null
+++ b/shared/src/main/scala/fix/Inheritance.scala
@@ -0,0 +1,11 @@
+package fix
+
+class SomeClass {
+  val any: Any = ???
+}
+
+trait SomeTrait {
+  val field = new SomeClass
+}
+
+object SomeObject extends SomeTrait

I think we can fix this issue by expanding the top qualifier of an import expression, e.g., for import a.b.C, try to expand a instead of a.b by traversing ancestors of a.

Nice work!

Fixed this one and released 0.3.1-RC3.

Yay! Thanks @liancheng !!


Add index operator to tensor

Add Tensor::operator[] for easier use

:octocat: cibot: Thank you for posting issue #275. The person in charge will reply soon.

N/A for this moment.


Clicking on notes for kafka or hbase (probably others too) makes it unusable

See the following on chrome console
Uncaught TypeError: Cannot read property 'state' of undefined
at Object.n.onSelectTab (application.js:49)
at a (application.js:26)
at Object.i (application.js:73)
at t.handleClick (application.js:35)
at t.handleClick (application.js:13)
at Object.r (vendor.bundle.js:5)
at a (vendor.bundle.js:5)
at Object.u [as executeDispatchesInOrder] (vendor.bundle.js:5)
at d (vendor.bundle.js:4)
at v (vendor.bundle.js:4)

I found similar problem:
Enter kafka source details and go to notes. Enter something. Now hit ok. Nothing happens. You cannot go back to the tabs Optional or Required after this. Only way to get out of this is by hitting cancel.

Fixed and merged in commit: https://github.com/hortonworks/streamline/commit/6c06d010e75afe9699e864fad10bd7d0405e98a6


ls: print "size":0 for empty files in JSON

What does this PR change? What problem does it solve?
It causes restic ls --json to print empty files as having "size":0 instead of omitting the size, as was done previously.
It also removes unconditional panics introduced in 200f09522dfe034ced28075705c41de9a5fefebf, which broke JSON printing entirely.
Was the change discussed in an issue or in the forum before?
Fixes #3247.
Checklist

[x] I have read the Contribution Guidelines
[x] I have enabled maintainer edits for this PR
[x] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Good idea, implemented that.


study access service: make data access dashboard button more prominent

we should “unhide” the button to open the data access dashboard… we've now handed over access management to the teams and the current location is too hidden
Make a new tab labeled “Manage study” that is only visible to provider-managers (and VEuPathDB staff) when logged in. Styling of this tab should be different so that this tab (only visible to managers) is differentiated from the other tabs (always visible to all users). Perhaps make the tab the same coloring as the button?
Once the new tab is implemented, delete the button from the study details tab

All of the information on the study access page (ie, https://clinepidb.org/ce/app/study-access/DS_8e1f623542) should be on the new "Manage study" tab

@danicahelb what if we move the button next to the study name in the analysis header, and skip making the new tab?

yes, that is fine

can we push this to the live site as soon as it is QA'd (ie, not wait to b67 release)?

can we push this to the live site as soon as it is QA'd (ie, not wait to b67 release)?

That should be doable. @chowington I can handle that, since the process is pretty verbose.


Yarn upgrade & futureproofing

Upgrades a zillion things, and updates code to match.

@toolmantim I really just wanted eyes on it and to check it didn’t break anything someone else thinks is obvious! 😄

No problemo! 👍🏼


possible bug with removeNodes() or its v-model

Discussed in https://github.com/bcakmakoglu/vue-flow/discussions/453

Originally posted by ghiscoding November 22, 2022
Hello, I think I discovered a bug with removeNodes() which is that it doesn't seem to delete the last node when there's only 1 node left in the canvas. I also replicated the same bug in the Save & Restore - Example by using the following code from the Example.
So in our use case, we use GUID as Id and when I delete the last Node and then add a new Node, it adds 2 Nodes to the canvas instead of 1 as it's supposed to do because the last node in still somehow in memory
App.vue
<script lang="ts" setup>
import { VueFlow } from '@vue-flow/core'
import { ref, watch } from 'vue'
import SaveRestoreControls from './Controls.vue'

const elements = ref([{ id: '1', label: 'Node 1', position: { x: 100, y: 100 } }])

// NEW: adding a value count & display it below
const count = ref(1)
watch(elements, (newValue) => {
  count.value = newValue.length;
})
</script>

<template>
  Elements count: {{count}}
  <VueFlow v-model="elements">
    <SaveRestoreControls />
  </VueFlow>
</template>

Controls.vue
<script setup>
import { Panel, PanelPosition } from '@vue-flow/additional-components'
import { useVueFlow } from '@vue-flow/core'

const flowKey = 'example-flow'

const { nodes, addNodes, setNodes, setEdges, dimensions, setTransform, toObject,getNodes, removeNodes } = useVueFlow()

const onSave = () => {
  localStorage.setItem(flowKey, JSON.stringify(toObject()))
}

const onRestore = () => {
  const flow = JSON.parse(localStorage.getItem(flowKey))

  if (flow) {
    const [x = 0, y = 0] = flow.position
    setNodes(flow.nodes)
    setEdges(flow.edges)
    setTransform({ x, y, zoom: flow.zoom || 0 })
  }
}

const onAdd = () => {
  const id = nodes.value.length + 1

  const newNode = {
    id: `${id}`,
    label: `Node ${id}`,
    position: { x: Math.random() * dimensions.value.width, y: Math.random() * dimensions.value.height },
  }

  addNodes([newNode])
}

function onDeleteLast() {
  removeNodes([`${getNodes.value.length}`]);
}
</script>

<template>
  <Panel :position="PanelPosition.TopRight" class="save-restore-controls">
    <button style="background-color: #33a6b8" @click="onSave">save</button>
    <button style="background-color: #113285" @click="onRestore">restore</button>
    <button style="background-color: #6f3381" @click="onAdd">add node</button>
    <button style="background-color: #6f3381" @click="onDeleteLast">delete last node</button>
  </Panel>
</template>

see animated gif

Fixed with v1.5.1


[Bug]missing KUBERNETES_MASTER env in ci

chainsaw version Version
v0.1.8
Description
When I am in a new operating environment, I create a k8s cluster using kind, specifying the kubeconfig location. Then run chansaw test to specify the cluster configuration through the chansaw configuration file, and the following error occurs:
Error: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

Steps to reproduce

env

KIND_VERSION ?= v0.22.0

KINDTEST_K8S_VERSION ?= 1.26.14

KIND_IMAGE ?= kindest/node:v${KINDTEST_K8S_VERSION}
KIND_KUBECONFIG ?= kind-kubeconfig-$(KINDTEST_K8S_VERSION)
KIND_CLUSTER_NAME ?= ${PROJECT_NAME}-$(KINDTEST_K8S_VERSION)

$(KIND) create cluster --config test/e2e/kind-config.yaml --image $(KIND_IMAGE) --name $(KIND_CLUSTER_NAME) --kubeconfig $(KIND_KUBECONFIG) --wait 120s

$(CHAINSAW) test --cluster cluster-1=$(KIND_KUBECONFIG) --test-dir ./test/e2e --config .chainsaw.yaml

./test/e2e/kind-config.yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
  image: kindest/node:v1.26.14@sha256:5d548739ddef37b9318c70cb977f57bf3e5015e4552be4e27e57280a8cbb8e4f
  kubeadmConfigPatches:
  - |
    kind: InitConfiguration
    nodeRegistration:
      kubeletExtraArgs:
        node-labels: "ingress-ready=true"
  extraPortMappings:
  - containerPort: 80
    hostPort: 18080
    protocol: TCP
  - containerPort: 443
    hostPort: 18443
    protocol: TCP

.chainsaw.yaml
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Configuration
metadata:
  name: custom-config
spec:
  timeouts:
    apply: 120s
    assert: 120s
    cleanup: 120s
    delete: 120s
    error: 10s
    exec: 45s
  skipDelete: false
  failFast: true
  parallel: 1 # use 1 concurrent to test, to voide multiple csi driver conflict

Expected behavior
i want everythings is ok.
BUT I GOT ERROR
Screenshots
❯ make kind-create
/opt/homebrew/bin/kind create cluster --config test/e2e/kind-config.yaml --image kindest/node:v1.26.14 --name secret-operator-1.26.14 --kubeconfig kind-kubeconfig-1.26.14 --wait 120s
Creating cluster "secret-operator-1.26.14" ...
 ✓ Ensuring node image (kindest/node:v1.26.14) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
 ✓ Waiting ≤ 2m0s for control-plane = Ready ⏳
 • Ready after 13s 💚
Set kubectl context to "kind-secret-operator-1.26.14"
You can now use your cluster with:

kubectl cluster-info --context kind-secret-operator-1.26.14 --kubeconfig kind-kubeconfig-1.26.14

Have a question, bug, or feature request? Let us know! https://kind.sigs.k8s.io/#community 🙂
# make kind-setup KUBECONFIG=kind-kubeconfig-1.26.14
❯
❯ make chainsaw-test
/Users/kevin/workspace/develop/golang/bin/chainsaw test --cluster cluster-1=kind-kubeconfig-1.26.14 --test-dir ./test/e2e --config .chainsaw.yaml
Version: v0.1.8
Loading config (.chainsaw.yaml)...
- Using test file: chainsaw-test
- TestDirs [./test/e2e]
- SkipDelete false
- FailFast true
- ReportFormat ''
- ReportName 'chainsaw-report'
- Namespace ''
- FullName false
- IncludeTestRegex ''
- ExcludeTestRegex ''
- ApplyTimeout 2m0s
- AssertTimeout 2m0s
- CleanupTimeout 2m0s
- DeleteTimeout 2m0s
- ErrorTimeout 10s
- ExecTimeout 45s
- Parallel 1
- Clusters map[cluster-1:{kind-kubeconfig-1.26.14 }]
- NoCluster false
Loading tests...
- search-in-default-ns (test/e2e/search-in-default-ns)
- search-with-pod (test/e2e/search-with-pod)
- tls (test/e2e/tls)
Loading values...
Running tests...
Error: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
make: *** [chainsaw-test] Error 1

Logs
No response
Slack discussion
No response
Troubleshooting

[X] I have searched other issues in this repository and mine is not recorded.

a detail log: https://github.com/whg517/secret-operator/actions/runs/8674545401/job/23786978398

Thanks for reporting, i'm giving it a look.

@whg517 the solution is to define the KUBECONFIG env var when invoking chainsaw:
KUBECONFIG=$(KIND_KUBECONFIG) $(CHAINSAW) test --test-dir ./test/e2e --config .chainsaw.yaml

@eddycharly Hello, thank you for your reply. The method you provided can solve my problem.
According to the documentation Multi cluster, I see that in multi-cluster mode, it is possible to specify kubeconfig profiles for different clusters by cluster (i used cmd --cluster mode). I think it might be a BUG that when I specify a cluster profile, the chainsaw runtime still checks if the default kubeconfig configuration exists.
Or is this default configuration required? Since I don't know much about chainsaw yet, you can tell me if you know. If this is not a BUG, but a correct situation, then I will close the ISSUE

@whg517 except when passed --no-cluster chainsaw expects a default config. To me it doesn't look like a bug.

tks


feat: Allow usage of custom SMTP server

Pull Request Template
⚠ Before Submitting a PR, read the Contributing Docs in full!
Summary
Mail interaction with service providers was too limiting, and NodeMailer has facilities for handling all kinds of servers. The relevant variables were exposed through the environment and documentation was added.
I initially set this up with Mailjet, by the way, and it worked without issues. So it's not only gmail that works, likely all the NodeMailer providers do. But sending a password reset link through these services if iffy from a security perspective if a trusted mail server is available.
NOTE: I am unsure what the note regarding the values needing to be set means, I might have fixed that as well but this appears to be something larger?
NOTE: Added an unrelated bit in the .env to make the user aware of DALLE_API_KEY. Took me way too long to find, this is the first thing I'm doing with JS.
Change Type
Please delete any irrelevant options.

[x] Bug fix: Missing ! when checking for mail service caused the form to malfunction
[x] New feature: EMAIL_HOST and related variables for mail configuration
[x] Documentation update

Testing
Tested with a variety of values for the env variables, no breaking changes were observed. For complex / odd combinations, the user would have to check the Nodemailer documentation / code to be 100% sure what they all do.
NOTE: I do not consider the inclusion of the APP_TITLE and the user's name in the mail addresses breaking - that may be debatable.
Test Configuration:
Checklist

[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[x] I have commented in any complex areas of my code
[x] I have made pertinent documentation changes
[x] My changes do not introduce new warnings
[ ] I have written tests demonstrating that my changes are effective or that my feature works
[x] Local unit tests pass with my changes
[/] Any changes dependent on mine have been merged and published in downstream modules.

Regarding tests, no tests for the password reset exist and the setup would be extensive due to the requirement of a mail server (and a connection to at least one Nodemailer well-known provider).

Thanks so much for this!


ignore .DS_Store file

Signed-off-by: Tengda He<EMAIL_ADDRESS>Description
ignore .DS_Store file
Issues Resolved
#7
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

We may also need to remove the file itself per @kavilla suggests in issue #7

Sure, removed all .DS_STORE file


[SPARK-3767] [CORE] Support wildcard in Spark properties

What changes were proposed in this pull request?
Added provision to specify the 'spark.executor.extraJavaOptions' value in terms of the Executor Id(i.e. @execid@). @execid@ will be replaced with the Executor Id while starting the executor.
How was this patch tested?
I have verified this by checking the executor process command  and gc logs. I verified the same in different deployement modes(Standalone, YARN, Mesos).

Can one of the admins verify this patch?

I think this is a good idea in general, but I'm less sure about @. Is @ used in windows? Any other places?

Thanks @rxin for checking this, I don't think @ is used any where. Here again we are replacing only for 'spark.executor.extraJavaOptions' value when @execid@ occurs, any other @ symbols we leave as it is, so I don't think any problem occurs due to this.

@rxin, Please have a look into this and let me know any thing needs to be done here. About @, M/R also uses @ for the taskid wild card in java opts and there is no problem in windows and as well as in other places with @.

Sorry this has been forgotten for so long. I think instead of adding a new way of referencing variables, it might be better to use the new code I'm adding in #14468; that way it would be easier to reference executor id (by creating a new ConfigProvider with that info) and even other config information if desired.
At the very least conflicts need to be resolved.

@vanzin Thanks for looking into this, I have resolved the conflicts.

Hmmm... wouldn't this be a one line change (for standalone and mesos) if instead you modified CommandUtils.buildLocalCommand to apply variable substitution to command.javaOpts instead of just to command.arguments?
That would replace {{EXECUTOR_ID}} in any of the arguments, since that variable is already in the list of things to replace (see ExecutorRunner.substituteVariables.)
You'd still need some extra code for YARN since it doesn't use that path. But it would be a smaller change that re-uses existing functionality.

Also the PR title is misleading, since this change is adding a single "wildcard" to a single configuration. The title makes it sound like it's way more generic than it is.

Hi @devaraj-kavali, are you still interested in updating this PR? I really think it should use the features I added in SPARK-16671 (especially the ConfigReader code), to avoid yet another way of expanding variables.

@vanzin, SPARK-3767 was resolved as 'Won't Fix' by @srowen. I was in assumption that SPARK-16671 covers this as well.

If you're willing to work on it you can re-open the bug. Otherwise you should close this PR.

I will update this PR with the ConfigReader and reopen the jira.


Suggestion For Utopian.rocks  : Add the "Rejected contributions " and "Gives Start for  for Modrater work " features

Repository
https://github.com/amosbastian/utopian.rocks

Introduction
https://utopian.rocks/   is a Flask application that indicates unreviewed or pending commitments and pending arbitrator remarks. It additionally incorporates a few endpoints to recover commitments, measurements and a week by week layout for one of Utopian's posts.

Components
The components (Features) I want to suggest is:
Rejected contribution
1-Rejected contribution
2- Gives Start for  for Modrater work

Proposal Description
https://utopian.rocks/ is a website that is built on https://utopian.io, a source of money by working on the https://utopian.io Open Source Project  People around this web site check the  work and their work is done by the moderator again and then they are given vote  on the steemit.com  and they earn lots o money  I want some more options to be add to improve this website so that this web site can be made easier.
(1)  Rejected contributions
i want to add the Rejected contributions  button on this sites  The function of this button will be that show all rejected  posts   Any posts that are canceled will appear on all of them here  The advantage of this button is that any new subscribers that are coming, they can better improve their work by looking at canceled posts.
(2)      Gives Start for  for Modrater work
This button will be very beneficial, in my view and through this button we can also calculate the modular salary  The function of this button should be that any posters will post when their post is canceled or approved, they will give their review to the moderator exactly how the moderator is working. And this will be reviewed only in the form of a star and only a star, which has done a good job, will be given 5 stars and the work that will be done will be 4 stars and so 3 stars and 2 stars I think many people in this button will give their false reviews to the moderator so I want this button to be shown to the manager only and only and the manager should perform their work star by their
It will be that the manager of the moderator will be honestly honest give the review  and this will be the benefit of the person who is honest person or hard worker person  get more salary on utopian
NOTE  We will only keep this option open for the manager, and for this purpose we will make the password above the button through the HTML, which will only pass to the password and only the manager.

Mockups / Examples
original interface of websites

when we add rejected contribution button we see like this

when we open the reject contribution list we see like this all the post

when we add start Gives Start for  for Modrater work " features

when we clikc on the button we show a password box like this

when  open the option wee see like this

Benefits
1 Rejected contributions
New users coming through this option will get many information about working and they will improve their work better When a user sees other user's errors, they will avoid repeating this error
2  Gives Start for  for Modrater work
These modular seals can be improved which moderators will be working harder.And the moderators who do not work well will also try to improve their work And the way the moderator works, the salary will continue to increase

GitHub Account
https://github.com/nasirshah1813

I am not going to implement any of this since I am busy, and Utopian Colony is coming soon, which is a lot more suited to these type of features. Moreover there isn't really much, or any, rejection anymore, so it doesn't make sense to have a "rejected contributions" page.

The advantage of this button is that any new subscribers that are coming, they can better improve their work by looking at canceled posts.

Either way, it's imo better for them to use good posts as an example of what to do, instead of looking at bad posts as an example of what not to do.

yes sir i know your are busy  on Utopian Colony but according to me you can also add this feature on Utopian Colony if you feel this is useful for user

I am not working on Utopian Colony.


Income Vs Expense report

The issue is while using Income Vs. Expense report for YNAB tool kit.  When you hover over a row in this report it highlights the row with a dark blue color but still leaves the text in black color.  this makes it very difficult to read.  This happens when using YNAB's classic color scheme.

I'll fix this

Hey @Pestilense the fix for this should be in our current release! If you notice the issue still exists and you're definitely running the newest version of the toolkit, please reopen! Thanks!
Please note, all browser can take up to an hour to provide updates to all users. You can force an update if it's available for you by going to chrome://extensions and clicking the "Update" button. Firefox users can go to about:addons, click the setting cog, and click "Check for updates...".