Policy definitions and Policy assignment tries to deploy multiple time in the same scope

Hello, we try to deploy caf enterprise scale to our new tenant.  I read the documentation and did the same as it is described in the Default configuration.

Main.tf :

provider "azurerm" {
subscription_id = var.subscription_id
client_id       = var.client_id
client_secret   = var.client_secret
tenant_id       = var.tenant_id
features {}
}
data "azurerm_client_config" "current" {}
module "enterprise_scale" {
source  = "Azure/caf-enterprise-scale/azurerm"
version = "0.3.0"
root_parent_id = data.azurerm_client_config.current.tenant_id
root_id        = "MyOrganizationid"
root_name      = "MyOrganization name"
}
module "management_group_archetypes" {
for_each = local.es_landing_zones_map
source   = "./modules/archetypes"
root_id                 = "${local.provider_path.management_groups}${local.root_id}"
scope_id                = each.key
archetype_id            = each.value.archetype_config.archetype_id
parameters              = each.value.archetype_config.parameters
enforcement_mode        = try(module.management_resources.configuration.archetype_config_overrides[basename(each.key)].enforcement_mode, null)
access_control          = each.value.archetype_config.access_control
library_path            = local.library_path
template_file_variables = local.template_file_variables
default_location        = local.default_location
}
module "management_resources" {
source = "./modules/management"
enabled         = local.deploy_management_resources
root_id         = local.root_id
subscription_id = local.subscription_id_management
settings        = local.configure_management_resources.settings
location = coalesce(local.configure_management_resources.location, local.default_location)
tags     = coalesce(local.configure_management_resources.tags, local.default_tags)
resource_prefix                              = try(local.configure_management_resources.advanced.resource_prefix, local.empty_string)
resource_suffix                              = try(local.configure_management_resources.advanced.resource_suffix, local.empty_string)
existing_resource_group_name                 = try(local.configure_management_resources.advanced.existing_resource_group_name, local.empty_string)
existing_log_analytics_workspace_resource_id = try(local.configure_management_resources.advanced.existing_log_analytics_workspace_resource_id, local.empty_string)
existing_automation_account_resource_id      = try(local.configure_management_resources.advanced.existing_automation_account_resource_id, local.empty_string)
link_log_analytics_to_automation_account     = try(local.configure_management_resources.advanced.link_log_analytics_to_automation_account, true)
custom_settings_by_resource_type             = try(local.configure_management_resources.advanced.custom_settings_by_resource_type, local.empty_map)
}
deployment always failed with such errors:
Error: A resource with the ID "/providers/Microsoft.Management/managementGroups/nten-landing-zones/providers/Microsoft.Authorization/policyAssignments/Deny-Priv-Escalation-AKS" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_policy_assignment" for more information.
on .terraform\modules\enterprise_scale\resources.policy_assignments.tf line 1, in resource "azurerm_policy_assignment" "enterprise_scale":
1: resource "azurerm_policy_assignment" "enterprise_scale" {
Error: A resource with the ID "/providers/Microsoft.Management/managementGroups/nten-landing-zones/providers/Microsoft.Authorization/policyAssignments/Deny-Priv-Containers-AKS" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_policy_assignment" for more information.
on .terraform\modules\enterprise_scale\resources.policy_assignments.tf line 1, in resource "azurerm_policy_assignment" "enterprise_scale":
1: resource "azurerm_policy_assignment" "enterprise_scale" {
Error: A resource with the ID "/providers/Microsoft.Management/managementGroups/nten-landing-zones/providers/Microsoft.Authorization/policyAssignments/Deny-http-Ingress-AKS" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_policy_assignment" for more information.
on .terraform\modules\enterprise_scale\resources.policy_assignments.tf line 1, in resource "azurerm_policy_assignment" "enterprise_scale":
1: resource "azurerm_policy_assignment" "enterprise_scale" {
These policy assignments have been deployed. It is tried to deploy them once again in the same deployment.

As a workaround, I have removed these policy assignments for the LandingZone:
modules/archetypes/lib/archetype_definitions/archetype_definition_es_landing_zones.tmpl.json

After that, I was able to deploy successfully (to greenfield env).
And I see that these policy assignments have been deployed as well.

But I still can't find the reason for that...


Add support for icons in lsp symbols and breadcrumbs

Describe your request
When enabling theme for treemacs icons used in lsp-treemacs-symbols or lsp-headerline-breacrumbs should be updated according to the specified theme from doomthemes
Briefly explain its use-case

Enable lsp-headerline-breadcrumbs-mode or run lsp-treemacs-symbols
See that icons in buffers and icons in treemacs panel  are not matching
Be upset about it

I've tried to do something like that in lsp-treemacs-nerd-icons


zziplib: 0.13.69 → 0.13.70

Motivation for this change
Another step in getting rid of Python 2 (continued from https://github.com/NixOS/nixpkgs/pull/76488)
https://github.com/gdraheim/zziplib/releases/tag/v0.13.70
https://github.com/gdraheim/zziplib/releases/tag/v0.13.71
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Tests were not working before and I would rather get rid of Python 2 sooner.


Added a synchronous interface to the HttpClient

-1 for now. We should make use of EpollLoop::loop in order to ensure that operations have been completed, instead of a distinct msg loop thread.


Allow setting any attribute on Slug and TextWithSlug fields. Matches …

…the new functionality in Nova 1.1.4 for Text and TextArea Fields. Can be applied via the following:
->withMeta(['extraAttributes' => [
// 'placeholder' => '0',
// 'readonly' => true,
// 'disabled' => true,
// 'type' => 'number',
// 'step' => 4,
// 'required' => true,
]]),

Looks good, thank you :)

I do not understand how to implement this properly.  I can make 'slug' readonly, but it still changes when editing the source field (title field in my case).
The usage I am looking to have is when creating a new resource (a cms document) the slug gets created.  However once it is created, I no longer wish to allow the slug to be modified, when editing the title for instance, because this will invalidate any links to the document that are using the slug for routing.
Is that possible using the withMeta method?

Actually I figured out it will work the way I want simply using the Nova method "hideWhenUpdating()".
Thanks for the quick reply though!  :)


Quicksilver crashing on startup

Never seen this before (and been using QS for years).  Crashes on startup.  MacOS 10.12.6.  QS 1.5.5 (tried 1.5.4 and got the same behaviour).  Bizarre.

Corrupt cache.  Fixed.  Sorry for the noise.


Add benchmarks for the lazily parsed data

Also disable parallel codegen for benchmarks. This improves the benchmarks due to better inlining, and makes them a more reliable tool for determining the effect of code changes.


feat(publish): Support 'publish.timeout' config behind '-Zpublish-timeout'

Originally, crates.io would block on publish requests until the publish
was complete, giving cargo publish this behavior by extension.  When
crates.io switched to asynchronous publishing, this intermittently broke
people's workflows when publishing multiple crates.  I say interittent
because it usually works until it doesn't and it is unclear why to the
end user because it will be published by the time they check.  In the
end, callers tend to either put in timeouts (and pray), poll the
server's API, or use crates-index crate to poll the index.
This isn't sufficient because

For any new interested party, this is a pit of failure they'll fall
into
crates-index has re-implemented index support incorrectly in the past,
currently doesn't handle auth, doesn't support git-cli, etc.
None of these previous options work if we were to implement
workspace-publish support (https://github.com/rust-lang/cargo/issues/1169)
The new sparse registry might increase the publish times, making the
delay easier to hit manually
The new sparse registry goes through CDNs so checking the server's API
might not be sufficient
Once the sparse registry is available, crates-index users will find
out when the package is ready in git but it might not be ready through
the sparse registry because of CDNs

This introduces unstable support for blocking by setting
publish.timeout to non-zero value.
A step towards #9507

r? @weihanglo
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 04d836fa71c63f2344e2c18cc67f24142bc11d57 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit 04d836fa71c63f2344e2c18cc67f24142bc11d57 with merge b592ba4d971b6994ab8cd3de20566b13c34f7a6a...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing b592ba4d971b6994ab8cd3de20566b13c34f7a6a to master...


Bump kvdb-rocksdb to 0.19.0

polkadot companion: https://github.com/paritytech/polkadot/pull/7212

How do we handle changes depending on each other?
kvdb-rocksdb should be bumped in polkadot but it won't compile until substrate is also bumped :see_no_evil:

And cumulus fails because polkadot-service needs to be bumped with the companion above.

bot merge

bot merge

bot merge


iOS: How to change badge number when the app is not running or background?

What version of RN and react-native-fcm are you running?
0.53.3/14.1.3
What device are you using? (e.g iOS9 emulator, Android 6 device)?
iPhone6(iOS11)
Is your app running in foreground, background or not running?
background and not running

I wanna refresh badge number according to the number of notification when the app is not foreground,
by triggering some method when receiving notifications.
I know I can do it by adding badge prop in the data sent from the server, but how to do this just in the client? (or is it impossible?)
FCM.on fires only when the app is running.

Sorry, https://github.com/evollu/react-native-fcm/issues/970#issuecomment-397040472 maybe the answer.
So I wonder if managing it only in the client side is IMPOSSIBLE.


Dataset

Hi there. Came across your project and looks really cool :) . I was wondering if the dataset that you used to create the model can be included in the repo? If not, is it a public dataset that can be accessed from somewhere else? Thanks again :)

Hi Haris, Thanks!, I'm glad you like the project. Sadly I can't include the
dataset right now. However the data mainly consist of descriptions of
diseases that you can find in wikipedia or webmd. Also, you can check the
MIMIC dataset https://mimic.physionet.org/.
2017-01-25 13:48 GMT-03:00 Haris Amin<EMAIL_ADDRESS>
Hi there. Came across your project and looks really cool :) . I was
wondering if the dataset that you used to create the model can be included
in the repo? If not, is it a public dataset that can be accessed from
somewhere else? Thanks again :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jgpavez/MedicalDiagnosis/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfdzTnkFMrqpCw_Sy_CXzM9T883VgK7ks5rV3zpgaJpZM4Ltt82
.

@jgpavez awesome! Thank you very much!


Launch tensorboard in colab

i try launch tensorboard on colab, my code:
LOG_DIR = model_dir
get_ipython().system_raw(
    'tensorboard --logdir {} --host <IP_ADDRESS> --port 6060 &'
    .format(LOG_DIR)
)

