Ability to pull membership numbers by region

Feature
Why is this feature being added?
I'd like to be able to query our database to know exactly how many users we have, and what locations we have the most members in. This also enables us to do some interesting visualizations in the frontend.
The intent here is to be able to query from the frontend, or even from Slack, how many folks we have from a given state or region.
What should your feature do?

Query user database for number of users.
Query user database for number of users by location.

@rickr - I can take this one.

https://github.com/alexreisner/geocoder#for-activerecord-models should get you pointed in the right direction.


onshore vs offshore

Make a notebook that determines if sample is onshore or offshore

each of the notebooks needs

[ ] boilerplate preamble at the top of each notebook, modified to explain what the purpose of the notebook is, and how it is an example, and how it might be modified by an end user
[ ] Some level of code commenting (the major bits at least)
[ ] I think each notebook could be structured with a full example , then a piece of code at the bottom that facilitates the user to modify the example for their own purposes. This would essentially be a mere copy of the code, just structured a little differently for each task
[ ] use functions where appropriate


bsfUtility/Utility/bsServiceLocator should probably use std::atomic<> for the pointer storage

There's no comments in the bsfServiceLocator.h file indicating that this utility class can or can't be used in a multi-threaded way.
By wrapping the storage for ServiceLocator::mService in std::atomic<>, the class gains multi-threaded safety very cheaply.

Yep, makes sense.


Add support for ESC Webhooks and Webhook Groups

Added support for ESC Webhooks and Webhook Groups

Added to epic https://github.com/pulumi/pulumi-service/issues/14996

Completed ^


Displaying Bitmaps

Hi,
Using the Grove OLED display on my Arduino, I could display a logo using a bitmap transformed to code. I haven't find the way to do the same using the Calliope. Is it at all possible? Is so, how?
Thanks in advance

It is definitely possible.
I don't know what you used on the Arduino, but the principle is the same. The display was clearly designed to show text and not images. So the image needs to be encoded in 8x8 bit chunks, that are sent to the display memory just like characters.
Since the image has to be stored in the already meagre RAM of the Calliope, I felt there was not much use for image functions.
But feel free to contribute these functions.


Undesired behavior via pauseInstanceWhileRefreshing flag

I am using this library to refresh an OAuth2 token, and it works really well.
Unfortunately, it seems like I'm unable to get it to work exactly as I want. I want it to.
What I want is for it to pause all requests until the refresh flow completes, and retry the other failed requests that were sent before the flow was started.
The library seems to let me do one or the other, but not both.
Here's what it looks like when I set pauseInstanceWhileRefreshing to true:

All of the failed requests are sent before the refresh flow is started (the reset?req=... as well as the timeout-500 one). The first one (resets?req=3) is retried after the flow completes, but the others are just dropped.
The other timeout ones are ostensibly sent wile the flow is in-progress, and those are paused until the flow completed (desired behavior).
I'd like a way to retry the pre-flow ones that failed.
Here's what I get if I turn the flag off:

All of the failed requests are retried, which is exactly what I want, but also requests that are sent after the flow is started are not paused, resulting in more failed requests than necessary.
Still, the failures are hidden from the callers, which is what I want in either case, so that's good.

Would you please share you code & how you use the library?

Will reopen if anyone sends more information.

Apologies for the delay. Here's a code sample:
createAuthRefreshInterceptor(axios, async (failedRequest) => {
  const token = Token.load();
  if (token) {
    const { data } = await axios.post(TOKEN_URL, token, {
      // eslint-disable-next-line
      // @ts-ignore
      skipAuthRefresh: true,
    });

    Token.save(data);

    failedRequest.response.config.headers.Authorization = `Bearer ${token.id_token}`;
  } else {
    throw new Error("Not logged in");
  }
});

axios.interceptors.request.use((request) => {
  const token = Token.load();
  if (token) {
    request.headers.Authorization = `Bearer ${token.id_token}`;
  }
  return request;
});

This is the configuration that works as I want it, except that it lets extra failed requests through.
If I add pauseInstanceWhileRefreshing: true to the config:
createAuthRefreshInterceptor(axios, async (failedRequest) => {
  const token = Token.load();
  if (token) {
    const { data } = await axios.post(TOKEN_URL, token, {
      // eslint-disable-next-line
      // @ts-ignore
      skipAuthRefresh: true,
    });

    Token.save(data);

    failedRequest.response.config.headers.Authorization = `Bearer ${token.id_token}`;
  } else {
    throw new Error("Not logged in");
  }
}, {
  pauseInstanceWhileRefreshing: true
});

This causes some requests to be dropped, and not retried (the if several are sent simultaneously, they all fail, but only one is retried).

Were you able to solve this issue?

I have had the same problem, any solutions? 🤔


Function name refactor in node_log.go

Description
Function name refactor in node_log.go to meet the naming conventions
Motivation and Context
After we upgrade the go-loging package to the latest version in #1683, we need refine the function names in github.com/hyperledger/fabric/core/crypto/node_log.go to eliminate more go vet warnings (https://goreportcard.com/report/github.com/hyperledger/fabric#go_vet)
Fixes #1845
Checklist:

