Add Navy Federal Credit Union

As requested in #966 & #1135

merge conflict on this one..

@Carlgo11 Can you please update this PR to resolve merge conflicts?

Reviewed files:

_data/banking.yml @ r2

Comments from the review on Reviewable.io


Remove boost_regex from arrow dependencies

cc @robertnishihara @pcmoritz -- sorry to back track on this but using regexen in decimals seemed like more trouble than it was worth. @cpcloud could you open a JIRA for this? Thanks

Done: https://issues.apache.org/jira/browse/ARROW-858

Now to get builds passing.


[Bug]: Mac OS vscode Devbox: Reopen in Devbox shell environment doesn't work

Current Behavior (bug)
I install vscode devbox plugin and then the go plugin. Then in a shell I do this to init devbox:
% cd /path/to/go/project
% devbox version
0.7.1
% devbox init
% devbox add<EMAIL_ADDRESS>Info: Adding package<EMAIL_ADDRESS>to devbox.json
Installing package<EMAIL_ADDRESS>[1/1]<EMAIL_ADDRESS>[1/1]<EMAIL_ADDRESS>Success
% code ./

vscode opens in the project. I then press Command+Shift+P to open the command palette and choose Devbox: Reopen in Devbox shell environment. This results in a popup with the text:
Command 'Devbox: Reopen in Devbox shell environment' resulted in an error
An unknown error occurred. Please consult the log for more details.

I click ok since that is the only options to close the dialogue and in the bottom right corner of vscode I get an error:
Failed to setup devbox environment.
Source: devbox by jetpack.io (Extension)

I am uncertain where to find the logs for this extension. If you can point me where to look I will gladly provide them. There are no issues showing up in the PROBLEMS or OUTPUT tabs in vscode.
Expected Behavior (fix)
I would expect the reopen in devbox shell environment to reopen vscode with the devbox shell as it states.
Additional context
Mac OS: Sonoma 14.0
vscode: Version: 1.83.1 (Universal)
devbox: 0.7.1
devbox.json
{
  "packages": [
<EMAIL_ADDRESS>  ],
  "shell": {
    "init_hook": [
      "echo 'Welcome to devbox!' > /dev/null"
    ],
    "scripts": {
      "test": [
        "echo \"Error: no test specified\" && exit 1"
      ]
    }
  }
}

hey @tateexon thanks for reporting this. If you want to see more details of logs in vscode from the top menu bar you can open Help -> Toggle Developer Tools which opens an "inspec element" type window similar to chrome. Then in console tab you can see any logs that it may show.
 I'm trying to recreate this on my end. Initially, I thought it might be macos version but even after updating my macos I still couldn't recreate it. I'm planning to add logging in a logfile for the extension when Reopen in Devbox is called to see what's going on. I'll ping you once that update is in so that you can retry and send the log here.

Hello there!
I am having a similar problem.  After choosing Devbox: Reopen in Devbox shell environment vscode closes and nothing happens. I am also on macos.

@tateexon  We just released version 0.1.4 of the extension. It adds a setting called "Debug Mode" that if you enable, it will keep a log of events for "Reopen in Devbox Shell" feature. The log file is in ./devbox/extension.log. If your problem is still persisting, update the extension and enable debug mode and send me the content of this log file. This will help troubleshooting the issue significantly.

for reference:

Hi! I get the same error.
VSCode details:
Version: 1.85.2
Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
Date: 2024-01-18T06:40:19.222Z
Electron: 25.9.7
ElectronBuildId: 26354273
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 6.6.11-100.fc38.x86_64

Screenshot:

Logs:
[Tue, 30 Jan 2024 00:06:25 GMT] Installing devbox packages
[Tue, 30 Jan 2024 00:06:25 GMT] Updating VSCode configurations
[Tue, 30 Jan 2024 00:06:25 GMT] Calling "devbox integrate" to setup environment
[Tue, 30 Jan 2024 00:06:26 GMT] child process closed with exit code: 1

devbox.json:
{
  "packages"<EMAIL_ADDRESS><EMAIL_ADDRESS>  "shell": {}
}

@adjsky I think this is because the new version of the vscode extension relies on a change in devbox CLI that is not released yet. Working with the team to release the update for the CLI in the next couple of days. Apologies for that. Meanwhile, to simulate this feature, you can run devbox shell in your project directory in the terminal and then once in the shell, run code . to open vscode in devbox shell environment.

Yes, both methods work. Thank you!

@adjsky The changes I made on vscode extension relied on a feature in devbox cli which at the time when I pinged you wasn't released yet (my apologies). We now have released a new version of Devbox cli (v 0.9.0) would you please update your devbox version and retry this? I'm sure the log file content will be different.

Enabled debug mode.
Still getting failures for the normal path:

open vscode.
command+shift+P and select Devbox: Reopen in Devbox shell environment
failed, here is the logs in the .devbox/extension.log:

[Fri, 16 Feb 2024 16:04:39 GMT] Installing devbox packages
[Fri, 16 Feb 2024 16:04:39 GMT] Updating VSCode configurations
[Fri, 16 Feb 2024 16:04:39 GMT] Calling "devbox integrate" to setup environment
[Fri, 16 Feb 2024 16:04:39 UTC] Devbox process initiated. Setting up communication channel with VSCode process
[Fri, 16 Feb 2024 16:04:39 UTC] Computing devbox environment
[Fri, 16 Feb 2024 16:04:39 GMT] child process closed with exit code: 0

However if I cd into the repository in my shell and run devbox shell and then inside that shell code . then it boots up and I can use golang correctly for development and testing. This is great because it actually works but also sucks because most of the normal workflows don't follow that pattern. Using direnv reduces the steps by 1 since I don't need to open a devbox shell. Would still be nice to actually have the Reopen command work before I can make an argument for using this for my devs.

Having the same issue with 0.1.6. Reinstalling 0.1.5 makes the "Reopen with Devbox" work. Confirmed on two different macOS Sequoia 15.1.1, different architectures, same synced VSCode settings.


Repeated setContent is 50x slower without goto('about:blank') in between than with it

I'm using puppeteer just to extract some information from html, setting the content using page.setContent(). This is extremely slow, even though I never navigate to an actual website.
Steps to reproduce

Puppeteer version: 1.11.0
Platform / OS version: Ubuntu 18.04
Node.js version: v11.3.0

Minimal example:
import chrome, { Page } from "puppeteer"

const content = `

    ${Array(1000)
      .fill("
test
")
      .join("\n")}

`

const count = 100

async function testNoBlank(tab: Page) {
  for (let i = 0; i < count; i++) {
    await tab.setContent(content)
    const ret = await tab.$$eval("p", ps => ps.map(p => p.textContent))
    console.assert(ret.length === 1000)
  }
}
async function testBlank(tab: Page) {
  for (let i = 0; i < count; i++) {
    await tab.setContent(content)
    const ret = await tab.$$eval("p", ps => ps.map(p => p.textContent))
    console.assert(ret.length === 1000)
    await tab.goto("about:blank")
  }
}

async function both() {
  const browser = await chrome.launch({ headless: true })
  const [tab] = await browser.pages()
  console.time("blank")
  await testBlank(tab)
  console.timeEnd("blank")
  await tab.goto("about:blank")
  console.time("no blank")
  await testNoBlank(tab)
  console.timeEnd("no blank")

  await browser.close()
}

both()

Output:
blank: 3568.199ms
no blank: 191955.917ms
Done in 196.83s.

Without goto("about:blank") in between setContent calls  it is 50x! slower.
I found this by accident. If this can't be fixed, it should at least be mentioned in the docs, since setContent seems to be the canonical method to load html from a string.

Can reproduce with this:
const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch({ headless: true })
  const [tab] = await browser.pages()

  console.time('time');
  for (let i = 0; i < 20; ++i)
    await tab.setContent('

');
  console.timeEnd('time');
  await browser.close()
})();

Hey! I have exactly the same issue, can't provide the code since it's not open-sourced tho but it's almost the same as in example above.
I pass the Page to one function, and if page is not redirected to 'about:blank' first and I use .setContent() - it will cause an infinite loading and reach default 30000ms timeout.


SSISBuild: Issue with Cached Connection Manager (File not found)

Hi there!
Stumbled upon an error in SSISBuild.exe today. Well not sure if it classifies as an error, but at least the behaviour of SSISBuild.exe differs from Visual Studio Data Tools in this regard.
Scenario: Project with various SSIS packages and connection managers. One of the connection managers is a "cached connection manager" (without file). Now the name of the connection manager (file) in the VS-Solution was different than the name defined inside the connection manager itself.
Filename was "Variants.conmgr". The name defined in the GUI of the connection manager was different however:
<?xml version="1.0"?>
<DTS:ConnectionManager xmlns:DTS="www.microsoft.com/SqlServer/Dts"
  DTS:ObjectName="AllowedVariants"

Visual Studio Data Tools 2019 builds that project without any problem (no warnings etc.). When building the same project with SSISBuild.exe i get the following error message and the build fails:
An error has occurred when updating files in 'BudgetTransferFromSubbudget\BudgetTransferFromSubbudget\obj\Development': Could not find file 'BudgetTransferFromSubbudget\BudgetTransferFromSubbudget\AllowedVariants.conmgr'..

The workaround/fix i found for that specific issue was to align the names. In my case i renamed the connection manager in the solution to "AllowedVariants" (Filename: AllowedVariants.conmgr). That solved the issue in SSISBuild.exe.
Edit: Sorry just realized that this is the general docs Github and not the one for the DevOps tools. I will re-post the issue in Q&A @Marketplace.

@brain246 -- Thomas, thank you for your feedback.  Are you following a particular learn.microsoft.com article?  Meanwhile, please consider adding this issue here:

SQL Server feedback

@brain246 -- Thomas, thank you for your feedback. Are you following a particular learn.microsoft.com article? Meanwhile, please consider adding this issue here:

SQL Server feedback

Well one could argue my issue is related to the following docs-page: https://github.com/MicrosoftDocs/sql-docs/blob/live/docs/integration-services/devops/ssis-devops-standalone.md
However, i am quite aware that this isn't a documentation issue. So please feel free to close this issue here, i reposted my findings already at:  https://marketplace.visualstudio.com/items?itemName=SSIS.ssis-devops-tools&ssr=false#qna
Will checkout the link you provided tomorrow as well and maybe post it here too.
Thanks for the fast response!

@brain246 -- Thomas, thank you for your prompt followup and clarification.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.
cc @chugugrace for awareness


Add A Creative Footer Section

Describe your question or ask for support.❓
It's not a problem but having a good footer makes a website look cool and makes it easy for a user to get the details about the social media handles and much more important parts from the bottom also.
I have a good solution for your website to add an attractive and informative footer section that will consist of all the important information about the website and all the official social media handles.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @deepeshgupta3257 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @deepeshgupta3257! 🙂
It seems like you are not following proper guidelines !! 👀
Read documentation properly !!🙏
If you have any queries reach out to us on Discord🕹 .