get_ipython().system_raw('./ngrok http 6060 &')

! curl -s http://localhost:4040/api/tunnels | python3 -c \
    "import sys, json; print(json.load(sys.stdin)['tunnels'][0]['public_url'])"

two days ago everything worked, but now such an error:
error

@lolpa1n Please share the entire code to reproduce this issue. Thanks!

The code that I attached is entire code, the rest code for object detection

@lolpa1n Please share the entire code with data preferably as a gist to reproduce this issue. Thanks!

The code that I attached is entire code, the rest code for object detection

@lolpa1n Without using ngrok, is the local server running?

@lolpa1n Without using ngrok, is the local server running?

curl: (7) Failed to connect to localhost port 6006: Connection refused

@lolpa1n Please provide us the colab notebook(gist) for us to reproduce this issue. I am not able to reproduce it.


mysql_options: unsafeUseAsCString -> useAsCString

unsafeUseAsCString sometimes caused garbage (heisenbug), high-level effect of this was the library not able to find a section in configuration file. E. g. the section was [foo], but the library got foo$%^.
I discovered this when writing the program using multiple pools of connections to several servers.

Tailing characters, of course :-)

1, 12, 123, are section (group) names

I have just taken over as maintainer - sorry about the delay.


rel="preload" or "prefetch"?

In your docs for SWR you mention <link rel="preload"> (here), yet NextJS Link recommends prefetch (here). Which one is it?

Prefetch (using the link tag) is used to fetch resources used in the next page navigation (in the normal browser meaning of page navigation (aka a full page reload).
Preload is used to load data intended to be used in the same page you currently are, so in this case is the best option.
Next.js Link component call prefetch to the prop, but internally it uses a <link rel="preload"> tag.
You can read more about prefetch vs preload in the link tag here https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content#Other_resource_preloading_mechanisms.

Exactly! <Link prefetch> is a Next.js specific thing, where “Link” means literally a URL link. <link rel="preload"> is something in the HTML standard and used for preloading resources.


Pure location assignment

This PR changes how locations (essentially just unique element IDs) are assigned to elements. This has two primary motivations:

Correctness: The current system is subtly broken in various ways and produces wrong results in edge cases (see bugs linked below).
Performance: The new system is 100% free of side effects, making layout pure and removing the final blocker for multi-threaded layout.

The principle ideas in this PR are a few months old and were touched on in my blog post on frozen state. However, so far, progress was blocked on problems related to measurement. Ultimately, measurement of content in combination with introspection is a bit ill-defined, since the measured content doesn't necessarily end up in the document. One possible solution would have been to expose all this complexity to the user of measure and let them deal with it. I seriously considered this, but in the end decided that it is too much to ask from users.
 Essentially, during measurement we use the introspector to try to match up the locations of measured elements with real ones based on a key hash and the context's location. This works correctly almost always. Note that compiler-internal measurement does not use this best-effort mode, since it can manage the locators manually. The content.measure method was removed since it's now the same as content.layout.
For the details of the new location assignment method and also the "measurement mode", see the extensive doc comment in src/introspection/locator.rs.
Bugs fixed:

Fixes #1910 (not reproducible on main, but probably some variation still was)
Fixes #2480
Fixes #3661
Fixes #4023

Also makes significant progress for #1841, which can be tackled in a future PR.

I read a bit of that massive doc comment and was thinking that it might be desirable to move it into a README at some point. Not sure what the best structure for that would be, but there should probably be a system FOR READMEs of both somewhat-polished architecture descriptions and more ad-hoc developer notes.


chore(prow/cluster,prow/jobs): delete jobs for repo pingcap/docs-dm

It's stopped updating since December 23, 2021, and migrate to pingcap/docs and pingcap/docs-cn.

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
What's Changed:
How it Works:

PTAL @lilin90 @ @qiancai


install-path array

You should be able to pass a series of strategies to install path, like:
install-path = ["$CARGO_HOME", "~/.cargo"]
This precise example would have equivalent semantics to the current CARGO_HOME builtin.

Updated text to assume #934

(NB the CARGO_HOME builtin may ultimately want a mild divergence to avoid copying anything but binaries in, but hopefully you get what i mean)

solution: the CARGO_HOME builtin is really weird to want on a cascade like this, so error out if it's in a list of length > 1 (users can ask for it as a feature if this is a problem)

Implemented in #947


Change/docs

Fixes #702
Part of #439
Proposed changes:

Extracts the changelog to a "Keep a Changelog" compatible format

Other information:

[ ] Have you written new tests for your changes, if applicable?

Testing instructions:

Go to '..'

@jeherve good point!


add support for mapbox style URLs

Sweet! 👍

Hi, The custom style url are working perfectly for me on android, but on ios when the map is getting rendered (with the custom style url instead of the predefined ones) it crashes with the following message:
-[__NSCFString scheme]: unrecognized selector sent to instance 0x7878d520
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString scheme]: unrecognized selector sent to instance 0x7878d520'
*** First throw call stack:
(
0   CoreFoundation                      0x04173bf2 __exceptionPreprocess + 194
1   libobjc.A.dylib                     0x03c33e66 objc_exception_throw + 52
2   CoreFoundation                      0x041ed3bc -[NSObject(NSObject) doesNotRecognizeSelector:] + 172
3   CoreFoundation                      0x040f24fc forwarding + 1052
4   CoreFoundation                      0x040f20be _CF_forwarding_prep_0 + 14
5   Mapbox                              0x0058dc1d _Z20MGLDurationInSecondsd + 1000
6   Mapbox                              0x0058d992 _Z20MGLDurationInSecondsd + 349
7   NativeScript                        0x01013688 ffi_call_i386 + 24
)
*** JavaScript call stack:
(
0   initWithFrameStyleURL@[native code]
1   drawMap@file:///app/tns_modules/nativescript-mapbox/mapbox.js:42:66
2   tick@file:///app/tns_modules/timer/timer.js:17:26
3   UIApplicationMain@[native code]
4   start@file:///app/tns_modules/application/application.js:251:30
5   anonymous@file:///app/app.js:10:18
6   evaluate@[native code]
7   moduleEvaluation@:1:11
8   @:7:50
9   promiseReactionJob@:1:11
)
Dec 15 17:09:49 Admins-Mac com.apple.CoreSimulator.SimDevice.8020827F-752E-4CEA-938C-C178D02DF3F5.launchd_sim[2127] (UIKitApplication:org.nativescript.plocmobile[0x631a][5423]): Service exited due to Abort trap: 6
I've tried without the style url and it works fine... Is there a way to fix this misbehavior?
Thanks in advance, wonderful job

Hi @request-eduardo what's the style URL you're using? (want to reproduce the error)

I found the problem already... Android accepts the style URL as the mapbox studio site provides it, with mapbox:// (only 2 slashes) but iOS only accepts it with mapbox:/// (3 slashes). After I changed it for iOS I noticed Android doesn't care which one I use, so I ended up just using 3 slashes.
Thanks a lot for following the issue and answering so promptly, I expect this answer is useful for anyone else who runs into this

Ha, thanks for sharing indeed!


Homebrew Formulae

Hey @slonopotamus
incredible work!
I stumbled across maybe a week ago, been testing it out and have had pretty good success. good work on the docs!
I've been writing a post on and off, and trying to make it as easy to install/run on my machines.
The current gist is here https://gist.github.com/YOU54F/6e70e0893b589a3c6506a2f1abbc850d
I've got some Homebrew Formulae I've built, which will install everything and set up brew services for buildkitd and containerd
They are just in my homelab at the minute, haven't pushed them publicly atm
Assuming everything is stored in a repo called github.com/you54f/homebrew-brew (replace with your username and adjust formula reqs in final formula as appropriate)
brew tap you54f/brew
brew install macos-containers

User will be prompted for bindfs to restart machine, and enable kext extensions in recovery. cloning bindfs and running the test suite ./test-all.sh is useful to check everything is all good
services can be started in background with
sudo brew services start containerd
sudo brew services start buildkit

Formulae below
Macfuse and Bindfs

Formula/bindfs.rb
install with brew install --Formula Formula/bindfs.rb
install with brew install you54f/brew/bindfs

class MacFuseRequirement < Requirement
  fatal true

  satisfy(build_env: false) { self.class.binary_mac_fuse_installed? }

  def self.binary_mac_fuse_installed?
    File.exist?("/usr/local/include/fuse/fuse.h") &&
      !File.symlink?("/usr/local/include/fuse")
  end

  env do
    ENV.append_path "PKG_CONFIG_PATH", HOMEBREW_LIBRARY/"Homebrew/os/mac/pkgconfig/fuse"

    unless HOMEBREW_PREFIX.to_s == "/usr/local"
      ENV.append_path "HOMEBREW_LIBRARY_PATHS", "/usr/local/lib"
      ENV.append_path "HOMEBREW_INCLUDE_PATHS", "/usr/local/include/fuse"
    end
  end

  def message
    "macFUSE is required. Please run `brew install --cask macfuse` first."
  end
end

class Bindfs < Formula
    desc "FUSE file system for mounting to another location"
    homepage "https://bindfs.org/"
    url "https://bindfs.org/downloads/bindfs-1.17.4.tar.gz"
    sha256 "6fd4af9ba2ec2bdb603ef8eea2a9d12db2e5fe9cbe52b8640b415734a59f3dcc"
    license "GPL-2.0-or-later"

    head do
      url "https://github.com/mpartel/bindfs.git", branch: "master"

      depends_on "autoconf" => :build
      depends_on "automake" => :build
      depends_on "libtool" => :build
    end

    depends_on "pkg-config" => :build
    on_macos do
      depends_on MacFuseRequirement => :build
    end

    on_linux do
      depends_on "libfuse"
    end

    def install
      args = %W[
        --disable-debug
        --disable-dependency-tracking
        --with-fuse2
        --prefix=#{prefix}
      ]

        if build.head?
        system "./autogen.sh", *args
        end
        system "./configure", *args
        system "make"
        system "make", "install"
    end

    test do
      system "#{bin}/bindfs", "-V"
    end
  end

rund

