text:
Upgrade undici to utilize Headers.prototype.getSetCookie

This upgrades undici so we can utilize Headers.prototype.getSetCookie. This replaces the custom functionality provided by getAll.

I have #309 that upgrades undici and provides getSetCookie 😸

closing in favour of https://github.com/vercel/edge-runtime/pull/309

authors: Kikobeats Schniz wyattjoh

repo: vercel/edge-runtime


text:
[@vercel/postgres] - Error: VercelPostgresError - 'invalid_connection_string' using drizzle orm

When attempting to establish a connection to the PostgreSQL database and drizzle orm using Vercel, the following error occurred:
VercelPostgresError - 'invalid_connection_string': This connection string is meant to be used with a direct connection. Make sure to use a pooled connection string or try 'createClient()' instead.

//db.ts
import { drizzle } from "drizzle-orm/vercel-postgres";
import { sql } from "@vercel/postgres";
import * as schema from "./schema";

const db = drizzle(sql, { schema });

export default db;

//drizzle.config.ts
import { defineConfig } from "drizzle-kit";

export default defineConfig({
  schema: "./src/database/schema.ts",
  out: "./drizzle/migrations",
  driver: "pg",
  dbCredentials: {
    connectionString: process.env.POSTGRES_URL!,
  },
  verbose: true,
  strict: true,
});

I have already set the POSTGRES_URL in the .env file
# npm packages
@vercel/postgres: ^0.7.2 => 0.7.2
drizzle-orm: ^0.29.3 => 0.29.3

You have to use the other connection string that Vercel gives you, the connection pooled one. It should contain -pooler in the hostname. Vercel ensures here that you do not create a local pool against the direct connection string - as that would quickly exhaust he open connecitons on the database side.

Thank you @janpio

source: gharchive/issue

authors: janpio kenny-mwendwa vvo

repo: vercel/storage

license_type: permissive

license_source: github-api


text:
docs: fix typo swr/infinte -> swr/infinite

Description

fix typo in example code

please check this at https://swr.vercel.app/docs/pagination#global-mutate-with-useswrinfinite
and all of docs using this example code with typo

[ ] Adding new page

[x] Updating existing documentation

[ ] Other updates

@shuding @huozhi https://github.com/vercel/swr-site/pull/421/files I found more typo in this Pull Request. I've included these fixes in the PR as well.

source: gharchive/pull-request

repo: vercel/swr-site


text:
Mutation not working correct on dynamic pages

Bug report
Description / Observed Behavior
I load a list of posts on an index page and I want to edit a post on an edit page.
I want to use the mutate function on the edit page, so the edited post is shown on the index page before the new data is fetched from the server. To do this I use the mutate function on the edit page:
mutate(
 "api/posts",
 posts => {
   console.log("posts", posts); // posts are empty on dynamic routes
   return {...};
 },
 false
);