Hey @deepeshgupta3257 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Did I have open the issue again because this is closed

@kunjgit


Retry failed HTTP requests to Datadog API with exponential backoff

We experience a lot of failed requests to the Datadog API that are answered with 5xx and (false) 405 HTTP responses. To circumvent this issue, we'd like this client library to retry API calls in such cases.
Due to the non-idempotent nature of POST requests, we can't retry them in a sane matter. Therefore, they are excluded from this mechanism.
For the retrying, we use a library called backoff that implements exponential backup up until a maximum elapsed time (which is the time spent for all tries). For now, I'm hardcoding the maximum elapsed time to 60 seconds.

In theory aren't many of the POST methods idempotent? I.e. if you're submitting a set of metrics, resubmitting them should just work. Also with things like "delete X"...
It'd probably be pretty hard and confusing to try to get that all right, though.


ci/cd: consider exporting some go routines so other projects can ci/cd against notation

For example,
https://github.com/notaryproject/notation/blob/main/cmd/notation/cert_gen.go

@rchincha is this issue still valid? Currently Notary Project support Notation GitHub actions, which may also help you integration with CI/CD pipelines.


Use internal import instead of implementationOnly import

Use internal import CoreFoundation instead of @_implementationOnly import CoreFoundation. Resolves #5108

@swift-ci test