[x] I have added a Signed-off-by
[] Either no new documentation is required by this change, OR I added new documentation
[] Either no new tests are required by this change, OR I added new tests
[x] I have run goimports, go vet, and golint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives.  The goal is clean, consistent, and readable code.

Signed-off-by: David Geng<EMAIL_ADDRESS>

reverify jenkins

reverify jenkins

Nice! LGTM, going to merge as Travis is passing.


Dialogue plugin code is terrible

The dialogue plugin needs a serious cleanup.

Closing as part of our move to kotlin (#338).


No default export in Node (immediately overwritten)

Hi @ivanakimov.
The code generated here is quite odd. It proceeds to set the default export as Hashids class, and immediately after overwrites the exports with the same, previously defined default export. The result is that there is no default export for ES6, but only a root CommonJS export.
This will of course work if you use something like babel, which emits an interop between default (ES6) and root exports, but will not work if you consume the code directly, e.g. from Node or TypeScript.
A backwards compatible fix would be to add a 'default' property to the class, which points to itself.

I'm using it in Node v8.1.0 and this works:
const Hashids = require('hashids');

How are you using it?

Yes, that works, because CommonJS' require exposes the module.exports.
However, when used from within transpiled code that expects ES6 module APIs, it breaks:
import Hashids from 'hashids'

The above will only work if you use the babel interop that uses either the default export or module.exports fallback.
However, the original code for hashids suggests a default export. According to the spec, this should transpile to:
module.exports.default = Hashids;

The problem with the above however would be that it would break your current syntax:
const Hashids = require('hashids');

i.e. a client would have to explicitly use:
const Hashids = require('hashids').default;

There's a way to support both, though.
module.exports = Object.assign(Hashids, {
  _esModule: true,
  default: HashIds,
})

The culprit seems to be with the choice of the babel plugin, the outdated add-module-exports.
Replacing with transform-es2015-modules-commonjs would solve the problem, but would be a breaking change, since you'd need to do require('hashids').default from within NodeJS.

I had no success with typescript because of this issue. Had to comment out the last line of the library to make it work without errors:
// module.exports = exports['default'];
import Hashids from "hashids";
const hashids = new Hashids("MySalt");

Without the modification I get an error:
TypeError: hashids_1.default is not a constructor

In Typescript you can still use the const Hashids = require('hashids'); form, in the meantime.

@cormacrelf only if you target Node. All other forms are broken:
https://codesandbox.io/s/932061k8jw

@niieani I don’t target node. I use Webpack via @angular/cli. It handles require just fine, minus tree shaking, but this is a one-file module. Try it at the end of that code sandbox.

@cormacrelf yeah, either Node or if you use Webpack. CodeSandbox doesn't support requires in TypeScript though.

I could use some help with this. What's the best way to set this up without introducing breaking changes?

@ivanakimov I've fixed the issue in a backwards compatible way in #53.

Thank you Bazyli and Ivan!
The CHANGELOG mentions that v1.2.0 includes the fix, but seems like it hasn't been pushed to npm yet.


docker image not building

Stumbled upon this and would love to give it a try. But my docker image won't build. Looks like a python issue ...
Anyone successfully build this lately?
Docker version 20.10.21, build baeda1f
Docker Compose version v2.12.2
`#0 29.47       build/temp.linux-x86_64-cpython-37/_openssl.c: In function '_cffi_d_EVP_PKEY_CTX_set0_rsa_oaep_label':
#0 29.47       build/temp.linux-x86_64-cpython-37/_openssl.c:22582:1: warning: control reaches end of non-void function [-Wreturn-type]
#0 29.47       22582 | }
#0 29.47             | ^
#0 29.47       error: command '/usr/bin/gcc' failed with exit code 1
#0 29.47       [end of output]
#0 29.47
#0 29.47   note: This error originates from a subprocess, and is likely not a problem with pip.
#0 29.47   ERROR: Failed building wheel for cryptography
#0 29.47 Failed to build cryptography
#0 29.47 ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
#0 29.48 WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
#0 29.48 You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
failed to solve: executor failed running [/bin/sh -c pip install -U setuptools 'cryptography>=3.0,<3.1' poetry==1.1.7]: exit code: 1
`

I have the same issue. Any solution for this?


rodentQC

This PR puts in place the foundation to extend MRIQC to other populations, including rodents.
Still to do:

[x] Improve segmentation
[x] Test alternative EPI masking methods
[x] Finalise head mask parameters for rats
[ ] Improving the reportlets for rodent FOVs (although maybe this requires some more work from the niworkflows end)
[ ] Add a test for rats (WDYT?)

For future, it might be worth establishing a dictionary or a set of JSON files that set template choices for each species available in TemplateFlow.
NB: I tried to push to this as a feature branch, rather than straight to master, but I didn't have the credentials.

Hello @eilidhmacnicol, thank you for submitting the Pull Request!

In the file mriqc/cli/parser.py:

Line 134:5: E265 block comment should start with '# '

In the file mriqc/workflows/anatomical.py:

Line 85:8: W291 trailing whitespace
Line 162:24: E128 continuation line under-indented for visual indent
Line 726:9: E265 block comment should start with '# '
Line 843:1: E302 expected 2 blank lines, found 1
Line 854:32: E222 multiple spaces after operator
Line 856:19: E226 missing whitespace around arithmetic operator
Line 858:52: E251 unexpected spaces around keyword / parameter equals
Line 858:54: E251 unexpected spaces around keyword / parameter equals
Line 860:1: W293 blank line contains whitespace
Line 863:1: E302 expected 2 blank lines, found 1
Line 872:18: W291 trailing whitespace

In the file mriqc/workflows/functional.py:

Line 824:36: E225 missing whitespace around operator
Line 827:35: E225 missing whitespace around operator
Line 839:35: E225 missing whitespace around operator
Line 840:34: E225 missing whitespace around operator
Line 841:36: E225 missing whitespace around operator
Line 844:35: E225 missing whitespace around operator
Line 873:32: E225 missing whitespace around operator
Line 882:32: E225 missing whitespace around operator
Line 901:1: W293 blank line contains whitespace
Line 904:17: E126 continuation line over-indented for hanging indent
Line 904:66: W291 trailing whitespace

To test for issues locally, pip install flake8 and then run flake8 niworkflows.

Hey @eilidhmacnicol, I've just cut 22.0.0rc1 and rebased this branch to current master. This is to say, I'm happy to help here and do whatever you need to get this to the finish line.
It feels that the better segmentation, the tests, and the better parameters of the head mask can/should be addressed in separate PRs. The improvements to the reportlets pertain to niworkflows/nirodents.

Hi @oesteban - I've added the option for Atropos segmentation, and it's looking much better now.
I agree that segmentation and headmasking can be improved in later commits when we encounter further test data. Marking as ready to merge now.

One more for style -- can you run
black mriqc/

?

@oesteban - tests are looking good, but I've just realised an issue: I see the NiWorkflows version has been pinned, but NiRodents and artsBrainExtraction currently uses a feature branch of NiWorkflows so this will need to be updated for a Docker image.

We will need to finalize spitting out the brain extraction from niworkflows in order to be able to use the new package :(
The alternative is too dirty for an official MRIQC release.

Okay - some very good news. The NiWorkflows pin issue was (thankfully) a false alarm. I ran an image built on mriqc 22.0.0rc with the necessary changes from here and nipreps/nirodents#55 built on top and it ran with no issues.
At this stage, the blockers for this PR's merge are:
related to NiRodents

[ ] nipreps/niworkflows#694 to be accepted and the subsequent minor release of NiWorkflows
[ ] Cut a new tag for NiRodents on PyPi pinning the new NiWorkflows release
[ ] Pin the NiRodents version here

related to DiPy

[ ] dipy 1.4.1 breaks NiPype (See nipy/nipype#2402), so unless nipype >= 1.7.1 then dipy <= 1.4.0 for rodents

I think the tests failing are unrelated to the changes made here and might be beyond the scope of this PR. WDYT @oesteban? Is it time to merge?

I think the tests failing are unrelated to the changes made here and might be beyond the scope of this PR. WDYT @oesteban? Is it time to merge?

You are going to break master, but considering the type of error it is fair to say that the problem is beyond the scope of this PR. So go ahead and merge.
The reason why this is failing is that we probably need to pin jinja2 with some upper bound version. We should do that quickly after your PR so that dependency errors don't start snowballing.

Actually, you can't merge, I believe. I'm giving you permissions right now - please merge yourself (I believe one should merge their own PRs whenever that is possible/allowed).


[BUG] ipxe installation, unable to set dns server and environment variable

Describe the bug

ipxe installation, unable to set dns server and environment
To Reproduce
Steps to reproduce the behavior:

Follow the harvester-configuration to set the harvester configuration, for example:

#cloud-config
token: ksd-token
os:
  ssh_authorized_keys:
  - github:kingsd041
  dns_nameservers:
  - <IP_ADDRESS>
  environment:
    nnn: kkk
install:
  mode: create
  mgmt_interface: eth0
  device: /dev/sda
  iso_url: http://x.x.x.x/harvester/harvester-amd64.iso

Install harvester via pxe
After waiting for the harvester to start, check the dns server and environment variables of the host

hailong-hvst-2 [~]$ cat /etc/resolv.conf
# Generated by Connection Manager
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
hailong-hvst-2 [~]$ export| grep -i nnn
hailong-hvst-2 [~]$

Expected behavior

dns server should be <IP_ADDRESS>
There should be an environment variable nnn=kkk

Log

Note: dnsNameservers in the k3os configuration is the wrong name
# cat /k3os/system/config.yaml
hostname: kkk-node1
k3os:
  dnsNameservers:
  - <IP_ADDRESS>
  - <IP_ADDRESS>
  environment:
    ddd: sss
    nnn: kkk

Environment:

Harvester ISO version:  0.2.0-rc5
Installation Mode: IPXE
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): equinix

Additional context
Add any other context about the problem here.

close in favor of v0.3.0


The test suite doesn't build

Hi, I get some errors when building the test suite of this package. If you plan on fixing this, I could give you more details :)

Yes, please give me more detail on this. Still builds for me (with GHC 7.8.3).

Ok, I didn't remember the issue, so I checked it again. It seems that you simply need:
{-# LANGUAGE FlexibleContexts  #-}

in your test/MemoTest.hs (for the type signature of fibm et al.). With that, the test suite also works on GHC 7.10.2.


Add masOS compatibility for 'sed' usage in scripts

empty line issue, just run the script locally and push!

# cleanup unecessary consecutive whitelines
sed -i'' -e '/^[[:space:]]*$/N;/^[[:space:]]*\n[[:space:]]*$/D' $TMP_FILE

It works and does what it should do (cleanup unecessary consecutive whitelines) but there's no empty line at the end of the docs/content/en/docs/reference/helm-chart.md file on macOS, while there is one Linux. Hence, I'm still searching for a solution that produces the same output for both.

Rebased to main.
@mtardy Exactly, I'm not able to reproduce this locally. cd install/kubernetes && ./test.sh doesn't produce any changes on my macOS or my Linux server 🤷♂.

going to give this a small nudge. Would be nice if MacOS works also.

Thanks!! 🎉


[TwitterBridge] Remember cookies during redirects

The first request to twitter now sets a session cookie then redirects to
the same page, so without this cookie a redirect loop happens.
This change tells curl to remember cookies when redirects happen.
References #1225.

This doesn't work on my instance. I still have the issue referenced in #1225.

To maintain compatibility with file_get_contents() in getContents(),  I believe the correct way to fix this is to fetch the cookies in TwitterBridge and then pass them to getSimpleHTMLDOM() via collectData() in TwitterBridge.

FB2Bridge has a function to fetch cookies, getCookies(), which could be used.

I've made PR #1232 which integrates better within the existing framework.

Conditionally implementing suggestion by @Roliga to cure allow_url_fopen issues.


Shift + Split Editor Button should split down rather than to the right

Currently the split editor button splits the editor to the right when clicked. However, when pressing shift and clicking it, it should open downwards instead. As well, it would be good to change the UI button to reflect that it would open downwards, like other editors do.

(Is what I'm referring to)
Currently this can be gotten around by just splitting and then dragging the tab, but implementing the shift + split editor would avoid an extra step.

@MinusGix Hey! I would like to give this one a shot too! (I'll need guidance, but that's probably the best way to keep on learning, so c:)

You probably want to edit lapce-ui/src/tab_header.rs in the layout function.

You'd need to store whether shift is being currently held (in event, can probably just store it as part of the widget structure. Listen for KeyDown/KeyUp events then request paint on changes of shift key)
If shift is being held, use "split-vertical.svg" instead of "split-horizontal.svg". I just noticed that we call splitting left/right 'vertical' because it is on the vertical axis, but the file is named horizontal. Yay.
If shift is being held, use the alternate focus command
At a glance, I think you need to modify tab.rs to redispatch the horizontal focus command to make this work.
For the icon, I think you can just use: https://github.com/lapce/lapce/blob/b05fd81b03bcdd0c326dce2062ae0c03755e86be/icons/ui/split-vertical.svg from (pj's icon pr)

Cool! I'll reach out through discord in case I have questions c:


SCH file would be very nice

I would like to make a couple modifications and the SCH DipTrace .sch file and the U6-10 "PowerPoll Connector" from your Smart Home.lib would make things much easier please.
Thanks for the project!

I am sorry but I didnt make a schematic file for the board.


Libertinus Math support

There is a nice looking font: Libertinus Serif / Libertinus Math. As far as I know it's the best-looking serif font. And Libertinus Math is an OpenType math font for use in OpenType math-capable applications like LuaTeX, XeTeX or MS Word 2007+.
It would be nice to have it in MathJax.

Just a comment: when making requests like this it generally does not help to overstate your case. I'm a heavy user of Libertinus fonts including publishing whole books in them and using them my default for many on-screen applications. I love them and agree they look great. However dogmatically asserting as fact "the best-looking serif font", something which is inherently opinion based, somewhat discredits the weight of your reports. Just tell it like it is, you have a preference.
Also please clarify what's going on here because there is no point in asking MathJax to — what? Bundle it? Support it? — if the math font doesn't support it in turn. Why did you open an issue on the font project for this? One or the other of these issues seems like it must have the cart before the horse. What is actually needed here?

This does look like a useful font to know about.  @alerque, MathJax does need to know about the fonts that it uses, and so to use libertinus with MathJax, we would have to make the needed support files, at the least, and probably package web versions of the fonts as well (like we do with the STIX-web, Neo-Euler, and other MathJax web fonts.  So this is an appropriate request here.
@kiwi0fruit, we are in the process of a major update to MathJax v3, and will be redoing the fonts as part of that project.  We appreciate knowing about this font, and will look into its suitability for MathJax at that time.  Any updates to MathJax v2.x fonts will have to wait until after that.

@dpvc Sounds great)

Closing as italic Greek looks rather poor in Libertinus Math. And it's unlikely to change. See comparison with STIX Two Math:

(surely you can reopen it if needed).


fixed small typos in default prompts

There are small typos in DEFAULT_SYSTEM_PROMPT and DEFAULT_RESOLVER_PROMPT.
Corrected them

Thanks!


add unit test for GetMsgByCode

Signed-off-by: Zhou Hao<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1179 into master will increase coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1179      +/-   ##
==========================================
+ Coverage   47.47%   47.58%   +0.11%
==========================================
  Files         113      114       +1
  Lines        7193     7212      +19
==========================================
+ Hits         3415     3432      +17
- Misses       3505     3506       +1
- Partials      273      274       +1

Impacted Files
Coverage Δ

supernode/daemon/mgr/scheduler/manager.go
21.91% <0%> (-0.69%)
:arrow_down:

pkg/constants/dfget_super_code.go
94.73% <0%> (ø)

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 da94e78...41ab743. Read the comment docs.


Remove version: NetEase.IdentityV.CN version <IP_ADDRESS>

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Version already removed;


furo-type-renderer.js

Bug-Report with a suggestion to implement for 'eclipsefuro-web/packages/furo-data-ui/src/furo-type-renderer.js'
``Describe the bug
Elements do not disappear when used inside a template / flow-repeat.
To Reproduce
I created my own type-renderer based on yours and had some problems when using the typerenderer inside a template.
When the ƒ-inject-items was triggered additional fields where displayed because the old ones where not removed.
Expected behavior
I would recommend to add a disconnectedCallback() then the old fields are removed from the templates.
Sample-Code:
disconnectedCallback() {
   super.disconnectedCallback();
   if (this.defaultElement) {
      this.defaultElement.remove();
   }
}

fixed in v2


bugfix: remove duplicate MN votes from getvotes

Related to #1074. Output of getvotes will not be useful unless mapVotesByType map is used in GetMatchingVotes also.

utACK

I think this is obsoleted by PR 1079 since MN's are no longer removed from the list unless the collateral is moved.


Display download count in searching crate page

Hi, i wonder if it's possible to display a crate download count in searching crate page, to aid choose crates. Currently i have to go to crates.io to see that.

the crates.io API already returns this value, so it's easy to add to the rendered search results, if needed.


Unable to create SSH support based on your documentation

Hi,
I follow your instruction to create my image from this blog https://github.com/ltwlf/azure-functions-docker-node
and after I create azure function docker from here https://github.com/ltwlf/azure-functions-docker-hello
and use my image I am geeting dotnet and npm command not found in start.sh

Hi,
can't tell you why it doesn't work in your case.
However I switched for my containers to this base image from Microsoft:
mcr.microsoft.com/azure-functions/node:2.0-appservice
It has also support for SSH now. I would recommend using the Microsoft one.
Regards
Christian


Classification report after data balancing.

Hi @azhe825 ,

Fraudulent == 0 had 8400+ values initially and Fraudulent == 1 was around 450. This created an imbalance problem, which generated an accuracy score of 96%.
I performed undersampling on Fraudulent == 0 down to around 450 values . I fitted this to a decision tree classifier and I've attached the classification report. Could you please review and let me know if this is on the right track? Thanks!

I think you are on the right track. As you have found out, accuracy means nothing due to the imbalanced data. Keep trying to improve the f1 score on fraudulent = 1 class.

Thank you Professor!


Add support for more iterators: task_file, ksym

This patch implements support for bpf iterators of type "task_file" and "ksym".
Note: support for ksym iterators added in Linux 6.0: https://github.com/torvalds/linux/commit/647cafa223490
This is useful for the snapshot-file gadget:

https://artifacthub.io/packages/inspektor-gadget/snapshot-file/snapshot-file
https://github.com/alban/snapshot-file
https://github.com/inspektor-gadget/inspektor-gadget/pull/1725

Updated.


(Documentation) Designing GUIs with a GUI

Just a heads up, Qt just released the Qt Design Studio 1.6, which is available as a gratis community edition since 1.3.
I was not very well aware about this, because they are hiding it quite good. Its not open source, but its free and you can create UIs via drag-n-drop, so without coding and it spits out QML at your liking. Quite convenient, especially when working with designers, who can do their own designs:
https://download.qt.io/official_releases/qtdesignstudio/

It seems to really struggle with QML for qmlnet - for me the form editor doesn't display anything and the qml emulation layer crashes.

Yeah, I switched now to Godot anyway 🙄

@vadi2, I had to comment out the import statements for my .Net objects, and then the tool was happy with the syntax of my .qml file, and showed the form design and the widgets in the toolbox. Afterward, you can un-comment your imports for compile/execution. That's what I had to do, anyway.

Yeah, I do the same here.


Update lodash to latest version

Hi,
This PR updates lodash to latest version.

Hi @pentateu! Thanks for helping out with this. Would you mind squashing your commits?


[Bug] Dynamic table full refresh table creation fails

Is this a new bug in dbt-snowflake?

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

Current Behavior
When I tried to full-refresh dynamic more than two times, got error
 Database Error in model schema_xyz__testtable (models\schema_xyz\schema_xyz__testtable.sql)
  002002 (42710): SQL compilation error:
  Object 'TESTTABLE__DBT_BACKUP' already exists.
  compiled Code at target\run\pj_dbt\models\schema_xyz\schema_xyz__testtable.sql

model file:
file name: schema_xyz__testtable.sql
{{ config(
    materialized="dynamic_table",
    on_configuration_change="apply",
    target_lag="15 minutes",
    snowflake_warehouse="WH_LOAD",
    full_refresh=true,
    schema="SCHEMA_XYZ",
) }}

select
  col1
from {{ source('prod_db', 'TESTTABLE') }}

dbt's generated run query:
    -- get the standard backup name
    -- drop any pre-existing backup
        drop table if exists "DBT_TEST_DB"."SCHEMA_XYZ"."TESTTABLE__dbt_backup" cascade
;

    alter table "DBT_TEST_DB"."SCHEMA_XYZ"."TESTTABLE" rename to TESTTABLE__dbt_backup;

        create dynamic table DBT_TEST_DB.SCHEMA_XYZ.TESTTABLE
        target_lag = '15 minutes'
        warehouse = WH_PRJAPAN_LOAD
        as (
select
  a1
from prod_db.sch_xyz.TESTTABLE
        )
;
        -- get the standard backup name
        drop table if exists "DBT_TEST_DB"."SCHEMA_XYZ"."TESTTABLE__dbt_backup" cascade

Also I realized that there where TESTTABLE__dbt_backup table produced in PUBLIC schema of DBT_TEST_DB.
And I think drop query is pointing at SCHEMA_XYZ's TESTTABLE__dbt_backup table. So maybe the cause is, full refresh logic is making backup table in wrong schema, and it's causing misalignment with drop query.
Expected Behavior
Able to do full refresh of dynamic table.
Steps To Reproduce
dependency:
$ pip freeze | grep dbt
dbt-core==1.7.14
dbt-extractor==0.5.1
dbt-semantic-interfaces==0.4.4
dbt-snowflake==1.7.3
sqlfluff-templater-dbt==3.0.0
Relevant log output
No response
Environment
- OS: Windows
- Python: Python 3.10.11

Additional Context
No response

@eayursed Thanks for opening — we're aware of the issue, this is due to a change that Snowflake made to the return types of show terse objects.
This comment has the latest updates, as well as what I believe to be a viable workaround to unblock yourself in the meantime:

https://github.com/dbt-labs/dbt-snowflake/issues/1016#issuecomment-2104295670

I'm going to close this issue as a duplicate.


Cache results of bot.getOAuthApplication

Store results in Client#app and possibly emit a new event when this is populated?

completed in a22d7721b85133dcd5bcf9a97a47217b00498da6


Error when expanding/collapsing in the Problems view (icon changes, but contents to not collapse)

I can't repro this, but maybe from the description/error you can tell what it is. I had a filter of !_demo.dart in the problems view, which filters to just the demo.dart file that has errors:

However when I tried to collapse it, the icon changed but the child nodes did not disappear:

Even after I removed the filter, it remained in a broken state. There's an error in the console that may be relevant:
ERR ListError [MarkersPanel] Invalid start index: 40: Error: ListError [MarkersPanel] Invalid start index: 40
    at O.splice (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:883:34)
    at O.splice (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1019:1004)
    at t.IndexTreeModel._setListNodeCollapseState (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:125:920)
    at t.IndexTreeModel._setCollapseState (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:125:427)
    at eventBufferer.bufferEvents (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:125:303)
    at t.EventBufferer.bufferEvents (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:118:787)
    at t.IndexTreeModel.setCollapsed (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:125:281)
    at t.ObjectTreeModel.setCollapsed (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:133:672)
    at N.onPointer (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1019:668)
    at c.fire (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:116:539)
    at e (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:112:65)
    at c.fire (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:116:519)
    at HTMLDivElement.s (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:122:46)

@joaomoreno I know :( I tried, but wasn't able to reproduce it. I don't think I did anything more than was written above - I wondered if maybe it was a race condition, but I'm not familiar with how the tree works.
If I do see it again, is there anything I can do to extract info about the state of the tree that might help?

When trying to repro this I also notice this strange behavior with filtering the problems view

@eamodio Can you maybe get me some repro steps? I can't seem to get to that state.

Here are the steps:

Create a problem in 2 files.
Whichever file is first in the problem list filter it out using something like !**/fileA.ts
Then try to expand/collapse the remaining problem (which is now the first one)

@joaomoreno Just after I reproduced the issue with those steps above, I cleaned up the errors I made to those 2 files and then this happened:

  ERR TreeError [MarkersPanel] Tree element not found: {
	"resource": "/c:/Users/Eric/code/microsoft/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.ts",
	"owner": "typescript",
	"code": "2304",
	"severity": 8,
	"message": "Cannot find name 'asfas'.",
	"source": "ts",
	"startLineNumber": 300,
	"startColumn": 1,
	"endLineNumber": 300,
	"endColumn": 6
}: Error: TreeError [MarkersPanel] Tree element not found: {
	"resource": "/c:/Users/Eric/code/microsoft/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.ts",
	"owner": "typescript",
	"code": "2304",
	"severity": 8,
	"message": "Cannot find name 'asfas'.",
	"source": "ts",
	"startLineNumber": 300,
	"startColumn": 1,
	"endLineNumber": 300,
	"endColumn": 6
}
    at t.ObjectTreeModel.getParentNodeLocation (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:135:861)
    at Object.getSetSize (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1035:358)
    at C.updateItemInDOM (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:474:956)
    at C._splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:469:645)
    at C.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:468:596)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:37:712
    at Array.forEach (<anonymous>)
    at t.CombinedSpliceable.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:37:699)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:894:994
    at t.EventBufferer.bufferEvents (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:120:603)
    at O.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:894:961)
    at O.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1033:27)
    at t.IndexTreeModel.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:126:211)
    at t.ObjectTreeModel._setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:133:13)
    at t.ObjectTreeModel.setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:132:908)
    at W.setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1046:639)
    at z.refreshPanel (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5895:448)
    at z.onDidChangeModel (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5900:390)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5899:729
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:114:709
    at c.fire (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:118:286)
    at t.MarkersModel.setResourceMarkers (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2827:148)
    at p.onMarkerChanged (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2945:304)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2945:237
    at c.fire (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:118:286)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:114:379
