text:
频繁出现proxy/dokodemo: connection ends > context canceled

客户端频繁出现这个info。
 app/proxyman/inbound: connection ends > proxy/dokodemo: connection ends > context canceled
app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > context canceled
app/proxyman/inbound: connection ends > proxy/dokodemo: connection ends > context canceled
app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > context canceled

服务端出现的info是这个：
 [Info] [1443324236] app/proxyman/inbound: connection ends > proxy/vmess/inbound: connection ends > context canceled
2021/11/21 08:16:09 [Info] [1443324236] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/11/21 08:16:10 [Info] [3167006761] app/proxyman/inbound: connection ends > proxy/vmess/inbound: connection ends > context canceled
2021/11/21 08:16:10 [Info] [3167006761] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/11/21 08:16:14 [Info] [3762749976] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > proxy/freedom: failed to process response > read tcp : read: connection reset by peer
2021/11/21 08:16:14 [Info] [3762749976] app/proxyman/inbound: connection ends > proxy/vmess/inbound: connection ends > io: read/write on closed pipe
2021/11/21 08:16:32 [Info] [1698634114] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/11/21 08:16:32 [Info] [1698634114] app/proxyman/inbound: connection ends > proxy/vmess/inbound: connection ends > io: read/write on closed pipe

网关代理，翻墙本身没有任何问题，另外的问题就是dig google.com SOA或者TXT，没有结果，或者返回是污染的IP。
"inbounds":[
{
         "port": 12345,
  "protocol": "dokodemo-door",
  "settings": {
          "network":"tcp,udp",
          "followRedirect":true
         }
},

{
  "port": 54,
  "tag": "in-dns",
  "protocol": "dokodemo-door",
  "settings": {
                "address": "1.1.1.1",
                 "port": 53,
                "network": "udp"
         }

}
],

"outbounds":[

{
                        "tag": "Proxy",
                        "protocol": "vmess",
                        "settings":
                        {
                        "vnext":
                        [
                                {
                                "address": "x",
                                "port": 888,
                                "users":
                                [
                                        {
                                        "id": "x",
                                        "level": 0
                                        }
                                ]
                                }
                        ]

                }
        },

        {
  "protocol": "dns",
  "tag": "out-dns"
},

        {
                "protocol":"freedom",
                "domainStrategy": "UseIP",
                "tag":"Direct"
        }
],

"routing":
{
         "domainStrategy" : "IPIfNonMatch" ,
"rules":
[

{
  "type": "field",
  "inboundTag": ["in-dns"],
  "outboundTag": "out-dns"
},

{
        "type":"field",
        "ip":["geoip:cn","geoip:private"],
        "outboundTag":"Direct"
}

]
},
"dns":
        {
                "servers":
                [
                {
                "address":"114.114.114.114",
                "port":53,
                "expectIPs":["geoip:cn"]
                },
                "199.85.127.10"
                ]

        }

}

Info 是信息不是错误
V2Ray 内置的 DNS 只能处理 A/AAAA 记录

我单独iptables代理了udp53给1.1.1.1，让它负责解析非A地址。
现在问题是由于dns转发地址是1.1.1.1，只要非A域名解析都走1.1.1.1。
国内域名解析非A地址的时候也走代理，这样延迟很高。
有没有办法国内dns解析非A地址时候不走代理？

我和你一样，似乎是升级了xray 1.5.0之后的，不是很确定，升级完之后没太在意，后来才发现的。我用的是
Xray-examples中的
VLESS-TCP-TLS-WS (recommended)这个方案。

failed to process outbound traffic > proxy/freedom: connection ends > context canceled
我也遇到这个问题了


text:
4.9版本更新4.20版本后透明代理无法使用，4.9版本正常，服务端与客户端配置均无改动

Please read the instruction and answer the following questions before submitting your issue. Thank you.
Please answer all the questions with enough information. All issues not following this template will be closed immediately.
If you are not sure if your question is truely a bug in V2Ray, please discuss it here first.

What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)?
V4.20

What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy.
使用V2ray进行透明代理，ASUS AC68U，linux-arm-32位版本

What did you see? (Please describe in detail, such as timeout, fake TLS certificate etc)
我使用的是 VMess+TLS+WebSocket 的方式，服务器用使用 tcpdump 抓包，抓包命令为 tcpdump -i eth0 dst port 443 | grep 源IP地址，socks 代理时可以看到请求包，透明代理时无任何请求包。

What's your expectation?
透明代理能正常使用

Please attach your configuration file (Mask IP addresses before submit this issue).

Server configuration:
   {
  "log": {
    "error": "/etc/v2ray/info.log",
    "loglevel": "info"
  },
  "inbound": {
    "port": 30005,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "xxx",
          "level": 1,
          "alterId": 64,
        }
	],
      "default": {
        "level": 1,
        "alterId": 64
      }
    },
    "streamSettings": {
      "network": "ws",
      "security": "none"
    }
  },
  "outbound": {
    "protocol": "freedom",
    "settings": {}
  }
}

Client configuration:
   {
"log": {
    "loglevel": "debug",
    "error": "info.log"
  },
  "outbound": {
    "mux": {
      "concurrency": 16,
      "enabled": true
    },
    "protocol": "vmess",
    "settings": {
      "vnext": [
        {
          "users": [
            {
              "id": "xxxx",
              "alterId": 64,
              "security": "chacha20-poly1305"
            }
          ],
          "address": "xxxx",
          "port": 443
        }
      ]
    },
    "streamSettings": {
      "tlsSettings": {
        "allowInsecure": false
      },
      "wsSettings": {
        "connectionReuse": true,
        "headers": {
          "Host": "xxxx"
        },
        "path": "/"
      },
      "network": "ws",
      "security": "tls"
    },
    "tag": "proxy"
  }
  ],
  "inbound": {
    "protocol": "dokodemo-door",
    "port": 1080,
    "settings": {
      "network": "tcp,udp",
      "timeout": 30,
      "followRedirect": true
    }
  }
}

Please attach error logs, especially the bottom lines if the file is large. Error log file is usually at /var/log/v2ray/error.log on Linux.

Server error log:
   使用透明代理时，服务端没有接收到请求，所以没有错误日志，但是socks代理正常

Client error log:

![image](https://user-images.githubusercontent.com/8524130/66697142-957b0e80-ed05-11e9-93f1-0559f9c170c2.png)

Please attach access log. Access log is usually at '/var/log/v2ray/access.log' on Linux.

   使用透明代理时，服务端没有接收到请求，所以没有错误日志，但是socks代理正常

iptables configurations
#!/bin/sh

cd dirname $0
modprobe xt_set
modprobe xt_TPROXY.ko
nohup ./v2ray >log 2>&1 &
ipset -N gfwlist iphash
ipset add gfwlist 91.108.56.0/22
ipset add gfwlist 91.108.4.0/22
ipset add gfwlist 109.239.140.0/24
ipset add gfwlist 149.154.160.0/20
iptables -t nat -A PREROUTING -d 30.7.0.0/16 -j RETURN
iptables -t nat -A PREROUTING -d 8.8.0.0/16 -j RETURN
iptables -t nat -A PREROUTING -d 0.0.0.0/8 -j RETURN
iptables -t nat -A PREROUTING -d 100.64.0.0/10 -j RETURN
iptables -t nat -A PREROUTING -d 10.0.0.0/8 -j RETURN
iptables -t nat -A PREROUTING -d 127.0.0.0/8 -j RETURN
iptables -t nat -A PREROUTING -d 169.254.0.0/16 -j RETURN
iptables -t nat -A PREROUTING -d 172.16.0.0/12 -j RETURN
iptables -t nat -A PREROUTING -d 192.168.0.0/16 -j RETURN
iptables -t nat -A PREROUTING -d 224.0.0.0/4 -j RETURN
iptables -t nat -A PREROUTING -d 240.0.0.0/4 -j RETURN
iptables -t nat -A PREROUTING -d 0.0.0.0/254.0.0.0 -j RETURN
iptables -t nat -A PREROUTING -p tcp -m set --match-set gfwlist dst -j REDIRECT --to-port 1080
iptables -t nat -A OUTPUT -p tcp -m set --match-set gfwlist dst -j REDIRECT --to-port 1080
ip route add local default dev lo table 100
ip rule add fwmark 1 lookup 100
iptables -t mangle -A PREROUTING -p udp -m set --match-set gfwlist dst -j TPROXY --on-port 1080 --tproxy-mark 0x01/0x01
iptables -t mangle -A OUTPUT -p udp -m set --match-set gfwlist dst -j MARK --set-mark 1

client error log:

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
v2raya-np: add version 2.0.0

[x] add v2raya-np
[x] add to startup via .reg file
[x] fix description
[x] fix license.url
[ ] add arm64 architecture

I think adding arm64 package is not necessary, for scoop itself doesn't support arm64 yet.

source: gharchive/pull-request

authors: MarksonHon Ryanjiena


text:
Purge Assistant separate home/visiting controllers

Your Vatsim CID
1340265
What do you suggest?
Ability to filter home and visiting controllers on the purge list
Why do you need that?
Make my life easier
Alternatives
No response
Additional info
No response
Validation

[X] I have searched for other requests and did not find any alike
[X] I have also checked the roadmap, and this is not planned

Implemented change. Awaiting testing and will be implemented next patch.

repo: vZDC-ARTCC/website


text:
Overloaded properties are not parsed correctly

PaperSlider has setMin(double), setMin(String), setMax(double), setMax(String) but only setValue(String)
The cause is that paper-slider extends two behaviors and each one has one signature, we should produce signature for both:  https://elements.polymer-project.org/elements/iron-form-element-behavior?active=Polymer.IronFormElementBehavior and https://elements.polymer-project.org/elements/iron-range-behavior?active=Polymer.IronRangeBehavior

Fixed

repo: vaadin/gwt-api-generator

license_source: bigquery


text:
jstree does not appear to render when deployed on an IIS Server

Hi,
The steps object is returned as a JSON object from the server. The code renders the tree fine when ran from visual studio, but not when deployed.  Wondering if this was encountered yet.
        $('#tSteps').jstree({
            'core': {
                "theme": {
                    "variant": "large"
                },
                data: steps
            },
            "plugins": ["dnd"]
        });

    }

Sorry, I doubt this has something to do with jstree - provided the format is correct the tree will render.
Log out steps and see what it contains, also make sure #tSteps is available on the page when creating the tree (log it out too).
Best regards,
Ivan

Hi, I am using the demo on my localhost run as "http://localhost:64555/demo/basic/basic_mod1.html"--
I have two problems:
1st) I want to know what the heck this
"$.get('?operation=get_content&id=' + data.selected.join(':'), function (d) {}" is?
Is that supposed to be getting .json data?  Where is the page that use that query "?operation=&id=_ ?   Is it itself?
2nd)  if I run load your demo as php from your server, it's fine! But it would not work otherwise!
I hope you understand my questions.  Would like to hear your response, soon.

You can not run a PHP script as an HTML file - that is active server content, that needs a server side processor to do its job.