/home/build-user/swift-corelibs-foundation/Sources/plutil/main.swift:13:8: error: missing required module 'CoreFoundation'
 11 | import SwiftFoundation
 12 | #elseif canImport(Glibc)
 13 | import Foundation
    |        `- error: missing required module 'CoreFoundation'
 14 | import Glibc
 15 | #elseif canImport(Musl)

Looks like we have something else to sort out here...

Can I also make the request to get this cherrypicked to 6.0 (and even 6.0.2) if possible?

cc @xymus

I had the same concern as @compnerd - unfortunately @_implementationOnly and internal import are not equivalent for non-resilient modules like Foundation. It sounds like @_implementationOnly fully hid the module which caused the NSLock subclassing bug, but changing it to internal import will cause the module to become visible meaning that we need to install it into the toolchain (which we don't on Windows). It sounds like the right decision is to make this an internal import to fix the subclassing bug, but that likely means we'll need to start installing the CoreFoundation module on Windows - is there a way we can do this while still preventing clients from writing import CoreFoundation in their sources? I'm thinking something like the -allowable-client flag for swift modules but for this clang module

Closing in favor of #5122


Add Cypress cache housekeeping instructions to README

This PR follows on from issue https://github.com/corona-warn-app/cwa-website/issues/3204 "Pruning Cypress cache to reclaim disk space".
It adds helpful information to the README file on how to reclaim storage space taken up by multiple cached Cypress versions.
Cypress automatically caches a copy of each version of Cypress at the time of installation. Updating to a later version of Cypress does not automatically clear out the Cypress cache, so over time it is possible that more and more storage space is taken up unnecessarily by cached Cypress versions.
The text added to the README file explains how to check for storage space used by Cypress cached versions and how to remove unneeded versions from the cache. Typically each cached Cypress version will need 0.5 GB of storage.

Thanks for the documentation, hopefully that helps people navigating Cypress!


Visualization support for MNN models

MNN is a lightweight and efficient deep neural network inference engine developed by Alibaba Group, which can be referred from following link:
MNN
For this pull request, we have implemented all necessary visualization functions, for example:

load .mnn models.
present all op-related parameters in the sidebar.
visualize the entire model as a graph

Since netron is a widely-used, we hope to contribute ourselves to integrate MNN functionalities into it.

I think the implementation of setup.py has additional ','
I don't think I need to resolve this conflict.

Ok, finally I have cleared all conflicts. The behavior looks very weird.


Creating REPL

Resolves #13
This small addition should be enough to use @cosmjs/cli with npx cosmwasm after publishing it to NPM. Tested with npx . while being in the repo.

Did some research and it should look like :
{
  ...
  "scripts": {
    ...
    "account": "npx . --init scripts/account.ts --code 'process.exit(0)'",
    "minter": "npx . --init scripts/minter.ts --code 'process.exit(0)'",
    "mint": "npx . --init scripts/mint.ts --code 'process.exit(0)'",
    ...
    "batch-mint": "npx . --init scripts/mint-batch.ts --code 'process.exit(0)'",
    "whitelist": "npx . --init scripts/whitelist.ts --code 'process.exit(0)'",
    "load": "npx . --init scripts/load.ts",
    ...
  }
}

Starting . can only work in our repo, not when someone installs cosmwasm (otherwise it would be extremely confusing).
But maybe they can reference the dependency by package name as long as there is only one binary? I.e. npm cosmwasm would start the installed version, not download one?

Oh of course if you didn't install it it would be npx cosmwasm ... instead

How is the binary called in ./node_nodules/.bin when the package is installed in a different package? I think it should have a helpful name that also works if there are 50 binaries installed.

Executables
When in global mode, executables are linked into {prefix}/bin on Unix, or directly into {prefix} on Windows. Ensure that path is in your terminal's PATH environment to run them.
When in local mode, executables are linked into ./node_modules/.bin so that they can be made available to scripts run through npm. (For example, so that a test runner will be in the path when you run npm test.)

(https://docs.npmjs.com/cli/v7/configuring-npm/folders)
-> According to that doc, it should be .bin/cosmwasm

I found the missing piece here: https://docs.npmjs.com/cli/v7/configuring-npm/package-json#bin


ENS Bid revealed but the bid masked amount not returned to wallet .

Revealed the bid after the window closed . should loose the bid amount but has to get back the bid masked amount .  I dont know for what reason is the transaction in fail state for the return amount .
https://etherscan.io/tx/0x0d6a828efa88b19c6a31f5ed10e05d31b1bd98a0bd27afadd35b8cd008ed16ef

The gas limit is 200000 as i can see, are you sure that was enough? was this in the main net?

This is resolved
Sent from ProtonMail Mobile
On Thu, Mar 8, 2018 at 12:54 PM, bitsnaps<EMAIL_ADDRESS>wrote:

The gas limit is 200000 as i can see, are you sure that was enough? was this in the main net?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/ethereum/ens-registrar-dapp","title":"ethereum/ens-registrar-dapp","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/ethereum/ens-registrar-dapp"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bitsnaps in #203: The gas limit is 200000 as i can see, are you sure that was enough? was this in the main net?"}],"action":{"name":"View Issue","url":"https://github.com/ethereum/ens-registrar-dapp/issues/203#issuecomment-371586505"}}}


Don't warn for unused variables in meta examples

/home/heiko/git/shogun/build_develop/examples/meta/cpp/meta_api/literals.cpp:16:6: warning: unused variable ‘char_literal’ [-Wunused-variable]
 auto char_literal = 'w';

We don't want this as many variables are just kept just for the sake of storing them later. However, if storing is turned off (they are not stored in the code listing), then this warning still appears
@geektoni @micmn if you have a minute ...

Same for javac and c-sharp I guess

I am still getting this
[ 90%] Linking CXX executable multiclass_classifier/multiclass_linearmachine
/home/heiko/git/shogun/build/examples/meta/cpp/meta_api/enums.cpp: In function ‘int main(int, char**)’:
/home/heiko/git/shogun/build/examples/meta/cpp/meta_api/enums.cpp:20:6: warning: variable ‘myVar’ set but not used [-Wunused-but-set-variable]
 auto myVar = LIBLINEAR_SOLVER_TYPE::L2R_LR;
      ^


Devbox does not install nix

What happened?
According to the docs devbox should install nix if it is not detected by the system, however it does not.
Looking at the script there is no part which installs nix.
I could not find the source code for the script in this repository to check some commit has removed this functionality and the readme is just not up to date.
Steps to reproduce
.
Command
No response
devbox.json
No response
Devbox version
0.10.5
Nix version
No response
What system does this bug occur on?
macOS (Intel)
Debug logs
installation script:
#!/bin/bash
#
# Install script
#
# Downloads and installs a binary from the given url.

set -euo pipefail

# ========================
# Customize install script
# ========================

# This script is published at get.jetify.com/devbox so users can install via:
# curl -fsSL https://get.jetify.com/devbox | bash

readonly INSTALL_DIR="/usr/local/bin"
readonly BIN="devbox"
readonly DOWNLOAD_URL="https://releases.jetify.com/devbox"

readonly TITLE="Devbox 📦 by Jetify"
readonly DESCRIPTION=$(
	cat <<EOF
  Instant, easy and predictable development environments.

  This script downloads and installs the latest devbox binary.
EOF
)
readonly DOCS_URL="https://github.com/jetify-com/devbox"
readonly COMMUNITY_URL="https://discord.gg/jetify"

# ====================
# flags.sh
# ====================
FORCE="${FORCE:-0}"

parse_flags() {
	while [ "$#" -gt 0 ]; do
		case "$1" in
		-f | --force)
			FORCE=1
			shift 1
			;;
		*)
			error "Unknown option: $1"
			exit 1
			;;
		esac
	done
}

# ====================
# format.sh
# ====================

readonly BOLD="$(tput bold 2>/dev/null || echo '')"
readonly GREY="$(tput setaf 8 2>/dev/null || echo '')"
readonly UNDERLINE="$(tput smul 2>/dev/null || echo '')"
readonly RED="$(tput setaf 1 2>/dev/null || echo '')"
readonly GREEN="$(tput setaf 2 2>/dev/null || echo '')"
readonly YELLOW="$(tput setaf 3 2>/dev/null || echo '')"
readonly BLUE="$(tput setaf 4 2>/dev/null || echo '')"
readonly MAGENTA="$(tput setaf 5 2>/dev/null || echo '')"
readonly CYAN="$(tput setaf 6 2>/dev/null || echo '')"
readonly NO_COLOR="$(tput sgr0 2>/dev/null || echo '')"
readonly CLEAR_LAST_MSG="\033[1F\033[0K"

title() {
	local -r text="$*"
	printf "%s\n" "${BOLD}${MAGENTA}${text}${NO_COLOR}"
}

header() {
	local -r text="$*"
	printf "%s\n" "${BOLD}${text}${NO_COLOR}"
}

plain() {
	local -r text="$*"
	printf "%s\n" "${text}"
}

info() {
	local -r text="$*"
	printf "%s\n" "${BOLD}${GREY}→${NO_COLOR} ${text}"
}

warn() {
	local -r text="$*"
	printf "%s\n" "${YELLOW}! $*${NO_COLOR}"
}

error() {
	local -r text="$*"
	printf "%s\n" "${RED}✘ ${text}${NO_COLOR}" >&2
}

success() {
	local -r text="$*"
	printf "%s\n" "${GREEN}✓${NO_COLOR} ${text}"
}

start_task() {
	local -r text="$*"
	printf "%s\n" "${BOLD}${GREY}→${NO_COLOR} ${text}..."
}

end_task() {
	local -r text="$*"
	printf "${CLEAR_LAST_MSG}%s\n" "${GREEN}✓${NO_COLOR} ${text}... [DONE]"
}

fail_task() {
	local -r text="$*"
	printf "${CLEAR_LAST_MSG}%s\n" "${RED}✘ ${text}... [FAILED]${NO_COLOR}" >&2
}

confirm() {
	if [ ${FORCE-} -ne 1 ]; then
		printf "%s " "${MAGENTA}?${NO_COLOR} $* ${BOLD}[Y/n]${NO_COLOR}"
		set +e
		read -r yn </dev/tty
		rc=$?
		set -e
		if [ $rc -ne 0 ]; then
			error "Error reading from prompt (re-run with '-f' flag to auto select Yes if running in a script)"
			exit 1
		fi
		if [ "$yn" != "y" ] && [ "$yn" != "Y" ] && [ "$yn" != "yes" ] && [ "$yn" != "" ]; then
			error 'Aborting (please answer "yes" to continue)'
			exit 1
		fi
	fi
}

delay() {
	sleep 0.3
}

# =========
# util.sh
# =========
has() {
	command -v "$1" 1>/dev/null 2>&1
}

download() {
	local -r url="$1"
	local -r file="$2"
	local cmd=""

	if has curl; then
		cmd="curl --fail --silent --location --output $file $url"
	elif has wget; then
		cmd="wget --quiet --output-document=$file $url"
	elif has fetch; then
		cmd="fetch --quiet --output=$file $url"
	else
		error "No program to download files found. Please install one of: curl, wget, fetch"
		error "Exiting..."
		return 1
	fi

	if [[ ${3:-} == "--fail" ]]; then
		$cmd && return 0 || rc=$?
		error "Command failed (exit code $rc): ${BLUE}${cmd}${NO_COLOR}"
		exit $rc
	fi

	$cmd && return 0 || rc=$?
	return $rc
}

# ==============
# Implementation
# ==============
intro_msg() {
	title "${TITLE}"
	plain "${DESCRIPTION}"
	printf "\n"
	header "Confirm Installation Details"
	plain "  Location:     ${GREEN}${INSTALL_DIR}/${BIN}${NO_COLOR}"
	plain "  Download URL: ${UNDERLINE}${BLUE}${DOWNLOAD_URL}${NO_COLOR}"
	printf "\n"
}

install_flow() {
	confirm "Install ${GREEN}${BIN}${NO_COLOR} to ${GREEN}${INSTALL_DIR}${NO_COLOR} (requires sudo)?"
	printf "\n"
	header "Downloading and Installing"

	start_task "Downloading ${BIN} binary"
	local -r tmp_file=$(mktemp)
	download "${DOWNLOAD_URL}" "${tmp_file}" --fail
	delay
	end_task "Downloading ${BIN} binary"

	start_task "Installing in ${INSTALL_DIR}/${BIN} (requires sudo)"
	chmod +x "${tmp_file}"
	$(command -v sudo || true) bash -c "mkdir -p ${INSTALL_DIR} && mv ${tmp_file} ${INSTALL_DIR}/${BIN}"
	delay
	end_task "Installing in ${INSTALL_DIR}/${BIN}"
	delay

	success "${BOLD}Successfully installed ${GREEN}${BIN}${NO_COLOR}${BOLD}${NO_COLOR} 🚀"
	delay
	printf "\n"
}

next_steps_msg() {
	header "Next Steps"
	plain "  1. ${BOLD}Learn how to use ${BIN}${NO_COLOR}"
	plain "     ${GREY}Run ${CYAN}${BIN} help${GREY} or read the docs at ${UNDERLINE}${BLUE}${DOCS_URL}${NO_COLOR}"
	plain "  2. ${BOLD}Get help and give feedback${NO_COLOR}"
	plain "     ${GREY}Join our community at ${UNDERLINE}${BLUE}${COMMUNITY_URL}${NO_COLOR}"
}

main() {
	parse_flags "$@"
	intro_msg
	install_flow
	next_steps_msg
}

main "$@"

That's odd. Here's the code where we'd check if nix is installed? https://github.com/jetify-com/devbox/blob/main/internal/boxcli/shell.go#L34
Was nix previously installed on your system? If so, is it possible that /nix is present or the nix binary was still accessible in your CLI environment?

Thanks for the reply @savil.
I was under the impression that the devbox installer takes care of the nix installation, thanks for clarifying that the devbox binary actually does that.


iPhone cannot read the generated QrCode

I generate a QrCode with my UWP app using your code sample. My issue is that iPhone cannot read the correct data. But I haven't this issue reading with an Android or Windows phone.
Thanks

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


[Feature request] Change Table design

Not sure if this is a good feature request, but I notice that on the <table> tag, you only changed the border-collapse CSS property, and did nothing else.
Maybe change the table design similar to the container, but with the possibility to also have borders. Could be a CSS class added to the table like is-bordered or something like that, and maybe some other things.
Example:

If you think it's a good idea I can try do this. Great job on building this project 👍

It's great idea 😍


news: Hexo 4.0.0 released

[x] Others (Update, fix, translation, etc...)

Pending https://github.com/hexojs/hexo/pull/3695

We might write something about what we have optimized, maybe in a separate post.
This is what tommy351 written for Hexo 3.2 release.
https://hexo.io/news/2016/02/28/hexo-3-2-released/

Good idea, I concur with writing it in a separate post.

And maybe add a breaking change section, like node 6, possible changes in url path, possible changes in url encode, ...?

The section is already there.


Updated warnings with the new nameof() features added in C# 6.0

My first pull request with your project.  I was trying to become familiar with it and wasn't sure if this update helped.  Not really anything "fancy"; just using new feature in C# 6.0.
Thx.

LGTM. Thanks for contribution.


Component.io doesn't exist anymore

Component.io has been discontinued and now the link in the documentation serves as advertising for a domain on sales. Is there a way to edit the documentation to remove it ourselves? Otherwise this is just a notice.

Oof yeah we should certainly remove it then!
I'm going to leave this open until I can edit everything to remove it. It's not just docs, but also some of the code files as well to support it.


don't work With esp8266

Hello,
is it possible to make work this library with the esp8266.
and in general is it possible to make work the grove module with the esp8266.
(evoluate module not the analogique and numerique who already work)
thanks a lot

This Grove only works under 5V. It's not compatible with the voltage level of ESP.

Thanks for you're answer

It works if you have a module like the LoLin which has a VU pin, which provides 5V

Will close this issue, please open a new issue if you have further questions.


Filter breakout && shuffle breakout

Description
Concise description of proposed changes, We recommend using screenshots and videos for better description
Additional Information

[✅] I have read the contributing docs (if this is your first contribution)
[✅] This is not a duplicate of any existing pull request

Related Issues
Closes
When trying out the search filter option, while typing for searching out, the site breaks out and displays out the below issue.

So, solved the issue by adding initial checks, and things work fine:)

 if (!initialData) {
      setSuggestions([]);
      return;
    }

Another issue that pop's out is, when using shuffle button, on-click thows an error, which is because of type checks(according to me)

So, solved this one by adding checks, and things work fine:)

    if (projects) {
      const _shuffledProjects = shuffle([...projects]);
      onShuffleProjects(_shuffledProjects);
    }

These changes resolve the issues for me locally. @KcPele, @blahkheart You guys know better than me if there are downstream effects, can you check over Chirag's solution?


chore: update go-ipfs to 0.5.1

It was locked at 0.5.0-rc2.

What's this do? Seems kinda funky to have a go-ipfs that's not attached to either dependencies or dev-dependencies?

@phillmac It's part of npm-go-ipfs-dep


Added the ability to add a custom data property at the row level.

For example: you can pass data to onSelect or any other onHandler. (not required)

This is a nice to have, its posible to pass data without this property. but then you needs to mingle with the key: property. And that not very integer for the code. 👍

Its also acceptable to change the type T to dynamic, but that's not verry type safe 😞

@doonfrs any update on this?

Done, I will publish the current version to pub.dev

Thanks


Fix remaining bugs for station_files

#139 Description

Fix a few remaining bugs related to parsing a GPS station_file input.
Fixed a few formatting issues
Added a simple check for a single chunk in delayFcns.py (Note: this check should not be strictly necessary, but was on my machine to get the GPS delays to process. Still investigating why that is the case).

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] I have added an explanation of what your changes do and why you'd like us to include them.
[ ] I have written new tests for your core changes, as applicable.
[x] I have successfully ran tests with changes locally.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@dbekaert and @leiyangleon, with these updates I was able to get weather model delays for a set of GNSS stations using the ERA5, ERA5T, and HRRR. I received several error messages for the MERRA-2, GMAO, and NCMR models. It looks like all of the errors might be related to having a pre-existing weather model of a different type in the weather_files directory. I'm investigating further to see if there is a simple fix.

Updates:

I realized I probably cannot run the NCUM model without local files, so that problem is irrelevant at the moment
MERRA-2 is working correctly after fixing my ~/.netrc file.
The error for GMAO is related to slicing in pydap:
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
I notice in debugging mode if I try to access a variable (ds['qv'] for example) using numpy-like indices, it fails with the same error. Not sure why.

Hi Yang,
The command I ran was
raiderDelay.py --date 20200101 --time 00:00:00 --station_file ~/software/RAiDER-1/test/scenario_2/stations.csv --model GMAO -v
where ~/software/RAiDER-1/test/scenario_2/stations.csv is the stations.csv file in the test/scenario_2 directory. That file is part of the repo so you can try running that command to see if it works for you.

Hi Yang,
The command I ran was
raiderDelay.py --date 20200101 --time 00:00:00 --station_file ~/software/RAiDER-1/test/scenario_2/stations.csv --model GMAO -v
where ~/software/RAiDER-1/test/scenario_2/stations.csv is the stations.csv file in the test/scenario_2 directory. That file is part of the repo so you can try running that command to see if it works for you.

Hi Jeremy,
I have checked out the most recent dev branch and ran this command with no errors. The output delays were written into a csv file and debugging plots were also created. As far as I can tell, the GMAO model is fine. Could you reinstall RAiDER and see if that problem persists?


Avro converter documentation

@jpechane where are we with this one? Seems you still need to incorporate the remarks of @rhauch?

I'll finish it by tomorrow, no objections to @rhauch comments

Ok, thanks. There are some typos in the amendment, so either you fix those yourself or push another commit with the change to the PR and I can take it from there.

@rhauch interesting note about the ability to turn off the addition of schemas to JSON messages. Do you know whether this works in conjunction with the Schema Registry? Or is that one only supported when using Avro-style messages?

The JSON converter configuration has always been a part of the Apache Kafka and is independent of the Avro converter.

I understand that the JSON and Avro converters are independent. But my question (or, rather, idea) was that the JSON format still could be used the schema registry. I.e. just as with Avro, instead of having the schema inline within the message, there could be a reference in JSON documents to the schema id in the registry.
In other words, the fact a) that the schema is stored inline or externally and b) the serialized format (JSON vs. Avro) are two separate things and it seems generally possible to support any combination of inline/external schema storage and serialization format. It seems not supported right now, but perhaps an interesting feature request for Connect and the schema registry?

Rebased and applied. Thanks @jpechane and @rhauch!


Awkward lazyarrays

This will become a new semi-major version, uproot 3.6, and will be coordinated with uproot-methods 0.6 (including scikit-hep/uproot-methods#55). For good measure, there may be a new semi-major version of awkward as well.
@reikdas, do you want me to include #258 in that as well? I'm gathering up features for a presentation next Tuesday, so they need to be robust.

@reikdas, do you want me to include #258 in that as well? I'm gathering up features for a presentation next Tuesday, so they need to be robust.

#258 is working. If you could take a look and check if the code design is okay, I think it is ready to be included.

This passed the tests, though I cancelled all but one early. (The N-1 run was indicative.)


Remove 4th version digit

If it won't break anything important, it would be good to remove the 4th digit in Wasabi's release version.

Yeah, it's a lot of digits.

Done.


Notice about the risks of Trading on Start up (and legal warning)

From: https://github.com/vegaprotocol/console/issues/6664
Derivatives should be used only by appropriate persons. We'd like to ensure that only appropriate persons use the software we create. This ticket to design and implements some sort of message in Console to inform potential users, and potentially discourage non-approporate people from using it

[ ] Read some of the rationale behind regulations (and talk to legal)
[ ] draft a message
[ ] Have legal team review / iterate the message
[ ] Design for how and where the message appears in console
[ ] Build it (via UI-toolkit?) into console

Also required:

[ ] hide this information in testnet (check with Dave Mac - is there other info that could/should be testnet copy)
[ ] Consider how this interacts with the landing dialog

Reading:
https://3commas.io/blog/the-risks-of-margin-trading-and-how-to-do-it-properly from a trading client (not an exchange) for its users about the risks of trading
https://www.fca.org.uk/news/press-releases/fca-warns-younger-investors-are-taking-big-financial-risks

The FCA advises consumers to consider five important questions before they invest:
Am I comfortable with the level of risk?
Do I fully understand the investment being offered to me?
Am I protected if things go wrong?
Are my investments regulated?
Should I get financial advice?

IG and CFD providers are required to have something like this on their site:

Spread bets and CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 68% of retail investor accounts lose money when trading spread bets and CFDs with this provider. You should consider whether you understand how spread bets and CFDs work, and whether you can afford to take the high risk of losing your money.

https://www.sec.gov/news/speech/mjw-speech-032114-protecting-retail-investor

additional requirement:
make it clear that this is alpha software

https://uniswap.org/terms-of-service

See also https://github.com/vegaprotocol/console/issues/6664#issuecomment-1183219279

Also worth noting here that any of these sorts of warnings should be agreed across the project team + legal and regs and standardised rather than coming from the individual front end project teams.

To aid discussion here is a mock up of the text above:

Should there be an affirmation that the user is making by clicking something. As well as no way to dismiss the modal/use the app until affirmed?
In the mock up the headings are changed to give you a sense of what the risk is rather than the type.

but as mentioned these warning need to be worked on more generally

Minor update. There was some discussion about the copy in the dialog, that is not resolved. I suggest we build and merge the feature and update the copy later if needed

Requirements:
Needs to be easy to change as its expected that the text will/may change regularly. Text will likely need to be different between networks (testnet/mainnet) - other option is we only show on mainnet but need to confirm with Dave if this is OK
Questions:
How does this work with the current landing page?


Should this work?

Hey, this is an awesome package. Is it still maintained?
I've tried installing it, but it doesn't even get imported...

It does work and I'm using it in the M-Droid app, feel free to check the code. Also did you ran react-native link react-native-apk ?

Yea, jus re-did the whole process just to make sure. Error:
E ReactNativeJS: TypeError: undefined is not an object (evaluating '_reactNativeApk2.default.getNonSystemApps')

That's because you're not exporting those functions in your index.js. I changed so that they did, but still the NativeModules.ReactNativeAPK isn't working. It's something in the Java side of things. Can you help me debug it?

@luandro did you get this to work?

@SkyzohKey I am getting the same error as @luandro. Any idea?
React native 0.54.4

Nope @hanssonfredrik. If I really come to need it I'll try copy/pasting the Java part directly to my project. I think some changes are needed for this to work with a npm i.

I'll fix the issue in the week guys, don't worry ;)

Great news!

That would be awesome @SkyzohKey 👍

@SkyzohKey do you have any status update here? Anything that I can help you with?

Sorry for the delay very busy at work. I will push something today :)

@luandro @hanssonfredrik Issue should be fixed as of now, can you confirm? Will push a new NPM package if this is solved. :)

I get "undefined is not an object (evaluating 'RN.NativeModules')
There is some breaking changes in React Native 0.47 that forces you to remove the @override statements in the ReactNativeAPKPackage.java as well. I tried to remove these but still get the same error.
I am running on React Native 0.55.4.

I removed the .default on the row below, and then the "undefined" error disappeared.
from:
var RN = require("react-native").default;
to:
var RN = require("react-native");
But, when executing the code below:
ReactNativeAPK.installApp(path);
I get the following error:
Possible Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating RNAPK.installApp).

Mhn that's really weird because on my side it works. Can you make a repoductible test repository so that I can further investigate please?

@SkyzohKey what version of react native are you testing this with?

I had of course forgot to link the package...
I get the error "here was a problem parsing the package" when running the installPackage function. I read something that it could be the wrong name of the APK file, but I have verified that it is correct. Is the path starting with file:// or is the path starting with / to the file? Any other idea here?


Add loading indicator to Publishes/channels

On lbry.tv, we don't load publishes/channels on refresh so you initially see "you don't have any publishes/channels" when navigating to the page.

fixed in https://github.com/lbryio/lbry-desktop/pull/3283/files


Error in K8S ipv6 addresses validation CommonUtilization.valid_chars() / VALID_CHARS_RE

Description
When running in K8S with ipv6 addresses, client fails with error like Invalid "kubernetes" data ("kubernetes_service_host"): "fd95:b6e3:daad::1"
Expected Behavior
Agent should accept ipv6 addresses
Troubleshooting or NR Diag results
After looking at code and at environment, I found that K8S injects the following variables:
...
KUBERNETES_SERVICE_HOST=fd95:b6e3:daad::1
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_PORT_443_TCP_ADDR=fd95:b6e3:daad::1
...

The error happens in KubernetesUtilization class in detection process:
Detection https://github.com/newrelic/newrelic-python-agent/blob/main/newrelic/common/utilization.py#L153-L157 consist of fetching the data (reading envvar KUBERNETES_SERVICE_HOST) then validating it for correctness, one of the steps https://github.com/newrelic/newrelic-python-agent/blob/main/newrelic/common/utilization.py#L127 is checking valid chars https://github.com/newrelic/newrelic-python-agent/blob/main/newrelic/common/utilization.py#L27 , the agent does not expect : and fails
Steps to Reproduce
Run in K8S with ipv6
Your Environment
EKS with ipv6
Additional context

I'll forward this along to the architecture group and we'll get all the agents updated to support ipv6 for K8s.


feat: implement auth middleware for editor menus

Description

Linked Issues
Preview / Screenshot

Photo
Video

Checklist

[ ] I have followed commit guideline to create PR title (https://conventionalcommits.org/en/v1.0.0/)

📝 Changed routes:

/admin/add
/admin/all

(view full size)
(view full size)

/admin/login

(view full size)

And 4 other routes:

/api/admin/login
/api/shortener/add-click
/api/shortener/get-url-list
/api/shortener/get-url

Commit 41cb120045c6b7db28cdf8096255669bd8756d24 (https://sznm-link-e4u06dhqf-sozonome.vercel.app).


How to retrieve fully hydrated Tweet objects (including a User, ...) ?

Hi all,
thanks for providing an official Twitter API SDK.
I am currently in the process of migrating away from Twitter4J (API v1). Therefore, I need to update our adapters / bridges to use the SDK. While working on this migration, I developed some questions:
From my previous experiments with API v2 and an homecrown Twitter4J v2 adapter, I am remembering, that I could use expansions to get fully hydrated response objects like
          //https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/tweet
            params.add(new HttpParameter("tweet.fields", "public_metrics,created_at,entities,geo,lang,source,referenced_tweets,in_reply_to_user_id"));
            params.add(new HttpParameter("expansions", "author_id,attachments.media_keys,geo.place_id"));
            params.add(new HttpParameter("media.fields", "duration_ms,height,media_key,preview_image_url,public_metrics,type,url,width"));
            params.add(new HttpParameter("place.fields", "country,geo,name,place_type,contained_within"));

Plain JSON responses then contain an includes field (i.,e. for Place or Media), which can be used to map keys or ids to the correct hydrated elements and bridge this gap. Also it can be used to retrieve additional information.
My question is:
How can I get a fully hydrated Tweet object, which contains hydrated Media, Place and User ids rather than only the key / id for it?
I couldn't find any fields / getters for the Tweet object and I don't think, that using additional requests to look them up are a intended behaviour?
Happy to hear from you.
Thanks and Gruß
Richard

Ok, I found the Expansions class, which contains the required information. Closing it as invalid.


rapids init action updates

Recent change to init action produced backwards-compatible breaking change requiring Spark 2.x to be explicitly requested. Changes:

init action can detect Spark version in the environment, no longer requiring passing it in
default versions for CUDA, CUDF and RAPIDS configured for Spark 2.x and Spark 3.0 (previously passed in at runtime)
moved spark 2.x property spark:spark.submit.pyFiles into init action
Dask test skipped due to long test time and note of suggestion to use Dataproc 2.0 for this functionality

@mengdong FYI.
Additionally, I noticed in the initialization action that Spark jars for Scala 2.11 are installed for Dataproc 1.x. However, Dataproc 1.5 actually uses Scala 2.0 with Spark 2.4.5. The current tests for 1.5 pass, however I don't know if this is sufficient to confirm that the RAPIDS jars will work with Scala 2.11. Can please you confirm that this is either ok or I need to make another fix here?

/gcbrun

Hi Brad, is there a typo Dataproc 1.5 actually uses Scala 2.0 with Spark 2.4.5., do you mean scala 2.12?
the RAPIDS SQL plugin jar won't work with spark 2, we only download cuDF and XGBoost with spark 2, per https://github.com/GoogleCloudDataproc/initialization-actions/blob/master/rapids/rapids.sh#L73-L82. I have tried 1.5 briefly it seems in this case mixed scala 2.12 and 2.11 is fine, but we probably shouldn't recommend it.

Hey Dong,
Apologies, yes that's a typo and I just fixed it in the OP. Dataproc 1.5 uses Scala 2.12.10.
Ok, that sounds good. Are there instructions / supported functionality for building these with Spark 2.x and Scala 2.12?

User has to build from https://github.com/NVIDIA/spark-xgboost/tree/spark-2, I don't have the instruction yet, could we use existing 2.11 jar for now, let me ping the internal team to ask if they can provide another build.

A Spark 2.4/Scala 2.12 release would be superb, for now we can leave as is. Thanks Dong!


Upgrade kratos to v0.10.1

What does this PR change?

Upgrade Kratos version to v0.10.1
Introduced forceReset property in user spec

Does the PR depend on any other PRs or Issues? If yes, please list them.
Part of Issue #92
Checklist
I confirm, that I have...

[X] Read and followed the contributing guide in CONTRIBUTING.md
[X] Added tests for this PR
[X] Formatted the code using go fmt (if applicable)
[X] Updated documentation on the Paralus docs site (if applicable)
[X] Updated CHANGELOG.md

Codecov Report

Merging #102 (2239b31) into main (610dc58) will decrease coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
- Coverage   34.58%   34.35%   -0.23%
==========================================
  Files          73       73
  Lines       11538    11538
==========================================
- Hits         3990     3964      -26
- Misses       7012     7042      +30
+ Partials      536      532       -4

Impacted Files
Coverage Δ

pkg/service/elastic_search_query.go
0.00% <ø> (ø)

pkg/service/oidc_provider.go
59.89% <0.00%> (-6.60%)
:arrow_down:

pkg/event/queue.go
89.47% <0.00%> (-3.51%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

ForceReset property in user spec sample:
$ curl<EMAIL_ADDRESS>| jq
{
  "apiVersion": "system.k8smgmt.io/v3",
  "kind": "User",
  "metadata": {
    "name"<EMAIL_ADDRESS>    "id": "a3bbd597-f3ea-4cd9-86e2-7ef6c3df1665",
    "modifiedAt": {
      "seconds":<PHONE_NUMBER>,
      "nanos": 698423000
    }
  },
  "spec": {
    "firstName": "new",
    "lastName": "User",
    "groups": [
      "Organization Admins",
      "All Local Users"
    ],
    "idpGroups": [
      ""
    ],
    "projectNamespaceRoles": [
      {
        "role": "ADMIN",
        "group": "Organization Admins"
      }
    ],
    "forceReset": true
  },
  "status": {
    "conditionStatus": 2
  }
}

Moved commits to https://github.com/paralus/paralus/pull/124


fix: Remove unnecessary share links

Fixes #1442

Remove share links from session item and update UI accordingly
Remove generic app link information from speaker detail
Add StringUtils function to join a list into string using  a delimiter
Add speaker and location information in session share link

Screenshots for the change:

@the-dagger Done


chore: roxctl endpoint flag constant

Description
All of the roxctl flags except the "endpoint" flag are assigned to a constant (ie. caCertFlagName == "ca"). For consistency's sake, I created a endpointFlagName variable, following conventions for other flags.
Checklist

[X] Create endpointFlagName constant
[X] Replace all occurrences of "endpoint" in /roxctl/common/flags/endpoint.go with endpointFlagName

Testing

[X] Go style tests

/ok-to-test

@randyttruong Many thanks for your contribution. This PR looks ready to merge.


Can you add a method to obtain sql?

In some cases, you need to view the generated sql for debugging.
Thanks！

Hey there....sorry for some reason I was set to not get any notifications :man_shrugging:
So for now, what you actually could do is installed Tracy and then there's the https://github.com/flightphp/tracy-extensions that you could install which would provide a debugging panel to see all the queries executing on a page load. Super helpful. There's more info in the docs

Thanks


Select anchor from location.hash on page load

This PR fixes scrolling to section given in URI hash (like in https://crystal-lang.org/api/0.20.0/Array.html#clear-instance-method). This works around bug which resets container scroll on page refresh.

Thanks!!
Do you have any idea why hitting the "back" browser button doesn't work well? Since you fixed this issue maybe you understand why this happens.
The steps to reproduce are:

Click on an anchor
Hit the back button (it doesn't take you back)

@asterite For me the steps would be:

... (the same)
Hit back button
Hit forward button (it doesn't take you back to the selected anchor from step no. 1)

Honestly I don't know what's the real cause of this issue :/ Closest thing I've found related to the issue at hand would be this SO question: http://stackoverflow.com/questions/27046851/browser-back-button-does-not-work-for-anchor-links.


SP5.0.2 beta: crash on WPF .net framework, x64

Bug Report
Issue: when I run a test project with .net framework 4.6.2 and set to build x64 taeget, it will crash
System.Windows.Markup.XamlParseException:“对类型“SkiaSharp.Views.WPF.SKGLElement”的构造函数执行符合指定的绑定约束的调用时引发了异常。”
GraphicsContextException: The specified window isn't an OpenGL window

( I tested it is ok on .net 6.0 )
Reproducing:

follow WPF demo in this repo, create a WPF .net framework project
add nuget pack to this project, version 5.0.2 beta
add <ScottPlot:WpfPlot Name="WpfPlot" /> to MainWindow.xaml
add a target x64 and change Any CPU to this
run, then crash at InitializeComponent()

whole project here: ScottPlotTest.zip
System Details

ScottPlot Version: 5.0.2 beta
Operating System: Windows 10
Application Type: WPF
.NET Version: .net framework 4.6.2

last version(5.0.1 beta) works well

it's GLWpfControl's bug

Hi @chenxuuu,
I tested it on sandbox/wpf and test project you provided.
Both works fine for me.
Perhaps you have problems with the OpenGL configuration on your computer.
Try to reproduce the error using WinForms control.

@StendProg default target is Any CPU, change it to x64 then you will reproduce this.
I tested on my laptop and desktop computer.

@chenxuuu
Yes, I understand what could be the problem.
I definitely ran the build under x64 and .NetFramework 4.6.2.  Both debug and release versions. There are no any issues for me.

https://user-images.githubusercontent.com/10357394/223733746-ef8ace0b-aaf6-41c3-ae82-0482a31ad169.mp4


[in_app_purchase 0.3.1+2] How can use isAcknowledged ?

I couldn't see anything about it in the document
I have to make changes to the code. Doesn't take any action on the sample code ?
If I have to do, how can I do after the payment is completed.
Flutter's in_app_purchase plugin has been updated to version 0.3.0, migrating the Google Play Library to 2.0.3.
According to the Google Play Library v2, all purchases have to be acknowledged within 3 days (or 5 minutes in the case of test orders) or they will be canceled automatically.
In the latest commit of in_app_purchase, a method called acknowledgePurchase is added to the BillingClient class. However, the current documented way of making an in-app purchase is via InAppPurchaseConnection.instance which does not provide any method to acknowledge a purchase.
Thank you.

@agordeev

@bilaloz I pass through something like you, my subscription purchases were expiring 5 minutes after purchase in the sandbox environment, so after some research, I realize that after all purchases (iOS present in documentation and Android not present in documentation) you need to call completePurchase method. Now all my purchases in Android devices are working great. I hope this helps you.

@fracon thank you for answer. Is this code enough for me ?

@bilaloz I don't know if pendingCompletPurchase is working, for now, I think there is an open issue about this. A different approach is use the purchase status, when purchase status is purchased you call completePurchase. Just remember in iOS, as documentation said, you must use completePurchase for status error too.

The following is visible on the README for the IAP plugin:
Complete a purchase
The InAppPurchaseConnection.purchaseUpdatedStream will send purchase updates after you initiate the purchase flow using InAppPurchaseConnection.buyConsumable or InAppPurchaseConnection.buyNonConsumable. After delivering the content to the user, you need to call InAppPurchaseConnection.completePurchase to tell the GooglePlay and AppStore that the purchase has been finished.

WARNING! Failure to call InAppPurchaseConnection.completePurchase and get a successful response within 3 days of the purchase will result a refund.

Is this sufficient documentation to satisfy this ticket?

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Does InAppPurchase.instance.completePurchase guarantee that the PurchaseWrapper.isAcknowledged is true?
If no, then how can one confirm if the purchase was acknowledged (on Android)?


Remove the jdbc folder

Description
Remove the JDBC folder. For the azure-identity-extensions has been moved to sdk/identity in #32437.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

@hallipr @JimSuplizio @jsquire @ronniegeraghty, could you help review this PR? Thanks.

/check-enforcer override


Compose button disappears when I use the side bar

More reason to get rid of the right side bar 😈Just kidding (mostly...)

lol fixed https://github.com/inbox-in-gmail/inbox-in-gmail/commit/0772e62a49de0271a092882d49cf8cd04dfb8429


Roles & Permission for hide/show sidebar

hi,
I've wonder, is there already feature to add roles & permission for the sidebar?. Im using spatie permission btw.

Hi. Thank you for your interest in Awes.io platform.
Yes, you can apply permissions for sidebar/navigation items via our "Navigator" package: https://github.com/awes-io/navigator. More info: https://github.com/awes-io/navigator#permissions
And it does support spatie/laravel-permission package.


Edit mode issues when body position is relative

If you set the body position to "relative" in CSS, the edit mode breaks. Not something you need to do every day but in some rare occasions this is necessary. I've surely found ways around this but I still think it would be great if the c5 interface worked regardless of the theme's CSS definitions.
The issue more specifically is that the clickable editable areas are not clickable on their top position. Their clickable area starts 49px from their top position because this is the top margin on the body element when the toolbar is visible. And I guess this messes up the JS calculations that define where the clickable area is.
You can test this e.g. if you add this in the elements/header_top.php of the elemental theme:
<style type="text/css">
body {position: relative;}
</style>

Is there any better way this could be done? How about adding an empty div on top of the document's body which would push the main content 49px down? Do you have any experiences of alternative methods for this?

Here's an image that might further explain what I'm referring to above:


(Error) Expecting a stackmap, program does not run.

Here are the following options i have enabled:

Flow obfuscator :
Mangle switches : ✓
Mangle return : ✓
Replace GOTO : ✓
Replace If : ✓
Bad POP: ✓
Bad Concat: ✓

Every other option i have disabled completely, Here's the output:
C:\Users\databoose\Desktop\java apps>java -jar compiled.jar
Exception in thread "main" java.lang.VerifyError: Expecting a stackmap frame at branch target 25
Exception Details:
Location:
PassGenerator$1.<init>()V @20: if_icmpge
Reason:
Expected stackmap frame at this location.
Bytecode:
0x0000000: 2ab7 0010 1212 b600 1857 121a b600 1812
0x0000010: 1cb6 0018 a200 0501 bfb1
    at PassGenerator.main(PassGenerator.java:32)

Just incase this is needed, here is my installed java version:
C:\Users\databoose\Desktop\java apps>java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

Can you please send the full config? Config Tab > Build > TextArea


Shinyapps.io runs out of memory with 2 models

2 models works wells locally, but Shinyapps.io runs out of memory with 2 models.

What specifically is using up all the memory?
Can we decrease memory usage so we can have multiple models in an app?
Are we stuck with 1 model at a time, or are there other feasible options? (TensorFlow.js comes to mind but would be a big change)

Closing for now since we have decided to use one model at a time


update gax and add synth.py

Fixes #9

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Codecov Report

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

@@          Coverage Diff          @@
##           master    #11   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines           4      4
=====================================
  Hits            4      4

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 057e431...270a890. Read the comment docs.


readme.md image is dead

Looks fine to me. It's hosted on Imgur instead of GitHub so maybe that's causing an issue on your end.

That was my env issue :eyes:, sorry!


The ABNF for did:tdw seems to be missing the optional percent encoding of the port in the http url

tdw-did = "did:tdw:" scid ":" domain-segment 1+( "." domain-segment ) *( ":" path-segment )
domain-segment = ; A part of a domain name as defined in RFC3986, such as "example" and "com" in "example.com"
path-segment= ; A part of a URL path as defined in RFC3986, such as "path", "to", "folder" in "path/to/folder"

Probably just needs a percent encoded optional ABNF snippet between the domain-segments and path-segments.

Good catch. Will add that after the current 0.4 PR is merged.

Action: Add this as a clarification without changing the version. @swcurran


Local copy of python3 is not executable.

Issue description
I am trying to use pipenv on an OpenBSD system. The install works fine. When I try to create a project and install a module, the local version of python3 binary fails to execute.
I am wondering if there are some filesystem locks on the python binary being copied from /usr/local to /home
$ mount
/dev/sd0a on / type ffs (local)
/dev/sd0k on /home type ffs (local, nodev, nosuid)
/dev/sd0d on /tmp type ffs (local, nodev, nosuid)
/dev/sd0f on /usr type ffs (local, nodev)
/dev/sd0g on /usr/X11R6 type ffs (local, nodev)
/dev/sd0h on /usr/local type ffs (local, nodev, wxallowed)
/dev/sd0j on /usr/obj type ffs (local, nodev, nosuid)
/dev/sd0i on /usr/src type ffs (local, nodev, nosuid)
/dev/sd0e on /var type ffs (local, nodev, nosuid)
Expected result
Creating a Pipfile for this project...
Creating a virtualenv for this project...
Using base prefix '/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6'
New python executable in ~/.local/share/virtualenvs/tmp-agwWamBd/bin/python3.6
Also creating executable in ~/.local/share/virtualenvs/tmp-agwWamBd/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: ~/.local/share/virtualenvs/tmp-agwWamBd
Installing requests...
Collecting requests
Using cached requests-2.18.4-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests)
Using cached idna-2.6-py2.py3-none-any.whl
Collecting urllib3<1.23,>=1.21.1 (from requests)
Using cached urllib3-1.22-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests)
Using cached chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests)
Using cached certifi-2<IP_ADDRESS>-py2.py3-none-any.whl
Installing collected packages: idna, urllib3, chardet, certifi, requests
Successfully installed certifi-2<IP_ADDRESS> chardet-3.0.4 idna-2.6 requests-2.18.4 urllib3-1.22
Adding requests to Pipfile's [packages]...
P.S. You have excellent taste! ✨ 🍰 ✨
Actual result
pipenv --verbose install requests
Creating a virtualenv for this project…
Pipfile: /home/russ/src/hello/Pipfile
Using /usr/local/bin/python3 (3.6.6) to create virtualenv…
⠙ Creating virtual environment...Already using interpreter /usr/local/bin/python3
Using base prefix '/usr/local'
New python executable in /home/russ/.local/share/virtualenvs/hello-ogF-LQCP/bin/python3
Not overwriting existing python script /home/russ/.local/share/virtualenvs/hello-ogF-LQCP/bin/python (you must use /home/russ/.local/share/virtualenvs/hello-ogF-LQCP/bin/python3)
ERROR: The executable /home/russ/.local/share/virtualenvs/hello-ogF-LQCP/bin/python3 could not be run: [Errno 13] Permission denied: '/home/russ/.local/share/virtualenvs/hello-ogF-LQCP/bin/python3'
✘ Failed creating virtual environment
Traceback (most recent call last):
File "/home/russ/.local/bin/pipenv", line 10, in
sys.exit(cli())
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/cli/command.py", line 254, in install
editable_packages=state.installstate.editables,
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/core.py", line 1741, in do_install
pypi_mirror=pypi_mirror,
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/core.py", line 574, in ensure_project
pypi_mirror=pypi_mirror,
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/core.py", line 506, in ensure_virtualenv
python=python, site_packages=site_packages, pypi_mirror=pypi_mirror
File "/home/russ/.local/lib/python3.6/site-packages/pipenv/core.py", line 935, in do_create_virtualenv
extra=[crayons.blue("{0}".format(c.err)),]
pipenv.exceptions.VirtualenvCreationException: Failed to create virtual environment.
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
mkdir hello
cd hello
pipenv install requests

Please run $ pipenv --support, and paste the results here.
SHELL: /bin/ksh
LANG: en_US.UTF-8
PWD: /home/russ/src/hello

Contents of Pipfile ('/home/russ/src/hello/Pipfile'):

note that during your attempt to install the following message appeared:
Not overwriting existing python script /home/russ/.local/share/virtualenvs/hello-ogF-LQCP/bin/python (you must use /home/russ/.local/share/virtualenvs/hello-ogF-LQCP/bin/python3)

This means the install didn't write to this location, because there was already a virtualenv there.  The following PermissionError suggests that said virtualenv was created with superuser permissions.  Please remove the virtualenv with the appropriate permissions and try again -- but if you continue to have issues, it's likely a virtualenv issue as pipenv doesn't actually create the environment it just calls virtualenv to do so
Closing for now as it doesn't appear to have a pipenv-related cause

The permission error is most likely caused by the fact that the partition containing '/home' was mounted with file execution permissions. 'wxallowed' should be added to the mount options for that partition in '/etc/fstab'.


GraalJS should support Ahead-of-Time(AOT) compilation to Native binary like GraalPy.

GraalPy, which is Python implication of the GraalVM, supports AOT compilation to Native binary.

GraalPy is compiled ahead-of-time to a native executable.
This means that you do not need a JVM to run GraalPy and it is compact in size.

In time of now, most of main implications of Python and JavaScript do NOT support AOT compilation.
For example, NodeJS , Deno, and even Bun only supports Just-in-Time(JIT) compilation and they have no plan to support AOT.
However, the case of GraalPy shows us that making Script language to be compiled to Native binary is technically possible. And already there is an AOT compiler for Javascript like ChowJS, but unfortunately it is a closed source, and maybe a project NOT free of charge.
Static Hermes, which is being developed by Meta shows us that AOT compiling of JavaScript could be a killer feature of the project.

I read that GraalPy only compile python to bytecode? Still it is useful to do parsing on build time. I am trying to integrate a JavaScript library into my JVM application and call it from JVM. It would be better to include bytecode instead of source code in the native image


Display CPU, Memory and Disk usage in the Tmux status bar

Hi @hendrikmi,
First of all, thank you for creating this amazing package—it’s really impressive!
However, I’m facing an issue. I followed the configuration steps as instructed, but the information displayed on the status bar doesn’t seem to be working. Could you help me resolve this?
For context, I’m configuring it on a Linux (Ubuntu) operating system.

Thanks.

Hi @Huy-Thai! 👋
Could you share your tmux config? I'm sure we can get it to work :)
Also, just to make sure: Do you have Python3 installed?

Hi @hendrikmi,
I think maybe python3 env is not working
I will double check and reply to you.
Thanks.

Hi @hendrikmi,
I'm fixed, due to the environment configuration on my computer.
Thanks for taking the time to reply me.
Regards.


fix: wrong mainFile name when switching development mode

In the newly updated sfc playground(https://github.com/vuejs/core/pull/8625), when switching the development mode, the following error occurs:
https://github.com/vuejs/repl/assets/15389209/472bd65e-c9d0-4240-a7d8-475a1711ff3f

Thanks for the PR, fixed in c0184da


chore!: remove hash_to_field_128_security black box function

Description
Problem*
Resolves #3340
Summary*
This PR removes the hash_to_field_128_security` black box function.
Additional Context
Documentation*
Check one:

[ ] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Closing as this work is being done in aztec-packages now.


New release has broken WeasyPrint

Hi,
I saw you made a new release 2 hours ago.
My unit tests for WeasyPrint tests have suddenly broken with no apparent change to my dependencies.
Stack trace:
    pdf = HTML(file_obj=html, base_url='/').write_pdf()
  File "/service/venv/lib/python3.9/site-packages/weasyprint/__init__.py", line 252, in write_pdf
    self.render(font_config, counter_style, **options)
  File "/service/venv/lib/python3.9/site-packages/weasyprint/document.py", line 399, in write_pdf
    pdf = generate_pdf(self, target, zoom, **options)
  File "/service/venv/lib/python3.9/site-packages/weasyprint/pdf/__init__.py", line 127, in generate_pdf
    pdf = pydyf.PDF((version or '1.7'), identifier)
TypeError: __init__() takes 1 positional argument but 3 were given

Here's a pipdeptree where my WeasyPrint tests pass:
weasyprint==60.1
├── cffi [required: >=0.6, installed: 1.16.0]
│   └── pycparser [required: Any, installed: 2.22]
├── cssselect2 [required: >=0.1, installed: 0.7.0]
│   ├── tinycss2 [required: Any, installed: 1.3.0]
│   │   └── webencodings [required: >=0.4, installed: 0.5.1]
│   └── webencodings [required: Any, installed: 0.5.1]
├── fonttools [required: >=4.0.0, installed: 4.53.1]
├── html5lib [required: >=1.1, installed: 1.1]
│   ├── six [required: >=1.9, installed: 1.16.0]
│   └── webencodings [required: Any, installed: 0.5.1]
├── pillow [required: >=9.1.0, installed: 10.4.0]
├── pydyf [required: >=0.8.0, installed: 0.10.0]
├── pyphen [required: >=0.9.1, installed: 0.15.0]
└── tinycss2 [required: >=1.0.0, installed: 1.3.0]
    └── webencodings [required: >=0.4, installed: 0.5.1]