log.ts:196   ERR Cannot read property 'templateData' of null: TypeError: Cannot read property 'templateData' of null
    at C.removeItemFromDOM (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:475:381)
    at C._splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:468:861)
    at C.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:468:596)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:37:712
    at Array.forEach (<anonymous>)
    at t.CombinedSpliceable.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:37:699)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:894:994
    at t.EventBufferer.bufferEvents (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:120:603)
    at O.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:894:961)
    at O.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1033:27)
    at t.IndexTreeModel.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:126:211)
    at t.ObjectTreeModel._setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:133:13)
    at t.ObjectTreeModel.setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:132:908)
    at W.setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1046:639)
    at z.refreshPanel (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5895:448)
    at z.onDidChangeModel (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5900:390)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5899:729
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:114:709
    at c.fire (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:118:286)
    at t.MarkersModel.setResourceMarkers (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2827:148)
    at p.onMarkerChanged (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2945:304)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2945:237
    at c.fire (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:118:286)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:114:379
log.ts:196   ERR TreeError [MarkersPanel] Tree element not found: {
	"resource": "/c:/Users/Eric/code/microsoft/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.ts",
	"owner": "typescript",
	"code": "1",
	"severity": 4,
	"message": "Missing semicolon (semicolon)",
	"source": "tslint",
	"startLineNumber": 300,
	"startColumn": 6,
	"endLineNumber": 300,
	"endColumn": 6
}: Error: TreeError [MarkersPanel] Tree element not found: {
	"resource": "/c:/Users/Eric/code/microsoft/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.ts",
	"owner": "typescript",
	"code": "1",
	"severity": 4,
	"message": "Missing semicolon (semicolon)",
	"source": "tslint",
	"startLineNumber": 300,
	"startColumn": 6,
	"endLineNumber": 300,
	"endColumn": 6
}
    at t.ObjectTreeModel.getParentNodeLocation (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:135:861)
    at Object.getSetSize (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1035:358)
    at C.updateItemInDOM (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:474:956)
    at C._splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:469:645)
    at C.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:468:596)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:37:712
    at Array.forEach (<anonymous>)
    at t.CombinedSpliceable.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:37:699)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:894:994
    at t.EventBufferer.bufferEvents (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:120:603)
    at O.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:894:961)
    at O.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1033:27)
    at t.IndexTreeModel.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:126:211)
    at t.ObjectTreeModel._setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:133:13)
    at t.ObjectTreeModel.setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:132:908)
    at W.setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1046:639)
    at z.refreshPanel (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5895:551)
    at z.onDidChangeModel (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5900:390)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5899:729
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:114:709
    at c.fire (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:118:286)
    at t.MarkersModel.setResourceMarkers (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2827:148)
    at p.onMarkerChanged (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2945:304)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2945:237
    at c.fire (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:118:286)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:114:379