Formula/rund.rb
install with brew install --Formula Formula/rund.rb
install with brew install you54f/brew/rund

# typed: false
# frozen_string_literal: true
class Rund < Formula
  desc "rund is an experimental containerd shim for running macOS containers on macOS."
  homepage "https://github.com/macOScontainers/rund"
  version "0.0.1"
  license "Apache-2.0"
  url "https://github.com/macOScontainers/rund/archive/refs/heads/main.zip"
  sha256 "e75a80bdffb91764556e6795c09096553a20640061e996169e4b36b16aaf7b4f"
  depends_on :macos
  depends_on "go" => :build
  depends_on "go-md2man" => :build
  depends_on "gpgme"

  def install
    system "go", "build", "-o", "bin/", "cmd/containerd-shim-rund-v1.go"
    bin.install "bin/containerd-shim-rund-v1" => "containerd-shim-rund-v1"
  end

  def caveats
    <<~EOS
      See the GitHub repository for more information
    EOS
  end
end

containerd

Formula/rund.rb
install with brew install --Formula Formula/containerd.rb
install with brew install you54f/brew/containerd

# typed: false
# frozen_string_literal: true
class Containerd < Formula
  desc "An open and reliable container runtime."
  homepage "https://github.com/macOScontainers/containerd"
  version "0.0.1"
  license "Apache-2.0"
  url "https://github.com/macOScontainers/containerd/archive/refs/heads/macos.zip"
  sha256 "61177504d212d8f1e469272bf6a36a2998550f0565571668e5a0acca13cdf943"
  depends_on :macos
  depends_on "go" => :build
  depends_on "go-md2man" => :build
  depends_on "gpgme"

  def install
    system "go", "build", "-o", "bin/", "cmd/containerd/main.go"
    bin.install "bin/main" => "containerd"
    system "go", "build", "-o", "bin/", "cmd/ctr/main.go"
    bin.install "bin/main" => "ctr"
  end

  service do
    run [bin/"containerd"]
    require_root true
    keep_alive always: true
    working_dir HOMEBREW_PREFIX
    environment_variables PATH: std_service_path_env
  end

  def caveats
    <<~EOS
      See the GitHub repository for more information
    EOS
  end
end

buildkit

Formula/buildkit.rb
install with brew install --Formula Formula/buildkit.rb
install with brew install you54f/brew/buildkit

class Buildkit < Formula
    desc "Сoncurrent, cache-efficient, and Dockerfile-agnostic builder toolkit"
    homepage "https://github.com/moby/buildkit"
    url "https://github.com/macOScontainers/buildkit/archive/refs/heads/macos.zip"
    version "0.13.0"
    sha256 "fb61663dd939d811dc8048640fc745750b92816f60e77065953c56d9542ec279"
    license "Apache-2.0"

    depends_on "go" => :build

    def install
      system "go", "build", *std_go_args(output: bin/"buildkitd"), "./cmd/buildkitd"
      system "go", "build", *std_go_args(output: bin/"buildctl"), "./cmd/buildctl"

      doc.install Dir["docs/*.md"]
    end

    test do
      assert_match "make sure buildkitd is running",
        shell_output("#{bin}/buildctl --addr unix://dev/null --timeout 0 du 2>&1", 1)

      assert_match version.to_s, shell_output("#{bin}/buildctl --version")
    end
    service do
      run [bin/"buildkitd"]
      require_root true
      keep_alive always: true
      working_dir HOMEBREW_PREFIX
      environment_variables PATH: std_service_path_env
    end
  end

macos-containers

Formula/macos-containers.rb
install with brew install --Formula Formula/macos-containers.rb
install with brew install you54f/brew/macos-containers

# typed: false
# frozen_string_literal: true

class MacosContainers < Formula
  desc "OCI containers on macOS"
  homepage "https://github.com/macOScontainers"
  version "0.0.1"
  depends_on "you54f/brew/bindfs"
  depends_on "you54f/brew/containerd"
  depends_on "you54f/brew/rund"
  depends_on "you54f/brew/buildkit"
  depends_on :macos

  on_macos do
    url "https://github.com/macOScontainers/rund/archive/refs/heads/main.zip"
    # sha256 "e75a80bdffb91764556e6795c09096553a20640061e996169e4b36b16aaf7b4f"
    puts "macOS Containers installed successfully!"

    EOF

    # Aaaaad, build your first macOS image
    sudo buildctl build --frontend=dockerfile.v0 --local context=. -local dockerfile=.

    # Notes on docker creds
    cat ~/.docker/config.json
    you may need to remove `credStore` - I did, YMMV
    EOS
  end
end

Download with brew

Run containerd as a service

Run buildkitd as a service

Profit

Buildkit config

Build it