The arrow function displays the correct cached data with a normal next route, e.g., pages/index and pages/edit.
But when the edit page is dynamic, e.g., pages/[postID]/edit, posts` is undefined.
Expected Behavior
I would expect that I can access posts with dynamic routes as well as with static ones.
Repro Steps / Code Example
CodeSandbox Example
Unfortunately dynamic routing seems not to be working on CodeSandbox. Here is a workaround to test it locally in 2min.

Go to CodeSandbox and export to .ZIP
Unpack the ZIP and run npm install in the directory.
Run npm run dev to start the dev server.
Open the console and test the success example first. You see the data displayed in the console.
Now run the fail_index version with the dynamic route. See how undefined is displayed.

Additional Context
SWR Version 0.2.3
Next 9.4.4

Try changing your links to work this way:
<Link href="fail/[id]/create" as="fail/123/create">

And let me know if that works.

@sergiodxa It works! Wow, cool.
Can you briefly explain why it works now?

This is because how Next.js Link works, the href must be the route file path, in your case that is fail/[id]/create, and the as is how the URL is going to be displayed in the URL, in your case is fail/123/create, replacing the params with values there, so you can't use the params with value in href, on in as, and when you don't follow this rule and pass fail/123/create Next will try to find a pages/fail/123/create.js file, because it doesn't exists it will reload the page to attempt to render a 404, but when reloading it will correctly find the page file and render the page, and because of the reload the cache of SWR was reseted and you lost your already prefetched data.

repo: vercel/swr

license: MIT


text:
Filter in package

Previously we didn't properly check for package prefixes being at actual file-addressing boundaries. This PR resolves the issue.
Fixes #1528
Closes #1533

Test failing

authors: jaredpalmer nathanhammond

repo: vercel/turborepo


text:
Fatal - Insufficient Security - no_suitable_ciphers

Environment

VerneMQ Version: erlio/docker-vernemq
OS: Cent OS
VerneMQ configuration (vernemq.conf) :

accept_eula = yes
allow_anonymous = off
plugins.vmq_diversity = on
plugins.vmq_passwd = off
plugins.vmq_acl = off
vmq_diversity.auth_postgres.enabled = on
vmq_diversity.postgres.ssl = on
vmq_diversity.postgres.cafile = #####/caroot.cer
vmq_diversity.postgres.certfile = ####/client-cert.cer
vmq_diversity.postgres.keyfile = ######/client-key.pem
vmq_diversity.postgres.host = #####-temp.com
vmq_diversity.postgres.port = ####
vmq_diversity.postgres.user = #####
vmq_diversity.postgres.password = #####
vmq_diversity.postgres.database = ######
vmq_diversity.postgres.password_hash_method = #####
listener.ssl.cafile = ###/CA.crt
listener.ssl.certfile = ####/server.crt
listener.ssl.keyfile = ###/server.pem
listener.ssl.default = 0.0.0.0:8883
listener.ssl.tls_version = tlsv1.2
listener.ssl.require_certificate = on
listener.ssl.use_identity_as_username = on
listener.ssl.max_connections = 10
listener.ssl.allowed_protocol_versions = 3,4
listener.ssl.ciphers = ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-DES-CBC3-SHA:ECDH-ECDSA-AES256-GCM-SHA384:ECDH-RSA-AES256-GCM-SHA384:ECDH-ECDSA-AES256-SHA384:ECDH-RSA-AES256-SHA384:DHE-DSS-AES256-GCM-SHA384:DHE-DSS-AES256-SHA256:AES256-GCM-SHA384:AES256-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDH-ECDSA-AES128-GCM-SHA256:ECDH-RSA-AES128-GCM-SHA256:ECDH-ECDSA-AES128-SHA256:ECDH-RSA-AES128-SHA256:DHE-DSS-AES128-GCM-SHA256:DHE-DSS-AES128-SHA256:AES128-GCM-SHA256:AES128-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:ECDH-ECDSA-AES256-SHA:ECDH-RSA-AES256-SHA:AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:ECDH-ECDSA-AES128-SHA:ECDH-RSA-AES128-SHA:AES128-SHA
##listener.ssl.crlfile =
max_message_rate = 2
max_client_id_size = 23
max_message_size = 5000
retry_interval = 620
max_inflight_messages = 0
max_online_messages = 1000
max_offline_messages = 1000
listener.max_connections = 10000
listener.nr_of_acceptors = 10
log.crash = on
log.crash.file = ./log/crash.log
log.crash.maximum_message_size = 64KB
log.crash.size = 10MB
log.console = file
log.console.level = info
log.console.file = ./log/console.log
log.error.file = ./log/error.log
Expected behavior

IoT Device should be able to connect with the mentioned ciphers in the configuration.

Actual behavior

I have tested the configuration with Java Paho client and it's successfully connected and was able to publish and subscribe data.
But when we tried to integrate with the IoT device, we are getting an issue on ciphers and was not able to integrate with the device. Adding issue screenshot of the docker log for the same:

14:09:43.643 [info] TLS server: In state hello at tls_handshake.erl:200 generated SERVER ALERT: Fatal - Insufficient Security - no_suitable_ciphers
Crash Log:

Error Log:

Can someone help me to understand the issue? Thanks in Advance.

To add on to the existing question, please find the cipher list which the device supports
"TLS_RSA_WITH_AES_128_CBC_SHA:TLS_RSA_WITH_AES_128_CBC_SHA256:TLS_RSA_WITH_AES_256_CBC_SHA:TLS_RSA_WITH_AES_256_CBC_SHA256:TLS_RSA_WITH_3DES_EDE_CBC_SHA:TLS_PSK_WITH_AES_128_CBC_SHA:TLS_PSK_WITH_AES_256_CBC_SHA:TLS_PSK_WITH_3DES_EDE_CBC_SHA:TLS_RSA_PSK_WITH_AES_128_CBC_SHA:TLS_RSA_PSK_WITH_AES_256_CBC_SHA:TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA:TLS_PSK_WITH_AES_128_CBC_SHA256:TLS_PSK_WITH_AES_256_CBC_SHA384:TLS_RSA_PSK_WITH_AES_128_CBC_SHA256:TLS_RSA_PSK_WITH_AES_256_CBC_SHA384"
But when I add all these ciphers in vernemq.conf then we are getting an exception as follows:

Any supports are very much appreciated. Thanks in advance.

@anpjavatech thanks, apologies for asking a formality. It's almost impossible to parse the output as pictures for my eyes, could you post those as quotes normally? just for  future reference, sorry about that & thanks.
Can you gradually reduce the set of ciphers in the VerneMQ listener to see which one is causing issues here?

@ioolkos thanks for the response.
It was actually an issue because of the ca certificate. A new certificate with the expected encryption details helped us to resolve the issue.
Sorry for the bad format while posting details, for future references will definitely use the format which u mentioned.

authors: anpjavatech ioolkos

repo: vernemq/vernemq


text:
什么也没设置。手动添加节点，启动不起来！无法获取 DNS 端口 模式，和 转发端口

2021-10-01 18:00:49 第六步：删除 OpenClash 残留文件...
2021-10-01 18:00:47 第五步: 重启 Dnsmasq 程序...
2021-10-01 18:00:47 第四步: 关闭 Clash 主程序...
2021-10-01 18:00:47 第三步: 关闭 OpenClash 守护程序...
2021-10-01 18:00:47 第二步: 删除 OpenClash 防火墙规则...
2021-10-01 18:00:47 第一步: 备份当前策略组状态...
2021-10-01 18:00:47 OpenClash 开始关闭...
2021-10-01 18:00:43 错误: 无法获取General部分的转发端口设置, OpenClash 使用原始配置文件启动失败
2021-10-01 18:00:40 错误: 无法获取DNS部分的运行模式设置, OpenClash 使用原始配置文件启动失败
2021-10-01 18:00:37 错误: 无法获取DNS部分的监听端口设置, OpenClash 使用原始配置文件启动失败
2021-10-01 18:00:33 错误: OpenClash 启动失败，尝试使用原始配置文件启动...
2021-10-01 18:00:29 检测到配置了 TUN 内核专属功能，调用 TUN 内核启动...
2021-10-01 18:00:29 错误: OpenClash 启动失败，尝试还原第三方规则并重新启动 Clash 主程序...
2021-10-01 18:00:29 第六步: 等待主程序下载外部文件...
2021-10-01 18:00:28 第五步: 检查内核启动状态...
2021-10-01 18:00:25 检测到配置了 TUN 内核专属功能，调用 TUN 内核启动...
2021-10-01 18:00:25 第四步: 启动主程序...
2021-10-01 18:00:24 第三步: 修改配置文件...
2021-10-01 18:00:24 第二步: 组件运行前检查...
2021-10-01 18:00:23 第一步: 获取配置...
2021-10-01 18:00:23 OpenClash 开始启动...
2021-10-01 18:00:23 第六步：删除 OpenClash 残留文件...
2021-10-01 18:00:20 第五步: 重启 Dnsmasq 程序...
2021-10-01 18:00:20 第四步: 关闭 Clash 主程序...
2021-10-01 18:00:20 第三步: 关闭 OpenClash 守护程序...
2021-10-01 18:00:20 第二步: 删除 OpenClash 防火墙规则...
2021-10-01 18:00:20 第一步: 备份当前策略组状态...
2021-10-01 18:00:20 OpenClash 开始关闭...

查看内核日志

内核日志 显示   parse config error: proxy 4: uuid: incorrect uuid length 4

2021-10-01 18:00:33 level=fatal msg="Parse config error: proxy 0: TLS must be true with h2/grpc network"
2021-10-01 18:00:29 level=fatal msg="Parse config error: proxy 0: TLS must be true with h2/grpc network"

给看看，这是什么错误提示。

查看内核日志

给看看，怎么回事，就是启动不起来。重新编译的，也不行，

tls打勾

自己加的服务器tls打勾

没有tls填写的地方啊。 奇怪

修了

修了

我刚升级的最新版本，还是这样

dev编译一下

替换一下文件一下

repo: vernesong/OpenClash


text:
[Bug] IPV6相关问题

Verify Steps

[X] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
[X] Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中，或者我会手动下载并安装 Dev 分支的 OpenClash
[X] Latest 我已经使用最新 Dev 版本测试过，问题依旧存在
[X] Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系，仅相互调用
[X] Definite 这确实是 OpenClash 出现的问题
[ ] Contributors 我有能力协助 OpenClash 开发并解决此问题
[ ] Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version
v0.46.014-beta
Bug on Environment
Docker
OpenWrt Version
OPENWRT 23.03
Bug on Platform
Linux-armv7
Describe the Bug
openwrt在docker中，PC设备只要开启电脑开启IPV6    就无法翻墙，而且 设备nslookup命令显示的也是ipv6的dns地址，可能是被污染了，在openclash中开启了ipv6也没有用，访问google网址的时候就会提示不是私密链接，但是手机就没事，请问一下怎么解决，或者怎么配置相应的自定义规则
To Reproduce
无
OpenClash Log
无

OpenClash Config
No response
Expected Behavior
无
Additional Context
No response

你这相当于旁路由吧？设备的DNS要指向旁路由，特别是ipv6的DNS。
有调试日志才能进一步排查问题。

我的ipv4是指向了旁路由的这是一定没问题的，ipv6的话之前试过指向但是不好用，你说的日志是内核日志么？还是插件日志，我可以提供

ipv6到底应该怎么配置才是正确的，这个东西分前后缀，我不知道是不是我自己配置的问题，因为我的接口上有获取到ipv6的地址，是直接指向那个就可以么

而且开启了ipv6之后，也不是完全不能翻墙，但是不稳，时不时就出不去，就提示不是私密链接，但是机场又没问题，因为我单开clashvarge翻墙是出的去的，所以就怀疑是不是我别的地方出的问题，而且我使用了adguard home作为上游，但是所有的不能翻墙的情况，手机都是能翻出去的，就不知道是什么情况

首先，既然我说了ipv4可以翻墙，就说明，我是了解基本的docker配置和openwrt旁路由配置的，dns没指定docker的ip，我怎么可能翻墙成功呢，用你的脑子想想，我没有发运行日志是我认为是我个人的原因出了问题，你怎么上来就指责我呢，你怎么就不想想我可能以为是我的配置问题只是需要人来给我提供思路呢？按你这么说，我一个ipv6设置的问题，还需要开发者来给我从docker讲起么？是你疯了，还是我疯了

我只是想用最简单的方式，解决因为我自己原因导致的问题，如果我什么都没有做只是安了个软件然后发了这样的issie，你怎么说我都不反驳，既然我说了我ipv4翻墙成功，就说明我知道这是我的问题，你没有必要帮我解决，可以，你要说我发issie不规范，我也认，你凭什么说我不尊重开发者？

从docker讲起就是尊重开发者？你问问开发者有没有时间从docker讲起？疯子一个

@jelly21fish 之前一直没复现问题，现在才复现成功，复现之后的日志已经上传了，我没有修改任何设置，这个问题就出现了，半个小时之前都是能翻墙的，现在就不行了

我不是开发者，而且也没通过docker使用过，只能推测一下。你的问题有可能是DNS设置造成的，我看到你停用了DNS劫持，不知道你的DNS流程具体是怎样的。你说你使用adguard home作为上游，指的是adguard home劫持DNS，然后转发给openclash的7874吗？这样的话，你还需要排除adguard home的问题。建议你先单独使用openclash劫持DNS，看是否有问题，再套上adg。

停用劫持就是因为adguard home接管了clash的7874，而且adguard home并没有拦截google.com，即使我把adguard去掉，也是这样的，开了ipv6就可能提示链接不私密，时不时就来一次，然后还能自己恢复好，很离谱，我发上个消息前的半个小时，都还能用，然后提示链接问题了，我怀疑过是dns被下毒了，把所有的dns设置全给搞成国外的了，还是不行

我要是不用ipv6看tv直播，我早就不用ipv6了

我理解你说的意思了，谢谢，我去看一下

我还有一个小问题，这个ipv6的dns可以像ipv4一样指定么就是直接用lan口获取的ipv6，还是需要自己处理一下，因为我看一般的ipv6dns 格式和lan口获取到的不一样

你可以填一个旁路由的公网ipv6地址（就是可能会变）和一个本地ipv6地址试试看，我填的是fd开头的。

你可以填旁路由的一个公网ipv6地址（就是可能会变）和一个本地ipv6地址试试看，我填的是fd开头的。

机场不支持ipv6出站的情况下最好不要开ipv6

@Aethersailor 我没用想用ipv6翻墙，我只是想把ipv6和ipv4分流，v4走机场，v6过国内，因为我需要看直播啊

解决了，在win10上加一个注册表，
位置： HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
名称：DisabledComponents
类型：REG_DWORD
数值修改为10进制  32   开v6就不会影响设备翻墙了


text:
Android手机连不上

更新了.39.8以后安卓几乎完全连不上代理，windows完全正常

连接及日志情况？是否正常劫持了dns

authors: schalldemz vernesong


text:
Add OAuth2 Implicit Flow

I just came across the vertx-oauth2 package and recognized that the implicit flow is missing. Are there any plans on adding it to the package aswell? Or are there reasons why this doesn't make sense?

The implicit flow is designed for apps running on the client, when the other flows were implemented I did not thought people would be embedding vert.x but it is a valid good point.

@skullcrasher I'm reading again the spec and from what I understand the implicit flow is a flow to be used by browser based applications or mobile applications. Since the entire source code is available to the browser, they cannot maintain the confidentiality of their client secret, so the secret is not used in this case.
If the application is running on a browser I'm asking myself what is the point of implementing this flow on the server? I can start the flow from javascript on my html and retrieve the token also on my html. My server has no need to know anything about it.
The only case I can imagine one would want this implemented server side was to collect the token and associate to the session e.g.:
JavaScript calls oauth2 provider with redirect to custom handler that parses the response hash and adds to the session, finally returns the static html file. What is dangerous here is that since the server does not initiate the request the calls to the callback can be forged easily which leads to a security issue.
Other thing is that for example on iOS the implicit flow can use intra-app communication for example you can authenticate with facebook with fbauth2://token?... which redirects to fb000000://...#token this would never reach our server since the redirect protocol is not http/https.
I'm thinking that this should not be implemented server side.

Reference: https://tools.ietf.org/html/draft-ietf-oauth-v2-15#section-4.2
I'll mark this invalid, please reopen if you disagree.

authors: pmlopes skullcrasher


text:
Group context per verticle to undeploy

the recent patch deploys one verticle per command, perhaps we can group them to have less verticle deployed (not for performance reason but rather for not cluttering the verticle space) and have a map Context->Verticle .

done


text:
Replace pytz with python-dateutil

vertica-python only leverages pytz for its pytz.utc tzinfo object, whereas python-dateutil is used for parsing timestamp strings.
Since python-dateutil also provides a dateutil.tz.tzutc() tzinfo object, replace pytz.utc with dateutil.tz.tzutc() and remove vertica-python's dependency on pytz. This reduces the number of dependencies on third-party datetime extension libraries from two to one.
This has an additional side benefit. Now, when vertica_python/vertica/column.py:timestamp_tz_parse parses a string corresponding to a timezone-aware datetime, the returned datetime's tzinfo is always generated by python-dateutil. Previously, in the special case where the string ended with +00, pytz would generate the returned datetime's tzinfo.
Resolves #322.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your contribution! It looks pretty good overall.

authors: CLAassistant manselmi sitingren

repo: vertica/vertica-python


text:
support ingesting  changes from tables with different schemas

Currently when using SQL API,  we must define table schema in the source table. So the tables in one flink cdc sql job must be with the same schema. Is there any way to ingest  changes from tables with different schemas in one flink job? Thank you.

Closing this issue because it was created before version 2.3.0 (2022-11-10). Please try the latest version of Flink CDC to see if the issue has been resolved. If the issue is still valid, kindly report it on Apache Jira under project Flink with component tag Flink CDC. Thank you!

authors: PatrickRen wangxiangyu

repo: ververica/flink-cdc-connectors


text:
rpm install error

also tried nodejs node-v10.24.1-linux-x64 and node-v14.16.1-linux-x64
but faild...
# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
# egrep node ~/.bash_profile
PATH=$PATH:$HOME/bin:/data/node-v10.16.3-linux-x64/bin/
# node --version
v10.16.3
# rpm -ivh nebula-graph-studio-2.1.9-1.x86_64.rpm
Preparing...                          ################################# [100%]
/var/tmp/rpm-tmp.8mdpQf: line 6: type: node: not found
Install failed for the reason: the nodejs(>v10.16.0) required
error: %pre(nebula-graph-studio-2.1.9-1.x86_64) scriptlet failed, exit status 1
error: nebula-graph-studio-2.1.9-1.x86_64: install failed

according to doc
https://github.com/nodejs/help/wiki/Installation#using-sudo-to-symlink-node-npm-and-npx-into-usrbin
must use ln -s to configure node ,so successed.

install success but start faild.
# sh start.sh
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '../lib/utils/unsupported.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at /usr/bin/npm:19:21
    at Object.<anonymous> (/usr/bin/npm:152:3)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[root@k8s-db-7 scripts]# 2021/04/14 17:38:11 --- START OF NEBULA IMPORTER ---
2021/04/14 17:38:11 [INFO] httpserver.go:80: Starting http server on 5699
2021/04/14 17:38:11.826 [I] [asm_amd64.s:1371]  http server Running on http://0.0.0.0:8080

install success but start faild.
# sh start.sh
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '../lib/utils/unsupported.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at /usr/bin/npm:19:21
    at Object.<anonymous> (/usr/bin/npm:152:3)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[root@k8s-db-7 scripts]# 2021/04/14 17:38:11 --- START OF NEBULA IMPORTER ---
2021/04/14 17:38:11 [INFO] httpserver.go:80: Starting http server on 5699
2021/04/14 17:38:11.826 [I] [asm_amd64.s:1371]  http server Running on http://0.0.0.0:8080

what are your system and version?

sudo ln -s /usr/local/nodejs/bin/* /usr/bin/  is required

authors: Roarain nianiaJR wuyanxin

repo: vesoft-inc/nebula-graph-studio


text:
Add ability to update with create

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@ausnews Thanks for contributing. I will take a look.

Thank you! Apologies for the test laziness.

No problem. Future contributions are welcome.

repo: vespa-engine/pyvespa


text:
Revert "Toregge/use standard locks in fastos"

Reverts vespa-engine/vespa#3943

See PR 2969

authors: hakonhall hmusum

repo: vespa-engine/vespa


text:
Delete BlockedNumbers using a WHERE clause

This is similar to #158.
Problem
Currently, the only way to delete BlockedNumbers using BlockedNumbersDelete is...
Contacts(context)
    .blockedNumbers()
    .delete()
    .blockedNumbers(blockedNumbers)
    .commit()

The problem is that a query is required to fetch the the blockedNumbers that needs to be deleted before it can be deleted.
Solution
We can simplify and optimize deletion to,
Contacts(context)
    .blockedNumbers()
    .delete()
    .blockedNumbersWhere { Number contains "555" }
    .commit()

[x] Update documentation; https://github.com/vestrel00/contacts-android/blob/main/docs/blockednumbers/delete-blocked-numbers.md
[x] Update cheatsheet; https://github.com/vestrel00/contacts-android/blob/main/docs/cheatsheet.md

This is out now in the 0.2.3 release!


text:
Investigate commandlets in the client

We should investigate whether any of these commandlets do anything interesting:

The virtual int32_t Main(FString* args) implementations seem to be stripped from the client, so nothing interesting to find here.

repo: vezel-dev/novadrop


text:
Deploying Containers to the production server (p91) vagrant provisioning broken

Hi,
When trying to provision the vagrant vm with vagrant up cd prod, I get the following error message:
TASK [docker : DockerUI is running] ********************************************
fatal: [10.100.198.201]: FAILED! => {"changed": false, "changes": ["{\"status\":\"Downloading from http://\"}\r\n", "{\"errorDetail\":{\"message\":\"Get http://: http: no Host in request URL\"},\"error\":\"Get http://: http: no Host in request URL\"}\r\n"], "failed": true, "msg": "Unrecognized status from pull.", "status": ""}
	to retry, use: --limit @/vagrant/ansible/prod.retry

PLAY RECAP *********************************************************************
10.100.198.201             : ok=10   changed=0    unreachable=0    failed=1

Any idea what could cause that ?
Thanks

Seems I'm outta luck, seems to be a very recent bug.
http://stackoverflow.com/questions/40895823/ansible-docker-container-no-host-in-request-url-docker-pull-works-correctly
Hope it gets fixed very soon..

Seems you're right.
They seem to be working on a fix. Let's wait for a while.

Related to https://github.com/docker/docker-py/issues/1321

Seems to be working now after hotfix from Docker (they rollbacked to earlier version of requests package)

Thank you for debugging this problem and letting me know that now it works.

authors: cyberjoac vfarcic

repo: vfarcic/ms-lifecycle

license: mit

license_source: bigquery


text:
Review neo4j vector index integration

Changes review of
https://github.com/langchain4j/langchain4j/pull/282

Java 8
databaseName config
"id" property config
added auto-constraint for the property "id"
dimension: check > 0 and <= 4096
added sanitize to label and property name (like here)
added batch every 10,000 rows, in Neo4jEmbeddingStore.bulk()
added check to SHOW INDEX WHERE type = 'VECTOR' ..
changed CALL db.awaitIndexes() to CALL db.awaitIndexes(60)
added retrievalQuery to customize what is returned in vectory.queryNodes

Closed since I pushed directly to the langchain4j repo's PR


text:
Add support for canary and ptb

https://canary.discord.com/
https://ptb.discord.com/

Implemented

authors: Hiiva victornpb

repo: victornpb/undiscord


text:
Vimeo Api also usable for https websites

Load API Request with // instead of http:// so it will also work on websites with SSL (https://).

Thanks for the PR, we're in the process of updating this repo to use the new official vimeo API. This means that this PR is probably obsolete.

authors: DominikAngerer gkatsev

repo: videojs/videojs-vimeo


text:
fieldset_field.contents called multiple times which slows down rendering custom fields

Hi,
I noticed that rendering custom fields was calling the method 4 times for each page load. This can be a problem if the custom field is returning something slightly complex...
Currently the fieldset_field.contents is called 4 times in the template and this can be fixed using the 'with' template tag.
Here is a proposed solution (I haven't checked any of the other templates yet for the same problem)
In django_adminreadonlyfield.html

    {% with contents=fieldset_field.contents %}
    {% if 'admin/img/icon-' in contents %}

        <input type="checkbox" id="test7" {% if 'icon-yes' in fieldset_field.contents %}checked="checked"{% endif %} disabled="disabled" />
        {{ fieldset_field.field.label|title }}

    {% else %}
    {% if '<' in contents and '>' in contents or contents == "" %}

            {{ contents }}

        {% else %}

                {{ fieldset_field.field.label|title }}
                <input disabled value="{{ fieldset_field.contents }}">
                {% if fieldset_field.field.help_text %}

{{ fieldset_field.field.help_text|safe }}

                {% endif %}

         {% endif %}
    {% endif %}
    {% endwith %}

Why is this closed?

repo: viewflow/django-material


text:
How to hide actionbar in android

I want to hide actionbar on centerview. I used Titanium SDK 3.4.0. GA.
Thank you.

use Q&A

authors: viezel wannaporn

repo: viezel/NappDrawer


text:
Inference Bugs: TypeError: tuple indices must be integers or slices, not tuple

I love Meissonic. Great Pioneers
When I run the inference.py, I use the diffusers=0.30.2:
pip show diffusers
Name: diffusers
Version: 0.30.2
Summary: State-of-the-art diffusion in PyTorch and JAX.
Home-page: https://github.com/huggingface/diffusers
Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/diffusers/graphs/contributors)
But I get this issues:
0%|                                                                                | 0/48 [00:00<?, ?it/s]
Traceback (most recent call last):
File "inference.py", line 37, in
image = pipe(prompt=prompt,
File "/home/xxx/anaconda3/envs/fine-tune/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/home/xxx/projects/meissonic/utils/pipeline.py", line 314, in call
model_output = self.transformer(
File "/home/xxx/anaconda3/envs/fine-tune/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/xxx/anaconda3/envs/fine-tune/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "/home/xxx/projects/meissonic/utils/transformer.py", line 1141, in forward
encoder_hidden_states, hidden_states = block(
File "/home/xxx/anaconda3/envs/fine-tune/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/xxx/anaconda3/envs/fine-tune/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "/home/xxx/projects/meissonic/utils/transformer.py", line 501, in forward
attn_output, context_attn_output = self.attn(
File "/home/xxx/anaconda3/envs/fine-tune/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self.call_impl(*args, **kwargs)
File "/home/xxx/anaconda3/envs/fine-tune/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1562, in call_impl
return forward_call(*args, **kwargs)
File "/home/xxx/.local/lib/python3.8/site-packages/diffusers/models/attention_processor.py", line 490, in forward
return self.processor(
File "/home/xxx/.local/lib/python3.8/site-packages/diffusers/models/attention_processor.py", line 1846, in call
query, key = apply_rope(query, key, image_rotary_emb)
File "/home/xxx/.local/lib/python3.8/site-packages/diffusers/models/attention_processor.py", line 1702, in apply_rope
xq_out = freqs_cis[..., 0] * xq[..., 0] + freqs_cis[..., 1] * xq[..., 1]
TypeError: tuple indices must be integers or slices, not tuple
I love Meissonic. Great Pioneers!

Please compile and install diffusers from diffusers.

git clone https://github.com/huggingface/diffusers.git
cd diffusers
pip install -e .

It would be solved.

Please compile and install diffusers from diffusers.
1. git clone https://github.com/huggingface/diffusers.git

2. cd diffusers

3. pip install -e .

It would be solved.

I have solved it. @Owen718

repo: viiika/Meissonic


text:
css.module update triggers a full page refresh

Description
Hey,
we are considering to switch over to scss.modules/css.modules. I created a vite react app and a vike react app.
Issue: When using css.module with vike the full page reloads and all state is lost, compared to vite where this works.
To reproduce:

check out the repository
run dev
hit the counter to update state
change css code in module
all state is lost

I also post here my vite configs, but since this also happening with a fresh project, I think this is something from vike?
Here are my project configs:
/// <reference types="vitest" />

import react from '@vitejs/plugin-react';

import autoprefixer from 'autoprefixer';
import path from 'path';
import cssMini from 'postcss-minify';
import ssr from 'vike/plugin';
import { defineConfig } from 'vitest/config';

console.log(process.env.IS_STORYBOOK ? 'Vite uses plugin set for storybook' : 'Vite uses plugin set for app');

const plugins = process.env.IS_STORYBOOK
  ? [react()]
  : [
      react(),
      ssr({
        prerender: true

      })
    ];

// https://vitejs.dev/config/
export default defineConfig({
  plugins,
  test: {
    globals: true,
    environment: 'jsdom',
    setupFiles: ['./src/tests/setup.ts'],
    exclude: ['**/node_modules/**', '**/dist/**', '**/coverage/**', '**.stories**', '**.types**'],
    reporters: ['default', 'junit'],
    outputFile: {
      junit: 'coverage/junit.xml'
    },
    coverage: {
      all: true,
      provider: 'istanbul',
      reporter: ['cobertura', 'html']
    }
  },
  css: {
    //   preprocessorOptions: {
    //     scss: {
    //       additionalData: `
    //         @use "@themes/breakpoints.module" as *;
    //         @use "@themes/{client}/colors.module" as *;
    //         @use "@themes/{client}/custom.module" as *;
    //       `
    //     }
    //   },
    postcss: {
      plugins: [autoprefixer(), cssMini()]
    }
  },
  resolve: {
    alias: {
      '#': path.resolve(__dirname, './src'),
      '#api': path.resolve(__dirname, './src/api'),
      '#components': path.resolve(__dirname, './src/UI/components'),
      '#layouts': path.resolve(__dirname, './src/UI/layouts'),
      '#pages': path.resolve(__dirname, './src/pages'),
      '#providers': path.resolve(__dirname, './src/providers'),
      '#widgets': path.resolve(__dirname, './src/UI/widgets'),
      // NOTE: fix ERROR: [plugin: vite:dep-pre-bundle] No known conditions for "./native" specifier in "msw" package during storybook build
      'msw/browser': require.resolve(path.resolve(__dirname, './node_modules/msw/lib/browser/index.mjs')),
      // NOTE: fix ERROR: No known conditions for "./browser" specifier in "msw" package
      'msw/native': require.resolve(path.resolve(__dirname, './node_modules/msw/lib/native/index.mjs')),
      '@themes': path.resolve(__dirname, './src/themes')
    }
  },
  ssr: {
    noExternal: ['primereact']
  },
  build: {
    sourcemap: 'inline',
    target: 'esnext'
  },
  // we need server here to serve static files from one level up to the project root
  server: {
    fs: {
      strict: false,
      // Allow serving files from one level up to the project root
      allow: ['..']
    }
  }
});