And here's one where my WeasyPrint tests fail:
weasyprint==60.1
├── cffi [required: >=0.6, installed: 1.16.0]
│   └── pycparser [required: Any, installed: 2.22]
├── cssselect2 [required: >=0.1, installed: 0.7.0]
│   ├── tinycss2 [required: Any, installed: 1.3.0]
│   │   └── webencodings [required: >=0.4, installed: 0.5.1]
│   └── webencodings [required: Any, installed: 0.5.1]
├── fonttools [required: >=4.0.0, installed: 4.53.1]
├── html5lib [required: >=1.1, installed: 1.1]
│   ├── six [required: >=1.9, installed: 1.16.0]
│   └── webencodings [required: Any, installed: 0.5.1]
├── pillow [required: >=9.1.0, installed: 10.4.0]
├── pydyf [required: >=0.8.0, installed: 0.11.0]
├── pyphen [required: >=0.9.1, installed: 0.15.0]
└── tinycss2 [required: >=1.0.0, installed: 1.3.0]
    └── webencodings [required: >=0.4, installed: 0.5.1]

It looks like the issue is probably on WeasyPrint's side, because they did not properly define the version constraints for pydyf, but out of caution I am raising the issue here too incase this is an unintentional regression.
I'm unsure if this change is intentional or not (or whether you follow semantic versioning), but such breaking changes in minor releases are of course not semantic changes :)

