feat(asset): add AssetManager

This PR introduces the AssetManager to act as an in-memory cache for remote assets, and reduce network congestion when identical assets are repeatedly used across model formats (for example, tileset textures repeatedly used across map chunks in the same map area).

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Refactored the CI

Some issues that I noticed that have been resolved include:

Incorrect Workflow Trigger: The on section is supposed to specify events that trigger the workflow. In the present code there is the pull_request event but no action (e.g., opened, synchronize) and the push event with branches specified.Since we want it to run on every push to the "main" branch, I have defined it as such.
Missing Matrix Variable: In the strategy section, there is the use of the matrix.os variable, but it seems like it was intended to also use the matrix.ocaml-compiler variable in the uses field of the "Use OCaml" step. I have defined this matrix variable within the matrix section.
Improper String Escaping: In the "Use OCaml" step, there is the ocaml-compiler field with a value that seems to be a list. However, we need to specify it as a string. I've done that as well.
In the workflow, there is the use of ${{ steps.multicore_hash.outputs.commit }} in the cache-prefix field. This is attempting to access an output variable named commit from a previous step named multicore_hash. Since the multicore_hash doesn't produce an output named commit, this results in an error.

I've resolved these problems.

Thanks for the work! #97 supersedes this, so am closing this PR.


Make CI faster especially on PR builds

Issue Number

#242
Overview

- Made PR builds operating slightly differently than the "standard build".
  The idea is to only do what we really need to do for PRs and keep the
  more expensive operations on merges or cron jobs.

- Prune a bit some of the `.stack` internals in order to reduce the size
  of the cached directory. This should speed up a bit the cache
  downloads and uploads of each job.

- Remove the 'rust' language to avoid having to setup rust on each job.
  In the end, we only need rust in order to install rust binaries, after
  what, we only need the statically linked binaries.

- Split the compilation step into three jobs stages:
  - rust stuff
  - stackage snapshot
  - haskell project (only source and bench, tests are compiled in their
    corresponding test jobs)

Comments

Plan is to bypass CI here since this is actually updating the whole CI and fixing quite a bunch of issues we have these days.


Fix widhid's HID sending errors and handling of #ondrag

sendHIDReport sometimes errors if it can't send a HID - we now handle this to stop it bailing out the whole event handler chain.
We also now handle the special case of Bangle["#ondrag"] being a function, catching this error with typings
This also updates main.d.ts from the espruino repo (for E.stopEventPropagation())

Thanks - what happens with the handlers is to save a bit of memory, if there's only one handler then it's put in as a function, otherwise if there are more it's an array.
It looks like your code may just ignore it if it's a function? Maybe what you need is just if ("function"==typeof Bangle["#ondrag"]) Bangle["#ondrag"] = [Bangle["#ondrag"]];?
However when you're doing dragHandlers.filter, is there a reason you can't just use .removeListener which does all that automatically?

Makes sense to me - I'd gone with any in my typings and overlooked that case, but sorted now.
The piece of code in question is just reordering the #ondrag array rather than removing the listener - I wanted widhid's onDrag to be handled first (so it can temporarily override the others with E.stopEventPropagation() during its time interval).
Then in the case that Bangle["#ondrag"] is just a function, we know that it must be onDrag, so we don't need to do any reordering.


panic in import quick action feature

Hello!
I'm getting these every now and then, I think they happen when I add a new library to my Cargo.toml
I run rust-analyzer https://github.com/rust-analyzer/rust-analyzer/commit/4f0cb81a2e4364994d23474d7738125d1cb56573 with the VS Code extension built from the same tree.
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates/ra_syntax/src/ast/make.rs:303:16
stack backtrace:
   0: backtrace::backtrace::libunwind::trace
             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
   1: backtrace::backtrace::trace_unsynchronized
             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
   2: std::sys_common::backtrace::_print_fmt
             at src/libstd/sys_common/backtrace.rs:78
   3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
             at src/libstd/sys_common/backtrace.rs:59
   4: core::fmt::write
             at src/libcore/fmt/mod.rs:1069
   5: std::io::Write::write_fmt
             at src/libstd/io/mod.rs:1504
   6: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:62
   7: std::sys_common::backtrace::print
             at src/libstd/sys_common/backtrace.rs:49
   8: std::panicking::default_hook::{{closure}}
             at src/libstd/panicking.rs:198
   9: std::panicking::default_hook
             at src/libstd/panicking.rs:218
  10: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:511
  11: rust_begin_unwind
             at src/libstd/panicking.rs:419
  12: core::panicking::panic_fmt
             at src/libcore/panicking.rs:111
  13: core::panicking::panic
             at src/libcore/panicking.rs:54
  14: ra_syntax::ast::make::ast_from_text
  15: ra_syntax::ast::make::path_unqualified
  16: ra_syntax::ast::edit::<impl ra_syntax::ast::generated::nodes::UseTree>::split_prefix::split_path_prefix
  17: ra_syntax::ast::edit::<impl ra_syntax::ast::generated::nodes::UseTree>::split_prefix
  18: ra_assists::handlers::split_import::split_import
  19: <core::iter::adapters::Map<I,F> as core::iter::traits::iterator::Iterator>::next
  20: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<T,I>>::from_iter
  21: ra_assists::resolved_assists
  22: ra_ide::assists::assists
  23: std::panicking::try
  24: ra_ide::Analysis::assists
  25: rust_analyzer::main_loop::handlers::handle_code_action
  26: <F as threadpool::FnBox>::call_box

Keep up the amazing work!