Duplicated of https://github.com/vikejs/vike/issues/1127.

@brillout but I couldn't reproduce it with vanilla vite, or am I missing something? Is there a workaround for this?

Or do you know of a vite issue which I can look at or has this not been reported yet?

https://github.com/vikejs/vike/issues/1127#issuecomment-1725840225 is the latest insight from my side.

authors: brillout snake-py

repo: vikejs/vike


text:
Is It Possible To Use A Custom InputView For The Textfields?

Hi,
Great library 👍
I am just wondering whether it is possible to use a custom input view for the textfields?

Fixed ^^

repo: vikmeup/SCLAlertView-Swift


text:
Cordoba dependencies error

I20160614-10:38:12.170(3)? E/MeteorWebApp( 6616): Download failure
I20160614-10:38:12.171(3)? E/MeteorWebApp( 6616): com.meteor.webapp.WebAppException: Skipping downloading new version because the Cordova platform version or plugin versions have changed and are potentially incompatible
I20160614-10:38:12.173(3)? E/MeteorWebApp( 6616): 	at com.meteor.webapp.WebAppLocalServer.shouldDownloadBundleForManifest(WebAppLocalServer.java:367)
I20160614-10:38:12.174(3)? E/MeteorWebApp( 6616): 	at com.meteor.webapp.AssetBundleManager$1.onResponse(AssetBundleManager.java:131)
I20160614-10:38:12.174(3)? E/MeteorWebApp( 6616): 	at okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)
I20160614-10:38:12.176(3)? E/MeteorWebApp( 6616): 	at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
I20160614-10:38:12.177(3)? E/MeteorWebApp( 6616): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
I20160614-10:38:12.178(3)? E/MeteorWebApp( 6616): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
I20160614-10:38:12.180(3)? E/MeteorWebApp( 6616): 	at java.lang.Thread.run(Thread.java:818)