Yes, this version of pydyf is not compatible with older versions of WeasyPrint. If you want to pin older versions of WeasyPrint, maybe the best way is to pin its dependencies too.

I'm unsure if this change is intentional or not (or whether you follow semantic versioning), but such breaking changes in minor releases are of course not semantic changes :)

We do follow semantic versioning, and for 0.x.y versions the public API SHOULD NOT be considered stable. Moreover, this API had already been marked as deprecated in version 0.10.0.
Hopefully, we’re close to version 1.0.0, with a more stable API.

Yes, this version of pydyf is not compatible with older versions of WeasyPrint.

@liZe just a small request: If you know a new version is incompatible with WeasyPrint, could you maybe mention this on the GitHub release page?
Seems like I avoided pushing incompatible versions of pydyf+WeasyPrint to Fedora but this extra information should give me an even better chance :-)

@liZe just a small request: If you know a new version is incompatible with WeasyPrint, could you maybe mention this on the GitHub release page?

Actually, we’ve updated the pyproject.toml file to avoid this problem in the future. It should be OK to rely on it for packaging!
https://github.com/Kozea/WeasyPrint/blob/c762d50fc66b722eea2107ca0bd02c6a6f7c5686/pyproject.toml#L14-L23

Ah, that's also a nice solution given that you can coordinate releases for both projects. :-)