log.ts:196   ERR Cannot read property 'templateData' of null: TypeError: Cannot read property 'templateData' of null
    at C.removeItemFromDOM (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:475:381)
    at C._splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:468:861)
    at C.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:468:596)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:37:712
    at Array.forEach (<anonymous>)
    at t.CombinedSpliceable.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:37:699)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:894:994
    at t.EventBufferer.bufferEvents (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:120:603)
    at O.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:894:961)
    at O.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1033:27)
    at t.IndexTreeModel.splice (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:126:211)
    at t.ObjectTreeModel._setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:133:13)
    at t.ObjectTreeModel.setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:132:908)
    at W.setChildren (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1046:639)
    at z.refreshPanel (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5895:551)
    at z.onDidChangeModel (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5900:390)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5899:729
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:114:709
    at c.fire (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:118:286)
    at t.MarkersModel.setResourceMarkers (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2827:148)
    at p.onMarkerChanged (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2945:304)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2945:237
    at c.fire (file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:118:286)
    at file:///C:/Users/Eric/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:114:379

@eamodio Perfect steps, thank you!


[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[x] 3.0
[x] 2.5

@chen9t  you need to add sign-off, git commit -s --amend, git push -f

@chen9t  Could you add ut to cover your code, the coverage ratio should reach 80% for added code.


MetaMask connector breaks Coinbase connector in iOS Safari

Check existing issues

[X] I checked there isn't already an issue for the bug I encountered.

Describe the bug
It looks like metaMask connector causes coinbaseWallet connector to not be able to open it's popup on first tap in iOS Safari.
Video reproduction (using simulator):
https://github.com/wevm/wagmi/assets/1930210/c1ce1e24-bbf1-4e34-be1c-da6c7c17539d
Minimal Reproducible Example:
View the following on iOS Safari. Also reproducible in Simulator.
With MetaMask:

Code:https://codesandbox.io/p/sandbox/zen-pasteur-vlyjch?file=%2Fsrc%2Fwagmi.js
Preview: https://vlyjch.csb.app/

Without MetaMask

Code: https://codesandbox.io/p/sandbox/zen-pasteur-forked-3sh6j2?file=%2Fsrc%2Fwagmi.js
Preview: https://3sh6j2.csb.app/

Link to Minimal Reproducible Example
No response
Steps To Reproduce

Set up a blank project with the metaMask and coinbaseWallet connectors.
Attempt to connect with Coinbase on iOS Safari.
Error Pop up window failed to open (error message from coinbase sdk, see ref)
Attempting to connect again after this error will behave as expected.

What Wagmi package(s) are you using?
@wagmi/connectors
Wagmi Version
2.10.2
Viem Version
2.13.0
TypeScript Version
5.0.4
Anything else?
No response

This must be the reason it didn't work for us on Mobile Safari even after Coinbase team has fixed it , we targeted v3 SDK  to solve it at that time, also we are not even using metaMask connector but it gets imported due to some tree shaking issue with esbuild builder of Angular, I was going to create issue & PR about adding separate export for each connector so it can be imported like this:
import walletConnect from '@wagmi/connectors/walletConnect';

thank you @tmm 🫡


Could not find module in setup-mirage-for-integraiton.js

Hi,
I'm trying to set up mirage for the first time in my ember app for the purpose of integration testing and followed the steps here to manually start the mirage server.
testem.js:720 Error loading: myproject/tests/acceptance/index-test Error: Could not find module myproject/initializers/ember-cli-mirage imported from myproject/tests/helpers/setup-mirage-for-integration
The contents of tests/helpers/setup-mirage-for-integration.js:
import mirageInitializer from '../../initializers/ember-cli-mirage';

export default function startMirage(container) {
  mirageInitializer.initialize(container);
}

It appears that import is failing for some reason. I haven't been able to find information about this online - have you seen similar issues? My setup has ember-cli version:0.2.3, node:0.12.7, npm:2.7.6

Sorry you're having trouble! What version of Mirage? The initializer code was recently changes but that would only affect the beta 0.2 branch.

@samselikoff 0.1.13

Update: I'm in the process of upgrading Ember to 2.x and it looks like Mirage is working fine on that. It may be a compatibility issue with the older Ember version.


Add docs example with p5.SVG

Pen plotters + p5 + Svelte would be a great example that some may find inspiring. That was one of the founding pieces of inspiration for starting this project and I was disappointed that p5.SVG didn't support ESM/instance mode so I couldn't get an SVG runtime for p5 working w/ p5-svelte.
In a recent release, p5.SVG added support for those pieces 🥳

Turns out that the instance mode does the thing where it's trying to mod p5 via accessing the window which Svelte no likey. This may not work, or may need a custom shim within p5-svelte in order to support


File > New > Project

This, I think, is a simple feature request. The editor already contains a File>New file and File>New Window. Why not a File > New Project?
I know that most of the times projects are created in the terminal with composer, npm, react cli, etc. In my case, everytime I want to create a simple folder for a pure PHP project, I have to select File > Open folder, create the folder and then select it.
This feature could also include in the dialogbox some pre-build structures or automations for the most common projects:

Empty Folder
Vue Project
React Project
etc.
(lunching the terminal, if the case, with the proper commands to create the project)

Thanks.

Duplicate of https://github.com/microsoft/vscode/issues/74014

Duplicate of https://github.com/microsoft/vscode/issues/74014


Refactor pkg/config/

it is currently not been used.
it should refactor and use for unit-test (mainly locally) which has outter dependencies (like kong, and openfaas)
I prefer to import unit-test configurable values, like secert/ip/hostname, from a conf file, rather than hard coded in the *-test.go files.

pkg/config has been refactored in #557