http://stackoverflow.com/questions/36363217/how-to-update-cordova-plugin-device-in-my-meteor-project helped on Note4 and S3 for locahost

Should progress on staging and production

[ ] Update staging code with hotfix/0.1.13
[ ] meteor run android-device --mobile-server=http://stg.arciau.lt
[ ] create apk for staging with server http://stg.arciau.lt

repo: vilnius/vilnius-carpool


text:
graph doesn't show up until you move mouse

Need to change way signal graph is constructed or something

looks like it's actually computing the dims on load, it's just that the GraphEditor.initState needs to have a diagram, but GraphEditor.view needs a State... Something like that.

repo: vilterp/thesis


text:
Focus gets confused, ends up with no split focused

environment

vim: 7.4.1707 (Homebrew Macvim)
vim-airline: 1bb8b62 (latest master at time of filing)
OS: Mac 10.11.4 El Capitan
terminal: iTerm 2.1.4 / ZSH

I discovered this via Tim Pope's fugitive originally, but it turns out that's just a convenient way to run the correct sequence of buffer commands to confuse airline. In a fresh vim (no need for fugitive):

:e file1
:split
:e file2
<leader>wj (switch to the bottom split)
:e file2
<leader>wk (switch back up)
:bd
Now the airline status bar is dimmed out (unfocused) incorrectly, even though there is no other split present which could possibly take focus.

possibly related to https://github.com/vim-airline/vim-airline/issues/1125 although nothing in this case is a preview, they're all regular file splits.

what are those mappings please?

The example steps that are now in the description are all pure vim commands, no mappings needed. I will try to reproduce with a minimal vimrc/plugins to make sure nothing else is interfering.

It seems that this is a conflict with vim-stay somehow; I can reproduce the issue with just vim-stay and airline loaded via pathogen, and no other vimrc.

Yeah, I can't replicate this behaviour currently

I've filed a twin bug with vim-stay, but I'm not really sure which plugin is the root cause. If there's anything else you need please let me know.

I've encountered this bug without having vim-stay installed. Possibly relevant plugins I do have installed:
Plug 'airblade/vim-gitgutter'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'scrooloose/syntastic'
Plug 'tpope/vim-fugitive'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'

Well if you can reliably reproduce, I would be interested how to do so

@chrisbra I have been able to reproduce it for vim-stay: the issue manifests itself whenever loading a session (or view session, in stay’s case) changes the buffer’s &statusline value. As both &viewoptions and &sessionoptions do so by default, the issue is not exactly stay-specific

hm, perhaps we need an OptionSet autocommand (if the Vim/Nvim supports it) to reset the statusline, if it is changed?

perhaps we need an OptionSet autocommand (if the Vim/Nvim supports it) to reset the statusline, if it is changed?

That would cover all cases. For versions of Vim without optionSet autocommand support, you might also consider handling SessionLoadPost as the defaults for session and view session files are likely to cause issues.