Change extension order for Diff language id

Currently the order is:

.patch
.diff
.rej

This creates a visual issue when using different images for diff and patch.
Currently we on vscode-icons do so and although the associated files get the correct image, in the Language Mode selection it shows the patch image and not the diff image.
Changing the order to:

.diff
.patch
.rej

or

.diff
.rej
.patch

should fix the issue.

The issue refers to this https://github.com/Microsoft/vscode/blob/master/extensions/diff/package.json#L11

Submitted #17680


Access control for ExternalID

What if a user specifies an ExternalID that is used by someone else's resource of the same class/plan when they create a ServiceInstance? A broker might be used by multiple distinct systems and might not be able to prevent "ownership extension". This is especially likely if the broker is a pass-though to some other api.
I'm proposing Service Catalog should check with the AuthZ API to see if the user is allowed to specify the id (only on initial object creation, after that it is immutable I believe).
There is a minor hiccup thought. Currently ExternalID is set by defaulting code and by the time the object reaches admission plugins built into the api server, the field would have been set to a value already. So the check has to be performed before the default is applied. We initially wanted to build an admission webhook to do that but the problem is the same - it gets an object with defaults applied. Too late.
This can be solved by performing ExternalID defaulting later in the processing cycle, after the check has been performed.

I am not even sure if setting a random non-deterministic value (UUID) as part of applying defaults is the correct approach for Kubernetes.
@liggitt can you comment on that please?
For the context: the defaulting function for ServiceInstance resource generates a UUID if the ExternalID was not supplied by a user: https://github.com/kubernetes-incubator/service-catalog/blob/ba8d0508043a520be3b7b782d9cc27f9af7e34c2/pkg/apis/servicecatalog/v1beta1/defaults.go#L49-L53
Shouldn't defaulting functions only set constant values?

defaults should be deterministic. what you are doing looks like a better fit to put in the PrepareForCreate method of the strategy or the Create method of the rest handler

I'm proposing Service Catalog should check with the AuthZ API to see if the user is allowed to specify the id (only on initial object creation, after that it is immutable I believe).

@ash2k can you give a more detailed example of such RBAC policy? e.g. yamls
I don't think in normal Kubernetes RBAC you can control access to particular fields. So it sounds more like a combination of some arbitrary Kubernetes RBAC + Service Catalog specific admission controller that enforces the check for ExternalID?

@nilebox https://kubernetes.io/docs/admin/authorization/#review-your-request-attributes
Verb would be "set" or "create";
Resource would be "servicebindings" or "serviceinstances" (or singular form, not sure);
Subresource would be "externalID";
Basically service catalog could ask the authz api where the user is allowed to "set" a subresource called "externalID" for a resource "servicebindings" or "serviceinstances". This is the same as with separate permissions for "finalizers" and for "status" subresource to access corresponding fields in the object.
Also see
https://kubernetes.io/docs/admin/authorization/rbac/#referring-to-resources
https://kubernetes.io/docs/admin/admission-controllers/#ownerreferencespermissionenforcement

Yes, it is going to be a built in admission controller in Service Catalog that calls the SubjectAccessReview api with the suff I described in the previous comment above.

Just want to note that this is something that will likely require attention if we try to ditch the API server
cc @n3wscott

@pmorie we could use mutating admission webhook for CRD (if we  switch from API server to CRD) as noted in https://github.com/kubernetes-incubator/service-catalog/issues/2035#issuecomment-389354794

/remove-lifecycle rotten
/lifecycle frozen

This project is being archived, closing open issues and PRs.
Please see this PR for more information: https://github.com/kubernetes/community/pull/6632


Handle different line endings

I ran into an issue attempting to parse the CSV file here: https://github.com/donohoe/nyt-crossword. The file has CR line endings, but this parser only supports LF and CR-LF. I had to run mac2unix on the file to get it to parse. It would be nice to have extra line ending support, or have it be configurable.
See https://en.wikipedia.org/wiki/Newline#Representations

Hi,
thanks for the feedback.
Are there any major platforms out there except classic Mac but not new Mac that use \r newlines?
I do not want to add further config flags and changing the code to interpret a single \r as newline may break existing code that relies on this not being the case. Preprocessor ifdef also do not seem right, as the same application might see different newline types.
I feel that Mac Classic is old enough to be considered exotic at this point.
Either change a few lines in your local csv.h. The relevant ones are in LineReader::next_line. Replace all \n by \r and kill the lines 479 and 480. The other option is to implement a ByteSource that translates all \r to \n. The following should work (not tested):
class OwningStdIOByteSourceBaseWithMacNewlines : public OwningStdIOByteSourceBase{
public:
using OwningStdIOByteSourceBase::OwningStdIOByteSourceBase;
int read(char*buffer, int size){
int bytes_read = OwningStdIOByteSourceBase::read(buffer, size);
for(int i=0; i<bytes; ++i)
if(buffer[i] == '\r')
buffer[i]  = '\n';
return bytes_read;
}
};
Warning: This code snippet might be a problem if you try to combine UTF8 and classic Mac newlines.
Best Regards
Ben Strasser
On 11/10/2017 06:47 AM, Prasad Silva wrote:

I ran into an issue attempting to parse the CSV file here: https://github.com/donohoe/nyt-crossword. The file has \r line endings, but this parse only supports LF and CR-LF. I had to run |mac2unix| to get it to parse. It would be nice to have extra line ending support, or have it be configurable?
See https://en.wikipedia.org/wiki/Newline#Representations
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/ben-strasser/fast-cpp-csv-parser/issues/58, or mute the thread https://github.com/notifications/unsubscribe-auth/ALaAj05g0NGSDxBYYAj8avinnhdRANsyks5s0-NqgaJpZM4QZGJ1.

Hm, alright. Thanks for the reply.
BTW - You should add (PR) this project to the list here: https://github.com/nothings/single_file_libs.

Thanks for the link. I opened an issue there.


Fix using through SwiftPM

The CrashReportWindowController wouldn't find its nib when CrashReporter was loaded through SwiftPM.

Bump package tools version (see: https://developer.apple.com/documentation/xcode/bundling-resources-with-a-swift-package)
Disable module auto discovery in nib
Change window controller initialization code to manually load the nib

Add CrashReporterBundle to expose correct current bundle

⌃⇧I apparently also works to quickly fix indentation and such: https://troz.net/post/2024/swift_format/

No problem—I usually try to match indentation style, but forgot.
I applied swift-format, which changed more than indentation. Do tell if that's not what you had in mind!

Thanks! The noise of swift-format'ing doesn't matter, as long as the result looks ok :)


QuantumCircuit.append(custom_gate, label='foo') overwrites earlier labels

Steps to reproduce the problem
>>> import qiskit as qk
>>> hadamard = qk.QuantumCircuit(1)
>>> hadamard.h(0)
>>> h_gate = hadamard.to_gate()
>>>
>>> circ = qk.QuantumCircuit(1)
>>> circ.append(h_gate, [0], label='Q')
>>> circ.append(h_gate, [0], label='P')
>>> print(circ)
     ┌───┐┌───┐
q_0: ┤ P ├┤ P ├
     └───┘└───┘

What is the expected behavior?
Suggested solutions

Rather than adding label to the circuit methods, can we add a property to Instruction or Gate that can return a shallow copy of the objet with a label set.
One suggestion would be to do this in the call method (along with adding qargs/cargs to the call method). The qi operator classes use call for qargs.
Eg in Instruction:
def __call__(self, qargs=None, cargs=None, label=None):
    ret = copy.copy(self)  # make a shallow copy
    ret._qargs = tuple(qargs)
    ret._cargs = tuple(cargs)
    ret._label = str(label)
    return ret

Then you could use this as:
import qiskit as qk
hadamard = qk.QuantumCircuit(1)
hadamard.h(0)
h_gate = hadamard.to_gate()

circ = qk.QuantumCircuit(1)
circ.append(h_gate([0], label='Q'))
circ.append(h_gate([0], label='P'))

# or equivalently without using qargs call
circ = qk.QuantumCircuit(1)
circ.append(h_gate(label='Q'), [0])
circ.append(h_gate(label='P'), [0])

Currently, something like this works:
hadamard = qk.QuantumCircuit(1)
hadamard.h(0)
h_gate_q = hadamard.to_gate()
h_gate_q.label = 'Q'
h_gate_p = hadamard.to_gate()
h_gate_p.label = 'P'

circ = qk.QuantumCircuit(1)
circ.append(h_gate_q, [0])
circ.append(h_gate_p, [0])
circ.draw()

     ┌───┐┌───┐
q_0: ┤ Q ├┤ P ├
     └───┘└───┘

Maybe add a label parameter to to_gate would add the desired convinance? @ajavadia @kdk
That would look like this :
hadamard = qk.QuantumCircuit(1)
hadamard.h(0)

circ = qk.QuantumCircuit(1)
circ.append(hadamard.to_gate(label='Q'), [0])
circ.append(hadamard.to_gate(label='P'), [0])


Allow manual queuing of signed builds without overriding the base version.

Azure DevOps Pipelines appears to treat 'empty string' as 'there is no default' and thus makes filling in VCPKG_BASE_VERSION required when queueing builds.
This change just sets the default to the string 'default' and treats that as a request for the automatically generated date version.

Thanks Billy!


Missing "./rxjs-interop" specifier in "@angular/core" package [plugin vite:dep-pre-bundle]