OK, thanks.
From: Ivan Bozhanov [mailto:notifications@github.com]
Sent: Friday, February 16, 2018 4:29 PM
To: vakata/jstree
Cc: Ip, Lena; Comment
Subject: Re: [vakata/jstree] jstree does not appear to render when deployed on an IIS Server (#1254)
CAUTION - EXTERNAL EMAIL
You can not run a PHP script as an HTML file - that is active server content, that needs a server side processor to do its job.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/vakata/jstree/issues/1254#issuecomment-366363636, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ai25MiQ_YPJYYaQieqC5S-HKGv--xxEjks5tVfMsgaJpZM4GRaDc.

I have implemented jstree in my project and it is working fine (i.e rendering the tree ) on local machine but when it is deployed than it is just showing Loading...
Ionly two nodes I am creating but don't know what is the problem.
any help ? please

Uncaught ReferenceError: window is not defined
at self.onmessage (84dfa4b4-3dbe-484e-acb2-4f18b0f2918b:1)
self.onmessage @ 84dfa4b4-3dbe-484e-acb2-4f18b0f2918b:1
this is the error only I am getting

This could be causes by a lot of things (configuration on your part), but the quick fix is to disable core.worker and try again.

repo: vakata/jstree

license: mit


text:
Contextmenu plugin HTML element

Hi, Is there a way to change the element in wich the contextmenu appends to?, currently is being attatched to body tag. I'm working with an Angular application, and the contextmenu appears outside the component scope and not being shown.
thank you for your help

There is not such option currently. You can temporarily fork the project and change this line and check if it solves the issue:
https://github.com/vakata/jstree/blob/master/src/jstree.contextmenu.js#L486

authors: Cristiian vakata


text:
feat: Application Layouts

Feature Description
Every application needs at least one layout and Anglify should make it easy to create these responsive layouts.
If we leave everything up to the user, then the user has the most options with the use of CSS Grids. However, the user has to overcome various challenges, which sound easy, but are harder than expected. One of these challenges is the responsiveness.
Example: Let's assume the user wants to make a Navigation Drawer layout. The drawer should remain open on the left side on desktop devices and intentionally take up screen space and on mobile devices the drawer should appear as a model from the left side when a menu button is pressed.
How do we tackle that?

Create layout

<anglify-toolbar [elevation]="5">
  <ng-template slot="navigation">
    <button anglifyButton appearance="icon" (click)="drawer.toggle()">
      <anglify-icon icon="mdi-menu"></anglify-icon>
    </button>
  </ng-template>
</anglify-toolbar>
<anglify-nav-drawer [(ngModel)]="true" mode="standard"></anglify-nav-drawer>
<main>
  <!-- your content here -->
</main>

Add responsive layout

:host {
  display: grid;
  height: 100vh;
  grid-template-areas:
    'toolbar'
    'main';

  @include md {
    grid-auto-columns: auto 1fr;
    grid-template-areas:
      'drawer toolbar'
      'drawer main';
    grid-template-rows: auto 1fr;
  }

  anglify-nav-drawer {
    grid-area: drawer;
  }

  anglify-toolbar {
    grid-area: toolbar;
  }

  main {
    grid-area: main;
    overflow-y: auto;
  }
}

Problems

How do we tell the navigation drawer to switch from standard mode to modal mode?
What if the drawer should also be toggleable on desktop devices? If the user minimizes the window (for mobile mode), then the drawer must always be closed. When the window becomes large again (desktop mode), then the user setting should have been saved, that the drawer was closed on desktop devices.

Use Case
No response

@iCrawl I have briefly described the problem here, which I would like to discuss with you tomorrow.
In the featue/application-layouts branch you can see the example under http://localhost:4200/examples/layouts/base

repo: valentingavran/anglify


text:
Migration of gst-plugins-base: few fixes

Remove with_egl, with_wayland, with_graphene, with_libpng & with_libjpeg options when with_gl is disabled, since these options don't contribute to package when gl is disabled
Move wayland-protocols to build requirements. There is a special trick for conan v1 one profile in order to generate pc file of wayland-protocols.
Add glib (and also wayland when with_wayland is enabled) to build requirements, except in case of conan v1 one profile (due to edge cases bug when dependencies are overidden).
Decide whether winflexbison is a build requirement (instead of bison/flex) based on OS of build machine rather than OS of host machine.

Summary
Changes to recipe:  lib/[version]
Motivation

Details

[ ] Read the contributing guidelines
[ ] Checked that this PR is not a duplicate: list of PRs by recipe
[ ] Tested locally with at least one configuration using a recent version of Conan

Thanks!

authors: SpaceIm valgur

repo: valgur/conan-center-index


text:
Add bin to package.json

If you do an npm link after downloading this, it should work as a CLI tool now.
✗ eslint-rules-mapper .jshintrc

{
  "env": {
    "jasmine": true,
    "node": true,
    "mocha": true,
    "browser": true,
    "builtin": true
  },
  "rules": {
    "block-scoped-var": 2,
    "camelcase": 2,
    "comma-style": [
      2,
      "first"
    ],
    "curly": [
      2,
      "all"
    ],
    "dot-notation": [
      2,
      {
        "allowKeywords": true
      }
    ],
    "eqeqeq": [
      2,
      "allow-null"
    ],
    "global-strict": [
      2,
      "never"
    ],
    "globals": {
      "window": true
    },
    "guard-for-in": 2,
    "max-depth": [
      2,
      3
    ],
    "max-len": [
      2,
      80,
      4
    ],
    "new-cap": 2,
    "no-bitwise": 2,
    "no-caller": 2,
    "no-cond-assign": [
      2,
      "except-parens"
    ],
    "no-debugger": 2,
    "no-empty": 2,
    "no-eval": 2,
    "no-extend-native": 2,
    "no-extra-parens": 2,
    "no-irregular-whitespace": 2,
    "no-iterator": 2,
    "no-loop-func": 2,
    "no-multi-str": 2,
    "no-new": 2,
    "no-plusplus": 2,
    "no-proto": 2,
    "no-script-url": 2,
    "no-sequences": 2,
    "no-shadow": 2,
    "no-undef": 2,
    "no-unused-vars": 0,
    "no-with": 2,
    "quotes": [
      2,
      "single"
    ],
    "valid-typeof": 2,
    "wrap-iife": [
      2,
      "inside"
    ]
  }
}

I'm reluctant to say that this actually fixes #1 until this module is published to npm.

repo: valorkin/eslint-rules-mapper


text:
Feat/compiled backend

This PR adds support for using compiled operate binaries.

The versions in package.json, electron/install.js, and pyproject.toml are out of sync

repo: valory-xyz/olas-operate-app


text:
Chore/package path

Proposed changes
The paths to download the packages folder with svn are now pointing to the correct tag rather than main.
The version bump script also reflects that.
Fixes
#132
Types of changes
What types of changes does your code introduce to agents-aea?
Put an x in the boxes that apply

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

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[ ] Lint and unit tests pass locally with my changes and CI passes too
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that code coverage does not decrease.
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments

Codecov Report

Merging #133 (26bad0e) into main (0a740d7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #133   +/-   ##
=======================================
  Coverage   96.26%   96.26%
=======================================
  Files         302      302
  Lines       24295    24295
=======================================
  Hits        23388    23388
  Misses        907      907

Flag
Coverage Δ

unittests
96.26% <ø> (ø)

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

Continue to review full report at Codecov.

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

authors: DavidMinarsch codecov-commenter

repo: valory-xyz/open-aea


text:
Parse multiValueHeader cookies in request APIG events

Description:
APIG sends "multiValueHeaders" as part of its event. Currently (4.10) Vandium doesn't check this field for Cookies ( like it does for headers ).
API:
No user-facing API. Will be auto like for headers.
Implementation Details:
processCookies() would be a good place to start - it checks for a Cookie field on the headers and so could be modified to also check for each member of the value in multiValueHeaders.

I will tackle this

Actually, the Cookie header in multiValueHeaders will never differ from its single value counterpart, so this feature is unneeded. Keeping until maintainers close in case I was correct about something initially.

repo: vandium-io/vandium-node


text:
Value of type 'DatabaseQuery' has no member 'idKey'  - FluentMySQLDriver 4.0.0-beta.3

Value of type 'DatabaseQuery' has no member 'idKey'  - FluentMySQLDriver 4.0.0-beta.3

Running swift package update or Xcode > Swift Packages > Update to latest should fix this.

repo: vapor/mysql-kit


text:
Day54

Resolves #118 .

Pull Request Test Coverage Report for Build 257

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 253:
0.0%

Covered Lines:
24

Relevant Lines:
24

💛  - Coveralls

authors: coveralls vaskoz

repo: vaskoz/dailycodingproblem-go


text:
Make deploy_npm take in a pre-existing auth token

What is the goal of this PR?
We made deploy_npm take in a pre-existing auth token instead of executing npm adduser and signing in with username/password on every run.
What are the changes implemented in this PR?
Changeset

Don't run npm adduser in deploy_npm anymore, but rather, create a .npmrc file (in the Bazel sandbox) from a provided environment variable DEPLOY_NPM_TOKEN before running npm publish (eliminates need for DEPLOY_NPM_USERNAME, DEPLOY_NPM_PASSWORD and DEPLOY_NPM_EMAIL)
Rewrite deploy_npm in Kotlin
Remove vmax from CODEOWNERS

Explanation

Running npm adduser on every run was not the best thing to do
This command, misleadingly, does not "add a user", but rather, it uses provided login credentials in order to generate an auth token that authorises you to publish an npm package. This auth token would be used once and then consigned to history, which was wasteful.

Now npmjs.com won't let us do it anymore thanks to 2FA
Recently npm's central repository appears to have added a new requirement when logging in (e.g: via npm adduser): it sends a OTP (one-time passcode) to your registered email address which you must provide to complete the login. This is especially awkward for automation.

The user must now generate their own auth token and provide it as an env var
For each npm repository (NOT each individual package!), and for each user account that is to be used to publish artifacts - typically just a single user per repo - the user is now required to generate their own reusable auth token. This auth token should be securely stored (say, in an environment variable) and passed in CI to the deploy_npm rule as an environment variable named DEPLOY_NPM_TOKEN.

We no longer need username, password and email
DEPLOY_NPM_USERNAME, DEPLOY_NPM_PASSWORD and DEPLOY_NPM_EMAIL are redundant as we are no longer signing in.

Usage examples
typedb-protocol/grabl/automation.yml > deploy-npm-snapshot
export DEPLOY_NPM_TOKEN=$REPO_VATICLE_NPM_TOKEN
bazel run --define version=$(git rev-parse HEAD) //grpc/nodejs:deploy-npm -- snapshot

typedb-protocol/grabl/automation.yml > deploy-npm-release
export DEPLOY_NPM_TOKEN=$REPO_NPM_TOKEN
bazel run --define version=$(cat VERSION) //grpc/nodejs:deploy-npm -- release

Principles applied in PR review
Bazel rule implementation

When modifying a Python implementation of a Bazel rule, rewrite it in Kotlin
"One Bazel rule implementation per package" is a good level of encapsulation

We found that rules.bzl became cluttered when both assemble_npm and deploy_npm's implementations lived there. Breaking them out into separate packages helps us adhere to the single responsibility principle.

When creating a Kotlin file with a main method to implement a Bazel rule, name the file after the rule: for example, deploy_npm runs DeployNPM.kt

Although Main.kt feels appropriate, if we used that name, almost every file in the repo would eventually be named Main.kt, so we don't want that.

When writing usage guidelines for a Bazel rule, place them in the 'doc' field of the rule definition
Our Bazel rule docs and their parameter docs should use full stops

Naming

We will begin to name our template files {filename}.{ext}.template (e.g: deploy.sh.template), so there is no need to create a template package for them
We will continue to use the following syntax and casing for variables in template files: {my-variable-name}

Encapsulation

Files should encapsulate components of business logic as much as possible

We had a situation where DeployNPM used Deployer.CommandLineParams to parse CLI arguments, before actually calling Deployer.deploy() to run the core code. This indicated that CommandLineParams should live closer to DeployNPM and not be scoped to Deployer. In the end, it was moved to Options, which makes sense as options are naturally sourced from CLI parameter values.

Even within one package, files' dependencies should ideally form an acyclic graph

We had a situation where DeployNPM and Deployer both depended on each other, which made things harder to reason about. To resolve the cycle, we introduced the Options file.

Robustness

We should not assume a method from a 3rd-party library is idempotent - if in doubt, store the result to a variable and reuse it

repo: vaticle/bazel-distribution


text:
docker_image issue

I run into the following with docker_image:

$ sos run test
INFO: Executing default_0:
INFO: input:    []
INFO: docker pull inutano/sra-toolkit
Using default tag: latest
latest: Pulling from inutano/sra-toolkit
96c6a1f3c3b0: Pull complete
ed40d4bcb313: Pull complete
b171f9dbc13b: Pull complete
ccfc4df4fbba: Pull complete
bcfbdd7ccc7e: Pull complete
57a4dc36dfca: Pull complete
585061109b4c: Pull complete
721ebae51fc9: Pull complete
Digest: sha256:74a7f92d88f06375e9b262486946072b0a2f5ef7b6f65450b52cd5e87c2a07f7
Status: Downloaded newer image for inutano/sra-toolkit:latest
INFO: docker run --rm   -v /Users:/Users -v /tmp:/tmp -v /Users/bpeng1/sos/tmp_425je49/docker_run_51280.sh:/var/lib/sos/docker_run_51280.sh    -t -P -w=/Users/bpeng1/sos     inutano/sra-toolkit /bin/bash /var/lib/sos/docker_run_51280.sh

Usage:
  fastq-dump [options] <path> [<path>...]
  fastq-dump [options] <accession>

INPUT
  -A|--accession <accession>       Replaces accession derived from <path> in
                                   filename(s) and deflines (only for single
                                   table dump)
  --table <table-name>             Table name within cSRA object, default is
                                   "SEQUENCE"

OS? Docker version?

Oh, not docker-py, just docker. Removedocker-py first.

Hmm it does not work either way. Im on the latest master. My OS is Debian 9. Docker version:
Docker version 17.06.0-ce, build 02c1d87

which I downloaded today via apt-get after adding docker repo HTTP to my source.list. I removed Py_Module():
[1]
run: docker_image = 'inutano/sra-toolkit'
    fastq-dump -h

I get:
INFO: Executing default_1:
INFO: input:    []
DEBUG: _input: []
DEBUG: Trying paths: <filter object at 0x2aac2ca1bdd8>
DEBUG: No config file found
DEBUG: %s://%s:%s "%s %s %s" %s %s
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/sos_step.py", line 1320, in run
    res = Base_Step_Executor.run(self)
Traceback (most recent call last):
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/sos_step.py", line 828, in execute
    self.last_res = SoS_exec(stmt, self.step.sigil)
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/sos_eval.py", line 493, in SoS_exec
    res = eval(stmts, _dict)
  File "<string>", line 2, in <module>
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/actions.py", line 89, in action_wrapper
    docker.pull(kwargs['docker_image'])
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/docker/client.py", line 130, in pull
    if not self._is_image_avail(image):
AttributeError: 'function' object has no attribute 'list'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/sos_step.py", line 1320, in run
    res = Base_Step_Executor.run(self)
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/sos_step.py", line 1108, in run
    self.execute(statement[1], signatures[idx])
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/sos_step.py", line 832, in execute
    raise RuntimeError('Failed to process statement {} ({}): {}'.format(short_repr(stmt), e.__class__.__name__, e))
RuntimeError: Failed to process statement run(r"""fastq-dump -h\n""", doc...toolkit')\n (AttributeError): 'function' object has no attribute 'list'
DEBUG: Step default_1 sends exception Failed to process statement run(r"""fastq-dump -h\n""", doc...toolkit')\n (AttributeError): 'function' object has no attribute 'list'
DEBUG: Worker SoS_Worker-1 completes request ('step', <sos.sos_script.SoS_Step object at 0x2aac26fd3c50>, {'__signature_vars__': {'docker_image'}, '__environ_vars__': set(), '__changed_vars__': set(), '__step_output__': [], '__completed__': [], '__workflow_sig__': '/bioinformagics/GIT/github/sos-campaign/sos-paper/.sos/2c25ce4d97a93d7c.sig'}, {}, [], 'run', 'default', 4)
DEBUG: Master receive a result Failed to process statement run(r"""fastq-dump -h\n""", doc...toolkit')\n (AttributeError): 'function' object has no attribute 'list'
DEBUG: Master received an exception
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/__main__.py", line 350, in cmd_run
    executor.run(args.__targets__, mode='dryrun' if args.dryrun else 'run')
Traceback (most recent call last):
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/__main__.py", line 350, in cmd_run
    executor.run(args.__targets__, mode='dryrun' if args.dryrun else 'run')
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-0.9.8.10-py3.6.egg/sos/sos_executor.py", line 1084, in run
    raise exec_error
sos.sos_executor.ExecuteError: [default_1]: Failed to process statement run(r"""fastq-dump -h\n""", doc...toolkit')\n (AttributeError): 'function' object has no attribute 'list'
ERROR: [default_1]: Failed to process statement run(r"""fastq-dump -h\n""", doc...toolkit')\n (AttributeError): 'function' object has no attribute 'list'

I meant the python module docker, not docker-py.

Ahh I see what you mean! Yes after removing docker-py and installing docker I was able to make it work.
I will open a separate ticket to discuss a related comment.

If this is indeed the case, could you add before this line something like
try:
    ...
except:
    raise RuntimeError("Incompatible docker module. Please use docker (version ...) instead of docker-py.

authors: BoPeng gaow

repo: vatlab/SoS


text:
mobile support ?

[ ] responsive design
[ ] manifest
[ ] should work offline

not needed for now

repo: vcl/doc-client


text:
🛑 Farming Simulator App is down

In b0f7172, Farming Simulator App (https://farmingsimulator.app/en) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Farming Simulator App is back up in fb5fa3d.

repo: vcoud/upptime


text:
🛑 Vcoud is down

In a93c7f3, Vcoud (https://vcoud.com) was down:

HTTP code: 502
Response time: 119 ms

Resolved: Vcoud is back up in 175c3f5 after 51 minutes.


text:
⚠ Spryr has degraded performance

In c15842d, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 503
Response time: 3371 ms

Resolved: Spryr performance has improved in b212263 after 10 minutes.

repo: vcsphere/upptime


text:
⚠ Spryr has degraded performance

In a29c441, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3413 ms

Resolved: Spryr performance has improved in 88632db after 7 minutes.


text:
⚠ Spryr has degraded performance

In 3c5ed5b, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3497 ms

Resolved: Spryr performance has improved in 5a8bf67 after 10 minutes.


text:
⚠ Spryr has degraded performance

In 3b522ea, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4844 ms

Resolved: Spryr performance has improved in 017748c after 7 minutes.


text:
revert decode

This PR reverts https://github.com/vdaubry/github-awards/commit/3a5f45dd79df6f459d64c9e65a0330f5bc761d72#commitcomment-15954739 which was decoding all characters including '+' which was breaking the web app requests.

@vdaubry pleaseee have a look

@vdaubry Thank you so much for reviewing this and fix the bug

authors: antinucleon nunogoncalves ranisalt

repo: vdaubry/github-awards


text:
MediaExtractor doesnt work for an HTTP url

The code works fine for a video loaded from sd-card, but it fails with the following error when i try to load a video from a URL. One of the URLs i tried is this
http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4
I am running the code on Android M.
14646-14765/io.vec.demo.mediacodec I/MediaHTTPConnection: proxyName: 0.0.0.0 0
 E/NuCachedSource2: source returned error -1, 0 retries left
14646-14752/io.vec.demo.mediacodec E/QComExtractorFactory: Sniff FAIL :: coundn't pull enough data for sniffing
14646-14752/io.vec.demo.mediacodec W/System.err: java.io.IOException: Failed to instantiate extractor.
14646-14752/io.vec.demo.mediacodec W/System.err:     at android.media.MediaExtractor.nativeSetDataSource(Native Method)
14646-14752/io.vec.demo.mediacodec W/System.err:     at android.media.MediaExtractor.setDataSource(MediaExtractor.java:182)
14646-14752/io.vec.demo.mediacodec W/System.err:     at io.vec.demo.mediacodec.DecodeActivity$PlayerThread.run(DecodeActivity.java:65)

I have limited experience with mediacodec. But as explained in the official documentation, the data source should be able to provide direct frames. Http video data will be in the form of NAL units(Network abstraction layer). These are fragment parts of a single frame. You can either write NAL parser to reconstruct the complete frames and then feed it to the Mediacodec or you can directly use Mediaplayer class in android which supports http streaming.

authors: rahulrj sandeep-mvd

repo: vecio/MediaCodecDemo


text:
Broken Example Analyses

Most of the example analyses were broken (Lineages in Iceland still works) during an update for the site. The examples need to be updated to work with the new tab layout and SQL queries to the database

Closed by #432

repo: vector-engineering/covidcg


text:
I noticed a URL mistake

In Resources, for learning Crystal in-a-day, the URL should be:

https://getgood.at/in-a-day/crystal

https://github.com/veelenga/awesome-crystal#resources
This is very useful.  Thanks!

Thanks @beginrescueend

authors: beginrescueend veelenga

repo: veelenga/awesome-crystal


text:
Markdown formatting

The Chore
The  markdown formatting is not being respected when rendering it to the page

Tasks

[ ] Ensure mark down formatting is respected

Additional details / background info
https://vegaprotocol.slack.com/archives/C037STCKMGC/p1685722929312829

@MadalinaRaicu do you know why we are setting skipHtml to true. Was there a specific reason for removing the formatting provided by the html?

@mattrussell36 can you provide more info on this?  Are you expecting Governance / BE to fix this?

repo: vegaprotocol/frontend-monorepo


text:
0037-OPEG-pegged_orders.md

AC - require some requirements to cover  variety of precision settings when submitting pegged order offsets

@davidsiska-vega can you please check that the ACs we have on submit TX covers validation sufficiently?
If so we can close this

authors: gordsport vega-paul

repo: vegaprotocol/specs


text:
Add Japanese translation

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[x] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Add Japanese translation

Other information

Quality check
Before creating this PR, have you:

[x] Followed the code style guideline as described in CONTRIBUTING.md
[x] Verified that the change work in Release build configuration
[x] Checked all unit tests pass

Looks like the CI is failing but I don't have a permission to see what's happening.

Hello,
Yes we have a problem in our pipeline we are looking to solve it.
Sorry for the trouble.

authors: btiteux inductor

repo: veler/DevToys


text:
question about performance in Lambda

AFAIK Lambda doesn't provide access to GPU resources - how do these workflows run? Is it slow?

checking out modal now - looks like a gamechanger...

repo: ventz/whisper-openai-container


text:
process is not defined

Bug Report
Current behavior
A clear and concise description of the behavior.
I have a minimum reproduction of the issue I am facing here: https://github.com/michealroberts/vercel-trpc-prisma
Essentially, I am trying to run a tRPC server on the vercel edge runtime (as given here: https://trpc.io/docs/fetch#vercel-edge-runtime) from a starter repo here https://github.com/trpc/trpc/tree/main/examples/vercel-edge-runtime by @KATT AND @QuiiBz.
I have managed to get it running locally by hard-setting the prisma datasource to a prisma studio proxy connection as shown here:

I have since tried to replace the datasource with my hardset proxy URL with process.env.DATABASE_URL as follows:
import { PrismaClient } from '@prisma/client/edge'

export const prisma = new PrismaClient({
  datasources: {
    db: {
      url: process.env.DATABSE_URL
    }
  }
})

But, alas, it does not work (with an exit code 1):

Expected behavior/code
The expected behaviour would be once added any environment variables to .env in the project root, they should be injected into the runtime? Unless there is another way to inject process.env variables when running the edge-runtime server locally that I have missed?

It's expected process is not defined since it's a Node.js API.
What you can do is to extend the context and defining it:
import { EdgeRuntime } from 'edge-runtime'

const runtime = new EdgeRuntime({
  extend: (context) =>
  Object.assign(context, {
    process: { env: { NODE_ENV: 'development' } }
  })
})

See https://edge-runtime.vercel.app/getting-started#usage 🙂

authors: Kikobeats michealroberts

repo: vercel/edge-runtime


text:
fix: cookies() .set() reflect priority attribute into set-cookie

Closes https://github.com/vercel/next.js/issues/56848
This PR provides the fix for cookies() .set() to reflect the priority attribute into set-cookie
RE: @balazsorban44's comment and request change on https://github.com/vercel/next.js/pull/56850 Pull Request:
"Thanks for the PR, the @edge-runtime/cookies package is an upstream dependency, meaning it should be addressed there first, could you open these changes there, so we can bump the package here to incorporate it?
See https://github.com/vercel/edge-runtime/blob/main/packages/cookies/src/serialize.ts#L16"

Thanks, @renchris, could you run pnpm changeset in the root of the repo and follow the instructions? This can be a patch, so you'll end up with something like

Thanks, @renchris, could you run pnpm changeset in the root of the repo and follow the instructions? This can be a patch, so you'll end up with something like

Okay, I ran the pnpm changesetcommand in the root of the repo and follow the instructions. I commited the returned markdown being at edge-runtime/.changeset/fifty-eagles-invite.md
---
'@edge-runtime/cookies': patch
---

fix cookies() .set() to reflect the priority attribute into set-cookie


text:
Fix/blob/types import

https://github.com/vercel/storage/assets/123822/9c999aa7-0467-45be-9920-626131105d7e

I will re-test it on my project once released 👍

I will re-test it on my project once released 👍

Nice, note: the autocomplete on the METHODS worked but the autocomplete on TYPES included this weird dot in it.

authors: correttojs vvo

repo: vercel/storage


text:
Use the refreshed token on new requests

Hi there, I am still new to using swr, but I can't figure out yet how can I invalidate the fetcher. If one header is changed, useSWR will use the old one for upcoming requests. How should this be handled?

There're 2 ways to invalidate the fetcher. The easiest way is to include the token in the key array:
useSWR([url, token], (url, token) => fetch(url, { headers: { token } }))

Or, you can just use a global reference of the token inside the fetcher, then revalidate the SWR manually:
const { mutate } = useSWR(url, url => fetcher(url, { headers: { token } })

// whenever token is updated, call mutate
token = newToken
mutate()

There're 2 ways to invalidate the fetcher. The easiest way is to include the token in the key array:
useSWR([url, token], (url, token) => fetch(url, { headers: { token } }))

Or, you can just use a global reference of the token inside the fetcher, then revalidate the SWR manually:
const { mutate } = useSWR(url, url => fetcher(url, { headers: { token } })

// whenever token is updated, call mutate
token = newToken
mutate()

Hi is there any way to clear cache of all the keys that use the token whenever the token updated?

You can import the cache, get all the key and delete them
import { cache } from "swr"

cache.keys().filter(filterYourKeys).forEach(key => cache.delete(key))

authors: afmihai aganjali sergiodxa shuding

repo: vercel/swr


text:
Turob hangs when a package command includes --watch (part 2)

What version of Turborepo are you using?
1.0.24-canary.1
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Linux
Describe the Bug
I have a package that does tsc --build --watch, and turbo hangs as a result (because watch never ends)
Expected Behavior
all commands run
To Reproduce

have several projects, an app and some libraries
define:

  "turbo": {
    "pipeline": {
      "dev": {
        "dependsOn": [
          "^dev"
        ]
      },

have one of the library/package.json#scripts.dev be tsc --build --watch
observe app's dev script is never ran

Repro:

https://github.com/NullVoxPopuli/limber/pull/377
commit: https://github.com/NullVoxPopuli/limber/pull/377/commits/aea628dc28e0286be4d4109d1097174e46b0ce60
run yarn dev

This actually isn't a turbo bug. You tsc build process terminate with --watch, thus turbo will not know "release" the go routine internally, and you will be limited to the concurrency level you have set (--concurrency=10 by default). I think what you're really asking for is a way to build all the dependencies before running dev, and or running with the --parallel flag.

yeah, I mean, tsc is just an example here, in development, I'd like the power to have rollup --watch, too

if that's not possible, that's fine, I suppose. No other tool supports that... which... isn't my favorite status quo, but :shrug:

it does mean I need https://github.com/vercel/turborepo/issues/417 due to differences in semantics between start/dev/watch/etc commands.

I super appreciate how fast ya'll are working on turborepo tho <3

if that's not possible, that's fine, I suppose. No other tool supports that... which... isn't my favorite status quo, but 🤷

pnpm and its workspace command allow this.
For example, in one of my largest monorepo I have in the root package.json file something like this:
"scripts": {
    "dev": "pnpm --stream --parallel --filter ./packages/* run serve",
    ....
},

which will call serve command in every packages/* folder, in parrallel

authors: NullVoxPopuli jaredpalmer stevebeauge

repo: vercel/turborepo


text:
Remove WriteFile and move it into CopyFile

Should fix #195

It still uses filesytem.Split but just to get the directory name to create it if it doesn't exist.

It opens the file with os.OpenFile and set the file permissions there instead of after copying.

It removes the file if io.Copy returns an error.

It doesn't need error handling on toFile.Close as it only returns an error if it's called multiple times.

This is roughly 2-3x slower on my benchmarks

@jaredpalmer

This is roughly 2-3x slower on my benchmarks

I'm not sure how it could be that much slower, it's practically the same apart from:

filepath.Split instead of path.Split - Maybe this is it, but I doubt it would affect the speed this much.
os.OpenFile instead of ioutil.TempFile - ioutil.TempFile is just a wrapper for os.OpenFile

It could be that this one removes the file if there's an error copying, wheras the old implementation didn't bother.
This one also avoids the need for creating a temporary file and renaming it.

Run ./turbow.sh run build test and see for yourself .
I will formally benchmark again tomorrow

If I don't figure out what caused it it would probably be best to revert the commit and just replace path.Split with filepath.Split.

I’ve reverted merging CopyFile and WriteFile and the benchmarks are just about the same as the original.

authors: bolshoytoster jaredpalmer


text:
Campaign | Doors: Enter new door(s)

As an app user, I want to record that I campaigned door-to-door at an address or in a larger freely-definable area and how many doors thereof were opened in order to note for myself and other campaigners that the building or area have already been canvassed.
The process to enter a new visited door in #217 :

Click on locator icon
Choose "+Adresse"
Fill in information in form. The form includes the address as well as the number of opened and unopened doors a the location.

Acceptance criteria:

[ ] Most commonly only 1 door is entered. This should be the standard number selected when entering a new door

Prototype:
https://www.figma.com/proto/7wE0Iveas3GGb8u4oL0714/App-Design-Mitglieder-App-(1)-(Copy)?node-id=2911-35705&t=b8swD5IOAFfZ0OSo-1&starting-point-node-id=2425%3A17429
https://www.figma.com/proto/7wE0Iveas3GGb8u4oL0714/App-Design-Mitglieder-App-(1)-(Copy)?node-id=2726-11761&t=b8swD5IOAFfZ0OSo-1&starting-point-node-id=2425%3A17429
API endpoint reference: https://github.com/verdigado/gruene-api/issues/64
Pollion reference: https://github.com/pollion/sunflower-app/issues/24

Please review issue description and move to "Ready for Development" column. @leagerndt @JuliaFreitagBGSt

issue is reviewed

authors: JuliaFreitagBGSt nscharioth svenseeberg


text:
Cached Images

Should not it display as images if they have already been cached?

Hi there. I didn’t understand your question. Can you be clearer? Thanks

PS: eu falo português, se quiser pode escrever no seu idioma :)

:)
Refiro-me às imagens que ficam na cache do browser ou seja depois de carregarmos uma página essas imagens ficam em cache internamente no browser, se fizermos um soft refresh ou se voltarmos a visitar a mesma página o browser vai usar a cache para oferecer um carregamento mais rápido e neste caso o layzload plugin deveria apresentar logo as imagens sem ter de as carregar novamente.

Muito obrigado pela explicação.
Tudo funciona como você descreveu. Quando o LazyLoad vai carregar as imagens porque entraram no viewport, o browser vai carregar as imagens dá cache invez que dá internet

Eu entendo que o LazyLoad faz isso. A minha questão é se será possível o LazyLaod apresentar directamente as imagens da cache no browser independentemente delas estarem no viewport ou não. Eu estou usando um placeholder para as imagens que ainda não estão carregadas e quando visito uma página que já visitei anteriormente essa página já tem as imagens na cache e em vez de aparecer o placeholder deveriam aparecer as imagens e não só quando elas entram no viewport.
Não sei se me estou a fazer entender, isto é apenas um pequeno detalhe de melhoria, contudo agradeço o ótimo plugin que desenvolveste.

Agora entendi melhor o que você queria fazer.
Infelizmente não é possivel fazer isso porque a cache do browser não é exposta por nenhuma API.

authors: nunoguerra verlok

repo: verlok/lazyload


text:
Avoid logging passwords when auth_on_register fails

Environment

VerneMQ Version: 1.12.0
OS: GNU/Linux (Alpine 3.13)
Erlang/OTP version (if building from source): 23
VerneMQ configuration (vernemq.conf) or the changes from the default: N/A
Cluster size/standalone: N/A

Expected behaviour
When auth_on_register diversity calls fail, the password argument is omitted or masked.
Actual behaviour
When auth_on_register diversity calls fail, all the arguments are logged out, e.g.
11:52:32.409 [error] can't call function auth_on_register with args [{addr,<<"172.26.0.1">>},{port,37488},{mountpoint,<<>>},{client_id,<<"admin">>},{username,<<"admin">>},{password,<<"CorrectBatteryHorseStaple">>},{clean_session,true}] in "./share/lua/auth/myscript.lua" due to {...]}

This is an instance of CWE-532.

@mitchellrj Yes. It's not only that btw. Need a systematic approach, or obfuscation approach - maybe also with a view on what's best practice from the Erlang logger frameworks and/or community. It's a balance between what's useful for investigation and what's critical.
For instance sometimes binaries are logged (for a crash, let's say). They can be manually parsed, and then you'll have the message payload if it was not encrypted.

https://github.com/sponsors/vernemq

authors: ioolkos mitchellrj

repo: vernemq/vernemq


text:
Add Tape/Cassette recording and repeater proxy pattern

WireMock and all have this kind of approach. Including this to Kaos tests with both deterministic mocking and indeterministic mocking would be awesome.
Also, add a CLI to do fixture gen for deterministic tests.

Closing in favor of @LukeMathWalker's Wiremock-rs.
See... That's how the Rust ecosystem is. Problems solved one at a time.

repo: vertexclique/kaos


text:
【vertx-auth-shiro】的翻译和校对

需要翻译总文件数：1
需要翻译总行数：169
详情如下：
docs\translation\vertx-auth-shiro\java\index.adoc行数：169

此模块的文档在4.0的目录中没有，因此这里先关闭，若需要再打开

repo: vertx-china/vertx-web-site


text:
[Levelup] Bot can't handle Emoji as Role Icon when using !pf

Describe the bug
When using the !pf command on a user whose highest role with a role icon is a default emoji, the command returns an error instead of the requested profile.
Cog Version*
Latest as of 7 sept 2023.
To Reproduce
Steps to reproduce the behavior:

Set a role with a default emoji (such as 😵💫) as it's role icon (Nitro Boost lvl 2 required);
Assign it to a user;
Request it's levelup cog profile using !pf [user]
See error prompt from the bot.

Expected behavior
A bot response with the Levelup profile of the requested user.
Screenshots
Screenshot of it giving the error response whilst 🍻was the role icon

Screenshot of it giving the profile when changing the role icon to a (custom) server emote

Could you please provide a traceback of the full error?

Please don't beat me for using Pterodactyl :(
In embeds.0.footer.icon_url: Not a well formed URL.
[2023-09-07 22:25:24] [ERROR] red: Exception in command 'pf'
Traceback (most recent call last):
File "/home/container/.local/share/Red-DiscordBot/data/pterodactyl/cogs/CogManager/cogs/levelup/base.py", line 862, in get_profile
+ position
File "/home/container/.local/lib/python3.11/site-packages/discord/ext/commands/context.py", line 741, in reply
return await self.send(content, reference=self.message, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/container/.local/lib/python3.11/site-packages/redbot/core/commands/context.py", line 91, in send
return await super().send(content=content, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/container/.local/lib/python3.11/site-packages/discord/ext/commands/context.py", line 1024, in send
return await super().send(
^^^^^^^^^^^^^^^^^^^
File "/home/container/.local/lib/python3.11/site-packages/discord/abc.py", line 1561, in send
data = await state.http.send_message(channel.id, params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/container/.local/lib/python3.11/site-packages/discord/http.py", line 745, in request
raise HTTPException(response, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In embeds.0.footer.icon_url: Not a well formed URL.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/container/.local/lib/python3.11/site-packages/discord/ext/commands/core.py", line 235, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/container/.local/share/Red-DiscordBot/data/pterodactyl/cogs/CogManager/cogs/levelup/base.py", line 864, in get_profile
+ str(percentage)
File "/home/container/.local/lib/python3.11/site-packages/redbot/core/commands/context.py", line 91, in send
return await super().send(content=content, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/container/.local/lib/python3.11/site-packages/discord/ext/commands/context.py", line 1024, in send
return await super().send(
^^^^^^^^^^^^^^^^^^^
File "/home/container/.local/lib/python3.11/site-packages/discord/abc.py", line 1561, in send
data = await state.http.send_message(channel.id, params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/container/.local/lib/python3.11/site-packages/discord/http.py", line 745, in request
raise HTTPException(response, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In embeds.0.footer.icon_url: Not a well formed URL.
END OF LOG

Hope you were able to recreate the error on your own :)

I cannot reproduce this, and since Pterodactyl is not supported I won't be looking into it any further. Use a supported method of hosting the bot.

repo: vertyco/vrt-cogs


text:
[feature] flink-cdc-connector support elasticsearch 8.x

Is your feature request related to a problem? Please describe.
when elasticsearch 8.x support for flink-cdc-connector
Describe the solution you'd like
Describe alternatives you've considered

Hi @CaoYunzhou.
Does elasticsearch 8.x provides some way of change capture?
If not, we can hardly get the change operations of elasticsearch.

authors: CaoYunzhou Jiabao-Sun

repo: ververica/flink-cdc-connectors


text:
mysql-cdc读取数据 多表join后 通过jdbc写入mysql报错

TaskManager log报错如下：
java.io.IOException: Writing records to JDBC failed.
at org.apache.flink.connector.jdbc.internal.JdbcBatchingOutputFormat.writeRecord(JdbcBatchingOutputFormat.java:157)
at org.apache.flink.streaming.api.functions.sink.OutputFormatSinkFunction.invoke(OutputFormatSinkFunction.java:87)
at org.apache.flink.streaming.api.functions.sink.SinkFunction.invoke(SinkFunction.java:52)
at org.apache.flink.table.runtime.operators.sink.SinkOperator.processElement(SinkOperator.java:86)
at org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.pushToOperator(OperatorChain.java:717)
at org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.collect(OperatorChain.java:692)
at org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.collect(OperatorChain.java:672)
at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:52)
at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:30)
at StreamExecCalc$4504.processElement(Unknown Source)
at org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.pushToOperator(OperatorChain.java:717)
at org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.collect(OperatorChain.java:692)
at org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.collect(OperatorChain.java:672)
at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:52)
at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:30)
at org.apache.flink.streaming.api.operators.TimestampedCollector.collect(TimestampedCollector.java:53)
at org.apache.flink.table.runtime.operators.join.stream.StreamingJoinOperator.output(StreamingJoinOperator.java:305)
at org.apache.flink.table.runtime.operators.join.stream.StreamingJoinOperator.processElement(StreamingJoinOperator.java:278)
at org.apache.flink.table.runtime.operators.join.stream.StreamingJoinOperator.processElement1(StreamingJoinOperator.java:115)
at org.apache.flink.streaming.runtime.io.StreamTwoInputProcessor.processRecord1(StreamTwoInputProcessor.java:132)
at org.apache.flink.streaming.runtime.io.StreamTwoInputProcessor.lambda$new$0(StreamTwoInputProcessor.java:99)
at org.apache.flink.streaming.runtime.io.StreamTwoInputProcessor$StreamTaskNetworkOutput.emitRecord(StreamTwoInputProcessor.java:364)
at org.apache.flink.streaming.runtime.io.StreamTaskNetworkInput.processElement(StreamTaskNetworkInput.java:178)
at org.apache.flink.streaming.runtime.io.StreamTaskNetworkInput.emitNext(StreamTaskNetworkInput.java:153)
at org.apache.flink.streaming.runtime.io.StreamTwoInputProcessor.processInput(StreamTwoInputProcessor.java:179)
at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:345)
at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxStep(MailboxProcessor.java:191)
at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:181)
at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:558)
at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:530)
at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:721)
at org.apache.flink.runtime.taskmanager.Task.run(Task.java:546)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at org.apache.flink.table.data.GenericRowData.getInt(GenericRowData.java:149)
at org.apache.flink.table.data.RowData.lambda$createFieldGetter$245ca7d1$6(RowData.java:334)
at org.apache.flink.connector.jdbc.table.JdbcDynamicOutputFormatBuilder.getPrimaryKey(JdbcDynamicOutputFormatBuilder.java:216)
at org.apache.flink.connector.jdbc.table.JdbcDynamicOutputFormatBuilder.lambda$createRowKeyExtractor$7(JdbcDynamicOutputFormatBuilder.java:193)
at org.apache.flink.connector.jdbc.table.JdbcDynamicOutputFormatBuilder.lambda$createKeyedRowExecutor$3fd497bb$1(JdbcDynamicOutputFormatBuilder.java:128)
at org.apache.flink.connector.jdbc.internal.executor.KeyedBatchStatementExecutor.executeBatch(KeyedBatchStatementExecutor.java:71)
at org.apache.flink.connector.jdbc.internal.executor.BufferReduceStatementExecutor.executeBatch(BufferReduceStatementExecutor.java:99)
at org.apache.flink.connector.jdbc.internal.JdbcBatchingOutputFormat.attemptFlush(JdbcBatchingOutputFormat.java:200)
at org.apache.flink.connector.jdbc.internal.JdbcBatchingOutputFormat.flush(JdbcBatchingOutputFormat.java:171)
at org.apache.flink.connector.jdbc.internal.JdbcBatchingOutputFormat.writeRecord(JdbcBatchingOutputFormat.java:154)
... 32 more
Print connector 打印upsert流数据如下：

其中，第2列为唯一键
是否因为多线程upsert流对唯一键争抢导致的？

Could you share the SQL query (including DDL) and the job graph in web UI?

Could you share the SQL query (including DDL) and the job graph in web UI?

DDL 和 SQL 如下：
// 创建源表 - bs_user_enroll
val bs_user_enroll_source_ddl =
"""
CREATE TABLE bs_user_enroll_source (
ue_id int,
ue_pt_id int,
ue_opt_id int,
ue_user_id int,
ue_state int,
ue_state_time varchar,
ue_time varchar,
ue_remark varchar,
ue_signt_ime varchar,
ue_sign_url varchar,
ue_relieve_sign_url varchar,
ue_sign_nbr varchar,
ue_relieved_nbr varchar,
ue_signup_id int,
ue_agreement_type int,
ue_settle_user_id int,
ue_fdd_sign_url varchar
)  WITH (
'connector' = 'mysql-cdc',
'hostname' = '%s',
'port' = '%s',
'username' = '%s',
'password' = '%s',
'database-name' = '%s',
'table-name' = 'bs_user_enroll'
)
""".format(SOURCE_HOST, SOURCE_PORT, SOURCE_USERNAME, SOURCE_PASSWORD, SOURCE_DATABASE)
t_env.executeSql(bs_user_enroll_source_ddl)
  /*  创建mysql维表  */
  // dim_pt_detail
  val dim_pt_detail_ddl =
    """
      CREATE TABLE dim_pt_detail (
          `pt_id` int,
          `pt_nbr` varchar,
          `pt_ct_id` int,
          `pt_bu_id` int,
          `pt_bu_name` varchar,
          `pt_user_id` int,
          `pt_opt_id` int,
          `pt_name` varchar,
          `pt_invoice` int,
          `pt_sku` int,
          `pt_state` int,
          `pt_state_name` varchar,
          `pt_state_remark` varchar,
          `pt_state_time` varchar,
          `pt_time` varchar,
          `pt_type` int,
          `pt_type_name` varchar,
          `pt_signup` int,
          `pt_signup_name` varchar,
          `pt_agreement` int,
          `pt_incubator_flag` int,
          `pt_incubator_flag_name` varchar,
          `pt_cycle` int,
          `pt_case_count` int,
          `pt_residue_count` int,
          `pt_start_time` varchar,
          `pt_end_time` varchar,
          `pt_root_nid` int,
          `pt_billing_type` varchar,
          `pt_fee_info` varchar,
          `pt_user_count` int,
          `pt_signup_count` int,
          `pt_is_plat` int,
          `pt_is_plat_name` varchar,
          `pt_plat_opt_id` int,
          `pt_desc` varchar,
          `pt_standard` varchar,
          `pt_attachment` varchar,
          `pt_suc_count` int,
          `pt_plat_fee` bigint,
          `pt_incubator_count` int,
          `pt_audit_remark` varchar,
          `pt_audit_opt_list` varchar ,
          `pt_settle_user_id` int,
          `pt_fee_value` varchar,
          `pt_star` int,
          `pt_star_plat` int,
          `pt_ratie` int,
          `pt_is_lock` int,
          `pt_is_lock_name` varchar,
          `pt_account_days` varchar,
          `pt_remit_channel` int,
          `pt_account_type` int,
          `pt_sucfee` bigint,
          `pt_step` varchar ,
          `pt_scene_file` varchar,
          `pt_must_signed` int,
          `pt_must_signed_name` varchar,
          `pt_auto_get` int,
          `pt_auto_get_name` varchar,
          `pt_auto_sub` int,
          `pt_auto_sub_name` varchar,
          `pt_max_count` int,
          `pt_root_id` int,
          `pt_root_nbr` varchar,
          `pt_root_user_id` int
      )  WITH (
          'connector' = 'mysql-cdc',
          'hostname' = '%s',
          'port' = '%s',
          'username' = '%s',
          'password' = '%s',
          'database-name' = '%s',
          'table-name' = 'dim_pt_detail'
      )
      """.format(HOST, PORT, USERNAME, PASSWORD, DATABASE)
  t_env.executeSql(dim_pt_detail_ddl)

  // mp_user
  val dim_mp_user_ddl =
    """
      CREATE TABLE dim_mp_user (
        `mp_id` int,
        `mp_name` varchar,
        `mp_ct_id` int,
        `mp_type` int,
        `mp_spec_flag` int,
        `mp_time` varchar,
        `mp_state` int,
        `mp_state_time` varchar COMMENT '状态时间',
        `mp_link_phone` varchar COMMENT '联系方式',
        `mp_link_man` varchar COMMENT '联系人',
        `mp_link_email` varchar COMMENT '邮箱',
        `mp_link_address` varchar COMMENT '联系地址',
        `mp_bank` varchar,
        `mp_bank_no` varchar,
        `mp_bank_name` varchar,
        `mp_audit_state` int,
        `mp_audit_state_time` varchar,
        `mp_audit_remark` varchar,
        `mp_is_cancel` int,
        `mp_inc_state` tinyint,
        `mp_inc_state_time` varchar,
        `mp_oper_opt_id` int,
        `mp_oper_aft_opt_id` int,
        `mp_sale_opt_id` int,
        `mp_fin_opt_id` int,
        `mp_relation_user_id` int,
        `mp_sign_user_id` int,
        `mp_settle_user_id` int,
        `mp_proxy_user_id` int,
        `mp_pay_channel` int,
        `mp_auth_photo_url` varchar,
        `mp_top_photo_url` varchar,
        `mp_contract_id` int,
        `mp_industry` int,
        `mp_incubator` int,
        `mp_join_type` int,
        `mp_fee_json` varchar,
        `mp_settle_path_json` varchar,
        `mp_back_fee_json` varchar,
        `mp_plat_opt_id` int,
        `mp_opt_id` int,
        `mp_audit_opt_id` int,
        `mp_remark` varchar,
        `mp_video` varchar,
        `mp_inc_errcount` int,
        `mp_old_id` int,
        `mp_self_user_id` int
      )  WITH (
          'connector' = 'mysql-cdc',
          'hostname' = '%s',
          'port' = '%s',
          'username' = '%s',
          'password' = '%s',
          'database-name' = '%s',
          'table-name' = 'mp_user'
      )
      """.format(SOURCE_HOST, SOURCE_PORT, SOURCE_USERNAME, SOURCE_PASSWORD, SOURCE_DATABASE)
  t_env.executeSql(dim_mp_user_ddl)

  // dim_se_detail
  val dim_se_detail_ddl =
    """
      CREATE TABLE dim_se_detail (
        `se_id` int,
        `se_name` varchar,
        `se_ct_id` int,
        `se_type` int,
        `se_spec_flag` int,
        `se_time` varchar,
        `se_state` int,
        `se_state_time` varchar,
        `se_link_phone` varchar,
        `se_link_man` varchar,
        `se_link_email` varchar,
        `se_link_address` varchar,
        `se_bank` varchar,
        `se_bank_no` varchar,
        `se_bank_name` varchar,
        `se_audit_state` int,
        `se_audit_state_time` varchar,
        `se_audit_remark` varchar,
        `se_is_cancel` int,
        `se_inc_state` int,
        `se_inc_state_time` varchar,
        `se_oper_opt_id` int,
        `se_oper_aft_opt_id` int,
        `se_sale_opt_id` int,
        `se_fin_opt_id` int,
        `se_relation_user_id` int,
        `se_sign_user_id` int,
        `se_settle_user_id` int,
        `se_proxy_user_id` int,
        `se_pay_channel` int,
        `se_auth_photo_url` varchar,
        `se_top_photo_url` varchar,
        `se_contract_id` int,
        `se_industry` int,
        `se_incubator` int,
        `se_join_type` int,
        `se_fee_json` varchar,
        `se_settle_path_json` varchar ,
        `se_back_fee_json` varchar,
        `se_plat_opt_id` int,
        `se_opt_id` int,
        `se_audit_opt_id` int,
        `se_remark` varchar,
        `se_video` varchar,
        `se_inc_errcount` int,
        `se_old_id` int,
        `se_self_user_id` int,
        `se_hm_name` varchar,
        `se_hm_sex` varchar,
        `se_hm_conceal` varchar,
        `se_hm_idcard` varchar,
        `se_hm_xphone` varchar,
        `se_hm_phone` varchar,
        `se_incubator_flag` int,
        `se_xbank_no` varchar,
        `se_audit_remark_name` varchar,
        `se_specialflag` int,
        `se_special_content` varchar,
        `se_bl_url` varchar,
        `se_incubator_type` varchar,
        `se_special_type` varchar,
        `se_incstate_name` varchar,
        `se_auditstate_name` varchar
      )  WITH (
          'connector' = 'mysql-cdc',
          'hostname' = '%s',
          'port' = '%s',
          'username' = '%s',
          'password' = '%s',
          'database-name' = '%s',
          'table-name' = 'dim_se_detail'
      )
      """.format(HOST, PORT, USERNAME, PASSWORD, DATABASE)
  t_env.executeSql(dim_se_detail_ddl)

  // dim_human_detail
  val dim_human_detail_ddl =
    """
      CREATE TABLE dim_human_detail (
        `hm_id` int COMMENT '操作员id',
        `hm_old_id` varchar COMMENT '原用户id',
        `hm_pwd` varchar COMMENT '登录密码',
        `hm_phone` varchar COMMENT '手机号码',
        `hm_email` varchar COMMENT '邮箱',
        `hm_name` varchar COMMENT '用户名',
        `hm_head_portrait` varchar COMMENT '头像',
        `hm_real_state` int COMMENT '认证状态',
        `hm_state_time` varchar COMMENT '状态时间',
        `hm_state` int,
        `hm_time` varchar COMMENT '创建时间',
        `hm_activate_flag` int COMMENT '是否激活 1是 2否',
        `hm_last_login_time` varchar COMMENT '最后一次登录时间',
        `hm_enc_phone` varchar,
        `hm_xphone` varchar,
        `hm_ic_id` int COMMENT '证件id',
        `hm_readflag` varchar,
        `hm_wechat_id` varchar,
        `hm_sex` varchar COMMENT '性别',
        `hm_conceal` varchar,
        `hm_idcard` varchar COMMENT '身份证号',
        `hm_specialflag` int COMMENT '是否特殊用户',
        `hm_special_content` varchar COMMENT '特殊用户原因',
        `hm_special_type` varchar COMMENT '特殊用户类型'
      )  WITH (
          'connector' = 'mysql-cdc',
          'hostname' = '%s',
          'port' = '%s',
          'username' = '%s',
          'password' = '%s',
          'database-name' = '%s',
          'table-name' = 'dim_human_detail'
      )
      """.format(HOST, PORT, USERNAME, PASSWORD, DATABASE)
  t_env.executeSql(dim_human_detail_ddl)

  // mp_operator_dept
  val dim_mp_operator_dept_ddl =
    """
      CREATE TABLE dim_mp_operator_dept (
        `od_id` int,
        `od_user_id` int,
        `od_dept_id` int,
        `od_opt_id` int,
        `od_father_opt_id` int,
        `od_time` varchar,
        `od_join_type` int,
        `od_state` int,
        `od_state_time` varchar,
        `od_remark` varchar
      )  WITH (
          'connector' = 'mysql-cdc',
          'hostname' = '%s',
          'port' = '%s',
          'username' = '%s',
          'password' = '%s',
          'database-name' = '%s',
          'table-name' = 'mp_operator_dept'
      )
      """.format(SOURCE_HOST, SOURCE_PORT, SOURCE_USERNAME, SOURCE_PASSWORD, SOURCE_DATABASE)
  t_env.executeSql(dim_mp_operator_dept_ddl)

  // mp_dept
  val dim_mp_dept_ddl =
    """
      CREATE TABLE dim_mp_dept (
        `dt_id` int,
        `dt_user_id` int,
        `dt_name` varchar,
        `dt_fatherid` int,
        `dt_name_path` varchar,
        `dt_id_path` varchar,
        `dt_state` int,
        `dt_state_time` varchar,
        `dt_root_id` int,
        `dt_is_temp` int
      )  WITH (
          'connector' = 'mysql-cdc',
          'hostname' = '%s',
          'port' = '%s',
          'username' = '%s',
          'password' = '%s',
          'database-name' = '%s',
          'table-name' = 'mp_dept'
      )
      """.format(SOURCE_HOST, SOURCE_PORT, SOURCE_USERNAME, SOURCE_PASSWORD, SOURCE_DATABASE)
  t_env.executeSql(dim_mp_dept_ddl)

  // sys_param
  val sys_param_dim_ddl =
    """
      CREATE TABLE sys_param_dim (
        `sp_id` varchar,
        `sp_father_id` varchar,
        `sp_name` varchar,
        `sp_value` varchar,
        `sp_ext_value` varchar,
        `sp_remark` varchar
      )  WITH (
          'connector' = 'mysql-cdc',
          'hostname' = '%s',
          'port' = '%s',
          'username' = '%s',
          'password' = '%s',
          'database-name' = '%s',
          'table-name' = 'sys_param'
      )
      """.format(SOURCE_HOST, SOURCE_PORT, SOURCE_USERNAME, SOURCE_PASSWORD, SOURCE_DATABASE)
  t_env.executeSql(sys_param_dim_ddl)

  /* 创建mysql结果表 */
  // getstartuplist
  val getstartuplist_sink_ddl =
    """
      CREATE TABLE `getstartuplist_sink` (
        `uePtId` int,
        `ueId` int,
        `ueOptId` int,
        `ueStateName` varchar,
        `sp_remark` varchar,
        `ueState` int,
        `ueStateTime` varchar,
        `ueSignUrl` varchar,
        `ueRelieveSignUrl` varchar,
        `ueRelievedNbr` varchar,
        `ueSignupId` int,
        `ueRemark` varchar,
        `ptName` varchar,
        `platIncubatorFlag` int,
        `agreement` int,
        `ptTypeName` varchar,
        `ptEndTime` varchar,
        `ptStar` int,
        `ptNbr` varchar,
        `ptState` int,
        `ptStateName` varchar,
        `pt_user_id` int,
        `mpName` varchar,
        `mpId` int,
        `mpTime` varchar,
        `mpIncState` int,
        `star` bigint,
        `userIncubatorFlag` bigint,
        `mpBankNo` varchar,
        `bankNo` varchar,
        `mpStateTime` varchar,
        `mpIncStateTime` varchar,
        `mpAuditState` int,
        `mpRemark` varchar,
        `mpAuditStateTime` varchar,
        `mpAuditRemark` varchar,
        `mpAuditRemarkName` varchar,
        `incStateName` varchar,
        `incErroCount` int,
        `mpIncStateName` varchar,
        `mpAuditStateName` varchar,
        `icPhone` varchar,
        `phone` varchar,
        `icName` varchar,
        `spSex` varchar,
        `icAge` BIGINT,
        `icID` varchar,
        `icCode` varchar,
        `specialflag` bigint,
        `specialContent` varchar,
        `specialType` varchar,
        `blUrl` varchar,
        `dtNamePath` varchar,
        `od_dept_id` int,
        `mp_id` int,
        `ue_state_time` varchar,
        PRIMARY KEY (ueId) NOT ENFORCED
      ) WITH (
          'connector' = 'jdbc',
          'url' = '%s',
          'table-name' = 'getstartuplist',
          'driver' = 'com.mysql.cj.jdbc.Driver',
          'username' = '%s',
          'password' = '%s'
      )
      """.format(URL, USERNAME, PASSWORD)
  t_env.executeSql(getstartuplist_sink_ddl)

  // 注册函数
  t_env.createTemporarySystemFunction("TimeUdf", classOf[TimeUdf])

  // 执行sql
  t_env.executeSql(
    """
      |insert into getstartuplist_sink
      |select
      |     a.ue_pt_id as uePtId
      |     ,a.ue_id AS ueId
      |     ,a.ue_opt_id AS ueOptId
      |     ,s1.sp_name AS ueStateName
      |     ,s1.sp_remark AS sp_remark
      |     ,a.ue_state AS ueState
      |     ,TimeUdf(a.ue_signt_ime) as ueStateTime
      |     ,a.ue_sign_url AS ueSignUrl
      |     ,a.ue_relieve_sign_url AS ueRelieveSignUrl
      |     ,a.ue_relieved_nbr AS ueRelievedNbr
      |     ,a.ue_signup_id AS ueSignupId
      |     ,COALESCE(a.ue_remark, '') AS ueRemark
      |     ,b.pt_name AS ptName
      |     ,b.pt_incubator_flag as platIncubatorFlag
      |     ,b.pt_agreement as agreement
      |     ,b.pt_type_name AS ptTypeName
      |     ,TimeUdf(b.pt_end_time) AS ptEndTime
      |     ,b.pt_star as ptStar
      |     ,COALESCE(b.pt_root_nbr,'') as ptNbr
      |     ,b.pt_state as ptState
      |     ,b.pt_state_name as ptStateName
      |     ,b.pt_user_id as pt_user_id
      |     ,c.mp_name AS mpName
      |     ,c.mp_id as mpId
      |     ,d.se_time as mpTime
      |     ,COALESCE(d.se_inc_state, 0) AS mpIncState
      |     ,cast(COALESCE(d.se_incubator,0) as bigint) as star
      |     ,cast(COALESCE(d.se_incubator_flag, 0) as bigint) as userIncubatorFlag
      |     ,d.se_xbank_no as mpBankNo
      |     ,COALESCE(d.se_bank_no,'') as bankNo
      |     ,TimeUdf(d.se_state_time) AS mpStateTime
      |     ,(case when COALESCE(d.se_inc_state, 0) =1 then TimeUdf(d.se_inc_state_time) else '' END) AS mpIncStateTime
      |     ,d.se_audit_state AS mpAuditState
      |     ,COALESCE(d.se_remark,'') as mpRemark
      |     ,TimeUdf(d.se_audit_state_time) AS mpAuditStateTime
      |     ,COALESCE(d.se_audit_remark, '') AS mpAuditRemark
      |     ,d.se_audit_remark_name as mpAuditRemarkName
      |     ,d.se_incubator_type as incStateName
      |     ,d.se_inc_errcount as incErroCount
      |     ,d.se_incstate_name AS mpIncStateName
      |     ,d.se_auditstate_name AS mpAuditStateName
      |     ,g.hm_xphone AS icPhone
      |     ,g.hm_phone AS phone
      |     ,g.hm_name AS icName
      |     ,g.hm_sex AS spSex
      |     ,(case when CHAR_LENGTH(g.hm_idcard)>14 then (YEAR(CURRENT_DATE) - cast(SUBSTR(g.hm_idcard, 7, 4) as int)) else 0 end) AS icAge
      |     ,g.hm_conceal AS icID
      |     ,g.hm_idcard as icCode
      |     ,cast(COALESCE(g.hm_specialflag, 0) as bigint) as specialflag
      |     ,g.hm_special_content as specialContent
      |     ,g.hm_special_type as specialType
      |     ,d.se_bl_url as blUrl
      |     ,COALESCE(f.dt_name_path, '') AS dtNamePath
      |     ,COALESCE(f.dt_id, 0) as od_dept_id
      |     ,d.se_id as mp_id
      |     ,a.ue_state_time
      |from bs_user_enroll_source a
      |left join dim_pt_detail b on a.ue_pt_id = b.pt_id
      |left join dim_mp_user c on b.pt_root_user_id = c.mp_id
      |left join dim_se_detail d on d.se_id = a.ue_user_id
      |left join dim_human_detail g on g.hm_id = a.ue_opt_id
      |left join dim_mp_operator_dept e on a.ue_opt_id = e.od_opt_id and b.pt_root_user_id = e.od_user_id
      |left join dim_mp_dept f on e.od_dept_id = f.dt_id
      |left join sys_param_dim s1 ON s1.sp_father_id = '41' AND  a.ue_state = cast(s1.sp_value as int)
    """.stripMargin
  )

web UI job截图如下：

超过了3表联查

Could you share the SQL query (including DDL) and the job graph in web UI?

同样的DDL和SQL，通过es connector sink到es，数据能正常写入

ref FLINK-19423, It has been fixed, use flink-connector-jdbc.jar with version 1.11.3 pls

authors: jjiey wuchong zqyltx2008


text:
[Bug] 设置scanNewlyAddedTableEnabled(true)后，无法采集到新增的表

Search before asking

[X] I searched in the issues and found nothing similar.

Flink version
1.16.1
Flink CDC version
2.4.0
Database and its version
mysql 5.7.38
Minimal reproduce step

flinkCDC设置.scanNewlyAddedTableEnabled(true) 不支持运行过程中采集新增加的表
flinkCDC注释.scanNewlyAddedTableEnabled(true) 不支持在扩大采集库的范围后从savepoint恢复
我需要在实现，flinkCDC首次启动时，采集的库为test，并且支持运行过程中采集到新增加的表。增加一个被采集的库，如test2后，可以从savepoint重启

What did you expect to see?
flink code
val dataBaseList = "test" val tableList = "test.*" MySqlSource.builder()   .scanNewlyAddedTableEnabled(true)    .debeziumProperties(mergedDebeziumProperties(prop))   .hostname(address).port(port)   .username(userName).password(password)   .databaseList(dataBaseList).tableList(tableList)   .deserializer(withFieldsDescSchema)   .startupOptions(StartupOptions.initial())   .build()

如上，创建一个flinkCDC的mysql数据源，如果设置了.scanNewlyAddedTableEnabled(true)  flinkCDC无法采集到新增的表
eg：在flinkCDC启动前mysql中有table1,table2两张表，flinkCDC启动后可以正常采集到table1和table2中的数据。此时，新建一张表名为table3，并在table3中插入数据。flinkCDC采集不到table3中的数据
如果将.scanNewlyAddedTableEnabled(true) 注释掉，则flinkCDC任务可以采集到table3中的数据。

2.如果我将
val dataBaseList = "test" val tableList = "test.*"
更改为
val dataBaseList = "test,test2" val tableList = "test.*,test.*"
意味我需要同时采集test和test2库中所有表的数据，此时如果注释了.scanNewlyAddedTableEnabled(true) ，并从savepoint重启，则会报错
io.debezium.connector.mysql.MySqlStreamingChangeEventSource  [] - Encountered change event 'Event{header=EventHeaderV4{timestamp=1689577430000, eventType=TABLE_MAP, serverId=1, headerLength=19, dataLength=144, nextPosition=198630518, flags=0}, data=TableMapEventData{tableId=1233, database='test2', table='fire_spot_output', columnTypes=8, 8, 3, 10, 10, 8, 15, 8, 15, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, 8, 18, 18, 8, 3, -10, -10, -10, columnMetadata=0, 0, 0, 0, 0, 0, 512, 0, 64, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 2580, 0, 0, 0, 0, 0, 2580, 2580, 2580, columnNullability={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35}, eventMetadata=null}}' at offset {transaction_id=null, ts_sec=1689577431, file=mysql-bin.006103, pos=195573871, server_id=1, event=3742} for table tj-fire-electricity.fire_spot_output whose schema isn't known to this connector. One possible cause is an incomplete database history topic. Take a new snapshot in this case. Use the mysqlbinlog tool to view the problematic event: mysqlbinlog --start-position=198630355 --stop-position=198630518 --verbose mysql-bin.006103
。
我期望看到的是，设置了.scanNewlyAddedTableEnabled(true) 之后，flinkCDC可以在运行过程中采集到新增的表，并且在修改了databaseList增加了采集的库的范围之后可以从savepoint恢复。
What did you see instead?
设置了.scanNewlyAddedTableEnabled(true) 之后，flinkCDC可以在运行过程中不能采集到新增的表
不设置该参数反而可以在运行过程中采集到新增的表，但如果不注释该参数，则在扩大了采集库的范围后，不能从savapoint恢复，报错信息如上描述
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

is this a bug? or design to be like this

以前的版本是可以采集到.tableList(db.*)下新增的表的，2.4.1不行了，改批了。。

我定位到了问题，在BinlogSplitReader，看样子是特意这样设计的
// Use still need to capture new sharding table if user disable scan new added table,
// The history records for all new added tables(including sharding table and normal table)
// will be capture after restore from a savepoint if user enable scan new added table

我删掉了判断逻辑，目前测了一下，似乎一切正常了

is this a bug? or design to be like this

i think that is a bug, It does not conform to the api definition

以前的版本是可以采集到.tableList(db.*)下新增的表的，2.4.1不行了，改批了。。

这样设计首先不符合直觉，其次不合符api的定义

2.4.1同样有这个BUG，我也采集不到.tableList(test.*)的新表，我只能回滚版本了

我也是回滚版本了，而且看其他人说专门是这样设计的，可能以后不能升级版本了

我删掉了判断逻辑，目前测了一下，似乎一切正常了

感谢，我也试试

2.4.1同样有这个BUG，我也采集不到.tableList(test.*)的新表，我只能回滚版本了

我也是回滚版本了，而且看其他人说专门是这样设计的，可能以后不能升级版本了

你在哪儿看到说是专门这样设计的？我在那个改动下问了，但没回我
https://github.com/ververica/flink-cdc-connectors/commit/60eee3a1c52b604c361acdd14097be12468e5db5

2.4.1同样有这个BUG，我也采集不到.tableList(test.*)的新表，我只能回滚版本了

我也是回滚版本了，而且看其他人说专门是这样设计的，可能以后不能升级版本了

如果真的是就这样设计不改了，那我也只好fork了，哎，麻烦，我不喜欢fork下来改

哈哈，GPT-4是这样分析的：
这段代码的改动主要是对动态添加的表的捕获逻辑进行了调整。以下是对这段代码改动的分析：
原始代码：
1.注释提到了一个问题：在某些情况下，可能无法捕获新添加的表。这种情况发生的概率很小，是在枚举中发现已捕获的表之后和所有表分割的最低binlog偏移之前，动态地添加了表。这个时间间隔应该很短，所以目前不支持这种情况。
代码逻辑是：如果maxSplitHighWatermarkMap不包含tableId且capturedTableFilter包含tableId，则返回true。
修改后的代码：
2.新的注释提到，即使用户禁用了扫描新添加的表，仍然需要捕获新的分片表。如果用户启用了扫描新添加的表，那么从保存点恢复后，所有新添加的表（包括分片表和普通表）的历史记录都会被捕获。
新的代码逻辑首先检查是否启用了扫描新添加的表的配置。如果没有启用，那么对于没有历史记录的新添加的分片表，逻辑与原始代码相同。如果启用了，直接返回false。
改动原因分析：
1.在原始代码中，对于新添加的表的捕获逻辑是固定的，不考虑用户的配置。
2.在修改后的代码中，增加了对用户配置的考虑。如果用户禁用了扫描新添加的表，那么仍然会捕获新的分片表，但不会捕获其3.他新添加的表。如果用户启用了扫描新添加的表，那么在从保存点恢复后，所有新添加的表的历史记录都会被捕获。
这个改动可能是为了提供更灵活的配置选项，让用户可以根据自己的需求来决定是否捕获新添加的表。
总之，这个代码改动的主要原因是为了提供更多的配置选项，以满足不同用户的需求，并对新添加的表的捕获逻辑进行了优化和调整。

Maybe can add scan.table-discovery.interval like kafka  connector to fink new table periodlly, no need restart job.

Considering collaboration with developers around the world, please re-create your issue in English on Apache Jira under project Flink with component tag 'Flink CDC'. Thanks.
为了便于各个国家的开发者合作，请用英文在 Apache Jira 的 Flink项目下重新提交问题，同时将 issue 的 Component 标注为 Flink CDC。谢谢。
@loserwang1024 Would you like to help to create an issue about this problem? Thanks.


text:
fix session error

What type of PR is this?

[x] bug
[ ] feature
[ ] enhancement

What problem(s) does this PR solve?
When using session pool, we have added retryConnect() if connection was broken, but, there is still a problem.
When the session is invalid, the query will fail with the bad session even the user try to query more times, as session can not recover by itself now.
How do you solve it?
So, when the session is invalid, we can also try to recreate the session, and make sure all the session is valid in the session pool.

@Shylock-Hg Could you help to review this PR?

repo: vesoft-inc/nebula-cpp


text:
support unique path for failed writing

fix https://github.com/vesoft-inc/nebula-exchange/issues/128

Codecov Report
Patch coverage: 30.76% and project coverage change: -0.17 :warning:

Comparison is base (cfeb703) 56.63% compared to head (c863889) 56.47%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #129      +/-   ##
============================================
- Coverage     56.63%   56.47%   -0.17%
  Complexity       85       85
============================================
  Files            18       18
  Lines          1485     1491       +6
  Branches        281      283       +2
============================================
+ Hits            841      842       +1
- Misses          495      498       +3
- Partials        149      151       +2

Impacted Files
Coverage Δ

...cala/com/vesoft/exchange/common/ErrorHandler.scala
0.00% <0.00%> (ø)

...ft/exchange/common/processor/ReloadProcessor.scala
0.00% <0.00%> (ø)

...la/com/vesoft/exchange/common/config/Configs.scala
63.37% <66.66%> (-0.15%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

repo: vesoft-inc/nebula-exchange


text:
Rerun all rules when execution plan is not stable

as title

 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.

authors: CLAassistant yixinglu

repo: vesoft-inc/nebula-graph


text:
Submit ONNX tutorial for Vespa

To better promote Vespa's ONNX support, we should consider submitting a tutorial for using Vespa with ONNX in their GitHub repo: https://github.com/onnx/tutorials.

https://github.com/onnx/tutorials/pull/252

Above PR is merged and onnx/tutorials now links to stateless model sample app and ms marco sample app with many onnx models. https://github.com/onnx/tutorials/

authors: frodelu jobergum

repo: vespa-engine/vespa


text:
Propagate timeout errors up in fill phase.

@bratseth PR

"type", "message", "details". All strings.

@bratseth Ready for another review


text:
Add jobreport method to application v4 api

FYI @mpolden

@tokle  PTAL

@mpolden fyi

authors: bjorncs tokle


text:
Create Insert Around Use Case

For any use case where the goal is to preserve the original text keyword and prepend/append to it, these changes allow for that without replacing the original text with the perhaps differently cased keyword text that matches.
For HTML highlighting in particular, this will be incredibly useful.
These code changes do not affect any other use case, and the custom replacement is optional. I have also included an example in the README for how this could be used.

Coverage decreased (-0.3%) to 98.973% when pulling 142889ebd4e334ec20038b123168c09f0cc94cb8 on jamespeacock:master into 5591859aabe3da37499a20d0d0d6dd77e480ed8d on vi3k6i5:master.

Will create tests to cover this new usage if you let me know whether this is an acceptable addition to the Keyword Processor.

Additionally, perhaps this could be a separate method that takes in a 'prepend' and an 'append' rather than a 'replacement' and this could eliminate the need for str.replace() in keyword.py:644

authors: coveralls jamespeacock


text:
CLIENT_ID and CLIENT_SECRET

How do I get the clientid and the clientSecret , there is no documentation for this on: http://developer.viagogo.net ?
Thanks,
Jay

Hi @jaysnanavati,
Sorry for the delay. You can contact the viagogo Affiliates team (affiliate@viagogo.com) to get set up with a client ID and secret.
Thanks,
Akil

authors: akilb jaysnanavati


text:
关于添加悬浮按钮菜单的问题

对于我这种记不住快捷键的人来说，吸附悬浮菜单按钮还是挺有用的。
不知道楼主有没有对应的方案，没有的话就算了。
另外我在Mac上点退出选择最小化到dock的时候，没办法再让程序显示了。只能退出再重新打开。

@zhoujia456888 最小化到托盘以后顶部右侧的状态栏有图标吗?

吸附悬浮菜单这个说明过了，关键吃力不讨好，还有可能引发性能问题，所以暂时不会加入

没有图标

好的感谢反馈 我尽快解决这个问题

@zhoujia456888 v1.9.1 已解决 macOS 窗口控制问题 请更新

repo: viarotel-org/escrcpy


text:
chore(main): release 1.18.4

:robot: I have created a release beep boop
1.18.4 (2024-05-04)
Bug Fixes

🐛 Wireless adb does not support Spaces (1f27597)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/viarotel-org/escrcpy/releases/tag/v1.18.4 :sunflower:


text:
D0032R2 Appendix nits

The first row misses an argument for the 3rd constructor parameter, char, in all but one case. The empty line moved up.
The last row is ill-formed, any cannot be a literal type because it has a non-trivial destructor. The WITH row should read:
any a; // (at namespace scope) constant initialization

You are right.

The first row is still not quite correct. There's two definitions of Foo, and now they differ. The other rows are passing the char argument, so it might be easier to retain it and just fix the first row.

Thanks

authors: K-ballo viboes

repo: viboes/std-make


text:
Typo in about section

Hi, Vikesh.
I am creating this issue so that you can fix typo in the about section on line [He project AlgoWiki was used in a workshop at MIT.]. I think it should be His instead of He.
Thanks
Vishwajeet

Hi @vjs3, Thanks for pointing it out. :+1: :heart:
I fixed it.
Thank you!


text:
Install error

On my Windows command prompt.
$ go install -u github.com/victorgama/gh
flag provided but not defined: -u
usage: go install [-i] [build flags] [packages]
Run 'go help install' for details.
exit status 2
$ go version
go version go1.11 windows/amd64

So, I did as below
$ go get github.com/victorgama/gh
# github.com/victorgama/pine
go\src\github.com\victorgama\pine\pine.go:72:74: undefined: typeEmoji
go\src\github.com\victorgama\pine\pine.go:82:70: undefined: typeMap
exit status 2
$ cd %USERPROFILE%\go\src\github.com\victorgama\pine\
$ go generate
$ go build
$ cd %USERPROFILE%\go\src\github.com\victorgama\gh\
$ go build

Hi @zetamatta!
I just moved the project from godep to dep. Builds should be fine now. ✨
Thanks!

authors: victorgama zetamatta

repo: victorgama/gh


text:
the control remain active while the record is in "inactive" Status

Hi,
when I convert a record to the "Inactive" Status, all fields become un-editable on the form except your control, and I am still able to add and remove data from the field.
I think it should become inactive and block editing if the recored is inactive.
thanks.

Hi! @malkhawaja The issue has been fixed with latest version. Let me know how it goes,

I have added the removal of the X next to each tag as well, as it didn't have any sense as well apart from the search text field.
Many thanks for the feedback!

it is working like a charm... thanks for the quick response!

authors: malkhawaja victorsolaya


text:
Browsersync keeps throwing errors on run

Hey there
I am currently trying to integrate blendit with a rails app that I am helping out with all of the styling and sass architecture. The rails asset compiler seemed a bit rough to work with, so this seems like the perfect solution!
I seem to keep on getting errors however and not sure why:
 yarn run blendid
yarn run v0.24.5
$ "/Users/user/Projects/app/node_modules/.bin/blendid"
[11:51:32] Working directory changed to ~/Projects/app/node_modules/blendid
[11:51:33] Using gulpfile ~/Projects/app/node_modules/blendid/gulpfile.js
[11:51:33] Starting 'default'...
[11:51:33] Starting 'clean'...
[11:51:33] Finished 'clean' after 5.24 ms
[11:51:33] Starting 'stylesheets'...
[11:51:33] Finished 'stylesheets' after 22 ms
[11:51:33] Starting 'browserSync'...
[11:51:34] 'browserSync' errored after 56 ms
[11:51:34] WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration misses the property 'entry'.
   object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function
   The entry point(s) of the compilation.
    at webpack (/Users/user/Projects/app/node_modules/webpack/lib/webpack.js:19:9)
    at Gulp.browserSyncTask (/Users/user/Projects/app/node_modules/blendid/gulpfile.js/tasks/browserSync.js:13:18)
    at module.exports (/Users/user/Projects/app/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/user/Projects/app/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/user/Projects/app/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/user/Projects/app/node_modules/orchestrator/index.js:134:8)
    at /Users/user/Projects/app/node_modules/gulp-sequence/index.js:68:12
    at apply (/Users/user/Projects/app/node_modules/thunks/thunks.js:354:38)
    at tryRun (/Users/user/Projects/app/node_modules/thunks/thunks.js:224:19)
    at runThunk (/Users/user/Projects/app/node_modules/thunks/thunks.js:217:15)
✨  Done in 1.99s.

@artemartemov I found a solution around that problem. Remove postbuild from development in order to avoid overwriting the default postbuild. Unless you really want to create your own postbuild. Use only prebuild, worked perfectly for me.
Leave it like this..
  additionalTasks: {
    initialize(gulp, PATH_CONFIG, TASK_CONFIG) {
      gulp.task('copyLayouts', function() {
        // the stuff task is suppose to do
      });
    },
    development: {
      prebuild: ['copyLayouts']
    },
    production: {
      prebuild: ['copyLayouts'],
      postbuild: []
    }
  }

authors: Ballpin artemartemov

repo: vigetlabs/blendid


text:
Fix inconsistency in tfjs call.

For some reason, in my setup tfjs_binding.node for MaxMSP must under folder napi-v5, while for M4L should be under napi-v3.
Therefore, each time I need to export a new M4L device I have to change this. This is an issue that has to be fix.

Fixed (hacked) it by duplicating the napi-v5 folder as napi-v3

repo: vigliensoni/R-VAE


text:
docs: replace deprecated Effect type with ConfigEffect

The Effect type is deprecated according to the code comments, so the examples in the docs should be updated accordingly.
https://github.com/vikejs/vike/blob/4dcddbc6b875a9da196747e939b9c8a6de70f5a0/vike/types/index.ts#L67-L74

:pray:

repo: vikejs/vike


text:
Questions about video training

Will future versions of moondream support video training?

Yes, we still have work to do on image understanding but video is also planned for the future. What sorts of use-cases are you interested in?

security camera can be a good one!

Any update on video understanding?

authors: Potatooff ander008 torayeff vikhyat

repo: vikhyat/moondream


text:
Change search results sort options to relevance, artist, title (remove year)

Currently the options are sort by relevance, year, author, title

All of the dropdowns seem to have broken... not sure what is going on will need to look into it. Something with the bootstrap data hooks not being bound to the events.

Dropdowns fixed! but haven't changed sort options yet

Sort working and removed date.

authors: aprovo thisismattmiller

repo: villaitatti/florentine-drawings


text:
Sort Artist and Location facets alphabetically instead of by count

Sort these two facets alphabetically by default; when users click more, allow option to sort by count.

changed the sort

Artists facet looks great! Location is still sorting by count, though.

I prefer to keep the sort for the locations by count, as it seems to be more useful to see the quantity by location. Closing this ticket in the interest of time, feel free to open if you think it's important to sort by name.

authors: aprovo lklic thisismattmiller


text:
[JOSS Review] Consider using modern CMake patterns

I am submitting a documentation issue.
The file(s) in question is/are:
I'll link to them below using the commit hash to get a render and permalink.
The problem is in the following category/categories:

[x] Clarity
[x] Examples
[ ] Broken links and images
[ ] Typos, spelling, and grammar
[ ] Undocumented Information
[ ] Out-of-date
[ ] Other

Description of the problem:
Describe whatever is wrong with the documentation or could otherwise be improved.
The v1.4.0 Download & Build docs suggest to use the legacy in source build pattern and to change to Make right away
https://github.com/villano-lab/nrCascadeSim/blob/83fac469648dc940585c9eee64dbe9488e0fe434/docs/source/01_Getting_Started.rst?plain=1#L84-L88
While not wrong, the legacy pattern isn't needed and even on old/stability focused operating systems like CentOS 7 in almost every situation in which software development is happening you'll have access to devtoolset-7 or newer in which cmake(3) is available. So I'd recommend using the pattern of
$ cmake <options> -S <path to source> -B <path to build directory to make>
$ cmake <path to build directory> -LH  # See all of the options you've selected in a human readable form before build
$ cmake --build <path to build directory> --clean-first --parallel $(($(nproc) - 1))

as this gives the benefits of out-of-source builds, more transparency on what is happening, and allows for other build systems to be used other than Make (e.g. Ninja).
For more on this please see the book An Introduction to Modern CMake by Henry Schreiner.

(Added label as we should keep the pattern used in CI the same as that used in documentation.)

authors: matthewfeickert nuclearGoblin

repo: villano-lab/nrCascadeSim


text:
What is the thunderbolt icon in git section?

The latest commit started showing thunderbolt after git branch info (see pic). What is it?

environment

vim: VIM - Vi IMproved 8.1 (2018 May 18, compiled Jul 21 2019 22:55:21) macOS version
Included patches: 1-1722
vim-airline: 89d1d43165c8ef6c029ee0e9590a0d67978a7c97
OS: OS X

if you are using terminal:

terminal: iTerm2
$TERM variable: xterm-256color
color configuration (:set t_Co?):256

I have no clue 😕
Do you have any other plugins installed like the vim-dev-icons? Does the symbol turn out in the output of :echo g:airline_symbols?

And honestly, I have no clue what commit 89d1d43 has to do with it, it only changes the dark theme a bit.

Indeed, 89d1d43 doesn't have anything to do with this.
Aparently this is a dirity repo indicator. Some more info here.

That's what I would have expected, however your symbol confused me. Anyhow, closing as solved.

authors: chrisbra srustamo

repo: vim-airline/vim-airline


text:
How do I disable this plugin on a specific file type or buffer

I want to disable this plugin for certain file types or buffers. What should I do

just leave it undisplayed

Have you read the help?

Am 18.07.2021 um 12:45 schrieb 233_cake @.***>:

just leave it undisplayed
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

In particular, please read this section:
https://github.com/vim-airline/vim-airline/blob/b861f9d2483a8b066f7b5b4dbae8990ff21455c5/doc/airline.txt#L250-L264

sorry，

Is this the right way to do it?
autocmd FileType NvimTree let b:airline_disable_statusline = 1

I've put it in my init.vim but the statusline still appears, does somebody know why is it like this?

Is NvimTree the correct filetype? Also, you may try :let w:airline_disable_statusline=1 And you may need to force a redraw.

authors: 13396433778 chrisbra pCandKa refeed


text:
Improve denite extension performance

This tiny change solves the problem described in #1460 (which is closed even though it wasn't really fixed)
The condition check avoids many redundant calls to the highlight function, as it's only needed when the buffer initially appears or changes its mode

thanks

authors: chrisbra ozelentok


text:
2024-08-16

執筆者名
fujitani sora
記事タイトル
NeoVimに閉じ籠る為のToggletermとGit, DockerのTUI
記事 URL
https://zenn.dev/toridori/articles/5ac8d3618c9009

@fs0414 Issue のクローズは参加キャンセルを意味します。
もし意図していない場合は、再オープンしてください。
また、記事は予定日になってから公開してもらえると助かります :pray:

@thinca
ご確認いただきありがとうございます🙏🙇
下記2点完了しています。

Issueの再オープン
記事を一旦非公開にする

ご対応ありがとうございます！:pray:

repo: vim-jp/ekiden


text:
Use shiftwidth() instead of 'shiftwidth' option

Same as #231, it should be applied to indent/perl6.vim too.
And, would you please send the latest indent plugins (perl.vim, perl6.vim) to Bram by mail?
The Vim runtime indent plugins are not up to date.
so currently set sw=0 doesn't work.
ref. https://github.com/vim/vim/issues/1493

I changed the title to more appropriate one.

FYI: This problem seems to be fixed in Vim runtime indent scripts at https://github.com/vim/vim/commit/3ec574f2b549f456f664f689d6da36dc5719aeb9 .

I'm going to close this since vim-perl6 has split off into its own repo - I filed the issue there.

authors: hoelzro tyru

repo: vim-perl/vim-perl

license: Vim