I think you are right, using OptionSet might not be the best choice (and would prevent the user from setting the option itsself (althought it wouldn't work anyhow)), so let's go ahead and use the SessionLoadPost autocommand. That's what i did in #1140.
@eapache when you used vim-stay, did you somehow disable airline earlier or does vim-stay reset the statusline option @kopischke ?

@chrisbra the &statusline option was overwritten by the view session files Vim creates with default viewoptions settings and which vim-stay’s loads automatically on BufWinEnter – the plug-in is little more than an automation wrapper around :mkview / :loadview.

Using latest master (including #1140) of vim-airline does not fix the issue with master vim-stay. Switching to the pending 1.4 release of vim-stay does fix the issue, but I thought I'd mention it since my understanding was that the vim-airline fix was supposed to work regardless?

@kopischke  Yes, but shouldn't the default viewfile include the statusline setting from vim-airline? e.g. the created sessionfile should save the statusline setting (with the value from vim-airline) so on restore, it resets back the statusline setting from vim-airline?

@chrisbra yes it does, but that seems to throw airline off somehow. I might be wrong in assuming that it is specifically the &statusline change that causes this, of course, but that looks like the most likely culprit. What I can say for sure is that when view sessions store options and are loaded on BufWinEnter, the issue is present; when they don’t, it’s not. Would it help if I upload a view session file causing the issue?

Hi Martin!
On Do, 21 Apr 2016, Martin Kopischke wrote:

@chrisbra yes it does, but that seems to throw airline off somehow. I might be wrong in assuming that it is specifically the &statusline change that causes this, of course, but that looks like the most likely culprit. What I can say for sure is that when view sessions store options and are loaded on BufWinEnter, the issue is present; when they don’t, it’s not. Would it help if I upload a view session file causing the issue?

Yes, that would be appreciated!

@chrisbra I’ve uploaded the view session file created when following the issue’s step by step instructions (which do reproduce the issue) and, for comparison purposes, the view session file for the same buffer when the options flag is not in &viewoptions, as a Gist.

I think, I understand now why this happens. e.g. when you create your viewfile the buffer is in a different window than when you restore the view. That would break, since the statusline setting includes the window number. However, since #1140 has been merged, I can't reproduce this issue anymore.
@eapache please test again

I can definitely still reproduce using the steps outlined in my original comment, with vim: 7.4.1707 (Homebrew Macvim), vim-airline at d36085a5b007362b78c0baf6c99ff45b9f6e1aa7 (includes #1140) and vim-stay at 89e5a31fcdfd39774945e61144f0022977f13365 (does not include https://github.com/kopischke/vim-stay/commit/6742c38efd54e994c4346c630e6006689315a354).

okay, I think I found the problem. Going to create a PR in a second

authors: chrisbra eapache kopischke zr40

repo: vim-airline/vim-airline


text:
Expand filepath section to show full path

Hi,
I'd like to replicate a behaviour from Powerline. When multiple buffers are open, Powerline tries to show the filename by expanding this section and compressing the others:

However, in Airline, the filename is truncated when it gets too big for the tabline size:

How do I replicate Powerline's behaviour in Airline?
Thanks,
Pedro

@pedrofranceschi , could you maybe share your setting?

authors: pedrofranceschi smilesun


text:
Add option to change wordcount display for the default formatter

g:airline#extensions#wordcount#format was left in the documentation despite being taken out of the code due to it not being actually used.  I thought it would be a useful option in case users wanted to easily change the wordcount display without needing to make their own custom formatter.

thanks!

authors: Taikuh chrisbra


text:
Vim9: cannot use "map()" to change type of unassigned expression

Describe the bug
In Vim9 script, we cannot use map() to change the type of an unassigned expression.
To Reproduce
Run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    vim9
    def Func()
        map([0], (_, v) => 'x')
    enddef
    Func()
EOF
)

E1012 is raised:
E1012: Type mismatch; expected list<number> but got list<string>

Expected behavior
No error is raised, because [0] was never assigned to any variable with a declared type.
Environment

Vim version: 8.2 Included patches: 1-2327
OS: Ubuntu 16.04.7 LTS
Terminal: xterm(363)

Additional context
This is caused by 8.2.2325.

This is inconsistent with extend():
vim9
def Func()
    echo extend([0], ['x', true])
enddef
Func()

[0, 'x', true]

Notice that extend() did not complain when we changed the type of [0], which is list<number>, into list<any>.  IMO, the behavior of extend() is correct, because [0] was never assigned to any variable with a declared type.  Type checking should only be concerned with the types we have explicitly written.  See also this comment:

One might argue that the type is only created after calling extend().

This is inconsistent with what happens at the script level, where the same code does not raise any error:
vim9
map([0], (_, v) => [])

✔

I like type checking; it has helped me find and fix bugs in legacy code I would never have caught by myself.  But I think this is too much.  The purpose of type checking should be to check that once we say "the variable X has the type Y", the variable X keeps the type Y for its entire life.  What we do with an undeclared and unassigned expression should be of no concern to type checking.
Suppose that we want to build a custom list of dictionaries with some info about the windows in the current tabpage; for example their height and width.  We could write something like this:
vim9
def GetInfoAboutOneWindow(v: number): dict<number>
    return {height: winheight(v), width: winwidth(v)}
enddef
def GetInfoAboutAllWindows(): list<dict<number>>
    return range(1, winnr('$'))->map((_, v) => GetInfoAboutOneWindow(v))
enddef
echo GetInfoAboutAllWindows()

E1012: Type mismatch; expected list<dict<number>> but got list<number>

Why does it matter that we've changed the type of range(1, winnr('$'))?  Which kind of error will it help us find?  It was only used temporarily in the middle of a computation to get the right expression.

Describe the bug
In Vim9 script, we cannot use map() to change the type of an unassigned expression.
To Reproduce
Run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    vim9
    def Func()
        map([0], (_, v) => 'x')
    enddef
    Func()
EOF
)

E1012 is raised:
E1012: Type mismatch; expected list<number> but got list<string>

Expected behavior
No error is raised, because [0] was never assigned to any variable
with a declared type.

Does that really matter?  Compare these two:
var l = [0]
map(l, Func)

and:
map([0], Func)
Do you expect them to behave differently?  That would be hard to
explain.  It can easily get more complicated:
map(GetList(), Func)

Now you can't see where the list is coming from.  Can the item type be
changed or not?
What I did now was use the rule that map() can change the item value,
but not the type.  If you want to change the type, use mapnew().
It may not be perfect, but at least it's a simple rule.

This is inconsistent with extend():
vim9
def Func()
    echo extend([0], ['x', true])
enddef
Func()

[0, 'x', true]

Notice that extend() did not complain when we changed the type of
[0], which is list<number>, into list<any>.  IMO, the behavior
of extend() is correct, because [0] was never assigned to any
variable with a declared type.  Type checking should only be concerned
with the types we have explicitly written.  See also this
comment:

That looks like a bug, since this does give an error:
echo extend([0], ['x'])
E1013: Argument 2: type mismatch, expected list but got list
Including "true" makes the argument a list and passing that should
be an error, but isn't.

This is inconsistent with what happens at the script level, where the same code does not raise any error:
vim9
map([0], (_, v) => [])

That should be fixed.  Especially when used like this:
var l: list<number> = [0]
map(l, (_, v) => [])

Which is similar to a previous bug that caused a crash.  It's difficult
to make it work for "[0]" and fail for "l".

I like type checking; it has helped me find bugs in legacy code I
would never have caught by myself.  But I think this is too much.  The
purpose of type checking should be to check that once we say "the
variable X has the type Y", the variable X keeps the type Y for its
entire life.  What we do with an undeclared and unassigned expression
should be of no concern to type checking.

The counter argument is that the rules should not depend on where a
value comes from, whether it's a literal or from a variable.  It makes
the rules hard to understand.  And also difficult to implement, we would
need to keep track where a value came from.

Suppose that we want to build a custom list of dictionaries with some
info about the windows in the current tabpage; for example their
height and width.  We could write something like this:
vim9
def GetInfoAboutOneWindow(v: number): dict<number>
    return {height: winheight(v), width: winwidth(v)}
enddef
def GetInfoAboutAllWindows(): list<dict<number>>
    return range(1, winnr('$'))->map((_, v) => GetInfoAboutOneWindow(v))
enddef
echo GetInfoAboutAllWindows()

E1012: Type mismatch; expected list<dict<number>> but got list<number>

Why does it matter that we've changed the type of range(1, winnr('$'))?  Which kind of error will it help us find?  It was only
used temporarily in the middle of a computation to get the right
expression.

Should be no problem to use mapnew() here.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Describe the bug
In Vim9 script, we cannot use map() to change the type of an unassigned expression.
To Reproduce
Run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    vim9
    def Func()
        map([0], (_, v) => 'x')
    enddef
    Func()
EOF
)

E1012 is raised:
E1012: Type mismatch; expected list<number> but got list<string>

Expected behavior
No error is raised, because [0] was never assigned to any variable
with a declared type.

Does that really matter?  Compare these two:
var l = [0]
map(l, Func)

and:
map([0], Func)
Do you expect them to behave differently?  That would be hard to
explain.  It can easily get more complicated:
map(GetList(), Func)

Now you can't see where the list is coming from.  Can the item type be
changed or not?
What I did now was use the rule that map() can change the item value,
but not the type.  If you want to change the type, use mapnew().
It may not be perfect, but at least it's a simple rule.

This is inconsistent with extend():
vim9
def Func()
    echo extend([0], ['x', true])
enddef
Func()

[0, 'x', true]

Notice that extend() did not complain when we changed the type of
[0], which is list<number>, into list<any>.  IMO, the behavior
of extend() is correct, because [0] was never assigned to any
variable with a declared type.  Type checking should only be concerned
with the types we have explicitly written.  See also this
comment:

That looks like a bug, since this does give an error:
echo extend([0], ['x'])
E1013: Argument 2: type mismatch, expected list but got list
Including "true" makes the argument a list and passing that should
be an error, but isn't.

This is inconsistent with what happens at the script level, where the same code does not raise any error:
vim9
map([0], (_, v) => [])

That should be fixed.  Especially when used like this:
var l: list<number> = [0]
map(l, (_, v) => [])

Which is similar to a previous bug that caused a crash.  It's difficult
to make it work for "[0]" and fail for "l".

I like type checking; it has helped me find bugs in legacy code I
would never have caught by myself.  But I think this is too much.  The
purpose of type checking should be to check that once we say "the
variable X has the type Y", the variable X keeps the type Y for its
entire life.  What we do with an undeclared and unassigned expression
should be of no concern to type checking.

The counter argument is that the rules should not depend on where a
value comes from, whether it's a literal or from a variable.  It makes
the rules hard to understand.  And also difficult to implement, we would
need to keep track where a value came from.

Suppose that we want to build a custom list of dictionaries with some
info about the windows in the current tabpage; for example their
height and width.  We could write something like this:
vim9
def GetInfoAboutOneWindow(v: number): dict<number>
    return {height: winheight(v), width: winwidth(v)}
enddef
def GetInfoAboutAllWindows(): list<dict<number>>
    return range(1, winnr('$'))->map((_, v) => GetInfoAboutOneWindow(v))
enddef
echo GetInfoAboutAllWindows()

E1012: Type mismatch; expected list<dict<number>> but got list<number>

Why does it matter that we've changed the type of range(1, winnr('$'))?  Which kind of error will it help us find?  It was only
used temporarily in the middle of a computation to get the right
expression.

Should be no problem to use mapnew() here.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

OK, fair enough.  I'll use mapnew().  As a benefit, it will make the code a little more readable:  when we read map(), we know that the type doesn't change; when we read mapnew() there is a good chance that the type changes.
I keep the issue open for the other inconsistencies which were mentioned in the original post, but if you prefer that I open separate issues because it's too confusing, let me know.

OK, fair enough.  I'll use mapnew().  As a benefit, it will make the code a little more readable:  when we read map(), we know that the type doesn't change; when we read mapnew() there is a good chance that the type changes.
I keep the issue open for the other inconsistencies which were mentioned in the original post, but if you prefer that I open separate issues because it's too confusing, let me know.

I'm closing the issue because map() is working as intended, and the last 2 inconsistencies have now been included in the todo list:
https://github.com/vim/vim/blob/9567efa1b4a41baca9b2266f5903d5dda7ad1e88/runtime/doc/todo.txt#L41-L49

I'm closing the issue because map() is working as intended, and the last 2 inconsistencies have now been included in the todo list:
https://github.com/vim/vim/blob/9567efa1b4a41baca9b2266f5903d5dda7ad1e88/runtime/doc/todo.txt#L41-L49

authors: brammool lacygoill

repo: vim/vim

license: Vim


text:
Pressing Ctrl+s causes all buffers to freeze

Describe the bug
Pressing ctrl+s causes the buffers to freeze. It should not.
To Reproduce
Detailed steps to reproduce the behavior:
Press Ctrl+s in Vim with an open buffer
Expected behavior
A clear and concise description of what you expected to happen.
anything else.
Screenshots
If applicable, copy/paste the text or add screenshots to help explain your problem.
Environment (please complete the following information):

Vim version Release
OS: Ubuntu
Terminal: Kitty

Additional context
Vim is awesome!! :D

On 2021-04-08, Corallus Caninus wrote:

Describe the bug
Pressing ctrl+s causes the buffers to freeze. It should not.
To Reproduce
Press Ctrl+s in Vim with an open buffer
Expected behavior
anything else.

Environment (please complete the following information):
• Vim version Release
• OS: Ubuntu
• Terminal: Kitty

This is expected behavior.  It is not caused by Vim but rather by
your terminal.
This is mentioned in a few places in the Vim help, but it's not easy
to find.  Execute
:helpgrep CTRL-S\>

and you'll find a number of places that say,
not used or used for terminal control flow

or
NOTE: CTRL-S suspends display in many Unix terminals.  Use 's'
instead.  Type CTRL-Q to resume displaying.

To keep your terminal from doing that, execute the following from
the shell prompt or put it in your shell's rc file, e.g., ~/.bashrc.
stty stop undef

Regards,
Gary

closing.

BTW Vim 8.2.0852 fixed this.  If you have this or a newer version, you can use Ctrl-S in mappings without freezing terminal output, even if you don't tweak stty settings in your .bashrc.

authors: Corallus-Caninus chrisbra mgedmin vim-ml


text:
Remove incorrect use of W_WINROW

In structs.h it is mentioned that w_wrow is relative to w_winrow, so
using W_WINROW doesn't make sense here.

In structs.h it is mentioned that w_wrow is relative to w_winrow, so
using W_WINROW doesn't make sense here.

Hmm, there are other hints suggesting that comment is wrong and the
code is right.  Various other places where w_wrow is used it is added to
W_WINROW().  I think that comment was written before w_winbar_height was
added.
If the code does need correction, it should be possible to see the
effect with a test.
Unfortunately these computations have become quite hard to understand
because of the features that have been added over time.  Refactoring
this will not be easy.  There might also be some more places where
w_winbar_height is not taken into account while it should.
--
I think that you'll agree that engineers are very effective in their social
interactions.  It's the "normal" people who are nuts.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Looking at this again, I still thin this change doesn't lead to any observable behavior change.
The condition intends to check if there are 'scrolloff' lines between the current cursor when the bottom of the window. When W_WINROW(curwin) is added, the condition is instead satisfied when the cursor is on some screen below that position. However,

If 'scrolloff' is smaller than half the window height, this condition can only be satisfied when W_WINROW(curwin) == 0. And if it is not satisfied, update_topline() does the actual scrolling.
If 'scrolloff' is larger than half the window height, update_topline() will put the cursor at the center of the window soon afterwards anyway, because set_topline() no longer sets VALID_TOPLINE starting from https://github.com/vim/vim-history/commit/7db7bb45b0f919ff0615d463ebd4fde881c69d1f.

Or, to put it in another way, https://github.com/vim/vim-history/commit/7db7bb45b0f919ff0615d463ebd4fde881c69d1f make update_topline() correct the mistakes made in this block, so this incorrect use of W_WINROW() no longer affects observable behavior.

Thanks, let me merge this now. Hopefully this won't break anything.

authors: brammool chrisbra zeertzjq


text:
problem: cannot use :e with 'winfixbuf' enabled

Problem:  cannot use :e with 'winfixbuf' enabled
Solution: allow :e without args
closes: #14237

@chrisbra Thank you for the quick fix. One thing wanted to mention though - there's 2 more cases that we may need to consider

:edit (no args, exists your PR already)
:edit foo (file lives on disk, current buffer is already foo)
:edit foo (file is an in-memory buffer that does not live on disk, current buffer is already foo)

I started an exploratory branch here https://github.com/neovim/neovim/compare/master...ColinKennedy:neovim:issues/14237-neovim_edit_without_args
In short, Test_edit_same_buffer_in_memory is the only test that doesn't work. But I suspect this might be a neovim-only issue. The issue was because the "is this buffer name the same as the current" relies on a function that expects the buffer name to exist on-disk. Vim on the other hand does the same check differently so I planned on trying that next.
Anyway in short, I think we should also account for (2) and (3), if not in this PR but in another follow-up

yes makes sense. Then I await an updated PR.

authors: ColinKennedy chrisbra


text:
Remove abort from conditional expression if it's always false.

The warnings can be read here:
https://neovim.io/doc/reports/pvs/PVS-studio.html.d/sources/userfunc.c_6.html#ln3467
https://neovim.io/doc/reports/pvs/PVS-studio.html.d/sources/userfunc.c_6.html#ln3497
https://neovim.io/doc/reports/pvs/PVS-studio.html.d/sources/userfunc.c_6.html#ln3505

The warnings are confusing.  Looks like it is better to do away with the "abort" variable and just return.

authors: brammool dundargoc


text:
Failed upload using Device Auth token

Hello! I'm trying to put together a simple Proof of Concept of an application that eventually posts the user's video to their own account.
In my own account I created an App. I then followed steps described in https://developer.vimeo.com/api/authentication to acquire the Device Code Grant kind of Auth Token from a second account. I managed to get said token with no problem.
However, I'm having trouble using said token.
Here's the script to upload a file to this second account:
file_name = 'path/to/file'
client = vimeo.VimeoClient("<TOKEN_FROM_CODE_GRANT>")

uri = client.upload(file_name, data={
  'name': 'Test',
  'description': 'Description of the video goes here.',
})

I also tried providing the app's key and secret alongside the second account's token, but I run into the exact same error message... And I'm not sure what is going on.
And when I try to run this simple script, I get a permission (?) error:
vimeo.exceptions.UploadAttemptCreationFailure: This app cannot generate a token with the upload scope for the requested account. This app can only upload to the app owner's account.
Can someone please clarify how to properly use this token I got from the Device Code Grant procedure?

When you are receiving the OAuth response you should see your granted scopes:
https://developer.vimeo.com/api/authentication#using-the-device-code-grant-step-5
Does it contain the upload grant?

Hi @marcelcs, that app is only approved for uploading to its own Vimeo account. The app cannot be used to upload videos to another user's account.
To request permission, reach out to Vimeo Support here: https://vimeo.com/help/contact
(Also, when you receive a ticket number, provide that ticket number here and Vimeo Staff can expedite the request)

@jaylinski  From the response to /oauth/device/authorize
"scope": "upload private public",

@tommypenner thank you! This is the ticket number: #7865491

authors: jaylinski marcelcs tommypenner


text:
Fix compatibility with airwave gen1

It seems like 'date_time' dict entry is not populated for v1 of the airwave, which causes _get_service_characteristics to throw an error. I'm not sure why this is the case or what the expectation is, but since the date_time entry is getting popped anyways, I figured that adding a condition guard is the quickest/easiest fix.
After this change I can import the sensor into home assistant, whereas prior to change adding the integration would fail with [homeassistant.components.airthings_ble.config_flow] Unknown error occurred from CC:78:AB:15:75:02: 'date_time'

Thanks @igorbernstein. This fix worked for me to work around the issue I reported over at https://github.com/home-assistant/core/issues/81498.

@vincegio would love to see this merge into the current main build.

Thanks! I'll get it updated and creating a PR in core to bump the package as well.

authors: cjwazzy igorbernstein magfro vincegio

repo: vincegio/airthings-ble


text:
TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/51232

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/51439


text:
First impression

Hi,
First impression is that it's well thought out!
I have a few comments/thoughts.

What else do you see in the future except the obvious of viewing recipes in graph form. I remember you said you'd like to be able to compare recipes. What else do you think this can this be used for? I mean this might be important to plan for from the start as it will affect the level of detail in the nodes. (should each operation node have time and temp info for example)
If this is to be used for any type of recipe (as I guess it will) some kind of recipe classifier info for the nodes might be useful to be able to filter nodes for specific types of recipes? I'm thinking this might be used for much more than food recipes, think of chemistry experiments, cosmetics, paint etc etc. For chemistry you will probably have very specific containers and tools that you will never use in food recipes for example.
I don't see any layout information in the YAML file, what is the plan with layout?

As for using a javascript viewer/editor I don't mind that at all, I don't think I have done it before so we will have to figure that out.

@CAPE-PS - thanks for reviewing.

I mainly have ice cream and bread recipes in mind at the moment.  You bring up a good question about what else might be needed.  I'm opening a new issue to specifically discuss operation nodes.  Right now time/temp info is intended to go into the "intensity" and "terminate" fields, but maybe those aren't the best fields.
For tagging things appropriate for a particular kind of recipe, I think we could add a field to the schema so there is an array of tags for each tool, vessel, and maybe the other schemas.
For layout, I originally had a css field in each node, thinking that could hold layout information in Cascading Style Sheet format.  But then I wasn't happy forcing CSS on applications.  So the data field is intended to be a free-form field for applications to use.  But then applications can't easily share layout information.  If you were going to implement layout of nodes in .net for example, how would you want to store layout info?

authors: CAPE-PS vincentl

repo: vincentl/aquilo


text:
Automate multiple agents playing against eachother

I implemented a very basic version of this, but only for the"test game".

Next, I will the bunnies game consistent with the new interface so that it should be playable again.

repo: vincentropy/battleground


text:
Make super class for content types

Make a super class for content types that already has some functionality

it's directory (derived from the name)
count

Postponed

repo: vindevoy/cherryblog


text:
Texutre filter should be an option instead of only overwriting to "nearest" by default

Aseprite wizard will overwrite texture filter from "inherit" to "nearest" by default. I am no expert but if you are making pixelart you set your project texture filter to Nearest and then everything inherits that, depending on how godot handles an overwrite it might be best not to redefine that option for every sprite imported by this tool.

Hi, I don't think this is an issue to justify one more config. The overwrite is transparent to the node and not setting it might bring issues later. For example, if someone starts the project with "nearest" by default and then decides they want high res for the interface, they would have to go to every import and set the filter to "nearest". I can't think on a scenario where not having the filter is desirable.

authors: BankruptGreek viniciusgerevini

repo: viniciusgerevini/godot-aseprite-wizard


text:
[Feature] Multithreading feature in python3 for corresponding python2 files

The master branch is maintained for python2 whereas the feature/python3.8 branch is maintained for python3. Multithreading feature is available in python2 as of now.
The multithreading feature has been used in the project to improve efficiency of the scanning process. Checkout 'Need for Multithreading' section in  README.md for better understanding.
Create a PR in feature/python3.8 branch for the multithreading feature in python3.
The file correspondence in python2 - python3(master - feature/python3.8) can be understood as follows:

src/single/scanner.py - scanner.py ( Port scanning feature without multithreading )
src/multi/scanner_thread.py - (to be written in py3) Split processing function for multithreading.
src/mainScanner.py - (to be written in py3) Port Scanning feature using multithreading.
src/ipscanner - (to be written in py3) IP Scanning feature using multithreading.

Follow the same directory structure as in master.

I would like to work on this

Sure @tanay13 , please go ahead with it. 👍

repo: vinitshahdeo/PortScanner


text:
Getting a cryptic output from Device

Sorry, I'm a bit new to this but I've double checked, that every value is correct (IP, Key, ID)
I'm getting this output when I'm setting the switch to off/on via the Tuya App.
I'm using Gosund Devices SP211 (I think.)

Just a hint to try it as V 3.1 and see if you get the same result
Craig

Yes, I'm getting the error on 3.1, too

Hang on - you haven't filled in both the IP and device ID have you ?

I know that it clearly states NOT to do that.
I tried both ways, just using the ID or the IP but it can't find the device. see below.

If however, I fill both fields, it works instantly. I get responses back when I turn on/off the plug but get the cryptic message above.

Same here. Filling either IP address or Device Virtual ID results in "find() timed out". Double checked the device key which should be correct. If I change the last character of that key a different error immediately pops up. Then I filled both fields (device ID plus IP) and voilà, connection established. But, I not only receive these cryptic output. Unfortunately it's also not possible to issue commands to my device. This results in an error and a broken connection. So I guess something is wrong with the Tuya node in general.

Sorry but i am no expert on this one - i have just finished setting up my Heat Pump with it and it is working fine.
I went through a number of different nodes before i settled on this one.
One thing i did notice is that the install/uninstall of a number of nodes left behind some crap in NPM. When i moved it to a new machine and installed just this node into NR then all was OK.
I wonder if you have some leftover stuff from your experimenting ?
It might be an idea to uninstall this node, then go to the command line and make sur tuyapi is also removed, then restart the device (Assume RPi ?) and check from the commandline what is running and if there are any leftovers in NPM again ?
Craig

Hi there,
is the device one thing about

Wifi connected to Smart Life
Zigbee or Bluetooth device connected via Gatweway
connected to Smart Life?

then this could help you!
Take the IP address of the gateway and then see if you get an output with CID. That would be the ID for the device behind a gateway.
solution

authors: 8xiom DeadlyVirez craigcurtin-dev hannoverRed


text:
Around hooks is not finnished

When returning nil https://github.com/vinted/chained_job/blob/master/lib/chained_job/start_chains.rb#L23 around callback is not being finished.
Return something to finish around callback

Use next instead of return to finish around callback:
https://makandracards.com/makandra/46939-ruby-a-small-summary-of-what-return-break-and-next-means-for-blocks

authors: laurynas mantaskujalis


text:
Unable to Switch ViroVideo between Multiple ViroARImageMarker

Hi Team,
Could you please help me switch  between videos using ViroARImageTracker,I tried onAnchorFound and onAnchorRemoved but not able to switch the videos.Please find the sample code that i am using
Say I have 3 Image Markers and I wanted to Play video accordingly and on switching Markers I need to play the other video.
For Ex :
     <ViroARScene>       <ViroAmbientLight color="#ffffff" intensity={200}/>         <ViroARImageMarker target={"1"} onAnchorFound={this._onAnchorFound} onAnchorRemoved={this._onAnchorRemoved} pauseUpdates={this.state.pauseUpdates}>           <ViroNode position={[0, -.1, 0]} scale={[1,1,1]} rotation={[-90, 0, 0]} dragType="FixedToWorld" onDrag={()=>{}}>             <ViroVideo               source={require('./res/1.mp4')}               loop={true}               position={[0, 3.9, -45]} scale={[44, 22, 1]}               materials={["chromaKeyFilteredVideo"]}               />           </ViroNode>         </ViroARImageMarker>         <ViroARImageMarker target={"2"} onAnchorFound={this._onAnchorFound} onAnchorRemoved={this._onAnchorRemoved} pauseUpdates={this.state.pauseUpdates}>           <ViroNode position={[0, -.1, 0]} scale={[0,0,0]} rotation={[-90, 0, 0]} dragType="FixedToWorld" onDrag={()=>{}}>             <ViroVideo               source={require('./res/eagle.mp4')}               loop={true}               position={[0.2,0.2,0]}               scale={[1, 1, 0]}               />           </ViroNode>         </ViroARImageMarker>         <ViroARImageMarker target={"3"} onAnchorFound={this._onAnchorFound} onAnchorRemoved={this._onAnchorRemoved} pauseUpdates={this.state.pauseUpdates}>           <ViroNode position={[0, -.1, 0]} scale={[0,0,0]} rotation={[-90, 0, 0]} dragType="FixedToWorld" onDrag={()=>{}}>             <ViroVideo               source={require('./res/3.mp4')}               loop={true}               position={[0.2,0.2,0]}               scale={[1, 1, 0]}               />           </ViroNode>         </ViroARImageMarker>       </ViroARScene>
Any Sample Code provided would be great.
Thanks & regards,
Hari

Hi @mkharibalaji ,
Thanks for reaching out. For something like your use case, you'll rely on using different functions to be executed on respective onAnchorFound callbacks for each ViroImageMarker. For example,
<ViroARImageMarker target={"1"} onAnchorFound={this._onFirstAnchorFound} onAnchorRemoved={this._onFirstAnchorRemoved} pauseUpdates={this.state.pauseUpdates}>
<ViroNode position={[0, -.1, 0]} scale={[1,1,1]} rotation={[-90, 0, 0]} dragType="FixedToWorld" onDrag={()=>{}}>
<ViroVideo
source={require('./res/1.mp4')}
loop={true}
position={[0, 3.9, -45]} scale={[44, 22, 1]}
materials={["chromaKeyFilteredVideo"]}
/>

<ViroARImageMarker target={"2"} onAnchorFound={this._onSecondAnchorFound} onAnchorRemoved={this._onSecondAnchorRemoved} pauseUpdates={this.state.pauseUpdates}>
<ViroNode position={[0, -.1, 0]} scale={[0,0,0]} rotation={[-90, 0, 0]} dragType="FixedToWorld" onDrag={()=>{}}>
<ViroVideo
source={require('./res/eagle.mp4')}
loop={true}
position={[0.2,0.2,0]}
scale={[1, 1, 0]}
/>

Pay attention to _onFirstAnchorFound and _onSecondAnchorFound above. And then depending on where the video is being played. You would need to rely on setting state in these _on(X)AnchorFound methods. Something to the effect of
_onFirstAnchorFound() {
this.setState({
      videoSource : {require('./res/1.mp4')}
    })
}

Which will change your ViroVideo code to
<ViroVideo
source={this.state.videoSource}
loop={true}
position={[0.2,0.2,0]}
scale={[1, 1, 0]}
/>

This way, the ViroVideo component will render the correct switched video when the respective 1st, 2nd, 3rd anchor is found.
Hope this helps.
Best,

Hi @manbod ,
Thanks.When I did I am able to see multiple videos on the same screen getting played.i.e., For each of the targets their respective videos are getting played.How to have one single video source getting switched for multiple markers.As you can see that I am having for each ViroARImageMarker an enclosed ViroVideo that's why each video is getting triggered on for each Marker.
Could you please help me on to play a single video source switched for multiple Markers.

Hi @mkharibalaji ,
Where do you want this single "Video Player" component to be located? Do you want this to be in front of one of the three markers? Or somewhere else altogether? You'll need to compose your own scene depending on where you want the video to show. Assuming you want the video to be playing in front of the first marker, then your code will look something like
<ViroARImageMarker target={"1"} onAnchorFound={this._onFirstAnchorFound} onAnchorRemoved={this._onFirstAnchorRemoved} pauseUpdates={this.state.pauseUpdates}>
<ViroNode position={[0, -.1, 0]} scale={[1,1,1]} rotation={[-90, 0, 0]} dragType="FixedToWorld" onDrag={()=>{}}>
<ViroVideo
source={this.state.videoSource}
loop={true}
position={[0, 3.9, -45]} scale={[44, 22, 1]}
materials={["chromaKeyFilteredVideo"]}
/>

<ViroARImageMarker target={"2"} onAnchorFound={this._onSecondAnchorFound} onAnchorRemoved={this._onSecondAnchorRemoved} pauseUpdates={this.state.pauseUpdates}/>

With setting state in these _on(X)AnchorFound methods as stated earlier.
_onFirstAnchorFound() {
this.setState({
      videoSource : {require('./res/1.mp4')}
    })
}

_onSecondAnchorFound() {
this.setState({
      videoSource : {require('./res/2.mp4')}
    })
}

Now let's assume you want to show each of the video, in front of the corresponding marker, but only one at a time, then you would rely on a react-native construct for doing conditional rendering as explained here. Look at how to implement the renderIf function in react-native. And then adjust your ViroImageMarker code as below
<ViroARImageMarker target={"1"} onAnchorFound={this._onFirstAnchorFound} onAnchorRemoved={this._onFirstAnchorRemoved} pauseUpdates={this.state.pauseUpdates}>
renderIf(this.state.detectedMarker == 1,<ViroNode position={[0, -.1, 0]} scale={[1,1,1]} rotation={[-90, 0, 0]} dragType="FixedToWorld" onDrag={()=>{}}>
<ViroVideo
source={require('./res/1.mp4')}
loop={true}
position={[0, 3.9, -45]} scale={[44, 22, 1]}
materials={["chromaKeyFilteredVideo"]}
/>)

<ViroARImageMarker target={"2"} onAnchorFound={this._onSecondAnchorFound} onAnchorRemoved={this._onSecondAnchorRemoved} pauseUpdates={this.state.pauseUpdates}>
renderIf(this.state.detectedMarker == 2,<ViroNode position={[0, -.1, 0]} scale={[0,0,0]} rotation={[-90, 0, 0]} dragType="FixedToWorld" onDrag={()=>{}}>
<ViroVideo
source={require('./res/eagle.mp4')}
loop={true}
position={[0.2,0.2,0]}
scale={[1, 1, 0]}
/>)

Notice above, the renderIf usage around ViroNode. And you set the state again in the _on(x)AnchorFound as below
_onFirstAnchorFound() {
this.setState({
      detectedMarker: 1,
      videoSource :  {require('./res/1.mp4')}
    })
}

_onSecondAnchorFound() {
this.setState({
      detectedMarker: 2,
      videoSource : {require('./res/2.mp4')}
    })
}

Hope this helps. It really depends on what your use case (where you want your ViroVideo component) is.
Thanks,

Thanks a lot @manbod.Wonderful Explanation.We can close this issue.

authors: manbod mkharibalaji

repo: viromedia/viro


text:
NetworkReader/Writer: Read/WriteBlittableNullable to remove redundant code

merge #2441 first

cherry picked to master


text:
[In Progress] NetworkTransform reimplemented

As promised, my old NetworkTransform script.
Work in progress.

localPlayer authoritative movement isn't perfect yet (Asset Store move demo)
interpolation isn't perfect yet. ExponentialMovingAverage might be better

Codecov Report

Merging #90 into mirror will increase coverage by 1.11%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           mirror     #90      +/-   ##
=========================================
+ Coverage    6.42%   7.53%   +1.11%
=========================================
  Files          30      31       +1
  Lines        6277    5334     -943
  Branches      991     806     -185
=========================================
- Hits          403     402       -1
+ Misses       5860    4917     -943
- Partials       14      15       +1

Impacted Files
Coverage Δ

Mirror/Runtime/UNetwork.cs
0% <ø> (ø)
:arrow_up:

Mirror/Runtime/NetworkTransformChild.cs
0% <0%> (ø)

Mirror/Runtime/Messages.cs
0% <0%> (ø)
:arrow_up:

Mirror/Runtime/NetworkTransformBase.cs
0% <0%> (ø)

Mirror/Runtime/NetworkTransform.cs
0% <0%> (ø)
:arrow_up:

Mirror/Runtime/NetworkServer.cs
0% <0%> (ø)
:arrow_up:

Mirror/Runtime/SyncList.cs
82.51% <0%> (-0.45%)
: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 acc34e5...d87073a. Read the comment docs.


text:
Fixed clear local storage when login fails

Issue #27
Changes done:

Made sure the local Storage is cleared before going into any routes when authentication fails
Fixed the Navigation bug in MyTest.js where it showed error while going to any other pages

@Shinu-ster, Your PR is not solving the issue. If authentication fails, it should clear the local storage and redirect to the root ("/"), but currently, it is not performing either action. Please review and update accordingly.

@Shinu-ster , I have reverted that one


text:
Dpp in pytorch or tensorflow

Hi , have you implement dpp in pytorch or tensorflow with mainscript
Thanks for your kindly sharing!

I do not have any implementation for Tensorflow but for PyTorch I already have a folder in place and will try to populate it with "mainscript" PyTorch and also some use examples in the coming weeks.

Hi, could you show us your examples? I think that the pytorch implement is difficult to understand. Thank you!

Hi，would you mind spending  a little time to tell us how to use the pytorch implement.I have tried many times to add it to my network ,but it doesnt work.

authors: TiJoy tonghuachufang ymcasky

repo: visinf/dpp


text:
docs: remove references to the deprecated Request.part()

fix #662

please prefix commit message with docs:

@defunctzombie done

thanks!

authors: defunctzombie dgellow

repo: visionmedia/superagent


text:
How to get response time for each request?

For status i can make use of .status which provides 200, 400, 404. Is there any similar methods i can make use of (i.e something like .time will provide me 300ms, 400ms)

#261 duplicate. But wasn't addressed unfortunately.

This adds a X-Response-Header https://www.npmjs.com/package/response-time

repo: visionmedia/supertest


text:
Add a quick recipe for creating a CSV file from a query over time.

Description
I added a quick recipe for creating a csv file from a manual query over time. The code in the example is part of the quick recipes regression test.
I also made some changes to .readthedocs.yaml to get the read the docs CI to pass.
Type of change

[X] Documentation update~~

How Has This Been Tested?
I ran the quickrecipes/quantitative_operations.py test on quartz and it passed with no errors. I took the code from the quickrecipe test and ran it stand alone and verified that the CSV file it generated was correct. I proof read the new documentation on the web pages generated by the CI.
Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

[X] I have commented my code where applicable.~~
[ ] I have updated the release notes.
[X] I have made corresponding changes to the documentation.~~
[ ] I have added debugging support to my changes.
[X] I have added tests that prove my fix is effective or that my feature works.~~
[X] I have confirmed new and existing unit tests pass locally with my changes.~~
[ ] I have added new baselines for any new tests to the repo.
[ ] I have NOT made any changes to protocol or public interfaces in an RC branch.

Q: should we be showing people how to use the flatten option to Blueprint plugin?
Or this is focused on a single query over time.

I arrived at the current changes through a trial and error process. I will go back and stopped when I hit something that worked. I will go back and see if 3.8 also works.

Well, @biagas and @cyrush I think are trying to move VisIt to python 3.9 and so that is probably to leave. I just wanted to understand drivers. If its just what happened to work, that is fine.

@cyrush the intent is to do a single query over time. I had a user who wanted to do a pick over time. The built in support sometimes gave bad results. Sometimes states were skipped, when I did get a complete result, the values at some time states were bad. I also noticed that "Preserve Picked Coordinate" and "Preserve Picked Element Id" appeared to be reversed. Ideally, we would fix the query (I need to file a ticket), but I've found query over time to be unreliable over the years and have had to do it manually every now and then, hence the quick recipe.

@markcmiller86 It looks like both 3.8 and 3.9 work. I originally changed it to 3.9 since that was what it was before the last change. I have no preference on the version.

Lets leave as is then.

repo: visit-dav/visit


text:
monitor multiple elements

Hi there.
Could you help me?
How can i watch multiple elements? Thanks.
example: http://jsbin.com/qicizodeke
(function () {
    var projectCounter, options = {
        useEasing: true,
        useGrouping: true,
        separator: ',',
        decimal: '.',
        prefix: '',
        suffix: ''
    };

    var elem = $('.list__counter'),
        elemId = '',
        countNumber = elem.data('count');

    elem.each(function (index) {
        VisSense($(this)[0]).monitor({
            visible: function (monitor) {
                projectCounter = new CountUp(elem.attr('id'), 0, +countNumber, 0, 1, options);
                projectCounter.start();

                monitor.stop();
            }
        }).start();
    });
})();

@codev0 You are providing the same element to your "CountUp" instance.
Replace elem.attr('id') with $(elem[index]).attr('id') and it should work as expected.
Please report back if that solved your issue.

@theborakompanioni My bad. Thanks.

@codev0 No problem. Feel free to ask any question regarding this library! Have a nice day.

repo: vissense/vissense


text:
🛑 Taranis is down

In d74540f, Taranis (https://taranis.ag/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Taranis is back up in e55e53d.

repo: vistaardigital/uptime


text:
Editor - Upgrade to latest Flutter

**AppData/Local/Pub/Cache/git/visual-editor-6497c03070365acf6707400bb41615ddb6f669d4/lib/main.dart:134:7: Error: The non-abstract class 'VisualEditorState' is missing implementations for these members:

TextInputClient.didChangeInputControl
TextInputClient.performSelector
Try to either
provide an implementation,
inherit an implementation from a superclass or mixin,
mark the class as abstract, or
provide a 'noSuchMethod' implementation.**

It upgraded flutter yesterday and then reported an error
flutter :3.7.0

I'm currently at the end of a large refactoring process. I've made numerous changes to improve readability of the code. You can see the changes here #174 . I'll be done with this large set and at the end of the refactor I'll upgrade to Latest Flutter as well. Should be done in a couple of days. Sorry, can't push faster than this. After this large refactor is complete we will start making preparations to release it on pub dev.

It is recommended that different versions be released. The current way of using git addresses directly makes any changes to the source code unusable for projects that use the editor. This would not be the case if different releases were used

Agreed. For sure we will have multiple releases once we go live on pub dev. For now this is impractical since we are still in the stage of intensive refactoring. So at the moment the editor in in so called "live beta".

Fixed in #234. Apologies for the very long delay. I've been in crunch mode and I pushed my Flutter upgrade for half an year.

authors: adrian-moisa jinyuanqing

repo: visual-space/visual-editor


text:
Split up chart-options-selector.tsx file

Currently, the chart-options-selector.tsx file is over 2000 lines long and contains a lot of components, which makes it less convenient to jump top-down instead of files when making changes. To make development and code maintenance easier, we should split the file up into smaller files, and maybe create a chart-options-selector folder to contain them.

@bprusinowski I planned this in for maintenance (a) quarterly next year

authors: bprusinowski sosiology

repo: visualize-admin/visualization-tool


text:
wrong sort order along x-axis - schema:identifier of type^^xsd:integer bug

Describe the bug
The sort order along x-axis is ORDER BY schema:identifier wich is great 👍
However the values are wrongly interpreted while LINDAS provides type ^^xsd:integer
To Reproduce
Steps to reproduce the behavior:

Go to https://test.visualize.admin.ch/en/v/-Ivpxbqun9Bl?dataSource=Int
See wrong order in x-axis ("1", "10", "2", ...)

Expected behavior
Correct order in x-axis (1, 2, 3, ... 10, ...)
Screenshots or video

Environment (please complete the following information):

Visualize environment and version: [e.g. INT v3.19.5]

Additional context
see also #973 which seems loosely related considering the wrong interpretation of the datatype

Note: the non-appearance of the labels might be an issue on the data side. https://s.zazuko.com/4THygX
@kronmar can you tackle this - AFTER this issue has been addressed

That's a really interesting find @Rdataflow. However, the issue is not directly on the data-side as this query shows. The data is there, but somehow not callable with a DESCRIBE query.

I guess here that since we cannot fetch the named nodes, we cannot know their identifier (even though it is part of the named node URLs). I think this problem would disappear if the diameter classes were correctly present on the data side.

@Kronmar so ist tour turn...

@Kronmar so its your turn...

authors: Rdataflow kronmar ptbrowne


text:
X-Editable changes only the first submit "pk".

Hello. I have a modal window, that I fill dynamically. It opens for every row in a table after clicking a button. Here is an example:

		×

Modal Header

There will be statuses, notes and last call info...

<button type="button" class="btn btn-danger">End Call</button>

This is how I fill the form:
// Get the modal
var modal = document.getElementsByClassName('callModal')[0];
// Get the  element that closes the modal
var span = document.getElementsByClassName("closeModal")[0];

// When the user clicks on the button, open the modal
function callThisTel(telID) {
	var leadName = document.getElementById("leadName_"+telID).textContent;
	var leadDescript = document.getElementById("leadDescript_"+telID).textContent;
	var assignedTo = document.getElementById("leadAssignedTo_"+telID).getAttribute("data-title");
	var currentProfile = document.getElementsByClassName("staff-profile")[0].getAttribute("alt");
	document.getElementsByClassName("shortNoteOfLeadClass")[0].setAttribute("data-pk", telID);

	document.getElementById("nameOfCalled").textContent = leadName;
	document.getElementsByClassName("shortNoteOfLeadClass")[0].textContent = leadDescript;
	modal.style.display = "block";
	$.fn.editable.defaults.mode = 'inline';
	$('.shortNoteOfLeadClass').editable({
		url: '<?php echo base_url('changeData.php'); ?>',
		pk: telID,
		type: 'text',
		title: 'Change description'
	});
}

But the problem is, that every time the modal opens, it works good. All the data fills in without any error. All texts are as they are in the table. All the PK change in the modal and when I edit/save text it works good. But after I submit the form second time, it changes only the first "pk" I was submitting at the first place. But not the new ones, that are updated every time I open the modal.

Update: now it works as it suposed to work, but, only if I put:
$('.shortNoteOfLeadClass').editable("destroy");

Right before:
document.getElementsByClassName("shortNoteOfLeadClass")[0].setAttribute("data-pk", telID);

But it doesn't work if I add:
span.onclick = function() {
    modal.style.display = "none";
	$('#shortNoteOfLead').editable("destroy");
	$('#DataTables_Table_0').DataTable().draw();
}

At the end of the script. Because I use next modal right after closing the first one. But it still doesn't destroy the previous pk if I use it when close the first modal. By all the settings, the second modal opens with new pk, but X-Editable still sends the first modal's pk.

repo: vitalets/x-editable


text:
[Bug Report] missing types PwaInjection with nuxt

.nuxt/templates.pwa.client.74d38fec.ts:5:35 - error TS2307: Cannot find module '../src/types' or its corresponding type declarations.

5 import { type PwaInjection } from '../src/types'
                                    ~~~~~~~~~~~~~~

Found 1 error in .nuxt/templates.pwa.client.74d38fec.ts:5

How to reproduce
git clone https://github.com/antfu/vitesse-nuxt3
pnpm i
npm run typecheck

@YunYouJun PR also sent to repo https://github.com/antfu/vitesse-nuxt3/pull/93

authors: YunYouJun userquin

repo: vite-pwa/nuxt


text:
HMR adds changes twice when using teleport

Describe the bug
I have a simple dropdown menu component that uses <teleport to="body"> but when I add a new list item - hmr adds it twice. Without teleport it seems to work properly.
For example I have these menu items and I add one more
4

<template #dropdown>

1

2

3

</template>

But now when I save, I see double!
<template #dropdown>

1

2

3

4

4

</template>

Reproduction
Reproduction repo:
https://github.com/martinszeltins/vite-teleport-adds-twice
Steps to reproduce the bug:

Clone the repo, install dependencies and run npm run dev
Open the app in the browser and click on "Show menu" button. Menu will open.
Now go to App.vue and after
3
 add one more item
4

Save the file and look at the browser - you will see that hmr added
4
  twice!

System Info

vite version: 2.0.2
Operating System: Windows 10 Professional
Node version: 12.17.0
Package manager (npm/yarn/pnpm) and version: npm 7.5.2

This is unlikely related to Vite but more a Vue core bug.

repo: vitejs/vite


text:
Vite插件解析文件内部依赖更新问题

Describe the bug
正在做一个解析md文件的插件，它能从md文件中导出代码块和指定的code标签内容
现在碰到的问题是，code标签中的src文件无法进行hmr，我尝试了很多方法依然没有解决这个问题 😥，例如在在handleHotUpdate中返回 module.
# hello world

Reproduction
sry, none.
System Info
System:
    OS: macOS 12.0.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
    Memory: 365.95 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.9.1 - ~/.nvm/versions/node/v16.9.1/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.9.1/bin/yarn
    npm: 7.21.1 - ~/.nvm/versions/node/v16.9.1/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Browsers:
    Chrome: 96.0.4664.110
    Firefox: 86.0
    Safari: 15.1
  npmPackages:
    @vitejs/plugin-react: ^1.0.7 => 1.1.3
    vite: ^2.7.2 => 2.7.9

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

已解决


text:
Rule: enforce await for expect.poll and expect.element

Both expect.poll and expect.element always return async assertions. It would be nice to enforce await before them:
- expect.poll(() => getElement()).toBeVisible()
+ await expect.poll(() => getElement()).toBeVisible()

I think this is related: https://github.com/vitest-dev/eslint-plugin-vitest/pull/569
It's only a straight port from jest's implementation and tests, but it could support this with some tweaks on top.

authors: cardoso sheremet-va

repo: vitest-dev/eslint-plugin-vitest


text:
vitest fails if coverage is configured but disabled

Describe the bug
If coverage is configured but disabled vitest fails and produces an error.
RUN  v2.0.5 /home/runner/work/pnpm_test/pnpm_test
[14](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:15)
⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯
[15](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:16)

[16](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:17)
Vitest caught 1 unhandled error during the test run.
[17](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:18)
This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.
[18](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:19)
⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
[19](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:20)
TypeError: coverage.reporter.find is not a function
[20](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:21)
 ❯ node_modules/.pnpm/vitest@2.0.5/node_modules/vitest/dist/chunks/cli-api.OKfd3qJ0.js:13975:46
[21](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:22)
 ❯ serializeConfig node_modules/.pnpm/vitest@2.0.5/node_modules/vitest/dist/chunks/cli-api.OKfd3qJ0.js:13984:7
[22](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:23)
 ❯ WorkspaceProject.getSerializableConfig node_modules/.pnpm/vitest@2.0.5/node_modules/vitest/dist/chunks/cli-api.OKfd3qJ0.js:14323:20
[23](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:24)
 ❯ getConfig node_modules/.pnpm/vitest@2.0.5/node_modules/vitest/dist/chunks/cli-api.OKfd3qJ0.js:8425:33
[24](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:25)
 ❯ node_modules/.pnpm/vitest@2.0.5/node_modules/vitest/dist/chunks/cli-api.OKfd3qJ0.js:8452:19
[25](https://github.com/nekrich/pnpm_test/actions/runs/10679047402/job/29597406906#step:6:26)
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Reproduction

Create a new project.
Add vitest with configured coverage (checked with istanbul and v8).
Disable coverage.

Sample project: https://github.com/nekrich/pnpm_test .
As you can see from commits:

When coverage is enabled vitest succeeded. Workflow run.
Disabling action with this commit leads to failure. Failed Workflow run.

System Info
System:
    OS: macOS 15.0
    CPU: (12) arm64 Apple M2 Max
    Memory: 109.88 MB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.7.0 - ~/.local/share/mise/installs/node/22.7.0/bin/node
    Yarn: 1.22.19 - ~/.local/share/mise/shims/yarn
    npm: 10.8.2 - ~/.local/share/mise/installs/node/22.7.0/bin/npm
    pnpm: 9.9.0 - ~/.local/share/mise/installs/pnpm/latest/bin/pnpm
  Browsers:
    Brave Browser: 128.1.69.160
    Chrome: 128.0.6613.120
    Safari: 18.0
  npmPackages:
    @vitest/coverage-istanbul: ^2.0.5 => 2.0.5
    vitest: ^2.0.5 => 2.0.5

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Duplicate of https://github.com/vitest-dev/vitest/issues/6260.
Use array in reporter until fix is released.

authors: AriPerkkio nekrich

repo: vitest-dev/vitest


text:
Use workspace name as prefix for each root test suit

Currently, we cannot tell which workspace a test case belongs to from the test panel easily.

This is implemented in pre-release 0.5.0 and higher. Note that the extension now requires Vitest 1.4.0 or higher.

repo: vitest-dev/vscode


text:
updated w2ui-1.5* files in dist folder (master)

updated w2ui-1.5* files in dist folder (master)

@mpf82 I think this is unnecessary. I think in 1.5 branch we should keep nightly version under w2ui.js, not w2ui-1.5.js and when there are some fixes, we can release it as 1.5.1. No need to change w2ui-1.5.js as it would be confusing. I will retract previous PR.