Please provide the environment you discovered this bug in.
node v18.18.0
npm v9.8.1
{
"name": "analog-project",
"version": "0.0.0",
"private": true,
"engines": {
"node": "^16.14.0 || >=18.10.0"
},
"scripts": {
"dev": "ng serve",
"ng": "ng",
"start": "npm run dev",
"build": "ng build",
"watch": "ng build --watch",
"test": "ng test"
},
"dependencies": {
"@analogjs/content": "^0.2.0",
"@analogjs/router": "^0.2.0",
"@angular/animations": "^15.0.0",
"@angular/common": "^15.0.0",
"@angular/compiler": "^15.0.0",
"@angular/core": "^15.0.0",
"@angular/forms": "^15.0.0",
"@angular/platform-browser": "^15.0.0",
"@angular/platform-browser-dynamic": "^15.0.0",
"@angular/platform-server": "^15.0.0",
"@angular/router": "^15.0.0",
"@nrwl/angular": "^15.0.0",
"front-matter": "^4.0.2",
"marked": "^5.0.2",
"mermaid": "^10.2.4",
"prismjs": "^1.29.0",
"rxjs": "~7.5.6",
"tslib": "^2.4.0",
"zone.js": "~0.11.8"
},
"devDependencies": {
"@analogjs/platform": "0.1.0-beta.23",
"@angular-devkit/build-angular": "^15.0.0",
"@angular/cli": "~15.0.0",
"@angular/compiler-cli": "^15.0.0",
"@nrwl/vite": "^15.0.0",
"nx": "^15.7.0",
"jsdom": "^20.0.0",
"typescript": "~4.8.4",
"vite": "^4.0.3",
"vitest": "^0.25.8",
"tailwindcss": "^3.3.1",
"postcss": "^8.4.21",
"autoprefixer": "^10.4.14"
}
}
Which area/package is the issue in?
create-analog
Description
Steps:

npm create analog@latest
cd analog-project
npm i
npm run start

Please provide the exception or error you saw
npm run start

><EMAIL_ADDRESS>start
> npm run dev

><EMAIL_ADDRESS>dev
> ng serve

The '@analogjs/platform' successfully started.
The server endpoints are accessible under the "/api" path.
  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
✘ [ERROR] Missing "./rxjs-interop" specifier in "@angular/core" package [plugin vite:dep-pre-bundle]

    node_modules/@analogjs/content/fesm2022/analogjs-content.mjs:21:35:
      21 │ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
         ╵                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  This error came from the "onResolve" callback registered here:

    node_modules/vite/node_modules/esbuild/lib/main.js:1292:20:
      1292 │       let promise = setup({
           ╵                     ^

    at setup (file:///Users/dipa/Desktop/analog-project/node_modules/vite/dist/node/chunks/dep-3bba9c7e.js:39961:19)
    at handlePlugins (/Users/dipa/Desktop/analog-project/node_modules/vite/node_modules/esbuild/lib/main.js:1292:21)

Other information
No response
I would be willing to submit a PR to fix this issue

[ ] Yes
[X] No

You should consider using the Angular v16 template for a new project


Release v4.20

This creates a new release based on v4.20. Tag to be done.

I hadn't any issues in the past 2 month, so I'm going to merge this into stable branch.


Reducing tooltips for accessibility, and updating document links

Describe the bug
We have recently discovered that tooltips will cause accessibility issues for screen readers. While we cannot completely remove tooltips altogether immediately, I want to start with the most complicated area which is Response editor.
Version

Browser

[ ] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[ ] Windows
[ ] Ubuntu

Expected behavior

There are roughly three kinds of changes

Get the tooltips out visible as inline texts
Update document links
As a result of removing tooltips, dropdown menus have been changed to pop-up dialogs.

Here's the list of all the updates :
https://www.figma.com/file/q76DseJ7PK0g7zI1gXLzlD/SH_Language-Generation?node-id=607%3A1458
The scope of this change is limited to the Response editor.

@GeoffCoxMSFT @cwhitten Let me know if we can get this in for BUILD!

Related issue https://github.com/microsoft/BotFramework-Composer/issues/7085

@sangwoohaan what is the accessibility issues with the tooltips?


Accelerated implementation of objective function class for approximate quantum compiling

Summary
Accelerated implementation of objective function class for approximate quantum compiling
Details and comments
The objective function itself remains the same as in the current version (Frobenius norm of the difference between the target matrix and approximating circuit). However, the new implementation is significantly faster. It can be optionally selected along with the current version.

Thanks for the contribution. Is this a drop-in replacement or there are some trade-offs? If it's simply faster then I don't think we need to keep the old objective function. Also do you have some numbers about how much faster it is on an example input?

Hi Ali, thank you for your reponse. The default implementation might be interesting because it is easy to understand, if someone would like to see some technical details how the method does work. The accelerated code is harder to comprehend as it uses a lot of caching and transformations. Also, it uses more memory. Otherwise, you are right.
We are working on simplification of the accelerated implemenetation, but it will take quite a time to complete.
As for comparison, we can provide a speed-up vs number of qubits plot.

Ok sounds good. Yes I think we can keep the old one around then for now. I had a look through the PR and it all looks pretty good. Once you put some benchmarking numbers here then I think we can merge.

This is the benchmarking result: accelerated implementation vs default (straightforward) one. The actual speedup may depend on Numpy version, number of CPU cores and hardware generation, whether the code executed with multi-threading enabled or not, and so on. However, the performance of accelerated version is always consistently higher. On the chart you can see the speedup (averaged over various circuit depths) as a function of the number of qubits. We also show the dispersion of speedup measurements (plus/minus standard deviation around the mean).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

420 of 435 (96.55%)  changed or added relevant lines in 8 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.08%) to 84.341%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/transpiler/synthesis/aqc/fast_gradient/layer.py
128
130
98.46%

qiskit/transpiler/synthesis/aqc/fast_gradient/fast_gradient.py
111
115
96.52%

qiskit/transpiler/synthesis/aqc/fast_gradient/pmatrix.py
99
103
96.12%

qiskit/transpiler/synthesis/aqc/fast_gradient/fast_grad_utils.py
74
79
93.67%

Files with Coverage Reduction
New Missed Lines
%

qiskit/pulse/library/waveform.py
3
89.36%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
54584

Relevant Lines:
64718

💛  - Coveralls

Dear reviewers, could have a look at this pull request?


update emoji

Summary by RedRover
Release Notes:
Style:

Updated the chat section's title emoji in src/review.ts from "🤖" to "🐶".

🎉 Celebrate, for our bot has a new face! 🐶
No longer a robot, but a pup in its place.
With a wag of its tail and a bark full of grace,
Our RedRover Bot now wins the race! 🏁

:dog: RedRover
The proposed changes involve a minor update to the user interface, specifically altering the emoji in the title of a chat section with the RedRover Bot. While this change doesn't affect the code logic, it still warrants review to ensure no unintended side effects are introduced.

File
Summary

src/review.ts
The diff updates the chat section's title with the RedRover Bot, replacing the emoji "🤖" with "🐶". This change, although minor, is triaged as NEEDS_REVIEW to prevent any potential issues.

Chat with 🐶🤖 RedRover Bot (@redrover)

Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
Invite the bot into a review comment chain by tagging @redrover in a reply.

Code suggestions

The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Ignoring further reviews

Type @redrover: ignore anywhere in the PR description to ignore further reviews from the bot.

Files ignored due to filter (1)
Ignored files

dist/index.js

In the recent run, only the files that changed from the base of the PR and between 8cfee74b181d90fadc0f2fd53193b71c721c7bb7 and a8edb682bb82d552041eb0a31b966f04f9f88940 commits were reviewed.


[composer] add saving indicator to status panel

Depends on https://github.com/dxos/dxos/issues/7296

saving indicator should show a positive status about save state most of the time
when changes are flushing it should indicate the pending state
this state should be debounced to prevent the icon from flickering between states
consider whether peer sync status should be a part of the same status or a separate status

Example (Obsidian):

Consider adding a close confirmation for "unsaved changes" if in the pending state if it's easy to implement


Testing: support -gpu

See issue #1555 - https://github.com/ansys/pyfluent/issues/1555

gpu=True now works as an argument on windows and linux, fails when using with the version="2d" flag however this is expected behaviour as the gpu solver does not support 2D setups


feat(ffe-radio-button-react): value can be boolean

Changed the prop-types of BaseRadioButton to accept value and
selectedValue as either boolean or string.
This means, for instance, that when using RadioSwitch the consumer
can easier keep state values as booleans. This can help not falling
into the "truthy-trap" when later doing branch logic based on the
value provided to a radio-switch.

Coverage remained the same at 79.437% when pulling 39d452a6575dfa4c113a0997c50b5046b0979991 on ivarni:support-bool-value into bd8b695d5edb9913336d887e8d95431b9189bfa2 on SpareBank1:develop.


Sync after 1 hour - no sync no report

@Fleker
Please can you confirm sync and report works fine after 1 hour passed account linking? (Everything is fine untill token ends)
I didnt change any code for my production and test servers. They dont have ANY LOG in functions (im using smart-washer) Also there is NO LOG in stackdriver. It is very hard to understand  (i spend 2-3 days) without any log so i am asking help.
Linked devices are on the screen and they simply "not responding"
Any one having this problem?

smarthome var key was wrong. dobule check google console oauth screen credentials.
also remove app permission https://myaccount.google.com/permissions


Update Makefile

Fixed #44

@marwaneltoukhy are the CI jobs suppose to still fail?

@marwaneltoukhy are the CI jobs suppose to still fail?

Yes, I'm still fixing the CI, will create another PR.


rel 0.0.4 version bump and changelog update

v0.0.4 - 2023-04-27 - ALIAS support

add support for ALIAS as a CNAME at root
Fixed validation of unsupported provinces
API requests set a user agent with version

/cc @rjocoleman

/cc https://pypi.org/project/octodns-gcore/0.0.4/


Finished implementation

First version of the project consisting of the library and a demo application.

Текущее GUI приложения

It the last commit some things appeared which I'm not so sure about:

Some IllegalStateExceptions because ViewModel's properties are nullable, but there are surcumstances under which they cannot be null, so this cases have IllegalStateExceptions. It would be great to make them lateinit, but I can't, because these properties are delegated to mutableStateOf.
I'm not sure if placing DepthEstimator to ViewModel is ok. On one hand, it is pretty convinient because it has to survive screen rotations, but on the other hand, it is not part of the UI.


Cleanup after PyDX feedback

During the previous tutorial, folks found it hard to navigate
between the steps because the file names did not indicate the
order the steps were in.
Updated mock tests to make use of pytest-mock, which is
the recommended way of mixing mocking and pytest.
Made step 5 and 7 consistent with the rest of the steps.
Added links to solutions, looks like step 7 doesn't have
any solutions for folks to refer to.
Also added a couple pictures to the steps to make them
a bit more fun.

lol "decreased"

@mtomwing

I also made a new copy of the presentation and made some updates.


Fix layout for homeroom page, so that column changes don't change layout

Layout to start:

Let's remove a column - woah the table jumped where it is on the page:

Presumably this is because it's reducing the width and now the table fits.
This is probably not a critical feature (I'd even vote for removing the options here), so just noting it as it came up in other manual testing.

stale, no longer relevant