Hi! I'm definitely moving in those direction. You've might have seen that I got a very WIP docker run with macOS container (haven't pushed it to public yet, need to polish some pieces). I'm not sure buildctl is much of a value, we would better push things until docker build works. And theeeen, I plan to work on a proper packaging (via Homebrew). It is just a bit too early.
P.S. WRT docs - I feel it is very important to document how to build/use software. Both for potential users and for future myself, because I tend to forget these boring details :D

I'll try out fuse-t! I don't mind running with SIP disabled, I'm already running a debug kernel in a relaxed mode in order to run more than 2 apple vm's
https://khronokernel.github.io/macos/2023/08/08/AS-VM.html
plus it means I can sign apps with private entitlements for personal use.
Agree would be nice to use it with docker build/docker run. I managed to build an image but I'm new to buildkit/containerd ecosystem, so was just going by my docker commands muscle memory.

Both for potential users and for future myself, because I tend to forget these boring details :D

110% this is why I started blogging - because all the juicy information was just locked away in my notes folder.
I'll raise some tickets for the other issues I encountered, in case others have encountered them too, and can offer solutions.
epic stuff anyway! I was wandering down macos jail and chroot territory, which is how I found you.
Another project I am loving at the moment is krunvm - blog post from the author https://sinrega.org/running-microvms-on-m1/
Apple now have the ability to snapshot save vm's, and you can mount your working directory into the container. I want the ability to drop into any shell, linux/macos/windows from my terminal or vscode with my current project in context.
Anyway that's an aside!
Happy to help out with any further testing, and keeping on eye on activities!


Feature/sdl 0262 new vehicle data seat occupancy

Fixes 7915
Proposal: 0262-New-vehicle-data-SeatOccupancy.md
This PR is ready for review.
Summary
Add new vehicle data SeatOccupancy
CLA

[x] I have signed the CLA

Internal review is done. Move PR to open


Related to #9, also think of a way of showing "ecosystems"

Most tools now interoperate, and and there are standards and lots of utils etc. It'll be nice to be able to show the full ecosystem.
Related to #9

An idea is to split the results into 2: show tools on top, and related tools/ecosystems at bottom.

current idea:

show "is related to" by default, followed by the name of the tool (which serves as the primary and foreign keys)
later extend to allow description of relationship ("is a GUI for").

Fixed in https://github.com/OCNS/simselect/pull/22


Cannot interpret feed_dict key as tensor: tensor tensor(import/input:0, shape=(1, 299, 299, 3), dtype=float32) is not an element of this graph.

I'm running label_image.py given at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/label_image/label_image.py on inception_resnet_v2 frozen graph. When I run this code it's giving me the following error
cannot interpret feed_dict key as tensor: tensor tensor(import/input:0, shape=(1, 299, 299, 3), dtype=float32) is not an element of this graph.
But when I print the tensors, there exists the above tensor in the graph. Could anyone please help me with this ? Thanks in advance.

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


SignalPlot add last point to the plot

Hi...for a project i use ScottPlot...the tool is great...Thx...in the project i get every 20ms a new INT value. Now i want add this new value to my SignalPlot. Current i use a array with 500 points and I use the SignalPlot.Refresh() function to plot the new value, but this functions plots the complete graph. To plot the graph take about 100ms, that's to long. So is there a function in SignalPlot to plot a single value than the complete 500 points...?? Thx
I read something about PlotScatter in this post, but I think Angle_Angle1_Graphi.Render() renders the complete 2000 points and not only the last one
https://github.com/ScottPlot/ScottPlot/discussions/777#discussioncomment-366986
private void button_Click(object sender, RoutedEventArgs e)
{
    Scatter = Angle_Angle1_Graphic.plt.PlotScatter(xs, ys);
    dispactherTimer.Start();
}

double[] xs = new double[20000];
double[] ys = new double[20000];
int i = 0;

Scatter.xs = xs;
Scatter.ys = ys;
Angle_Angle1_Graphic.plt.AxisAuto();
Angle_Angle1_Graphic.Render();

Hey @Johann-Schmid,
as far as I am concerned that feature does not exists. Instead I'd suggest that you use a SignalConst. You can try this quick and dirty sample below - all you need to do is:

Create a new Form and name it Form1
Add a FormsPlot to said Form
Copy paste below code into Form1.cs

Hope this helps.
Example:
        private readonly SignalPlotConst<double> sig;
        private int idx = 1;

        public Form1()
        {
            InitializeComponent();
            var values = Enumerable.Range(0, 1_000_000).Select(v => double.NaN).ToArray();
            values[0] = 3;
            this.sig = new SignalPlotConst<double>();
            sig.MaxRenderIndex = 0;
            sig.Ys = values;
            this.formsPlot1.Plot.Add(sig);
            this.formsPlot1.Refresh();
            var timer = new Timer
            {
                Interval = 100
            };

            timer.Start();
            timer.Tick += TimerOnTick;
        }

        private void TimerOnTick(object? sender, EventArgs e)
        {
            var rand = new Random().Next(-10, 10);
            // update a single point
            sig.Update(idx, rand);
            sig.MaxRenderIndex = idx;
            formsPlot1.Plot.Benchmark();
            formsPlot1.Plot.AxisAuto();
            formsPlot1.Refresh();
            this.idx += 1;
        }

This is a great question and a common use case which isn't supported well in ScottPlot
I'm going to prioritize working on a "data logger" plot type which has optimizations of signal plots but is designed for growing data.

#2377

In the mean time, there are some suggestions for growing datasets on the FAQ page

https://scottplot.net/faq/live-data/


Remove Role Reaction Functionality

Going to be switching over to the built-in Discord community onboarding functionality in the coming weeks. I think we should keep the current message the bot posts in #rules but remove the server roles section and the reaction functionality instead. If it's possible in that intro message to link to the "Channels & Roles" tab in Discord then it's be cool to add that to the end of the message to give a bit of visibility (but no biggie if not)

Forgot to close this issue after my PR was merged 😅


[Bullet] Bullet classic, Add sdf entities

Changing internal base representation, and adding features to add/remove links

@Lobotuerk With 37ab82d I added the auxiliar vector we discussed as a nive to have, to save IDs of links in a model, but didn't update the removeModel and similar methods to use it yet.


added demo label

What has changed and why?
Added demo label in header
closes #142
How to test this change
test in mobile and desktop and ensure it is not overlapping the header.

[ ] has automated tests
[ ] at least one a reviewer ran the code
[ ] tested in small screen
[ ] i18n
[ ] tested in screen reader/contrast <-- remove this if no UX change

This is quite minimalist -- @CharlotteHinton @ssibbehh are you happy this is obvious enough?

@dlouise64 @Br3nda I'm a little stumped at the level we need to put the demo label at tbh. I'm used to seeing "DRAFT" huge across documents - I don't want to compromise the simplicity of the UI for it... It says demo and demonstrator... How obvious do we believe it needs to be?

I've we decide it's enough I'm happy to approve, have tested


Maintenance

Are looking for new maintainers or do you still maintain this repository, even you don't develop ABAP anymore?

I maintain it very infrequently, so I’d greatly appreciate new maintainers. There’s one already who contributes to the project a lot.

On Apr 29, 2020, at 1:23 AM, Bunyanuch Saengnet<EMAIL_ADDRESS>wrote:
Are looking for new maintainers or do you still maintain this repository, even you don't develop ABAP anymore?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/epeterson320/ABAP-Logger/issues/57, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU44DXR4MT4M6TOSFRZBKLRO62TPANCNFSM4MTND4ZQ.

Big thanks to @AlexandreHT for volunteering to be a maintainer! He's contributed to ABAP-Logger in the past and uses it currently.
@andkopp, you're currently the only other maintainer, so I wanted to keep you informed. I plan on creating an ABAP-Logger Github org and moving this project there, keeping you and adding @AlexandreHT as a collaborator. Does this seem like a reasonable plan to you?

Hi Eric. I have no experience with Github org but let's give it a try. I look forward to working with new maintainers. I've been a little less active lately, but I am always open to discussions about improvements. @AlexandreHT Thank you for contributing.

Done! Thanks again @AlexandreHT.


bump expo-github-action

What kind of PR is this?:

/kind chore
What this PR does / why we need it:
Which issue(s) does this PR fixes?:

Fixes #
Additional comments?:
Developer Checklist:

[ ] Read your code changes at least once
[ ] Tested on iOS/Android device (e.g, No crashes, library supported etc.)
[ ] No console errors on web
[ ] Tested on Light mode and Dark mode*
[ ] Your UI implementation visually matched the rendered design*
[ ] Unit tests*
[ ] Added e2e tests*
[ ] Added translations*

Can't do this bump because it's unstable


feat: Expose the Method PaginationState#SetTotalItemCountAsync to use it outside of a DataGrid

🙋 Feature Request
I am trying to use the Paginator Component outside of the DataGrid, but the method PaginationState#SetTotalItemCountAsync is internal, so I couldn't set it from the outside. It would be great if it could be made public, so I can reuse the Paginator for Components other than a Data Grid.

https://github.com/microsoft/fluentui-blazor/blob/6a32fc27a21a0401b472d3a5789f69072a42e708/src/Microsoft.Fast.Components.FluentUI/Components/Pagination/PaginationState.cs#L58C5-L58C61

🤔 Expected Behavior
It's possible to set the Total Item Count, to reuse the Paginator outside the Data Grid.
😯 Current Behavior
Unable to set the TotalItemsCount in the PaginatorState.

This will most probably be in the next minor version release (tomorrow or early next week).
If you have a (couple of) great samples where this is used, please consider posting those here. We can then put them in the demo site for everyone to learn from. Thanks.

This is in 2.4.1 release. Available on NuGet now...

Great! I need to polish the code a little, and add a link in here.

@vnbaaij Hm, I don't want to open a new issue, because my question might not be an issue. In my code I copy and pasted the FluentPaginator and subscribed to the EventCallbackSubscribable exactely like the code in the DataGrid. Now I see, that an EventCallbackSubscribable is an internal class, and external components are probably not meant to register to them. Is there any workaround I could get notified of the CurrentPageItemsChanged event?

@vnbaaij I have finally released the source code.
I have used the FluentUI Paginator to paginate search results, which are part of a project on writing a Code Search:

https://github.com/bytefish/ElasticsearchCodeSearch/tree/main/ElasticsearchCodeSearch/ElasticsearchCodeSearch.Client


Goto definition shouldn't go to named import

It would help me a lot if the current behaviour of goto definition goes to the definition and not the named import:
// module.ts
/*shouldGoHere*/export function something() { ...}

// index.ts
import {/*nowGoesHere*/something} from './module';

something/*goto*/

I've also found this to be annoying.

I think it should be the case that if you go to definition on the import once more, you'll land in the exported function in module.ts. Is it not?

yes, in the import clause it will go to the exported function. But could this be a direct jump to the export function? It doesn't help me that much that it jumps to the import clause. I guess people want to figure out what a function does, when they goto definitions and jumping to the import clause doesn't give me so much info except the name, which I already know.
FWIW, namespaced import jumps directly to the definition.

The rational that gotoDef takes you to where the construct you are using is defined. and in this case it is the import declaration. It is a declaration, it has its own scope, and it can introduce new named binding, in that sense it is the same like an object literal property for instance. i also find it a bit disorienting when imports introduce renames e.g.:
// file1.ts
export class C {}

// file2.ts

import {C as D} from "file1";

new /*goToDef here takes you to a class "C" */D();

changing it should not be hard, it is more about consistency..

@mhegazy any news on this one? It is still quite annoying that it jumps to the import declaration. I think a special casing here wouldn't do any harm. I think in all situation one want to jump to the "real" declaration.

@tinganho The same anoying for me. BTW. C# always jumps to the real definition point, not the using clause.

@tinganho if you want to take a crack at it, would be happy to look at the PR.

OK I will try to look into it.

+1, maybe in the aliased case its justifiable, but in the normal case is quite annoying.

thanks @tinganho!


update ADAL4J version to 1.3.0 and also add it into readme file based on request

Codecov Report

Merging #564 into dev will increase coverage by 0.15%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##                dev    #564      +/-   ##
===========================================
+ Coverage     46.45%   46.6%   +0.15%
- Complexity     2211    2214       +3
===========================================
  Files           108     108
  Lines         25321   25321
  Branches       4175    4175
===========================================
+ Hits          11764   11802      +38
+ Misses        11538   11499      -39
- Partials       2019    2020       +1

Flag
Coverage Δ
Complexity Δ

#JDBC41
46.36% <ø> (+0.16%)
2205 <ø> (+5)
:arrow_up:

#JDBC42
46.5% <ø> (+0.13%)
2211 <ø> (+5)
:arrow_up:

Impacted Files
Coverage Δ
Complexity Δ

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
32.37% <0%> (-0.41%)
238% <0%> (-2%)

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
52.64% <0%> (-0.13%)
240% <0%> (ø)

...m/microsoft/sqlserver/jdbc/SQLServerStatement.java
59.75% <0%> (+0.1%)
134% <0%> (+1%)
:arrow_up:

...ncurrentlinkedhashmap/ConcurrentLinkedHashMap.java
39.82% <0%> (+0.21%)
45% <0%> (ø)
:arrow_down:

...rc/main/java/com/microsoft/sqlserver/jdbc/dtv.java
63.24% <0%> (+0.36%)
0% <0%> (ø)
:arrow_down:

...c/main/java/com/microsoft/sqlserver/jdbc/Util.java
61.41% <0%> (+0.66%)
88% <0%> (+1%)
:arrow_up:

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
54.29% <0%> (+0.96%)
0% <0%> (ø)
:arrow_down:

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
45.59% <0%> (+1.35%)
105% <0%> (+2%)
:arrow_up:

...m/microsoft/sqlserver/jdbc/SQLServerException.java
76.85% <0%> (+1.65%)
29% <0%> (+1%)
:arrow_up:

...om/microsoft/sqlserver/jdbc/ReaderInputStream.java
47.19% <0%> (+2.24%)
16% <0%> (ø)
:arrow_down:

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 a940fbc...40a9bf5. Read the comment docs.


Problem when using latest intl

Because no versions of midtrans_snap match >1.0.0 <2.0.0 and midtrans_snap 1.0.0 depends on toolkit ^0.3.2, midtrans_snap ^1.0.0 requires toolkit ^0.3.2.
Because toolkit 0.3.2 depends on intl ^0.18.0 and no versions of toolkit match >0.3.2 <0.4.0, toolkit ^0.3.2 requires intl ^0.18.0.
Thus, midtrans_snap ^1.0.0 requires intl ^0.18.0.
So, because gym_devani depends on both intl ^0.19.0 and midtrans_snap ^1.0.0, version solving failed.

would you like to update this midtrans snap package with a newer intl?

@mfebrihariyadi please try the latest version


If using GH actions image, test for git diff on dockerfile

Currently, if a user modifies a dockerfile which is then later modified by another PR, their changes will appear to be "older" than the latest image and not require a rebuild. See https://github.com/openproblems-bio/openproblems/pull/241 for an example.
This fixes that by checking if the current image was built locally or by actions. If local, checks for the image age vs file age. If built by actions, assumes it was built on main and checks for a git diff.

Codecov Report

Merging #350 (0e18da1) into main (efe4001) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #350   +/-   ##
=======================================
  Coverage   88.42%   88.42%
=======================================
  Files          77       77
  Lines        1685     1685
  Branches       94       94
=======================================
  Hits         1490     1490
  Misses        167      167
  Partials       28       28

Flag
Coverage Δ

unittests
88.42% <ø> (ø)

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

Continue to review full report at Codecov.

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


update description for change of AML vs. Batch AI

OPS Build status updates of commit 75b99ae:
:clock10: Preparing: average preparing time is 46 sec(s)

OPS Build status updates of commit 75b99ae:
:clock10: Incremental building: average incremental building time is 23 sec(s)

OPS Build status updates of commit 75b99ae:
:warning: Validation status: warnings

File
Status
Preview URL
Details

bread/toc.json
:warning:Warning

Details

toc.json
:warning:Warning

Details

building-blocks/extending-templates/toc.json
:warning:Warning

Details

docs/reference-architectures/index.md
:white_check_mark:Succeeded
View

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\dvey\bread\toc.json'.

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\dvey\toc.json'.

building-blocks/extending-templates/toc.json

[Warning] Error happen when converting building-blocks/extending-templates/toc.json to Pdf. Details: Could not find a part of the path 'T:\dvey\building-blocks\extending-templates\toc.json'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


drivers: input: Implement driver for ADC keys

This commit introduces a driver for ADC keys, a common circuit design where keys are connected to an ADC input via a resistor ladder.
The driver itself does not calculate each possible combination of resistor values. Instead, users are required to specify the voltage for each single key press or for combinations of key presses.
Example 1
The schematic of a common design:

An example DTS:
&adc1 {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";

	channel@4 {
		reg = <4>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,resolution = <12>;
	};
};

/ {
	adc-keys {
		compatible = "adc-keys";
		io-channels = <&adc1 4>;
		sample-period-ms = <100>;
		keyup-threshold-mv = <0>;

		key_1 {
			press-thresholds-mv = <1650>;  /* K1 */
			zephyr,code = <INPUT_KEY_1>;
		};

		key_2 {
			press-thresholds-mv = <1357>;  /* K2 */
			zephyr,code = <INPUT_KEY_2>;
		};

		key_3 {
			press-thresholds-mv = <1211>;  /* K3 */
			zephyr,code = <INPUT_KEY_3>;
		};

		key_4 {
			press-thresholds-mv = <1058>;  /* K4 */
			zephyr,code = <INPUT_KEY_4>;
		};
	};
};

Example 2
Another example that supports simultaneously press both of keys:

/ {
	adc-keys {
		compatible = "adc-keys";
		io-channels = <&adc1 4>;
		sample-period-ms = <100>;
		keyup-threshold-mv = <0>;

		key_4 {
			press-thresholds-mv = <1650>,  /* K4 */
					      <2536>;  /* K4 + K5 */
			zephyr,code = <INPUT_KEY_4>;
		};

		key_5 {
			press-thresholds-mv = <2300>,  /* K5 */
					      <2536>;  /* K4 + K5 */
			zephyr,code = <INPUT_KEY_5>;
		};
	};
};

In the circuit above, for K4:

For K5:

For both K4 and K5 being pressed simultaneously:

Thanks all! I've learned a lot from this PR.


Links on license page are messed up

See http://haxe.org/manual/introduction-license.html
But the manual tex and md versions look fine, so I'm not sure what to do here.

I think this is a haxe-markdown issue? https://github.com/dpeek/dox/issues/127


Text on Keypad Does Not Update

Describe the bug
Text on keypad does not update until next click action
To Reproduce
Steps to reproduce the behavior:

Solve the Escape Room Puzzle
Once you have the passcode enter it in the keypad
The numbers do not show up on the keypad screen as they are being entered

Expected behavior
When a number is entered on the keypad the keypad screen should show the numbers that have been entered
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Potential Fix
Look into React Hook state management

Now Fixed


#Comment overload new[] delete[]

for better use
char *p=new char[1000];

Merged. Thank you for the PR.


Radarr

Hello there,
I believe that I am following instructions correctly Running Radarr <IP_ADDRESS>80
When I try to create new Connect using postRadarr.py
I get this error message
log.txt

Seems like you may not have python installed or do not have your operating system configured to execute python files

Seems like you may not have python installed or do not have your operating system configured to execute python files

Hi There,
On the same machine, for Sonarr, the post script runs fine inside Sonarr. Sorry, if I am missing something here

Post a screenshot of your connect configuration for me preferably for both Radarr and Sonarr

Post a screenshot of your connect configuration for me preferably for both Radarr and Sonarr

This is the Bat file

Sonarr Connect

Radarr Connect

Your bat file is bad, you're executing FFMPEG and providing the script as an argument
You need to either just run the .py file or point to the python file and use that as an argument
I'm guessing your Sonarr one looks different

Your bat file is bad, you're executing FFMPEG and providing the script as an argument
You need to either just run the .py file or point to the python exe and use the script as the argument
I'm guessing your Sonarr one looks different and has the correct exe
Your current bat is just passing a python file to ffmpeg which makes no sense

Ok, sorry I got confuse with this statement lol Thank you for helping me!
For Sonarr V3 you'll need to make a .sh or .bat file to combine your path to python and script


Expose no metrics to Prometheus

I badly need this! Please implement it for me!

@ephemeral Consider it done.


Missing Swiss holidays

Hi,
The following Swiss holidays are missing:

2nd of January
1st of May
26th of December

See here:

https://vschweiz.ch/feiertage-schweiz/
https://de.wikipedia.org/wiki/Feiertage_in_der_Schweiz

Thanks for your input!
According to the code:

2nd of January is a holiday in cantons 'AG', 'BE', 'FR', 'GL', 'GR', 'JU', 'LU', 'NE', 'OW', 'SH', 'SO', 'TG', 'VD', 'ZG', 'ZH'
1st of may is a holiday in cantons 'BL', 'BS', 'JU', 'NE', 'SH', 'SO', 'TG', 'TI', 'ZH'
26th of December is a holiday in cantons 'AG', 'AR', 'AI', 'BL', 'BS', 'BE', 'FR', 'GL', 'GR', 'LU', 'NE', 'NW', 'OW', 'SG', 'SH', 'SZ', 'SO', 'TG', 'TI', 'UR', 'ZG', 'ZH'

This matches what's in Wikipedia.  Did you request the holidays for a specific Canton?  The code currently defaults to none (i.e. to reporting only holidays that are National in scope)

Hi, thanks for your comment. You are right, these are already properly defined in the code for the respective cantons. I was under the false impression that these three dates were national holidays where in fact it depends on the canton. I'll close the issue accordingly.


IAP not prepared. Check if Google Play service is available

Version of flutter_inapp_purchase
5.0.1
Platforms you faced the error (IOS or Android or both?)
both
Expected behavior
No error when calling await FlutterInappPurchase.instance.initConnection
Actual behavior
I get error randomly. I get this error, re-open the app ant then there is no error. This bahaviour oberved in emulator AND real devices even on prod buid.

Did you find any solution?

Nop.. If maitainers not pay attention to it in worse case i will wrap it into try...catch and will retry initialization :(

So I have implemented retries - does not help.... I noticed this especialy if i have two devices opened side by side logged in to App store with same user on both. But again - it happens completly randomly because if i restart app i have no error even if same 2 devices running.

getting the same error when I'm trying to getProducts. Even tho it's in testing phase.

Same issue here. Any thoughts?

Okay so I guess I figured it out. It's giving me the error when I'm trying to call getAvailablePurchases() and getPurchaseHistory(). Since I'm on a test account (no merchant account set up yet) so I guess it's giving me error on fetching getAvailablePurchases() and getPurchaseHistory().
I commented those two and it's working fine. But now getting error while purchasing test products. 4 days ago it was working fine too.
Also don't forget to run the await FlutterInappPurchase.instance.initConnection in initState only otherwise it won't work either.

@hyochan Hi, is thi sproject supported yet? These kind of issues are big failure in production... Are you planning to fix them? :)

I have the same problem. When I get SKU information, I report this error most of the time, and sometimes I can get it.


Remove use of deprecated map()

Remove use of deprecated map()
This function is removed in the upcoming Terraform 0.15. Since Terraform
0.12, you can create maps with a literal syntax instead.
what

No change to module behaviour

why
Adds compatibility with Terraform 0.15. Without this, you'll see errors like:
│ Error: Error in function call
│
│   on .terraform/modules/dynamic_subnets/private.tf line 8, in module "private_label":
│    8:     map(var.subnet_type_tag_key, format(var.subnet_type_tag_value_format, "private"))
│     ├────────────────
│     │ var.subnet_type_tag_key is a string, known only after apply
│     │ var.subnet_type_tag_value_format is a string, known only after apply
│
│ Call to function "map" failed: the "map" function was deprecated in Terraform v0.12 and is no longer available; use tomap({ ... })
│ syntax to write a literal map.

/test all

@alexjurkiewicz Thank you for this contribution. Unfortunately, we still need a bit more. First, please fix the following error (only first instance is copied below, but of course it happens twice):
Error: Ambiguous attribute key

  on public.tf line 8, in module "public_label":
   8:     { var.subnet_type_tag_key = format(var.subnet_type_tag_value_format, "public") }

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Then, before you push your changes to the branch, please run
make init
make pr/auto-format

and include the changes in your commit. (We are close to eliminating this requirement, but have not quite gotten there yet.)
Thanks again.

/test all

/test all

/rebuild-readme

/test all


Support version 0.27.0 of geckodriver

Hello
I have originally splinter v0.14.0+geckodriver v0.26.0
I upgrade geckodriver to v0.27.0 and I have now this kind of error:
with Browser('firefox') as browser:
  File ".local/lib/python3.8/site-packages/splinter/browser.py", line 92, in Browser
    return get_driver(driver, *args, **kwargs)
  File ".local/lib/python3.8/site-packages/splinter/browser.py", line 70, in get_driver
    raise err
  File ".local/lib/python3.8/site-packages/splinter/browser.py", line 66, in get_driver
    return driver(*args, **kwargs)
  File ".local/lib/python3.8/site-packages/splinter/driver/webdriver/firefox.py", line 68, in __init__
    self.driver = Firefox(
  File ".local/lib/python3.8/site-packages/selenium/webdriver/firefox/webdriver.py", line 170, in __init__
    RemoteWebDriver.__init__(
  File ".local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File ".local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File ".local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File ".local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

Do you have any idea where it comes from?
Cheers

This is most likely a compatibility issue with your version of Firefox and version of geckodriver.

I'll test again because I though I've been using latest firefox version...


ansel: unstable-2024-01-05 -> unstable-2024-02-23

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for ansel is: A darktable fork minus the bloat plus some design vision
meta.homepage for ansel is: https://ansel.photos/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found unstable-2024-02-23 in filename of file in /nix/store/8b25azg1s42dlfzz1ibfzq7qip40rqrh-ansel-unstable-2024-02-23

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
ansel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8b25azg1s42dlfzz1ibfzq7qip40rqrh-ansel-unstable-2024-02-23 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ansel https://github.com/r-ryantm/nixpkgs/archive/97cb79a70e02d041921e7f4550bc3def103a72fc.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/97cb79a70e02d041921e7f4550bc3def103a72fc#ansel

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8b25azg1s42dlfzz1ibfzq7qip40rqrh-ansel-unstable-2024-02-23
ls -la /nix/store/8b25azg1s42dlfzz1ibfzq7qip40rqrh-ansel-unstable-2024-02-23/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

ansel

Maintainer pings
cc @eclairevoyant for testing.

Could ansel be recompiled so that the jasper: split outputs #291591 branch is used? This way ansel can open HEIF files, which the current build does not do.

Now that https://github.com/NixOS/nixpkgs/pull/291591 is mastered, it should happen automatically I suppose.


Evaluation Attestation Schemas

Done State

Evaluation schema deployed to EAS on Optimism Sepolia

Metric ID: String
Project ID: String
Flagged Metrics: string[]
Tags: string[]
Stars: Number

Technical Requirements

Attestations can be revoked

Resources

EAS
Metric Garden

Changed this schema a little bit to the following schema:
  {
    "name": "Project evaluation",
    "description": "Rate a project based on a set of metrics",
    "values": [
      {
        "type": "bytes32",
        "name": "projectUID"
      },
      {
        "type": "bytes32[]",
        "name": "metricUIDs"
      },
      {
        "type": "string",
        "name": "description"
      },
      {
        "type": "uint8",
        "name": "stars"
      }
    ],
    "parsed": "bytes32 projectUID, bytes32[] metricUIDs, string description, uint8 stars",
    "UID": "0xe623eafcf84d0a4d721f9531be103e5123cc61b60179b8577cca08316785d2c1"
  },

The reason for this, is that the requirement looked like we want a user to collect a bunch of metric, or attestations, and based on that relate a star score. It might need some tweaks, but I thik this schema definition could be improved.


export Axios fixes #320

Coverage increased (+0.03%) to 91.279% when pulling 5a20edeb0c6d175c22b3baf77d86bcda032cf3cf on reggi:patch-1 into 580ef523d5ac20e4b6357183593a83bd3f4f7dc6 on mzabriskie:master.


Fixed #4423 -- Fixed background color in docs css.

Thanks for taking the time to create a PR for this. Merged with 63e824f


Added 'Delete' as a shortcut key for deleting the selected gist

@hackjutsu Adding Del key as shortcut comes in handy when you want to quickly cleanup your gists. The code on app/index.js could be refactored to remove duplication from older code, but I want to start easy for now. I will push some code refactoring later in another commit if you allow me to do this. I also have more improvements to commit. Hope this helps. ;)
When you have some time can you please take a look at this. Thanks!

Thanks for the contribution! @GabrielNicolasAvellaneda


FR Changing CTRL V and ADDING Default Startpage

Thanks it is really great project, sometimes ctrl+v intereferes the copy pasting stuff and also it would be good to let user change their default startpage.

Thanks a lot for your comment! ... I'll keep this in mind ...


Add plantuml-server service

Unfortunately, I missed the notification mail. But, better late than never.


Visual Studio won't compile C version because of DigitDataBase16 function.

https://github.com/InductiveComputerScience/pbPlots/blob/3eaec98b885cdbe86e8569751688599a4e54df09/C/pbPlots.c#L3826
I don't understand what this function does and why this string is included but it prevents Visual Studio from compiling.
It causes a C2026 error code "string too big, trailing character truncated."

That happened to me today. So I had to cut that monster string in smaller chunks. That made it work.
Also since that is a compile-time string there is no point making wcslen suffer with it.
Change it to this:
wchar_t *DigitDataBase16(size_t *returnArrayLength) {
  static wchar_t monster[] = L" monster string literal here " ;
  *returnArrayLength = (sizeof monster) / (sizeof monster[0]);
  return monster;
}


Support new api version for resource-graph module

Updated sdk with the new track2 python package
Added new param management_groups for querying the management groups
Added new param allow_partial_scopes for not failing the query and returning partial results when query overreaches max scopes allowed by server
Added new param skip_token so that users can paginate through the query
Modified max value of top to be 1000 instead of 5000
Changed cmdl output to dictionary format and extended the output with skip_token, count, total_results fields

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

resource-graph

Hi @jsntcy, the builds are failing with the access denied failure which doesn't seem to be related to this PR changes. Could you or someone from CLI team please help to understand what's wrong?
File "/home/vsts/work/1/s/scripts/ci/util.py", line 85, in get_whl_from_url
AssertionError: Request to https://pahealy.blob.core.windows.net/azext-fzf/fzf-1.0.2-py2.py3-none-any.whl failed with 403

@kairu-ms looks like jsntcy is OOF this week, could you please take a look at the changes?
The changes are from this PR https://github.com/Azure/azure-cli-extensions/pull/3213 , this time rebased with master properly :)

@fenwickt Please don't use master branch. You should create a feature branch instead.

/azp run

@fenwickt Please don't use master branch. You should create a feature branch instead.

Thans for the feedback! Sorry, I thought it doesn't matter since no one else is adding changes to my cloned repo. Will use the feature branch from now on!


FileNotFoundError in raw_pose_processing

This is the output:Processed / All (fps 100): 8433/14055
Processing: KIT: 100%|██████████| 4232/4232 [2:26:16<00:00,  2.07s/it]
Processed / All (fps 100): 12665/14055
Processing: SSM_synced: 100%|██████████| 30/30 [00:19<00:00,  1.53it/s]
Processed / All (fps 120): 12695/14055
Processing: DFaust_67: 100%|██████████| 139/139 [01:27<00:00,  1.60it/s]
Processed / All (fps 60): 12834/14055
Processing: TotalCapture: 100%|██████████| 37/37 [09:36<00:00, 15.59s/it]
Processed / All (fps 60): 12871/14055
Processing: SFU: 100%|██████████| 44/44 [04:13<00:00,  5.76s/it]
Processed / All (fps 120): 12915/14055
Processing: Transitions_mocap: 100%|██████████| 110/110 [02:13<00:00,  1.21s/it]
Processed / All (fps 120): 13025/14055
Processing: Eyes_Japan_Dataset: 100%|██████████| 750/750 [1:25:46<00:00,  6.86s/it]
Processed / All (fps 120): 13775/14055
Processing: HumanEva: 100%|██████████| 28/28 [01:41<00:00,  3.62s/it]
Processed / All (fps 120): 13803/14055
Processing: ACCAD: 100%|██████████| 252/252 [04:35<00:00,  1.09s/it]
Processed / All (fps 120): 14055/14055
0%|          | 4/14616 [00:00<00:14, 990.62it/s]
Traceback (most recent call last):
File "/mnt/ssd_1/hongyi/HumanML3D/HumanML3D/raw_pose_processing.py", line 154, in
data = np.load(source_path)
File "/home/hyliu/anaconda3/lib/python3.9/site-packages/numpy/lib/npyio.py", line 417, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: './pose_data/CMU/80/80_63_poses.npy'

Hi! I also met this problem. How did you solve it? By modifying index.csv or modifying the directory level of ./pose/ or others?
Thank you!

 你好！我也遇到了这个问题。你是怎么解决的？通过修改index.csv或者修改目录级别./pose/或者其他？ 谢谢你！

Excuse me, have you solved this problem?

 Hi! I also met this problem. How did you solve it? By modifying index.csv or modifying the directory level of ./pose/ or others? Thank you!

I meet the same problem with you. Have you solved this issue? Could you please help me?

I meet the same question, could you tell me the solution？


Make all text in the app translatable

We want to factor out any and all strings in the interface into localization structures (like the one in src/localization/en.js) in order to let the whole app be translated into whatever languages we want/can. We also need to pass the translate function down to each display component so that it can retrieve the correct string(s) using a unique key.
See #489 for an example.

Closed by #521

@ethanbb: Isn't that covered by #500? I thought this was to change to a nested object instead of a flat one.

My impression was that #500 is to actually translate existing English strings into other languages, whereas this issue is to factor remaining string literals in the rest of the codebase out into the English localization file.

Ah, ok. I'd been thinking of #500 for both, but maybe it's worth separating them.

Maybe we could turn this into specific assignments - have an issue for each page that still need the localization infrastructure.

@ethanstrominger , this was probably the issue you should have been referencing all along :/

Just so we're clear, this is for purposes of localization.


How to setup Google Auth correctly

Sorry to bother you again but I spent hours trying to setup Google Auth with this plugin.
Im using the ^2.0.0-nullsafety.2 null safe version with google_sign_in: ^5.2.1. .
I switched between enabling openid and not(excluded it from the scopes also).
serverClientId is the clientId from Google Cloud after creating a Web App(I also created a android/ios App inside Google Cloud Console).

MongoDb Provider Setup:

Filled that with The Web Application Client Id and Secret etc.
dart code:
RealmApp.init("...");
// ...
Future<void> authenticate() async {
  final RealmApp app = RealmApp();

  final scopes = ['openid','profile', 'email']; // tried without openid also
  //const clientId = "normallyHereWouldBeMyId.apps.googleusercontent.com";
  const web = "normallyHereWouldBeMyId"; // Web Application Client Id
  final mongoUser = await app.login(
      Credentials.google(
        serverClientId: web, // just the start from "<ID>.apps.googleusercontent.com"
        scopes: scopes,
      ));

  print("EMAIL: ${mongoUser?.profile?.email}");

}

I added a console log to your plugin to get some error codes and recieved those messages (after the google sign in pop gets closed)
When openId is enabled:
AUTH_ERROR(realm::app::ServiceError:47): token contains an invalid number of segments

When openId is disabled:
error fetching info from OAuth2 provider

It could be related to this issue but Im not sure:
https://github.com/realm/realm-java/issues/7578
Do you maybe have any idea to help me here, thanks

I still have to investigate this issue


Fieldmap, B0 vs. B1(+/-)

As mentioned in this reply to issue #67 , B1+ maps do have a specific suffix and there should be one for B1- maps too.
Still originally (and in the current BIDS release) the fmap was intended to host only B0 maps, therefore no suffix was proposed and the template looks like
sub-<label>/[ses-<label>/]
    fmap/
        sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_phasediff.nii[.gz]
        sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_phasediff.json
        sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_magnitude1.nii[.gz]
        sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_magnitude2.nii[.gz]

For the (Siemens) case of 1 phase difference and  2 magnitude images.
On the other hand the B1 maps will look like
sub-<participant_label>/[ses-<session_label>/]
    fmap/
        sub-<participant-label>[_ses-<session_label>][_acq-<acq-label>][_run-<run_index>]_B1plusmap.nii[.gz]
        sub-<participant-label>[_ses-<session_label>][_acq-<acq-label>][_run-<run_index>]_B1plusmap.json

Key question
With the addition of the B1+ and B1- fieldmaps in the fmap folder, wouldn't it make sense to give the B0 map a specific suffix, e.g. _B0map?
Option 1
The template could thus be updated like this
sub-<label>/[ses-<label>/]
    fmap/
        sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_part-phasediff_B0map.nii[.gz]
        sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_part-phasediff_B0map.json
        sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_part-magnitude1_B0map.nii[.gz]
        sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_part-magnitude2_B0map.nii[.gz]

In the common cases where only the B0 map are present, typically with fMRI studies, one could skip the _b0map suffix, i.e. use the original specs.
Drawback: this may break some back compatibility!
Option 2
Another possibility would be to put the B1+/B1- maps altogether in a different folder? For example B1map. This will ensure backward compatibility regarding the content of fmap and let the B1 maps live on their own.
This makes sense in a way since B1 maps are fundamentally different from the B0 maps, and with the avent of UHF MRI, pTX imaging, etc. B1 mapping may actually become more complex.
Opinion
I was originally in favour of putting B0 and B1 maps in the same fmap folder, in order to avoid the multiplicity of folders...
Now though, I am a bit uncomfortable with this because:

if B0 map do not carry a specific suffix, that is not consistent with the B1 maps
if we try to add a specific B0 map suffix, it will break back compatibility (to some extent)
anatomical (MPM) and functional are commonly processed separately. With the B1 maps not  (AFAIK) used for functional data, why carry them along (with a risk of confusion) if one is only interested in functional data.
So I would be in favour of a separate folder for the B1 maps.

Note that the current BIDS format actually does allow for "real", quantitative B0 maps as well, with the suffix _fieldmap 🤦♂.
I think making a new subfolder in source data of subjects is the kind of thing that the BIDS community will make a big deal out of and I think it is therefore better to stay with the fmap-folder.

I should have added Option 3, where we keep the same folder structure and the same naming convention for the B0 maps. This one is clearly the easiest to adopt.
And I am well aware of the difficulties of changing standards...

One further comment on the convention adopted to name the B1+/B1- maps.
The current suffix, only for B1+ maps, is _B1plusmap which would naturally extend to _B1minusmap. What do you think then of dropping the map from the suffix ?
Reasons to do so:

these are stored in the fmap folder, so they're necessarily some kind of map
keeps filename not too long, _B1minusmap counts 11 chars!
increasing readability, _B1plus/_B1minus are easier to decipher than _B1plusmap/_B1minusmap

in option 1, i would not add B0map in the same vein as B1plus/minus. as @agahkarakuzu points out, one is a set of things (phase/magnitude, pepolar, etc.,.) to derive a B0map, the other is the map itself.
currently the suffix fieldmap corresponds effectively to such a B0 map. changing this suffix to B0 would be reasonable, but would likely be a breaking change. it would be worthwhile to create a separate issue for this in the main repo, so people are aware of these upcoming new suffixes, and can consider the potential breaking change. i would be +1 for increased clarity of B0 moving forward.

I am sorry I missed the call yesterday. I would like to make the following suggestion to the B1 plus and B1minus maps... not sure if this is the right place.
To avoid back compatibility issues and the fact that the fieldmaps folder was specifically created for the B0 maps, and inside that folder in the file name convention there is nothing specifying that it is a B0 maps, I would leave the folder as it is. Also, the fieldmaps for different acquisitions can vary quite significantly depending on the volume coverage of your EPI measurement, or even B0 scanner drifts.
So my suggestion is to actually create a new folder named "calib" where all B1 plus and B1 minus scans could be stored (maybe also the localizer). This is also effectively happens on the siemens platform when you are using "prescan normalize". There is one measurement done at the start of the session, even before the localizer is measured, and this is used for all the scans performed during that session.

What you described for the fieldmap is also true for the anat folder: It was specifically created for T1w (and perhaps T2w) images to provide anatomical information for fMRI (and perhaps VBM, SBM) analyses. Now it will also host qMRI acquisitions, which can vary even more than fieldmaps.
Adding a new folder would be quite substantial change, and I think making the definition of suffix fieldmap (i.e. it refers to B0 maps) less ambiguous adds enough clarity and is less 'invasive'.

Me currently setting up my many-subject MPM pipeline:
+1 for option 3 as in

@tiborauer :
making the definition of suffix fieldmap (i.e. it refers to B0 maps) less ambiguous adds enough clarity and is less 'invasive'.

and +1 for dropping the map in the suffix

Hi @dafrose ,
Have a look at the BEP001 OSF repo for an example of MPM data. The MPM2 folder contains the example data from the hMRI toolbox, arranged "à la BIDS". Work is not finished yet and things could still evolve a bit but it gives you a fair idea of what is expected. :-)

thanks a lot. That is very helpful.


Refactored how grant tables are stored

This refactors a lot of previously-written code to more manageably handle future modifications to the grant tables, and to ease their use and reduce potential development mistakes.

I'll address the feedback in my other PR, rather than update this one then have to rebase my other PR and deal with all of that.


Note the default checkouts for jobs vs deployments

If you inherit  a multi-stage pre-existing pipeline it can be non-obvious why some stages check out and some don't if some of your jobs in some stages do deployments from jobs.job instead of jobs.deploy and this is the page you turn to first.

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

File
Status
Preview URL
Details

content/steps-checkout.md
:white_check_mark:Succeeded

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

@zippy1981 This is a good PR. Some of those parts are generated from the YAML schema so I need to make some changes behind the scenes so it doesn't get overwritten the next time the tooling runs. I will get this updated next week and merge your PR. Thank you.

@steved0x is this still on track to get merged?

@zippy1981 The new format for the YAML schema is published. The YAML schema reference now combines autogenerated portions, combined with user-editable content that can be updated by community contributors. The look and feel of the YAML Schema pages is the same, but behind the scenes the markdown down format is different. Unfortunately that led to a big merge conflict with your PR that when I resolved, resulted in no changes (since I had resolved these issues when I migrated to the new format). Please see the updated checkout article: https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/steps-checkout
The YAML syntax snippet is updated for the different versions, and in the properties table, there is additional detail that you provided.
For 2019 & 2019.1 that YAML snippet is:
- checkout: string # Required as first property. Whether or not to check out the repository containing this pipeline definition.

For 2020 and higher it is:
- checkout: string # Required as first property. Configures checkout for the specified repository.

The property description for 2020 and higher is updated with the info that you provided:

This should be live momentarily. Thank you for making this contribution and I am sorry that I wasn't able to merge your PR.


SmallYMplayer crashes (waveOutOpen)

Hello,
I tried to run the SmallYMPlayer (in order to use it later), I compiled it sucessfully (despite some warnings) but the program crashes at this line in SoundServer.cpp:
	MMRESULT errCode = waveOutOpen(	&m_hWaveOut,
									WAVE_MAPPER,
									&wfx,
									(DWORD)waveOutProc,
									(DWORD)this,					// User data.
									(DWORD)CALLBACK_FUNCTION);

Is there anything I'm missing here ?
Thx!

Changing DWORD to DWORD_PTR as well as in waveOutProc function definition, seems to be better; Now working like a charm.
Thank you.

Changing DWORD to DWORD_PTR as well as in waveOutProc function definition, seems to be better; Now working like a charm.
Thank you.

Changing DWORD to DWORD_PTR as well as in waveOutProc function definition, seems to be better; Now working like a charm.
Thank you.


API Utils: extend Create/RecreateArray functions

To handle matrix sizes directly without extra parameters and with good backwards compatibility, cnt: PAPISize will be adjusted.

Before v0.10, this was a pointer to a single element.
For v0.10, we added a second element used as the capacity of the current buffer, reducing allocations.
For v0.12.1, we can add 2 more elements to represent the matrix shape (num rows, num cols). To keep compatibility, we can add a flag to avoid accessing those elements in DSS C-API. If the flag is not set, we fill the expected matrix shape.

Here, we will have to review the CAPI_* files to pass the matrix shape to the reallocation functions. As a bonus, these files can then be post-processed to extract some information for dss-extensions/dss-extensions#6. The new Obj_* functions could be handled too, if it's not too much work.
On the other projects, support can be added by toggling the behavior and checking the values returned. For the end-user, with the new behavior turned off, plain vectors would still be returned, so compatibility is kept. When enabled, if the last element is non-zero, a matrix can be return instead of a vector.
For Python, MATLAB and Julia, I see no obvious issues with this. For C#, we wouldn't support right now since there is no matrix support at the moment. For C++, some template specializations or if constexprs should do the trick.
The main changes would be restricted to the functions that handle the array types. In Python, looks like it would be a single conditional:

    def get_float64_array(self, func, *args):
        ptr = self.ffi.new('double**')
        cnt = self.ffi.new('int32_t[4]') # CFFI zero-inits this
        func(ptr, cnt, *args)
        res = np.frombuffer(self.ffi.buffer(ptr[0], cnt[0] * 8), dtype=np.float64).copy()
        self.lib.DSS_Dispose_PDouble(ptr)
        if cnt[3] != 0: # if in compat mode, or it's actually a vector, value would be 0
            return res.reshape((cnt[2], cnt[3]))

        return res

    def get_float64_gr_array(self):
        ptr, cnt = self.gr_float64_pointers
        if cnt[3] != 0: # if in compat mode, or it's actually a vector, value would be 0
            return np.frombuffer(self.ffi.buffer(ptr[0], cnt[0] * 8), dtype=np.float64).copy().reshape((cnt[2], cnt[3]))

        return np.frombuffer(self.ffi.buffer(ptr[0], cnt[0] * 8), dtype=np.float64).copy()

Finally, we could consider some way of passing a custom "allocator" function to wrap a few things. For instance, in non-optimized general code, there is still a potential extra copy right now to setup the final container. If we can use a setup function in DSS C-API to init the final container (NumPy array, MATLAB array, Eigen::Matrix<>...), no extra copies would be required. This could be beneficial.

Done, merging tomorrow.


make sure complex data works fine

basic support added in #98.
Still needs some better styling:

make re/im easier to distinguish
add icon for mag/phase plotting

worth a thought: include an option into the data loader that generates various real-valued data that derives from the complex. that would allow also support complex independents, for example.


Updating Readme.md

Updating Readme.md to add project using api and fixing broken edit Readme link

Awesome, thanks!


JavaScript Objects

Description
Adding a file on JavaScript Objects
Doc Domain

[ ] Html
[ ] CSS
[x] JavaScript
[ ] Bootstrap

Are you contributing under any open-source program ?

@girija0707 @purva2906 can you guys assign me this issue?

Assigning


HttpTrigger timed out when uploading file with 5mb size or larger

I'm using Postman to make a post request to the function with a file of 5mb size in the form-data. The console show executing until it hit the timed out error with the message initializing cancellation after 30 minutes. The break point in the code were never hit.

Can you verify the version Core Tools and .NET Worker references you were using when you ran into this? Thanks!

We have contacted Microsoft support and they have identified the issue is due to the grpc message length.
https://github.com/Azure/azure-functions-dotnet-worker/commit/704de76b5693bc24bdf6a9836ba8a109517c6a41
Thanks.


builtins.progress supports profile functionality like progressPlugin

What problem does this feature solve?
progressPlugin provides a nice summary of the build timings about build process which is useful for simple diagnostics

https://webpack.js.org/plugins/progress-plugin/#:~:text=profile (boolean %3D false)%3A Tells ProgressPlugin to collect profile data for progress steps.
What does the proposed API of configuration look like?
module.exports =
{
  builtins: {
     progress: { profile:true}
  }
}

I'm willing to work for this

bump


feat: improving VueJS routes

Somes routes could be using regex to improve user experience and prevent bad requests to be sent to the server. For example, we could verify that ids are positive intergers, that tokens match the token pattern, etc..
Routes that will still need to be done:

name: resetPasswordConfirm, path: /reset-password/confirm/:uid/:token (can't confirm 100% know uid and token pattern)
name: activateEmailToken, path: /activate/:uid/:token (can't confirm 100% know uid and token pattern)
name: addItemPos, path: /add-item/pos/:lat/:lng/:type/:resource/:rid (don't know last 3 possible value/pattern)

Thanks.
Here are more information about the last one:
name: addItemPos, path: /add-item/pos/:lat/:lng/:type/:resource/:rid (don't know last 3 possible value/pattern)
--> This is a route for adding a request or donation linked to a public resource (e.g. add a request to clean a solidarity fridge)
:type is an item type usually string RQ (request) or DN (donation)
:resource is a public resource type (string as defined in extraCategories in TheMapView)
:rid is an numerical identifier of a public resource, in the case of OSM it is the identifier of a node encoded as a 64-bit integer >=1

Thanks.
Here are more information about the last one: name: addItemPos, path: /add-item/pos/:lat/:lng/:type/:resource/:rid (don't know last 3 possible value/pattern)
--> This is a route for adding a request or donation linked to a public resource (e.g. add a request to clean a solidarity fridge)
:type is an item type usually string RQ (request) or DN (donation) :resource is a public resource type (string as defined in extraCategories in TheMapView) :rid is an numerical identifier of a public resource, in the case of OSM it is the identifier of a node encoded as a 64-bit integer >=1

Missing verifications have been added to this route and are now available in the open pull request.


Recent Searches feature (Combobox, localstorage, and more)

Description

We plan to add a new feature to show the user their 'recent searches', in a box below the searchbar. I originally thought this would be a combobox feature, but we shouldn't actually need to implement that until we're doing search suggestions, where the user input determines the contents of the box. In this use case we're just showing the nth-most recent searches.

A preview of the recent searches

Figma Link: https://www.figma.com/file/w60dl1XPUvSaRncv1Utmnb/Openverse-Releases?node-id=133%3A29056
Dev Tasks

[ ] Implement the suggestions box

[x] Can existing popover / dialog implementations be useful here?

[ ] Store user recent searches in localstorage

[ ] Create an event to clear the recent searches

Implementation questions

Do we need a way to let users opt-out of this? (maybe this can wait)
How many items do we want to show? (4 in the mockup currently) I imagine the search bar will populate and the search will be instantly submitted.
What will happen when the user clicks on one of the recent searches?

Design decisions (cc @panchovm)

[x] Add this to the Figma component library (it's currently only in the page mockups)
[x] Implement a 'clear' button (will update the mockups for this)
[x] What will the hover/focus styles look like for the choices?

I think it'll be nice to have a way to let the users know that this info is 100% local and is not shared with us? It might help a lot to assuage fears of privacy invasion and persuade users to let this feature remain enabled.

I was thinking about that too. Maybe some small disclaimer text at the bottom of the popup? cc @panchovm
Something like "Openverse does not store your recent searches; this information is kept locally in your browser" or something like that

I really like @dhruvkb's idea. I will come back with a proposal. This also reminds me, do we have a privacy terms section for Openverse in the privacy page?

We plan to implement the Recent Searches feature as part of the Create new header milestone. This is the update on the state of the design for it.
I've found the following newer mockups for the Recent searches feature:
Desktop: https://www.figma.com/file/w60dl1XPUvSaRncv1Utmnb/Audio-Release?node-id=1001%3A16848
Mobile: https://www.figma.com/file/KxkZmBNk218V2Fke1GeYCu/New-header-component?node-id=485%3A69636
Here are the screenshots (please note that they can be outdated, and always check in the Figma mockups):

Are the desktop mockups current, @panchovm?
Some of the design questions from @zackkrida in the first message of this issue seem to be answered in those mockups:

[x] Implement a 'clear' button: both the desktop and the mobile mockups have a 'clear' button, in active state in the mobile mockup and resting state in the desktop mockup.
[ ] What will the hover/focus styles look like for the choices? - Are the mobile styles for hover/focus the same as the desktop styles?

The summary of the answers for the Implementation questions above:

Do we need a way to let users opt out of this?

In the current milestone, we do not let the users opt out of this, but we add a disclaimer to inform the users that the data is stored locally and not sent anywhere: "Openverse does not store your recent searches. This information is kept locally in your browser."

How many items do we want to show?

4, as in both mobile and desktop mockups.

What will happen when the user clicks on one of the recent searches?

I agree with @zackkrida's suggestion: I imagine the search bar will populate and the search will be instantly submitted.
As for implementation details, we can re-use the existing popover/dialog implementations from the Mobile menu/content switcher. The main difference here is that we might make the mobile dialog smaller than full height to show the search bar at the top of it. Another alternative is duplicating the search bar at the top of the full-height mobile modal.

It'd be nice to use IndexedDB here rather than localStorage. Given that the retrieval of the information would probably happend during input it would be great not to have the process blocked on local storage retrievals, especially on low spec devices where the response may take longer to come back.

@sarayourfriend I actually think localstorage could be more appropriate:

This data is really small, it's only a few strings, and we could just load it when the header loads rather than on-demand at input time
The localstroage api is much simpler and therefore it might be easier to write and to migrate away from if we switch to a session cookie-based approach later on.

@zackkrida I see you opened #1865 -- should this issue be assigned to you?


Haplotype analysis

A much requested feature from John Todd's group. Fairly high complexity, so propose we look at this after next release.
Haplotype analysis involves a visualisation of the ordering of alleles. This provides a visual confirmation of statistical testing and allows variants to be interpreted in the context of their surrounding haplotype.
Haplotypes must be calculated either from individual level genotypes from the study, or from a high quality reference samples from the same population. A recent review of methods: https://www.ncbi.nlm.nih.gov/pubmed/28980261
Example from LDlink:

Basic implementation:

Require 1000G phased haplotypes for each population (tabix indexed-VCFs)
Allow user to select variants to include (or suggest variants from LD expansion/finemapping)
Allow user to select population (or suggest population from ancestry info in study table)
Pull variants from VCFs (tabix can do this in seconds, probably best option rather than re-inventing wheel)
Derive haplotypes with freq > 1%
Plot w relevant stats

Note: all this must be done on the fly, however not too computationally intensive.
Complexity:

Moderate for Genetics Core

Prepare phased haplotypes
Prototype scripts for deriving haplotypes + stats

High for backend
Moderate/high for front-end

Closing due to lack of activity on it


Redo saving NPC's

NPC's should always be stored in the file or database. When modifying an NPC, the file/database should be changed too, rather than the current system where the file/database is cleared after each reload.

Finished in latest patch.


[ENH] Add heterogeneous support for Voting

Related issue: #5
This is an experimental feature that explores how to better support the training on heterogeneous base estimators in Ensemble-Pytorch. Unlike using base estimators of the same type, the training protocals on different base estimators can be quite different, therefore many methods used in existing ensembles cannot well support heterogeneous base estimators (e.g., set_optimizer, set_scheduler, fit).
An alternative solution is to enabling users to fit each base estimator in an incremental way. Specifically, the workflow below shows one way to support heterogeneous base estimators:

Declare the ensemble (no base estimator included)
For m = 1 to M:

Set the m-th base estimator
Set the optimizer and scheduler for the m-th base estimator
Fit the m-th base estimator
Append the fitted base estimator onto the internal container on base estimators

Obviously, there is no way to support parallelization under this paradigm, but I think it is acceptable as state-of-the-art deep learning models typically have a bottleneck on computation, which makes parallelization less useful when only one GPU is available.
In addition, users can also pop base estimators from the ensemble if they want.

@all-contributors please add @xuyxu for example