I've applied this patch to my tree:
diff --git a/crates/ra_syntax/src/ast/make.rs b/crates/ra_syntax/src/ast/make.rs
index 0f4a50be4..03a664fbe 100644
--- a/crates/ra_syntax/src/ast/make.rs
+++ b/crates/ra_syntax/src/ast/make.rs
@@ -300,7 +300,14 @@ pub fn add_newlines(amount_of_newlines: usize, t: impl AstNode) -> ast::SourceFi

 fn ast_from_text<N: AstNode>(text: &str) -> N {
     let parse = SourceFile::parse(text);
-    let node = parse.tree().syntax().descendants().find_map(N::cast).unwrap();
+    let node = match parse.tree().syntax().descendants().find_map(N::cast) {
+        Some(node) => node,
+        x @ None => {
+            eprintln!("{}", text);
+            x.unwrap();
+            unreachable!();
+        }
+    };
     let node = node.syntax().clone();
     let node = unroot(node);
     let node = N::cast(node).unwrap();

We'll see how this goes!

@lnicola I have not been using rust-analyzer lately, so I really do not know.

@lnicola I have not been using rust-analyzer lately, so I really do not know.

Let's close for now, then. I haven't seen any split_prefix panics in the last few months, and the code has changed significantly.

Let's close for now, then. I haven't seen any split_prefix panics in the last few months, and the code has changed significantly.


[Bug] [Azure OpenAI] Typewriter animation effect is gone after switching from GPT-4 to GPT-4O

Bug Description
As title. However, in my local environment the typewriter animation effect is working just fine. But when I deploy the next app to azure static website, the typewriter effect is gone. I think it is related to the new GPT-4O deployment, because everything works fine with the old GPT4 deployment. I checked the request, the EventStream tab is always empty as the screenshot below.

Steps to Reproduce

Open a new chat
Send any message
The response will show up all at once, no typewriter effect.

Expected Behavior
There should be typewriter effect.
Screenshots
No response
Deployment Method

[ ] Docker
[ ] Vercel
[X] Server

Desktop OS
Windows 11
Desktop Browser
Microsoft Edge
Desktop Browser Version
Version 125.0.2535.67 (Official build) (64-bit)
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response

The bug is due to azure static websites, switching to azure app service works great now!


Git tag for v0.0.3

I see that there's a release tagged for v0.0.3rc1, but no tag for release v0.0.3 which is currently that latest release on pypi. Would it be possible to get a git tag for v0.0.3?
Having git tags for releases makes it a lot easier for others to package ffcv, eg in Nixpkgs.

Sure!

Thanks @GuillaumeLeclerc !

Huh for some reason the download is not working for me. Opening https://github.com/libffcv/ffcv/archive/v0.0.3.tar.gz gives me
the given path has multiple possibilities: #<Git::Ref:0x00007f5296528a88>, #<Git::Ref:0x00007f529652f748>

I've never seen this before...

Perhaps the git tag was created with a SHA prefix that is not unique within this repo?

Whoa that would be extremely unlikely. No idea how to fix it :(

https://github.com/libffcv/ffcv/archive/refs/tags/v0.0.3.tar.gz works for me.

Unfortunately I'm working with existing automation that hits the https://github.com/libffcv/ffcv/archive/v0.0.3.tar.gz endpoint whether I like it or not.
I have a workaround for the time being, but it's an interesting failure I'd never seen before.

The weird thing is that if you refresh the page you get a different hash. Maybe worth reporting to github ?

Oh that is very odd! I hadn't noticed that the hashes change!

Looks cool! Thanks for integrating FFCV

(I hope you are not spending too much time on v0.0.3 as I hope to release v1.0.0-rc1 before the end of the week.

ooh, exciting! shouldn't be a problem unless there are significant changes to the dependencies or build system

No just adding new features


Update docs to use cc instead of gcc

Closes #4626.

@bors: r+
Thanks!

:pushpin: Commit 209513d has been approved by alexcrichton

:hourglass: Testing commit 209513d8991e05049c1e78c6cdf14c0865f2dd16 with merge 0d2b5a69ba8f867788dd95259de314d4016320f4...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 0d2b5a69ba8f867788dd95259de314d4016320f4 to master...


Update SECURITY.md

Resolves #391

@Ranchhand87 let me know if this is okay for you too

Please close this PR and use #400


chore(github): migrate travis ci/cd to gh actions - I4

https://github.com/accordproject/technical-steering-committee/issues/4
Migrate TravisCI workflows to GitHub Actions
Changes

Removes travis related code - Including scripts which also need removal from package.json
Change the publish badge, following this information
Ensure lerna.json does not contain allowBranch restrictions
Ensure package.json publish script does not have " | coveralls" at the end
Include tag and timestamp scripts, and install or update dayjs
npm install from lerna install in the install step of the workflow jobs

The reason is because we do something a little tricky in the markdown transform: before calling lerna bootstrap we need to download the latest versions of CiceroMark/TemplateMark cto models

Flags

Git issues, will delete the current accordproject/markdown-transform/tree/irmerk-travis
 --ignore dingus will not be needed in other repo's workflow step build and publish

Related Issues

https://github.com/accordproject/concerto/pull/219

Coverage remained the same at 89.046% when pulling c6c21e79e3e05c23989ad2280ac5eff4317720a9 on irmerk:irmerk-travis into 86f30a5bb0ce2c865205cbc4d269bed3791993e3 on accordproject:master.

Coverage remained the same at 89.046% when pulling c6c21e79e3e05c23989ad2280ac5eff4317720a9 on irmerk:irmerk-travis into 86f30a5bb0ce2c865205cbc4d269bed3791993e3 on accordproject:master.


Scenario for QA setup 2c: HA with SBD, ceph, and kvm compute

This is the scenario file for QA setup 2c: HA with SBD, ceph, and kvm compute nodes.

Install the nodes with these mkcloud options:

hacloud=1
clusterconfig="data=2"
nodenumber=7
want_node_roles=controller=2,compute=2,storage=3
want_node_os=suse-12.1=4,suse-12.0=3
want_node_aliases=controller=2,compute=2,ceph=3

Setup SBD using https://gist.github.com/jsuchome/4a658676db6ea29e924f

Run crowbar batch with updated scenario file:
crowbar_batch --timeout 1200 build qa-scenario-2c-sbd-kvm.yaml

Is this scenario file is a generic one? And should it work with any cloud after the nodes have been installed and aliases have been set up?

It's meant for https://trello.com/c/xB01S8EV/532-3-s31p5-s30p14a-qa-infra-mkcloud-ha-sbd-scenario-with-kvm-ceph-config-2c
So when HA is prepared (SBD mostly) and correct number of nodes, than it should work

+1

Ah, maybe squash the new commit...

+1

+1


Cannot Locate or Extract .65 MSI file

The instructions for extracting the MSI file do not work for Wix4, nor do the other sections for extracting an MSI file.

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

ID: 329db15d-6ba6-3603-e8e2-e48762d25431
Version Independent ID: 56ad7882-244e-d3d6-efe6-ec5d38ffd394
Content: Install PowerToys
Content Source: hub/powertoys/install.md
Product: dev-environment
Technology: powertoys
GitHub Login: @alvinashcraft
Microsoft Alias: aashcraft

Hi @Russ-McClelland. The documentation states that extracting the MSI does not work with Wix4. Wix3 is required, and it's linked in that section. Does it work for you with Wix3?

Thanks for taking the time to let us know about this and we sincerely apologize for the delayed response. It seems like the behavior is documented correctly. If you believe your feedback is still actionable, let us know either directly in this thread or by filing a new Issue and we’ll work to incorporate the suggestions into the documentation. Though the Issue will be marked as Closed, we will monitor any replies that come afterwards so feel free to treat this like an open Issue. Many thanks!


azure-staticwebapp-vite example README typo?

in the readme it is stated:  "The above configuration will forward all the requests to the /api/ssr function, which is defined in the server/handler.js file."
in   azure-staticwebapp-vite there is not server/handler.js file
also when running the example with yarn dev command, any request to http://localhost:3000/ is returning a 404
[swa]
[swa] Found configuration file:
[swa]   /dev/remix-azure-functions/examples/azure-staticwebapp-vite/public/staticwebapp.config.json
[swa]
[swa]
[swa] Serving static content:
[swa]   /dev/remix-azure-functions/examples/azure-staticwebapp-vite/build/client
[swa]
[swa] Using dev server for API:
[swa]   http://<IP_ADDRESS>:3030
[swa]
[swa] Azure Static Web Apps emulator started at http://localhost:3000.  It's referring to server/index.js which is the function main handler.
Running SWA in your local won't work out of the box, requires some handling of the request to serve the right files.
That is something that we are currently working on

let me know if I can help you out on the SWA running locally.

Docs has been updates, closing the issue as the dev environment with vite needs a separe discussion.


[dev]: replace shfmt dependency

As discussed in https://github.com/cdr/code-server/issues/2771#issuecomment-786048013, it seems silly to require Go and one dependency to contribute to code-server.
Alternative Options

make all dev commands run in our dev container so then the only dependency is Docker.
use a prettier plugin like prettier-plugin-sh
something else

The goal of this issue is to replace the use of shfmt in code-server.

Fixed in https://github.com/cdr/code-server/pull/2891.


fix kubemark test install pdcsi driver

cleanup for https://github.com/kubernetes/perf-tests/pull/1940 and installation is successful in test run of that pr.
/assign @mborsz

/cc @wojtek-t

/lgtm
/approve
Based on the test result in the linked PR


Allows project creators to associate imagery with projects

Make project_imagery table
Add imagery multi-select to create-project page
Show only project_imagery on collection page

These objectives are met in #511


Role linting behavior with trailing slash in input argument

You will probably find this some combination of amusing and annoying. In #193 it was discovered that inputting a role directory as an argument to ansible-lint 3.2.5 worked without a trailing slash but did not work with a trailing slash. That behavior now seems to be reversed.
Issue Type

Bug report

Ansible and Ansible Lint details
ansible <IP_ADDRESS>
ansible-lint 3.3.3

ansible installation method: pip
ansible-lint installation method: pip

Desired Behaviour
Ansible-lint lints a role directory whether a trailing slash is in the argument or not.
Actual Behaviour (Bug report only)
Given the following main.yml:
# role with issue

---
- name: ANSIBLE0014
  command: HOME=/foo /bin/echo 'hello world' creates=world

in roles/foo/tasks/main.,yml.
ansible-lint -p roles/foo/
path/to/roles/foo/tasks/main.yml:3: [EANSIBLE0014] Environment variables don't work as part of command

ansible-lint -p roles/foo
(no output)

I think I linked to a PR that should fix this.
The problem seems to be that if a role gets passed as roles/example then the os.path.dirname(playbook[0]) call will return roles, but if you provide roles/examples/ it will return roles/example.
If you adjust the self.playbooks.add((playbook, 'role')) to self.playbooks.add((os.path.join(playbook,''), 'role')) you will get a path with a trailing slash no matter what.

This is currently still an issue... for these 5 scenarios of role paths, some ansible-lint versions have issues:
code$ ansible-lint -p my_role/  3.5.1 no output, 3.4.23 no output
code$ ansible-lint -p my_role   3.5.1 no output
~$ ansible-lint -p code/my_role/
~$ ansible-lint -p code/my_role    3.4.23 no output
my_role$ ansible-lint -p .
PR #366 merged in 3.5.0 fixed some, but issues remain. It always added a trailing slash to the role path. I added PR #390 to fix this - it only adds the trailing slash when multiple dirs are in the role path, and the above scenarios work as expected. Test cases were added for each scenario.


Use large instead of small SpaCy models

Tests indicate that quality of analysis with the "sm" SpaCy models is poor. Should use "lg" models instead.

Closed: using flair instead of SpaCy.


add local time zones to COMIDs

Allow flood map to show local times rather then UTC

resolved by adding local Timezone to comids.rda --> now comids_w_tz.fst


Include commits from PR

Hi,
I understood that only the previous commits / PRs already merged are included, but what about commits that were pushed to a RELEASE branch?
Consider the following scenario (I'm using commit_message type):
A branch B was created with several commits X and then a RELEASE PR for that branch was opened to the default branch A. In that case, all the commits X won't be included since they were not merged
As a result, we have a release with a CHANGELOG.md not having the current release commits

Hi.
I have the same problem. Perhaps we are doing something wrong. Lacks step-by-step instructions.


Search is showing small, unfiltered set of results with no indication of a full search results page

While conducting a search on Lix from the Cmd-K prompt in the new Voyager Web Docs, I was shown results that looked like this

The results claimed only 8 documents were found and it was returning results from non-web documentation.
In actuality there were 91 documents with these results:

So the issues are:

We should be able to limit searches to just the web docs.
The search results dropdown should not indicate there are far fewer results than there actually are
There should be some way to go directly to the full search results

This bug has been resolved and will be released with the upcoming beta release.


Add support for macOS

[x] ci: run tests in macOS
[x] add darwin build to goreleaser config

Tested both the build and release locally with current oasis-core master. Should be good to go after we cut a new release of oasis-core and update the oasis-core dependency.


cmd/go: 'go get' in a module with a higher go version may leave go.(mod|sum) in bad state

What version of Go are you using (go version)?

$ go version
go version go1.16.13 linux/arm64

Does this issue reproduce with the latest release?
The latest go1.16 version, yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="arm64"
GOBIN=""
GOCACHE="/home/myitcv/.cache/go-build"
GOENV="/home/myitcv/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/myitcv/gostuff/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/myitcv/gostuff"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/myitcv/gos"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/myitcv/gos/pkg/tool/linux_arm64"
GOVCS=""
GOVERSION="go1.16.13"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/myitcv/gostuff/src/github.com/myitcv/govim/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build4113847066=/tmp/go-build -gno-record-gcc-switches"

What did you do?
# git checkout
exec git init
exec git remote add origin https://github.com/govim/govim
exec git fetch origin 1da33d23886a18dd8280770dad0d3ae60e872e6a
exec git checkout FETCH_HEAD

# go version check
go version

# get new versions of tools and gopls
go get<EMAIL_ADDRESS><EMAIL_ADDRESS>
# try and tidy
go mod tidy

# go generate again
go generate . ./cmd/govim

The go mod tidy step fails with:
go mod tidy: go.mod file indicates go 1.17, but maximum supported version is 1.16

The go generate step fails with:
go: downloading gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
go: downloading github.com/fsnotify/fsnotify v1.4.7
govim.go:21:2: missing go.sum entry for module providing package github.com/kr/pretty (imported by github.com/govim/govim); to add:
        go get github.com/govim/govim
internal/cmd/genconfig/genconfig.go:15:2: missing go.sum entry for module providing package github.com/rogpeppe/go-internal/semver (imported by github.com/govim/govim/internal/cmd/genconfig); to add:
        go get github.com/govim/govim/internal/cmd/genconfig
govim.go:26: running "go": exit status 1
../../internal/cmd/txtarutil/main.go:39:2: missing go.sum entry for module providing package github.com/rogpeppe/go-internal/txtar (imported by github.com/govim/govim/internal/cmd/txtarutil); to add:
        go get github.com/govim/govim/internal/cmd/txtarutil
cmd/govim/main_test.go:30: running "go": exit status 1

(which is odd because the main module is github.com/govim/govim)
What did you expect to see?
It strikes me that the go get step should probably have failed in the first instance, because it couldn't make the necessary changes to go.(mod|sum) to leave both in a valid state.
What did you see instead?
go.(mod|sum) in a bad state that can't be corrected.

Hmm, interesting. Yeah, it may be that go get itself should fail when the go version is higher than supported, since it doesn't in general know how to maintain invariants for higher versions.
(CC @matloob)

Is this a more specific instance of #50468?
(FWIW, I think I might have hit us too switching back and forth between Go 1.17 and tip).

Duplicate of #50468


Handle cases when input is given without using autocomplete

The current implementation relies on autocomplete to provide coordinates. A user can type something without using autocomplete, but a search in such case would currently result in a 400.
One solution is to fall back to using the given name to search for a city when coordinates are not present. Another is to possibly force the top result in autocomplete to be picked, but this may end up making the wrong choice.

Forcing the autocomplete would be cleaner. The top choice should be good enough since the edge cases are (probably) few and far between.


Add missing branch and revision info when pushing from CLI

From the CLI is possible to push just specifying the git url, or a branch.
In those cases the UI is not able to show the branch or the revision, and a user doesn't know which commit is the source from.

Checked in Epinio Server Version: v1.10.0-rc1
Rechecked all 6 scenarios.
Pasting here the example of scenario 1 working in the latest rc:

Pushing the app from the second commit from not main branch fails to display in UI the correct branch and commit selection. (FAILED)

epinio push --name testatpp-gitlab-cli-1-nomainbranch-from-nofirstcommit --git https://gitlab.com/richard-cox/epinio-sample-app,ee069123


Allow only numeric values for numeric sliders input areas

Guys, is there any way to prevent non-numeric text in the slider's input areas?
It is supposed to be a place only for numbers, so maybe it makes sense to make such an improvement.
I keep running into this issue using hotkeys every time I forget to take the focus off a parameter field 😅
https://github.com/cocopon/tweakpane/assets/52974033/35a6b031-ea45-4014-84c2-cafec182c988

It can be achieved by handling an input value directly, but not recommended for a usability perspective.
const pane = new Tweakpane.Pane();
const params = {foo: 0};

const i = pane.addInput(params, 'foo', {min: 0, max: 1});
// Get an input element for the binding
const inputElem = i.controller_.valueController.view.element.querySelector('input');

// NOT RECOMMENDED from a usability perspective
inputElem.addEventListener('keyup', (ev) => {
  // Erase non-numeric chars
  inputElem.value = inputElem.value.replaceAll(/[^0-9\.e\+-]/g, '');
});

Thanks, Hiroki! ❤
Well, it might be an option, for individual cases.


Issue 654: Add Kitura.start() and Kitura.stop() and use in KituraTest

Description

Motivation and Context

How Has This Been Tested?

Checklist:

[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

This addresses Issue #654 (linking to issue for reference)


Just a moment... title?

Hi again,
First day on Linkding after I run it from a docker. I added 4 or 5 bookmarks from extensions in Chrome and Firefox. All links are added successfully except one link with the title 'Just a moment...' . It sent me the bookmarked page correctly but the title seemed not to be fetched. Is this a bug I should raise?
I tried in chrome and the page I bookmarked is: Just a moment... https://linuxhandbook.com/nginx-reverse-proxy-docker/
I deleted and re-bookmark again and it still shows this placeholder title. I waited around 10-15 minutes to see there are some background work will fix it. Any reason it could not get the title? Thanks again.

See https://github.com/sissbruecker/linkding/issues/118, closing as duplicate


Set Date problem

Hi.
I have faced the following issue - when I click SET in the datepicker  - I don't see that it changes the input.
The input field is left blank.
This issue seems to appear also on the example files that you have provided. Nothing happens with the input field after you selected the date and pressed SET button.
Pls advise on this matter.

Hello @vstrelianyi,
Thank you for reporting issue. Please download and try latest version.

Thx for prompt fixing the issue.
Great plugin!


KAFKA-14659 source-record-write-[rate|total] metrics include filtered records

This PR aligns the description for source-record-write-rate and source-record-write-total metrics, and excludes the filtered records from the metrics being published.
Today, the source-record-poll-[rate|total] and source-record-write-[rate|total] are publishing similar values (except for cases where exceptions are thrown and retries are needed, which might throw off the rate a little bit). This means that it is not possible to find an accurate number of records written to Kafka by source connectors that use filter predicates.
Note: the @Test for this PR (void testMetricsGroup()) was written on top of https://github.com/apache/kafka/pull/13191, so a rebase will be required after the preceding PR is merged.
Finally, I think it makes sense to publish a new metric with the number of filtered records, so I'll file a new KIP for it.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thank you for spotting this behaviour and contributing a fix! The proposed solution makes sense to me, I will just add @C0urante to put the appropriate tags for "connect" to this pull request and review it once it has been rebased.

Thanks @clolov,
Now that https://github.com/apache/kafka/pull/13191 has been merged, this PR has been rebased and is ready for review.
CC @C0urante


Convert some GRPC_CLOSURE_SCHED to GRPC_CLOSURE_RUN

As part of all the Closure API changes, I am going to start converting GRPC_CLOSURE_SCHED to GRPC_CLOSURE_RUN.

Looks like this needs more fixing. I'll recreate this PR when I'm done


fix(ChatbotHeaderOptionsDropdown): Prevent overflow on kebab menu

On RTL mode in full screen mode, the kebab was getting cut off. This should prevent that.
Fixes https://github.com/patternfly/virtual-assistant/issues/109

Preview: https://virtual-assistant-pr-virtual-assistant-113.surge.sh


As a user, I want to edit the information of my contacts if they change their contact details

... so that the information is up to date.

Closed issue as feature has been implemented.


Animation flickering

I'm using Chromium 28 and I'm trying to use this within an AngularJS app (RC 1.2). It seems to flicker once on every cycle though - it isn't a smooth animation.
Has anybody else experienced this? I don't know if this is the latest version of Chromium issue, or if it's something that is potentially conflicting with Angular.

If anybody can provide a standalone example I will take a look at it.


Using GDNative, NativeScript::_update_placeholder: generates unhelpful error message about !script_data

Godot version:
3.2+
Issue description:
When using GDNative, placeholder scripts are used when the editor loses focus, and this error appears:
ERROR: _update_placeholder: Condition "!script_data" is true.
   At: modules/gdnative/nativescript/nativescript.cpp:92

I think it occurs when a library is unloaded. The failing condition doesn't seem to harm the execution of the app, and the error gives no clue as to how to resolve the error.
Questions about this error message come up repeatedly on Discord's gdnative-dev.  Can we comment out this error check, come up with better messaging, and or document it in the GDNative docs?
The more gdnative libraries you have in your project the more of these errors are spammed, cluttering up the console output.
https://github.com/godotengine/godot/blob/master/modules/gdnative/nativescript/nativescript.cpp#L91-L106
Looking at the engine code, I'm not sure what this is supposed to do.  script_data is not accessed in the function, and the error is not fatal.
Steps to reproduce:
Use gdnative, unfocus the editor, refocus the editor.

Should the two lines https://github.com/godotengine/godot/blob/6c173e2f7ffdb972ec3754b3d78fe51bfbfb4f22/modules/gdnative/nativescript/nativescript.cpp#L92-L94 really even be there?

They don't seem to do anything.  I just commented them out in my engine build.  And everything seems to be working fine.

Did some debugging and narrowed the issue.  It's caused by using multiple libraries / dlls and unfocusing and refocusing the editor.  https://github.com/godotengine/godot/blob/master/modules/gdnative/nativescript/nativescript.cpp#L1895-L1920
In this loop, the GDNative library is reloading and loops through NSL->library_script_users to update placeholders, but if another library was unloaded and its script is looped over the error is triggered.
I think the fix is to add a check inside of the library_script_users loop: if (L.key() != U.key()) continue;

Would be great if this could also be backported to 3.2. This message is so annoying that I am currently using a custom build with #43312 merged in.

This is already resolved in 4.0, no?

Probably yes, since NativeScript is replaced by GDExtension in 4.0.
AFAICT it's not fixed in 3.x yet though, as the PR aiming to solve it was targeting the master branch and wasn't remade for 3.x: #46514.

Fixed by #66255.


Req params bundle api

Changes:

Added code to raise error for all the four required parameters -  name format sourcePatterns exportPattern

Please let me know if we need tests for these. I wasn't able to find tests for error flow paths, so didn't add them

@sabarish98 some checks have failed, please take a look

@andrii-bodnar : Pushed the fix for the case which was failing. The checks should be passing now I hope

@sabarish98 thanks a lot for your contribution!


double-beep: Watch rohanicentre.com

double-beep requests the watch of the watch_keyword rohanicentre\.com. See the MS search here and the Stack Exchange search here.

rohanicentre\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


fix: adjust canChildScroll based on scrollEnabled

Summary

Currently when disabling scroll using the scrollEnabled prop, the pager still consumes user inputs on Android. This adjusts NestedScrollableHost such that that it no longer consumes touch events when isUserInputEnabled is disabled on the child pager by the scrollEnabled prop.
Test Plan

What's required for testing (prerequisites)?
A set up with two nested pagers aligned in the same direction on an Android device.
On iOS, expected behavior works correctly.
What are the steps to reproduce (after prerequisites)?
Attempt to scroll a multi-page pager via touch when it's nested inside of another pager on the same axis in a direction where there's an available page. Previously, this would prevent both pagers from scrolling when the parent pager has scrollEnabled=true and the child pager has scrollEnabled=false. Now, it disables event handling on the child pager allowing the parent pager to scroll.
Compatibility

OS
Implemented

iOS
N/A

Android
✅

Checklist

[x] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I updated the typed files (TS and Flow)

Hey @lanpai
Thank you for submitting a PR. Could you provide a simple code snippet, which I will be able to reproduce it?

I've experienced the same problem and workarounded by the exact same change using patch-package. This should definitely be merged to match behavior between iOS and Android.


Add support for custom sensors

🎉 New feature
Part of https://github.com/ignitionrobotics/ign-sensors/issues/9
Summary

Creating custom sensors that aren't officially part of the spec shouldn't be disallowed. This PR provides a simple way for users to tell SDF that they're loading a custom sensor, so it's not an error if SDF doesn't recognize the sensor type. Note that this is different from a sensor with NONE type, which is an error.
Users are encouraged to use Custom SDF Elements to pass configuration to their custom sensors, like the ignition:custom_sensor element below:
        <sensor name="custom_sensor" type="custom">
          <always_on>1</always_on>
          <update_rate>30</update_rate>
          <visualize>true</visualize>
          <topic>custom</topic>
          <ignition:custom_sensor>
            <noise type="gaussian">
              <mean>0.2</mean>
              <stddev>0.1</stddev>
            </noise>
          </ignition:custom_sensor>
        </sensor>

This is an initial proposal, I'm open to other ideas for supporting custom sensors.
Test it

I'm making use of this on these WIP PRs, you can try them out:

https://github.com/ignitionrobotics/ign-sensors/pull/90
https://github.com/ignitionrobotics/ign-gazebo/pull/617

Checklist

[x] Signed all commits for DCO
[x] Added tests
[x] Added example and/or tutorial (downstream)
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

Codecov Report

Merging #652 (4911778) into main (6251baa) will decrease coverage by 0.00%.
The diff coverage is 50.00%.

:exclamation: Current head 4911778 differs from pull request most recent head 0ca3ca6. Consider uploading reports for the commit 0ca3ca6 to get more accurate results

@@            Coverage Diff             @@
##             main     #652      +/-   ##
==========================================
- Coverage   87.89%   87.88%   -0.01%
==========================================
  Files          72       72
  Lines       10837    10839       +2
==========================================
+ Hits         9525     9526       +1
- Misses       1312     1313       +1

Impacted Files
Coverage Δ

src/Sensor.cc
79.91% <50.00%> (-0.27%)
:arrow_down:

Continue to review full report at Codecov.

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


Fixes background color can be an array as well for pie chart.

Fixes https://github.com/chartjs/Chart.js/issues/6440.

@benmccann The combined pull request is here: https://github.com/chartjs/Chart.js/pull/6450.


Update gcf.md (WIP)

This is a MAJOR work in progress. Logging here to track progress. Not ready for merge
Context
I'm emulating the format of the Supabase Edge Functions hosting docs to write one for hosting grammY + Conversations plugin on Cloud Functions for Firebase. The reason I have chosen Cloud Functions for Firebase over raw Cloud Functions is for its seamless integration with Firestore, a convenient and necessary part of self-hosting your Conversations/Sessions. Firebase lowers the entry barrier for GCP's most popular services, opening the door for those wishing to mature their bots into grander projects.
Todo

[ ] Deployment: add secret through CLI
[ ] Deployment: deploy function through CLI
[ ] Deployment: locate function URL and setWebhook via browser, akin to Supabase guide
[ ] Deployment: verify webhook URL with getWebhookInfo via browser
[ ] Setup: npm install @grammyjs/conversations
[ ] Code: Import and configure conversation plugin
[ ] Code: Type MyContext appropriately for conversations
[ ] Code: Comment lines which
[ ] Lint: 1 sentence per line!
[ ] Lint: Fix regrettable code formatting...
[ ] Test: Dogfood guide from clean slate

Questions

While my motivation to write a guide originated from an issue about conversations and sessions, setting up Firebase to accommodate for these plugins i.e. installing and configuring Firestore will make this guide significantly longer the Supabase one. My eagerness to be comprehensive must not intrude on grammY's documentation principles, of which I assume brevity is one. Any advice?
This is my first time writing documentation; please feedback anything from glaring errors to tiny nitpicks. I'll be sure to heed your suggestions.

I think it would be good to keep this separate from any particular plugin. Hosting stuff on firebase should work with or without conversations.
I understand that you need to set ignoreUndefinedProperties: true if you use conversations. However, this is also true if people want to delete a property from their session data by setting it to undefined. If anything, you could add a small note to this part and point out that we recommend anyone to set this option, but that it is required if you use the conversations plugin.

My eagerness to be comprehensive must not intrude on grammY's documentation principles, of which I assume brevity is one. Any advice?

Brevity isn't exactly a principle of the docs. Of course it does not make much sense to write long walls of text about tiny edge cases, but an in-depth explanation is almost always better than a high-level overview that leaves open questions.
An approach that worked well in the past is to write a detailed guide to get people started, and then provide links to other documentation pieces if people want to dive deeper. As an example, it would not make much sense here to debate the pros and cons of Firebase, let alone the inner working of that service. However, it is worth linking to our hosting comparison as well as to the Firebase docs in case someone wants to know.

Noted, thanks for the guidance. Will revert on Wednesday.

Are you planning on describing hosting the code only? I'm not really sure if we should mix this up with storing data on Firebase, so ideally, this shouldn't talk about sessions. What do you think?

Aye aye Captain, just hosting. I'll make it clean and succinct, using the Supabase guide and your above suggestions as guidance. Shan't overcomplicate it!
Edited top post to reflect new goal.

Amazing!
If you want to share your knowledge about Firebase, you could ask @Satont if a Firebase storage adapter would be welcome. Its README file would then document how to connect to Firebase for data storage.

@sartoshi-foot-dao are you still working on this? :)

Closing due to inactivity.


Azure Provisioning fails on secondary tenant

When trying to start a project with an Azure SignalR resource defined, provisioning fails. I'm able to use the Connected Services-> Azure Resource Provisioning settings to set Subscription Name, Location and Resource group, and all three are correctly defined in my user secrets after.
When starting projects, resource provisioning fails with:
Error provisioning signalr.
Azure.RequestFailedException: The client<EMAIL_ADDRESS>with object id 'REDACTED' does not have authorization to perform action 'Microsoft.Resources/subscriptions/read' over scope '/subscriptions/REDACTED' or the scope is invalid. If access was recently granted, please refresh your credentials.
Status: 403 (Forbidden)
ErrorCode: AuthorizationFailed

Content:
{"error":{"code":"AuthorizationFailed","message":"The client<EMAIL_ADDRESS>with object id 'REDACTED' does not have authorization to perform action 'Microsoft.Resources/subscriptions/read' over scope '/subscriptions/REDACTED' or the scope is invalid. If access was recently granted, please refresh your credentials."}}

Headers:
Cache-Control: no-cache
Pragma: no-cache
x-ms-failure-cause: REDACTED
x-ms-request-id: 78621442-aabe-4b16-9184-abe111313da2
x-ms-correlation-request-id: REDACTED
x-ms-routing-request-id: REDACTED
Strict-Transport-Security: REDACTED
X-Content-Type-Options: REDACTED
Date: Tue, 09 Apr 2024 23:07:50 GMT
Connection: close
Content-Type: application/json; charset=utf-8
Expires: -1
Content-Length: 384

   at Azure.ResourceManager.Resources.SubscriptionsRestOperations.GetAsync(String subscriptionId, CancellationToken cancellationToken)
   at Azure.ResourceManager.Resources.SubscriptionResource.GetAsync(CancellationToken cancellationToken)
   at Azure.ResourceManager.ArmClient.GetDefaultSubscriptionAsync(CancellationToken cancellationToken)
   at Aspire.Hosting.Azure.AzureProvisioner.GetProvisioningContextAsync(Lazy`1 userSecretsLazy, CancellationToken cancellationToken) in /_/src/Aspire.Hosting.Azure/Provisioning/Provisioners/AzureProvisioner.cs:line 337
   at Aspire.Hosting.Azure.AzureProvisioner.ProcessResourceAsync(IConfiguration configuration, Lazy`1 provisioningContextLazy, IAzureResource resource, CancellationToken cancellationToken) in /_/src/Aspire.Hosting.Azure/Provisioning/Provisioners/AzureProvisioner.cs:line 265

This subscription is in a tenant where my Entra ID is a Member guest account.
az cli, azd, portal, all other ways to access it works, and I do in fact have the neccessary permissions. The Azure Resource provisioning setup mentioned above is also able to create a new resource group on the subscription.
I've tried setting an Azure:Tenant secret to both tenant id and tenant fqdn as well, to no avail.
When deploying to my primary tenant, everything works.

@pedershk Can you share the VS version you have? And in VS do you have multiple identities logged in?

@pedershk Can you share the VS version you have? And in VS do you have multiple identities logged in?

17.10.0 Preview 3.
Only one Entra Identity - Microsoft.com AAD account, as well as my GitHub account:

The account is a member of four tenants in total, the default tenant and three additional tenants.

Thank you for this @pedershk -- @anvillan could we be using the wrong auth token?
@pedershk when you use azd account show is it showing the right tenant as the default, etc.?

Thank you for this @pedershk -- @anvillan could we be using the wrong auth token?
@pedershk when you use azd account show is it showing the right tenant as the default, etc.?

I assume you mean azd config show since there is no azd account show(at least in azd 1.8.0). The output doesn't show a tenant at all:
{
  "alpha": {
    "infraSynth": "on",
    "resourceGroupDeployments": "on"
  },
  "defaults": {
    "location": "norwayeast",
    "subscription": "REDACTED"
  }
}

Sorry yeah I meant az account show
And also in VS, is this matching your 'default tenant':

az account show shows the guest tenant that I'm trying to deploy to as my homeTenantId, and my default tenant under "managedByTenants". The subscription I'm trying to deploy to is the selected subscription.
Yes, the Default Tenant is correct (the MS home tenant).

@pedershk Wondering if you can try something for us.  In the AppHost appsettings.json (or in user secrets), change the credential source:
"Azure": {
  "CredentialSource": "VisualStudio"
}

Note: Other options: AzureCli, AzurePowerShell, VisualStudioCode, AzureDeveloperCli, InteractiveBrowser

@pedershk Wondering if you can try something for us. In the AppHost appsettings.json (or in user secrets), change the credential source:
"Azure": {
  "CredentialSource": "VisualStudio"
}

Note: Other options: AzureCli, AzurePowerShell, VisualStudioCode, AzureDeveloperCli, InteractiveBrowser

Thank you! Setting it to AzureCli worked for me. The az cli has the tenant/subscription I'm using here currently set as its defaults. But its still strange - as the Visual Studio UI seems to be able to interact with the tenant/subscription combo in question just fine. Setting the credential source to VisualStudio, however, does not work.

When you run with the az cli credentials, it's likely that your runtime code also needs to change to do the same thing (the aspire component needs to set the right TokenCredential).
cc @tg-msft


Allow many ':' in attributes

To do this, try_namespace_name now looks for nested namespaces. Because try_name'gets called, another Ident must be consumed to prevent and early return, which means that :: would not be valid, but a:b-c:d would be fine.
This allows for more custom attributes from different frameworks, specifically htmx's hx-on as mentioned in  https://github.com/lambda-fairy/maud/issues/194#issuecomment-1734354727.
This is my first PR, I'll gladly take critique and make any changes necessary

Could you add support for alpine.js as well for '.':
x-on:scroll.window="showBar = (window.pageYOffset > 20) ? true : false"

Could you add support for alpine.js as well for '.':
x-on:scroll.window="showBar = (window.pageYOffset > 20) ? true : false"

I don't think this is easily done while keeping the class shorthand. Since the macro doesn't see whitespace foo.bar is the same as foo .bar which would be a valid attribute and then a class name via the shorthand.
The only way to do this would to somehow replace or escape the period . in the attribute name or add an escape character that would have to be a recognized Rust token. \ cannot be used as it isn't part of Rust syntax. Something like *. or ^. could work but isn't very elegant.
I don't want to make a change like class shorthand can only appear immediately after the element since that would be a breaking change.

Any idea how difficult it would be to add quoted attribute supported as mentioned here

Though about it and just tried it. I seem to have it working and will be making a new PR for that change, since it is not related to the changes in this PR.

#396 Now fixes the same issue by allowing "literals"="true"

Would like to see this feature too 👍


Boss Plugin Support

Description of new idea or improvement on existing one
Add support for Boss
Detailed information what should do what and when
function the same as support for Mythicmobs does

https://github.com/Zrips/Jobs/commit/02178fc7195330df6c6f3360dfcf3afb0fc6a12e


How to properly open the Javascript file picker?

I am following this guide: https://docs.microsoft.com/en-us/onedrive/developer/controls/file-pickers/js-v72/open-file
What I need to get after clicking "Open" in the filepicker, is the file UID and the file name. That's it.
This is what I'm trying:

  function launchOneDrivePicker(){
    var odOptions = {
      clientId: c_onedrive_client_id,
      action: "query",
      multiSelect: false,
      advanced: {
        redirectUri: c_onedrive_redirect_uri,
        endpointHint: c_onedrive_endpoint_hint,
        navigation: {
          disable: true
        }
      },
      success: onedriveSuccess,
      cancel: onedriveCancel,
      error: onedriveError
    };
    OneDrive.open(odOptions);
  }

When the launchOneDrivePicker() is called, the filepicker popup comes up, I am requested to login with my microsoft credentials, there is no request back to the redirectUri, no oauth token, etc.
After I select a file and click "Open" in the file picker, the onedriveSuccess function is called with a files argument, and only the file UID.
So, this works fine, however, I also need the file name, so I try this:

  function launchOneDrivePicker(){
    var odOptions = {
      clientId: c_onedrive_client_id,
      action: "query",
      multiSelect: false,
      advanced: {
        queryParameters: "select=id,name",
        redirectUri: c_onedrive_redirect_uri,
        endpointHint: c_onedrive_endpoint_hint,
        navigation: {
          disable: true
        }
      },
      success: onedriveSuccess,
      cancel: onedriveCancel,
      error: onedriveError
    };
    OneDrive.open(odOptions);
  }

Once I add the queryParameters, calling launchOneDrivePicker() will now start an oauth negotiation by issuing a request to redirectUri. After authorizing and getting an access token, I have this:
  function launchOneDrivePicker(){
    var odOptions = {
      clientId: c_onedrive_client_id,
      action: "query",
      multiSelect: false,
      advanced: {
        queryParameters: "select=id,name",
        accessToken: "ACCESS-TOKEN-HERE",
        redirectUri: c_onedrive_redirect_uri,
        endpointHint: c_onedrive_endpoint_hint,
        navigation: {
          disable: true
        }
      },
      success: onedriveSuccess,
      cancel: onedriveCancel,
      error: onedriveError
    };
    OneDrive.open(odOptions);
  }

And when calling launchOneDrivePicker() opens the file picker just fine. However, after selecting a file, and clicking "Open", the onedriveSuccess function gets called, but the first argument says "HTTP error status: 401"
Also, in the browser dev tools console, I'm seeing:
[OneDriveSDK] calling xhr failure callback, status: 401
[OneDriveSDK] Received ajax error.

I also tried adding scopes, so the full code would look like this:
  function launchOneDrivePicker(){
    var odOptions = {
      clientId: c_onedrive_client_id,
      action: "query",
      multiSelect: false,
      scopes: "user.read files.read files.read.all sites.read.all",
      advanced: {
        queryParameters: "select=id,name",
        accessToken: "ACCESS-TOKEN-HERE",
        redirectUri: c_onedrive_redirect_uri,
        endpointHint: c_onedrive_endpoint_hint,
        navigation: {
          disable: true
        }
      },
      success: onedriveSuccess,
      cancel: onedriveCancel,
      error: onedriveError
    };
    OneDrive.open(odOptions);
  }

however this doesn't seem to make any difference...
Am I doing something wrong here? Any help would be appreciated

I'm getting the same thing. I also want to return the filename so that I don't have to make an additional request to the graph API. But as soon as I add queryParameters, everything breaks.
Here is my code:
window.OneDrive.open({
  clientId,
  action: 'query',
  advanced: {
    queryParameters: 'select=id,name,size,file,folder,photo',
    accessToken: user.access_token,
    endpointHint: `${drive.webUrl}/App Folder`,
    navigation: {
      disable: true,
    },
  },
  success: resolve,
  cancel: () => reject('cancelled'),
  error: reject,
})

Also worth noting that I'm targeting Sharepoint sites here. I ensure that the App Folder is already created at the root of the drive/document library in question. Using endpointHint allows the me to open the picker in that folder directly. But it only returns the file id, and I need the name as well. It seems like it using the endpointHint as the base url to make a separate request from my user agent, which is what I'm actually trying to avoid.

I know this is a bit of an old issue. After tinkering for some time. As @brownbl1 mentioned queryParameters with custom properties seems to break things. If you were to remove queryParameters the only properties returned are 'endpoint','id','parentReference' & 'sharepoint'. So the issue lies in the other properties 'name','size','file','folder','photo'. Even thought the docs suggest otherwise. I too am in favour of avoiding a seperate request.
If you were to use the 'download' action instead more properties are returned. Although I am not sure that is what download is intended for?

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Update authority location query and  handle unknown authority location

Summary of changes

Fetch the authority location from the account entity
Added a fallback anonymous label for the unset location

Reference issue to close (if applicable)

Closes

Code Checklist

[ ] Tested
[ ] Documented

I get a crash on selecting auth details

Couple small things @AhmedKorim. It doesn't seem the links are enabled, even tho the twitter, and website of the authority is set. The other it seems there is a green dot above the flag icon.
Links disabled:

Green dot:

Crashes on Authorities detail drawer.


[Bug] Runtime Error  'Lexer' object has no attribute '_SQL_REGEX'

Is this a new bug in dbt-redshift?

[X] I believe this is a new bug in dbt-redshift
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
dbt Cloud users experiencing an intermittent runtime error in random job runs which stems from the sqlparse library that dbt uses(link). But this appears to only be affecting Redshift connected projects. Issue was also reported on Discourse here.
Some notes from the internal correspondence with Core team:

sqlparse is a library that we use to combine the SQL from ephemeral models with the non-ephemeral model SQL.  It looks like this error would be an even more edge-casey failure than the one that we addressed in the referenced ticket.
This is likely a variation on the original issue, which is that the sqlparse lexer isn't initialized when we use it to parse the SQL. They set the "default_instance" before it's initialized so another thread checking if the default instance is set in that tiny tiny window will see that it is, but it hasn't been initialized.  In order to fix this we'd probably need to write an internal version of their initialization code and pin the code. Or vendor it.
Looks like dbt-redshift directly uses sqlparse but just for splitting.  It's the only adapter that does it though and it looks like it went in as of 1.5 so lines up. It also (on main) no longer does probably with dbt-adapter being pulled out (link).

Expected Behavior
Job runs not failing with the aforementioned error.
Steps To Reproduce
There's no specific step to reproduce this as it happens on random intervals and so far the only consistent thing found in the behaviour has been the dbt-redshift adapter. Error has occurred on dbt version 1.5, 1.6 and 1.7.
Relevant log output
an error:
Runtime Error
  'Lexer' object has no attribute '_SQL_REGEX'

Environment
- OS:
- Python:
- core: Running with dbt=1.6.9
-  adapter: redshift=1.6.7

Additional Context
No response

Re-opening until this is deployed.

Hiya @mikealfare , user just got back to us saying this has occurred again today and asked if this was backported to 1.6 (which I can see in the PR that it was). Should this still be occurring?

Hiya @mikealfare , user just got back to us saying this has occurred again today and asked if this was backported to 1.6 (which I can see in the PR that it was). Should this still be occurring?

If it's still occurring in the latest version, than this is a different issue than what we saw in dbt-core. Can you confirm that the user is using dbt-redshift==1.6.7?

Hi @mikealfare confirming that they are running with the following:
02:06:34  Running with dbt=1.6.9
02:06:34  Registered adapter: redshift=1.6.7

It's the same error:
02:06:39  Encountered an error:
Runtime Error
  'Lexer' object has no attribute '_SQL_REGEX'

Thanks for confirming. We'll need to look into this more then as it appears to be an unknown issue.

@martynydbt thanks for getting back to me. So basically re-running the jobs usually does the trick but it is causing an issue intermittently and disrupting their flow. It has been impacting a few of our customers for quite some time now.

Hi @martynydbt hope you're well. Just checking in to see if we know anything further about this? Was there any info needed from this side at all?

Hi all, just wondering if any updates on this? :/

We also see this sometimes. Here's the run from today morning run in Jenkins:
[2024-03-15T07:04:03.810Z] + docker run --rm -u 1000 -v /tmp/workspace/_lake-etls-dbt-fast_cycle_master:/etl -w /etl -v /tmp/tmp.Si51YcFO73:/profiles -e DBT_PROFILES_DIR=/profiles -e DBT_TARGET_PATH -e DBT_LOG_PATH -e USER -e AWS_DEFAULT_REGION -e AWS_METADATA_SERVICE_NUM_ATTEMPTS xxxxx.dkr.ecr.eu-west-1.amazonaws.com/ds/dbt:1.7.8 source freshness --target prd --select +tag:fast_cycle
[2024-03-15T07:04:06.447Z] 07:04:06  Running with dbt=1.7.8
[2024-03-15T07:04:06.721Z] 07:04:06  Registered adapter: redshift=1.7.3
[2024-03-15T07:04:06.721Z] 07:04:06  Unable to do partial parsing because saved manifest not found. Starting full parse.
[2024-03-15T07:04:11.035Z] 07:04:10  Found 64 models, 11 seeds, 111 tests, 22 sources, 0 exposures, 0 metrics, 836 macros, 0 groups, 0 semantic models
[2024-03-15T07:04:11.035Z] 07:04:10
[2024-03-15T07:04:14.441Z] 07:04:13  Encountered an error:
[2024-03-15T07:04:14.441Z] Runtime Error
[2024-03-15T07:04:14.441Z]   'Lexer' object has no attribute '_SQL_REGEX'
script returned exit code 2

Hello.
I just faced this issue.
[2024-04-12, 14:41:12 CDT] {{subprocess.py:93}} INFO - 19:41:10.666850 [error] [MainThread]: Encountered an error:
[2024-04-12, 14:41:12 CDT] {{subprocess.py:93}} INFO - Runtime Error
[2024-04-12, 14:41:12 CDT] {{subprocess.py:93}} INFO -   'Lexer' object has no attribute '_SQL_REGEX'

Version info:
[2024-04-12, 14:44:07 CDT] {{subprocess.py:93}} INFO - 19:44:07  Running with dbt=1.7.11
[2024-04-12, 14:44:08 CDT] {{subprocess.py:93}} INFO - 19:44:08  Registered adapter: redshift=1.7.4
[2024-04-12, 14:44:08 CDT] {{subprocess.py:93}} INFO - 19:44:08  Unable to do partial parsing because saved manifest not found. Starting full parse.
...

I reran the same process again, it works fine after that. Seems to be an intermittent issue.

This is either done or no longer an issue.


Skipping over SQL statements

INSERT, UPDATE, DELETE and PROCESS SQL statements are skipper over.

I added dbmsTests and some resource files to test. But I don't understand why they are flagged as Untracked by Git?


setup Dependabot

Let's setup Dependabot dependency analisys.

Dependabot has been acquired by GitHub and is now free of charge
https://dependabot.com/
Keep all your packages up to date with Dependabot
https://github.blog/2020-06-01-keep-all-your-packages-up-to-date-with-dependabot/
Keeping your dependencies updated automatically
https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/keeping-your-dependencies-updated-automatically

dependabot.yml added.
929417dfda0d6170afe9a3d31f3a74b554482173
Let's wait 24 hours.
"Bumps checkstyle from 8.36.2 to 8.37" message will come.

Dependabot Preview
https://github.com/marketplace/dependabot-preview
is removed from personal Applications settings.

Dependabot is moving natively into GitHub!

PR #8  from dependabot confirmed by us.
"Bump checkstyle from 8.36.2 to 8.37"


Xvfb Inifinite Loop

I recently ran into an issue where someone had permission issues with Xvfb and it couldn't start up. It seems this line caused an infinite loop in that case, but it was hard to tell what the issue was at first:  https://github.com/modelmat/sphinxcontrib-drawio/blob/1f6d77cf63e6bbe2be7f6d7661f91163fb8e6d62/sphinxcontrib/drawio/init.py#L298-L299
I'm not quite sure the best approach, but do you think it would be a good idea to add a counter in the loop and output a "Xvfb is having difficulty starting" log message if it goes over a generous amount? I also don't know if it's possible (or a good idea) to kill the Sphinx process at the same time.

Does Xvfb stay running when there is a permission error? The lines above it should be failing it if it fails to start up.

I'm not sure the best way to tell if Xvfb is running or not (so maybe it was running, but there was a different issue due to permissions). This was the error when just running Xvfb in the CLI:
_XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777
_XSERVTransmkdir: this may cause subsequent errors
_XSERVTransSocketCreateListener: failed to bind listener
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for unix

Setting the permissions of /tmp/.X11-unix to 1777 ended up fixing the issue once I found that out.


Update SforceMetadataClient.php

Added 'Deploy zip file' option

In case anyone is still using this package, I've merged this PR into https://github.com/messageagency/Forcecom-Toolkit-for-PHP


Incorrect type output for the type (keyof T)[]

TypeScript Version:  2.4.0
Code
type KeyArray<T> = (keyof T)[];

Expected behavior:
TS Language Server should show the the type of KeyArray to be (keyof T)[]
Actual behavior:
TS Language Server shows the the type of KeyArray to be keyof T[] (which is equivalent to keyof (T[]) as the brackets bind more tightly than keyof).
Here's the TS Language server response:
{
    "seq": 0,
    "type": "response",
    "command": "quickinfo",
    "request_seq": 326,
    "success": true,
    "body": {
        "kind": "type",
        "kindModifiers": "",
        "start": {
            "line": 1,
            "offset": 6
        },
        "end": {
            "line": 1,
            "offset": 14
        },
        "displayString": "type KeyArray<T> = keyof T[]",
        "documentation": "",
        "tags": []
    }
}

This is duplicate of #15886, was fixed in 2.4.1


add support for ALTER TABLE drop actions

[x] support for DROP COLUMN
[x] support for DROP CONSTRAINT
[x] tests

Hey @tanner0101, you just merged a pull request, have a coin!
You now have 797 coins.


[Feature Request] Package for docker

Hi @blechschmidt ,
Could you please publish package for this.
I currently forked the branch and am using published version for docker.
I would like to use it from main source instead of forked source.
Link for docker package being used: https://github.com/engageub/tun2proxy/pkgs/container/tun2proxy
Thank you

See https://github.com/blechschmidt/tun2proxy/pkgs/container/tun2proxy.

Hi @blechschmidt,
Could you please update the packages for docker to the latest version.
Many changes have been made to the code since it was published.
Thank you

The image should be generated when the next tag is pushed.


Implement prolongate contract on graphql

#3460

Coverage increased (+0.02%) to 88.49% when pulling 5cddf0315a97d1dff7e128243305eea79e1b2876 on dev-3460-prolongate-contract-mutation-2 into 8a272c38ef4335be5fee64f6b895d762403b8bdd on develop.


Added Maximum subarray  in python

Description
Added maximum subarray code in python
Fixes #962
Replace issue_no with the issue number which is fixed in this PR
Type of change
Added file of maximum subarray code in python dsa leetcode folder

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

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@ambivert-sam remove the other file

Since there is no update I am closing it


Missing pptx, docx, xlsx

This can be as simple as symlink, but they should be there.

I'll add csv and ico  to the list

svg

Also missing:

GZIP
HTM
ODG


Oe fixes

Fixes https://github.com/SpikeInterface/probeinterface/issues/106

@MarineChap

That's work.
Thanks for the quick fix !

Super camarade.
Tell me when I can merge.

@samuelgarcia  You can merge!


Question: "How to do multi-region with Cloud Run"

I'm pretty sure it's not currently possible but that's my goal : multi-region with Cloud Run, managed by Google infra + Google Cloud LB.

Are you looking to deploy an app once and have it be geo-distributed to all GCP regions supported and provisioned with a load-balancer that routes the traffic to the region closest to the user –––OR––– are you looking to do per-region deployments yourself and put them behind a Google Cloud LB that does global routing closest to the user?

Or is this mainly a "fault tolerance, because a region might go down" question?
To me it seems like doing multi-region is a solution to a problem. I'm curious what the problem is so I can curate the question better.

Are you looking to deploy an app once and have it be geo-distributed to all GCP regions supported and provisioned with a load-balancer that routes the traffic to the region closest to the user

That would be the best option indeed.

To me it seems like doing multi-region is a solution to a problem. I'm curious what the problem is so I can curate the question better.

Yes it is, I maintain Image-Charts and we must deliver <500ms latency over the world. We've got more than 1 million request per day from all over the world that we must answer as quickly as possible :)

A solution for Image-Charts could be to put your Cloud Run service behind the Firebase Hosting global CDN.
By setting the right cache-control header, the content served by your Cloud Run service will be cached by Firebase Hosting global CDN.

A solution for Image-Charts could be to put your Cloud Run service behind the Firebase Hosting global CDN.

Does Firebase global CDN take care of all security attacks? for ex: DDoS?

@manwithsteelnerves Please ask questions that aren’t directly about Cloud Run elsewhere such as Stackoverflow.com.


switch to sqlite

Save the data in a local sqlite database instead of reading the whole JSON file each time a command is executed. It may not noticeably improve the performance but may help development in the long run.

2nd try, creating a new model as a first step to export existing day list to a sqlite database.


Next release?

Looks like a ton of things added/changed since May. Any ETA on releases? Is it going through a major overhaul right now?
Thanks.

I should release v0.23 in a week or two (most likely in 2 weeks)

Just released v0.23


Metamind extractors and other simple extractors

Implemented extractors:

Brightness
Sharpness
Metamind extractors

General extractor
[Indoor/outdoor] (https://www.metamind.io/classifiers/25463)
[Facial expressions] (https://www.metamind.io/classifiers/30198)

Have some suggestions/modifications, but they're pretty minor so I'll merge then modify


Train Engine Replacement (Important)

Make the Train Arm code work for a motor instead of a servo (Important).

Finished it, just have to test.

merged


fix thread-unsafe in NacosRefreshHistory

Describe what this PR does / why we need it
Fixed thread-unsafe may happen in spring-cloud-alibaba-nacos-config module
Specific in NacosRefreshHistory class.
Does this pull request fix one issue?
Fixes #652
Describe how you did it
Use ThreadLocal to solve it.
It doesn't affect performance.
Describe how to verify it
Create multiple threads for validation
Special notes for reviews

Please use eclipse-code-formatter to format the code.
If you use Eclipse you can import formatter settings using the eclipse-code-formatter.xml file from the Spring Cloud Build project. If using IntelliJ, you can use the Eclipse Code Formatter Plugin to import the same file.

Eclipse-code-formatter format is used.
Restore DefaultAlicomMessagePuller and TokenGetterForAlicom modifications.

Thanks for you contribution.


Can Order by Name or modifiedDate ?

Hi there.
Default List return the file list sorted by modifiedDate
I can list with sort Order by Name?
Thanks

For date sort :
./gdrive list | sed "1 d" | sort -n -k 5,5
For name sort
./gdrive list | sed "1 d" | sort -k 2,5
For size
Doesn't work as mixed type of unit .. B, KB, MB...

You can use the --order flag with gdrive 2:
gdrive list --order "name asc"
gdrive list --order "modifiedTime desc"


DRPolicy should not be editable post creation, to avoid changes to cluster sets or schedules

Further, a policy change if allowed should reconcile all DRPCs that point to it. As policy (like StorageClass etc.) is a one time creation, we should add controls to ensure it is not editable post creation.

Doesn't the user need the ability to change the DRPolicy post creation to change the replication schedule?

The object is referenced by other objects, that have acted on the current data, like schedule and cluster set. If a different schedule is desired, then a new DRPolicy should be created, and the application should be DR disabled, and then reneabled against the new policy. (although we do not support disable at present, so that would need some thinking).
Currently, we do not take any action on policy changes (like schedule) and only impacts future reconciles of the DRPC referencing the policy if at all, hence disable changes to the policy, at least in the interim.

Problem
Making drpolicy immutable would solve a specific problem of cluster roles and cluster role bindings leaking.  Consider the following scenario:

a cluster is named in a drpolicy which results in a cluster role and cluster role binding being installed on it to permit vrg actions.
cluster name is removed from drpoilcy, but reconciler only sees current state of object and doesn't know that a cluster was removed, so its cluster roles and role bindings remain indefinitely but they should be removed.

Note: when a drpolicy is deleted a finalizer preserves the drpolicy object including names of clusters so that cluster roles and cluster role bindings can be removed from them.
Solutions
If it is desirable to preserve drpolicy mutability, a drpolicy could instead be reconciled by:

querying all managed clusters and their associated namespaces for manifest works with a well-known name that are expected to contain cluster roles and cluster role bindings for vrg actions.
querying all drpolicies and generating a set of cluster names included in them.
removing or adding any cluster roles and cluster role bindings to match those that should exist for each cluster in the set.

Note: this solution removes the need for a finalizer.
Another solution is to preserve the previous state of a drpolicy within it somewhere to be able to identify changes.

We need to address this via webhooks for validation. Although k8s is moving towards CustomResourceValidationExpressions, the feature is still in beta, hence we would need to live with webhooks till this is GA, at which point we can add required validation expressions to the CRD itself for immutability. Also, current kubebuilder OpenAPI markers do not have an immutability option (As of my reading/understanding)
The following spec fields should be immutable in the respective CRs:
DRCluster:
- Region
- s3ProfileName
DRPolicy:
- SchedulingInterval
- ReplicationClassSelector
- VolumeSnapshotClassSelector
- DRClusters
- NOTE: If we disallow changing this, a dead cluster should be replaced with the same name, or the application should be DR disabled and reenabled using a new DRPolicy
DRPlacementControl:
- PlacementRef
- DRPolicyRef
- PVCSelector
VolumeReplicationGroup:
- PVCSelector
- S3Profiles
This leaves the gap that an admin could update the ramen config map and edit the s3 location, which hence would require a reconcile of all resources to upload to the new s3 location. Determination of this is a bigger issue, and needs to be addressed separately (IOW we will not use webhooks for the same at present)

Closed as referenced PR is merged.


Cast proper types when loading resource data?

I was following the Python quick start guide and playing with the periodic table DP.
I checked the resource metadata and the schema correctly describes atomic number and atomic mass as integer and number respectively, but when I tried to do:
> print [e['name'] for e in dp.resources[0].data if e['atomic number'] < 10]
[]

I noticed that the data has these fields as strings:
> print dp.resources[0].data[0]
{u'metal or nonmetal?': u'nonmetal', u'symbol': u'H', u'atomic number': u'1', u'name': u'Hydrogen', u'atomic mass': u'1.00794'}

Not sure about how the parsing works but would it make sense to use to information on the schema to cast the values appropriately?

@vitorbaptista it seems that this fix would be quite useful.
Any recommendations on implementation? I'm thinking changing TabulatorIterator to use the schema to cast raw resource values into actual values. This would affect all users of the library though.
Another option would be to add an iter_cast method (or any other name) which iterates & does the casting without changing iter()'s functionality.

@akariv I think it should, ideally, be the default behaviour. It looks a bit tricky to implement, though. Maybe wrap the iterator returned by Tabulator in another one that casts the values before yielding them? Hopefully, jsonschema can help us here.
If possible, it would be good to implement this for any type of resources (and not just tabular), but this might make things more difficult, so I'm happy on having it working with tabular resources and we can figure out later.

@vitorbaptista TabulatorIterator is already a wrapper in datapackage-py, so it's the ideal place to add the casting logic (with jsontableschema-py to actually do all the heavy lifting).
I'll send a PR soon for you to review.


Open ReloadableView UITableView and UICollectionView implementations

Making implementation of methods func reloadDataSynchronously() and func perform(batchUpdates: BatchUpdates) open in order to simplify behaviour modification.
In order to be able to override methods declared in extensions, those methods need to be exposable to objc. In order to do so, BatchUpdates was changed to class and inherited NSObject.
Fixes #124

@Rep2 I fixed the CI issue. Could you please pull and merge from master branch and push again?

@jingwei-huang1 done


liqo-route: mac annotation fix

Description
This PR changes the method used to understand if a reconciled pod is the pod where the controller is running.
Previously we checked that the reconciled pod IP and the pod where the IP is running have the same IP. In some rare cases, this creates problems, in fact, if a node is deleted and another node is created with the same IP, it's possible that the controller gets an event that refer to a zombie pod.
Using the podName instead of the IP solves this problem.

Thank you so much for this fix. Will build and test it out in our cluster.

/rebase test=true

/rebase test=true


Browser support information

I can't seem to find a list of supported browsers on the website. It would also be useful to be informed about what polyfills are required on IE.

Doesn't seem to work in IE because this uses Object.assign.  It would be great if this information was published in the ReadMe or the website.

@ninjamyst how do you use numbro? The minified file should not have Object.assign anymore


chore: add plugin suffix for ExtractCssChunksPlugin

Codecov Report

Merging #4528 into dev will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##              dev    #4528   +/-   ##
=======================================
  Coverage   91.13%   91.13%
=======================================
  Files          61       61
  Lines        2188     2188
  Branches      527      527
=======================================
  Hits         1994     1994
  Misses        176      176
  Partials       18       18

Impacted Files
Coverage Δ

packages/webpack/src/config/base.js
96.42% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Error when downloading clips (client)

Whenever i try to start editing and then click on 'download clips' this error pops up on the command line:
Exception in thread Thread-3:
Traceback (most recent call last):
  File "C:\Python38\lib\threading.py", line 932, in _bootstrap_inner
    self.run()
  File "C:\Python38\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Ahmed\Desktop\TikTok-Compilation-Video-Generator\TikTok Client\client.py", line 44, in requestClips
    ftp.login(settings.FTP_USER, settings.FTP_PASSWORD)
  File "C:\Python38\lib\ftplib.py", line 403, in login
    resp = self.sendcmd('PASS ' + passwd)
  File "C:\Python38\lib\ftplib.py", line 275, in sendcmd
    return self.getresp()
  File "C:\Python38\lib\ftplib.py", line 248, in getresp
    raise error_perm(resp)
ftplib.error_perm: 530 Authentication failed.

running on windows 10

Hi Ahmed did you register a new user in the server program, and then restart it?
Also try changing the ip address in FTP address of the config of the server and client from localhost, to <IP_ADDRESS> and then finally a ipv4 address. Looks like this is of a issue with the library ftplib.

Also try enter your username and password into the client config files if not already.

I've reinstalled python and wrote the username and password into the client config and now it works.


Update fs2-core, fs2-io to 2.5.4

Updates

co.fs2:fs2-core
co.fs2:fs2-io

from 2.4.6 to 2.5.4.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2" } ]

labels: library-update, semver-minor

Superseded by #246.


fix: map already consumed

🅰 Please add the issue ID after "Fixes #"
Fixes #37

If you're using version 0.72.0 or higher, you can directly use the copy method to duplicate a WritableMap

my rn version is 0.70

https://stackoverflow.com/questions/59025712/error-map-already-consumed-react-native


Managed disks aren't reflected / disk sizing incorrect

I understand the 'overview' of backup might reflect managed disks. But the purpose of this article is for planning the vm backup infrastructure. The article should reflect that 1. Managed disks do not have the storage limitation concerns, i.e. IOPS 2. The storage account references are not necessary for managed disks... and 3. The max disk size (managed / unmanaged) is 4TB per the Service Limits page, not 1TB as outlined in the article.

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

ID: 2bdbfa0f-4305-1b2f-2dd9-a8c23e789a78
Version Independent ID: 7ceb2658-7fa8-3fbb-a9a6-81ddd40f4dd3
Content: Planning your VM backup infrastructure in Azure
Content Source: articles/backup/backup-azure-vms-introduction.md
Service: backup
GitHub Login: @markgalioto
Microsoft Alias: markgal

@CHDAFNI-MSFT Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@CHDAFNI-MSFT , I have updated this article based on your excellent feedback. Thank you for pointing out these issues.

#please-close

@CHDAFNI-MSFT We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Window zooming animation flashes

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit 356414639fc06ace7045236ec41d673342981057 dirty (core: fix missing workspace events during swapping (5251)).
Date: Mon Mar 25 09:50:41 2024
Tag: v0.37.1-64-g35641463

flags: (if any)

Bug or Regression?
Bug
Description
when I want to arbitrarily enlarge a wayland window (resize), from the animation effect, it will have a short reduction, and then enlarge, resulting in a flicker on the visual effect.
https://github.com/hyprwm/hyprland-plugins/assets/30348075/28fc6d8d-bd97-48a0-91d6-ce6632449742
How to reproduce
1.open a wayland window
2.make the window floating
3.reset the windows size to 60% of the screen
4.repeatedly triggered with the togglefloationg shortcut key
Crash reports, logs, images, videos
No response

odd, thought I fixed this, can you give a minimal repro example? I haven't seen this myself.

1.open a  small size  floationg wayland window (has test in xfce4-terminal,konsole and foot...)
2.toggle floating the window to tile (bind=ALT,f,togglefloating)
then,You can  press alt+f repeatedly and it will almost certainly trigger the issue

not happening on my end at all.

This is quite strange, but I tried 0.37 release and did not have this issue this issue did not occur until after 0.37 Release

bisect?

bisect?

https://github.com/hyprwm/Hyprland/commit/30c5911718c02e0215bf0006faa6aa229558a501

patch.txt
try

patch.txt try

https://github.com/hyprwm/Hyprland/assets/30348075/d1d7a58e-89ae-4835-a128-b2f5167032ae
Seems to fix the issue successfully

But it seems that the fix is not perfect, when I moved the window to the upper right corner for dispath (fullsreen 1), I could see that the problem still occurred 50% of the time in the upper left corner of the window, although it was less jitter.
https://github.com/hyprwm/Hyprland/assets/30348075/dc17ae96-5af2-4eed-b082-9c095b41eab7

it's quite difficult to deal with, as animations, uv and stuff are very sensitive to context. I think this is good enough for now.

it's quite difficult to deal with, as animations, uv and stuff are very sensitive to context. I think this is good enough for now.

Sad story :(
I can't tell others anymore  that hyprland has perfect silky animation


[Feature Request] - Multi-language support

That's great! Are there any plans to add multi-language capability?
Necessity

User base :

If your app targets a global market, supporting multiple languages will significantly improve user experience and scalability.

Regulations and Compliance :

In some countries and regions, providing local language support may be a legal requirement.

Competitive advantage :

Providing multi-language support can make your application more competitive in the market, especially in today's globalized world.

Benefits

User Experience :

Users prefer to interact in a language they understand, which can increase user satisfaction and engagement.

Scalability :

The i18n module makes it easier to add new languages in the future without major refactoring of the application.

Market Opportunities :

Supporting multiple languages can open up new markets and increase the number of potential users.

Implementation Considerations

Technical Complexity :

Implementing an i18n module requires some technical investment, including text translation, date and time formatting, number formatting, currency symbols, etc.

Translation and Maintenance :

Maintaining and updating translated content may require additional resources.

Performance :

The i18n module may have some impact on performance, especially when working with large amounts of translated content.

@hxhgzz Update to Version 0.6.0
Localization


Tests for sync dictionary and sync set

Tests require https://github.com/vis2k/Mirror/pull/1729 to pass

#1279 was merged, but this has conflicts now

this looks like it was a lot of work @James-Frowen . looks good.


Fixed #26138 -- Ensured geometry_field's geometry is always serialized

Thanks Bernd Schlapsi for the report.

Looks good -- care to backport it?

Release note added, care to take a look :-) ?

Good -- I was thinking 1.8 too, since it doesn't match the documented behavior. Alternatively, I guess you could edit the docs for that version.


Release Galladite, Gardevoirite, and Lopunnite

Don't you have push access?

These aren't actually released yet.


Integrate SuperZoom

Just a suggestion.
Old PoC: https://github.com/Trass3r/hijacklib/blob/dk2tests/hijacklib.cpp#L26
Though in my current code it overwrites 449CA0, maybe the other code was for a different version.
A simple
	field_3456_curZoomLevel += a2;

also works but then you can zoom out too far and it will eventually crash.

Thanks for the reference. Your patch is for DK2 v1.51. I mapped function address to v1.70 4496E0 -> 449CA0 and figured out, that all my work can be mapped backward from v1.70 to v1.51. Zoom implemented in https://github.com/DiaLight/Ember/blob/fbbe36127f5bcbdd6757d05a56277a1e3b3e3d79/patches/unlimited_zoom_hack.cpp


how to obtain weiliu89 weights

I was wondering how I could obtain weiliu89 weights to validate 77.2%. I have changed some parts of the code and just want to validate if it is still reproducible. Thanks

A download link for obtaining the original caffe weights is listed on the Readme.

hi @amdegroot would that be the link to original caffe code which contains a caffe version of the weights?? I was wondering which MAP code you used to produce the results in the README, I just would like to confirm with mine also ! Thanks :)

Hi! That link was the link to the original caffe weights, correct.  I have now posted the mAP eval code in eval.py.


Identify Functional Steps to Implement a general VSCode Plugin for AaC

Identify the technical steps to produce a general VSCode plugin for AaC. Focus on features/functionality in the common capabilities and workbench extensions.
AC:

[x] Document any language compatibility issues and solutions
[x] Document the integration information (Documentation, examples, dependencies)
[x] Provide several example use cases of how implementing this plugin would help the user (example use cases)
[x] Document high-level steps to implement an AaC VSCode Plugin (what needs to be done before we can write the code)
[x] Documentation is stored in a new wiki page

I've been experimenting with this and dropping some breadcrumbs in the discussion on using VS Code as the UI.  You may find useful nuggets there.

Wiki page can be found here: https://github.com/jondavid-black/AaC/wiki/VSCode-Plugin-Implementation-Notes

I've been experimenting with this and dropping some breadcrumbs in the discussion on using VS Code as the UI. You may find useful nuggets there.

It was a great help! I really appreciate it.


[Enhancement]:  Adding a About us page for modulo game

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement
I will add a about us page for modulo game describing how to play the game because this may be tough for some peoples to understand this game
Describe the solution you'd like
Solution steps
Changes in some html file and creating a new file for about us page
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Ayushmaanagarwal1211 !
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🕹

Ok i am starting working on it please assign it

YOU CAN always self assign the issues in this repository

Ok sure

Hey @Ayushmaanagarwal1211 ! 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! 😇


21 purl links seems wrong missing slash between site and filename

PURL value had a typo missing a necessary slash identified by Peter Korsgaard a Buildroot maintainer.
I found that the diagram at the github repo indicated a broken URL which is corrected.
@CycloneDX/buildroot-maintainers  @jkowalleck

the changes in this PR appear to be documentation, no problems with that.

PURL value had a typo missing a necessary slash identified by Peter Korsgaard a Buildroot maintainer.

I see no fix for that. all I see was that the variable download_url_value was renamed to download_url_with_slash
Also there is no (regression) test case for the described error.
CC @jacmet

I need to explain what I did incorrectly. Commit d863f65 changes the name of the variable that is used to build the complete and correct URL with the necessary slash character. I unintentionally did the edits in my IDE while on the "main" branch (there is the exact problem on my part) and thoughtlessly committed and pushed (even better - commit/push/merge - then walk away smiling, darn).
I should have 1. created a branch 2. committed to the branch 3. issued a PR for the "added slash character in the URL". So instead of hard rebase, and merge, I made a proper branch, did this variable name change with the use of the slash, commit, issued this PR.  My mistake.

no worries, @ptdropper .
from my perspective, the content of this PR looks about right.


WebGL constant type mismatch

public native Object getShaderParameter(WebGLShader shader, int pname);

expects WebGLRenderingContext.COMPILE_STATUS but COMPILE_STATUS is a double.
Maybe the constants are just missing from integer entities? Proposed patch in #150

@jDramaix

Fixed in https://github.com/sgammon/elemental2/commit/27d8c945b078b9273f188eaec5123f442271813e


"Ctrl +click to follow link" hover appears only on the last link in the terminal

Testing #23129
Insiders dated 28th March, 2017

Echo any link multiple times
Hover on each

The "Ctrl +click to follow link" hover appears only on the last link
Repros on all OS

@ramya-rao-a I can't seem to repro this when the links are on separate lines, did you mean multiple links on the same line?

The latter is this issue: https://github.com/sourcelair/xterm.js/issues/612

nope, not same line.
repros for me in different lines

Interestingly this seems to not happen on Linux, I think i know why it's happening though.


Some problem on batteries or UPS?

Hello
I have a little test today. I have been used the UPS more than 48hours (with a Fast Charger).
Now I have Disconnected IT. And start get I think to much dropdown.
  $ python3 upsplusv5-battery-logger.py
['Time (s)', 'Volts (mV)', 'Power (mW)', 'Remaining %']
['84716', '4184', '5463', '99']
['84721', '4198', '4733', '99']
['84726', '4185', '5087', '99']
['84731', '4174', '4686', '78']    ===> When I Disconnect UPS From Charging.
['84736', '4193', '4646', '78']
['84741', '4175', '4673', '78']
['84747', '4200', '4663', '78']
['84752', '4193', '4750', '76']
['84757', '4179', '4646', '76']
['84762', '4190', '4717', '76']
['84767', '4190', '4626', '76']
['84772', '4166', '4669', '76']
['84778', '4169', '4690', '76']
['84783', '4159', '4801', '74']
['84788', '4188', '4851', '74']
['84793', '4175', '4851', '74']
['84798', '4174', '5362', '74']
['84803', '4169', '4885', '74']
['84809', '4180', '4717', '74']
['84814', '4184', '4690', '74']
['84819', '4159', '4690', '74']
['84824', '4166', '4888', '72']
['84829', '4169', '4861', '72']
['84834', '4174', '4834', '72']
['84840', '4172', '4824', '72']
['84845', '4171', '4653', '72']
['84850', '4146', '4619', '72']
['84855', '4167', '4646', '72']
['84860', '4175', '4626', '72']
['84865', '4177', '4636', '72']
['84870', '4167', '4653', '72']
['84876', '4174', '4653', '72']
['84881', '4177', '4669', '72']
['84886', '4134', '4669', '72']
['84891', '4155', '4646', '72']
['84896', '4146', '4619', '72']
['84901', '4158', '5120', '72']  ==> Seems stablised on this value

Keep in touch :)
Other situation I have seen. The Last Blue Led Never Stops Blink when charging (like as never reach the full charge) ( I have an eye on other issue topic ;) )

OK. Done!! Thank You!!

Thank you to update the Wiki!


Secure API reference deployments

Description
We would like to securely deploy API references on the api-reference branch.
For doing so, we will create a Gradle task named publishApiReference that will:

get the API reference of old versions
generate a new API reference
archive the new API reference and commit with an SSH key already defined
set the latest API reference with the new one and commit with an SSH key already defined
push the api-reference branch for publishing changes.

We will also protect the api-reference branch by allowing signed commits only.
Finally, we will remove the deployment workflow that currently only serves the API reference deployment.
Dependencies
This issue is blocked by the following ones:

[x] #217 for moving the source code to a new library module.

Checklist

[ ] Implement the Gradle task.
[ ] Test it on a testing branch.
[ ] Set the target branch to the api-reference branch.
[ ] Protect the api-reference branch by only accepting signed commits.
[ ] Remove the deployment workflow.

We will implement this in a shell script instead, because Gradle doesn't find the versions folder of the api-reference branch when running the git checkout api-reference -- versions command...

Done.

We will implement this in a shell script instead, because Gradle doesn't find the versions folder of the api-reference branch when running the git checkout api-reference -- versions command...

I think the error occurs because the task is defined in the library project. We could try run the Git command targeting the ../versions directory.

I think the error occurs because the task is defined in the library project. We could try to run the Git command targeting the ../versions directory from the publishApiReference task.

That was the case: the Gradle task was looking for a library/versions folder when running the ./gradlew :library:publishApiReference task.
For properly running this command in a Gradle task, we should define the working directory of the executed command with the Exec.workingDir property.
// Example in a 'build.gradle.kts' file.
// The 'publishApiReference' task should depend on the following one.
tasks.register<Exec>("gitCheckoutApiReferenceVersions").configure {
    workingDir = rootDir
    commandLine = listOf(
        "git", "checkout", "-q", "api-reference", "--", "versions"
    )
}


Implement unused0000001IGC as a drone ripcord indicator

[http://www.freeallegiance.org/forums/index.php?showtopic=51662&view=getnewpost Relevant thread]
Change '''unused0000001IGC''' into something like '''minerRipMaskIGC''' to indicate the miner is ripcording with a new icon.
Imported from trac ticket #47,  created by fuzzylunkin1 on 01-08-2010 at 09:25, last modified: 07-23-2010 at 19:48

droneRipMask - setup a visual cue to it's team when the drone is ripping
Trac comment by Imago on 07-19-2010 at 18:57

r790
Trac comment by Xynth on 07-23-2010 at 04:44

#!CommitMessage revision="790"
Fixes #47 ripcord indication.
}}}
Trac comment by Xynth on 07-23-2010 at 19:48


Cannot Disable Or Remove Built-In Debugger

I cannot find a package that adds the built-in debugger to Atom, so it is apparently part of its core. Therefore, it is impossible to disable or remove.
The reason I wish to remove it is that I have no use for it. The real reason is that I'm constantly
accidentally clicking the blue dots when I wish to simply select the line by clicking the line number, which causes the debugger to open. The majority of my work is in HTML, CSS, PHP, and some JS, so the Debugger being always-present makes no sense.
Steps to Reproduce

Click the line number
Miss and instead click blue dot
Sigh

Versions
Atom    : 1.29.0-beta2
Electron: 2.0.5
Chrome  : 61.0.3163.100
Node    : 8.9.3
macOS 10.13.6

If you are referring to dev tools, I don’t believe there is a way.
I’m not sure what you mean about the blue dots and line numbers though, could you please expand on what they are and if they are present in safe mode (open Atom with atom --safe)?

I don't know what to make of the fact that the blue dots do not appear in safe mode.
I'm not sure when they appeared, but I feel like it was in the last month or two.
Here's the editor content that appears to the left of every line number:

The dots only appear on hover. I've not been able to nail down which package causes them.

Yep that's part of atom-ide-ui :+1:, glad you found it.

I cannot find a package that adds the built-in debugger to Atom, so it is apparently part of its core. Therefore, it is impossible to disable or remove.

The Prerequisites section of the issue template would have been somewhat helpful here - running in safe mode would disable all community packages including the ide packages.
Going to go ahead and close since you found the atom-ide-ui setting to disable the debugger.