text:
Could you please show me how to draw the neural network structure?

Thank you very much for sharing the work with us.
But when reading the code,I was confused about the net structure.So I drew one on the netron webset.(https://netron.app/)
Maybe I used the wrong trick,I got a net without connection as below.
If you could help me, it would be a great honor for me.
Thanks.

We have a more detailed diagram in our previous version of the paper. Please refer to https://arxiv.org/abs/2203.08207v2.
Hope that could help you.

There is a very verbose version of the system overview diagram.


text:
运行有问题

怎么联系你？wx?

明天早上有比赛的时候我看看。

选择并进入比赛后panic
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/xwjdsh/nba-live/vendor/github.com/gdamore/tcell/terminfo.LookupTerminfo(0x0, 0x0, 0x0, 0x0, 0x815bee)
        D:/GOPATH/src/github.com/xwjdsh/nba-live/vendor/github.com/gdamore/tcell/terminfo/terminfo.go:766 +0x10c3
github.com/xwjdsh/nba-live/vendor/github.com/gdamore/tcell.NewTerminfoScreen(0xc04207bca0, 0x410573, 0xc04217c780, 0x60)
        D:/GOPATH/src/github.com/xwjdsh/nba-live/vendor/github.com/gdamore/tcell/tscreen.go:40 +0x67
github.com/xwjdsh/nba-live/vendor/github.com/gdamore/tcell.NewScreen(0x50, 0x60, 0xc04217c780, 0x0)
        D:/GOPATH/src/github.com/xwjdsh/nba-live/vendor/github.com/gdamore/tcell/screen.go:203 +0x2d
github.com/xwjdsh/nba-live/vendor/github.com/marcusolsson/tui-go.newTcellUI(0x85d5c0, 0xc04217c780, 0x57b4e4, 0x7e08e0, 0xc04217c780)
        D:/GOPATH/src/github.com/xwjdsh/nba-live/vendor/github.com/marcusolsson/tui-go/ui_tcell.go:27 +0x30
github.com/xwjdsh/nba-live/vendor/github.com/marcusolsson/tui-go.New(0x85d5c0, 0xc04217c780, 0x2, 0xc04217c780)
        D:/GOPATH/src/github.com/xwjdsh/nba-live/vendor/github.com/marcusolsson/tui-go/ui.go:16 +0x3c
main.newUI(0xc0421b8000)
        D:/GOPATH/src/github.com/xwjdsh/nba-live/cui.go:42 +0x6ce
main.main()
        D:/GOPATH/src/github.com/xwjdsh/nba-live/main.go:43 +0x174

一样的问题

什么系统？好像是依赖的库报的错，我晚上更新一下依赖看看。

WIN10 64  我在powershell里面直接跑的

litianjiaod3@hotmail.com
发件人： Wendell Sunmailto:notifications@github.com
发送时间： 2018-10-31 16:03
收件人： xwjdsh/nba-livemailto:nba-live@noreply.github.com
抄送： litianjiaomailto:litianjiaod3@hotmail.com; Commentmailto:comment@noreply.github.com
主题： Re: [xwjdsh/nba-live] 运行有问题 (#2)
什么系统？好像是依赖的库报的错，我晚上更新一下依赖看看。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/xwjdsh/nba-live/issues/2#issuecomment-434595200, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOZDMFT_DgPuBE4kD3mPQ4J-_I3ZN0NPks5uqVlagaJpZM4X28bd.

我这边是WIN7

老哥们解决了吗，火勇大战，我也是这个问题 Win10

source: gharchive/issue

authors: G-bug HIN911 JunVincetHuo litianjiao xwjdsh

repo: xwjdsh/nba-live

license: MIT

license_type: permissive

license_source: github-api


text:
Why do you change the Code Syntax on any version update??

[NetworkSession: BomberFromWien] Session closed due to XUID does not match (possible impersonation attempt)
Screenshot from console!

https://prnt.sc/WdDs-Vi6dl0T

repo: xxAROX/WaterdogPE-LoginExtras-Fix


text:
RangeError: Maximum call stack size exceeded

When running this function with n=10 000, you get at some point the error RangeError: Maximum call stack size exceeded because (it seems that) applyDelete is called too many time recursively. You get this if, during the moving of the first cursor you move the cursor in another instance.
function fuzzy_cursor(n) {
    for (var i = 0; i < n; i ++) {
        var m = Math.floor(Math.random() * quill.getLength());
        quill.setSelection(m, m);
    }
}

The good news is, I think it's quite hard to fell under those conditions. The bad news is, that makes yjs crash and it might happen when loading a document with a long history.

This is actually a good one. This is a problem of Yjs. 'll address it soon. Shouldn't be too hard to fix.

No more call stack problems with yjs > 0.7 (at least I hope so).

authors: DadaMonad cphyc

repo: y-js/y-richtext

license: mit

license_source: bigquery


text:
Is there MC sampling in the training phase?

Dear authors,
I really like the idea of this paper. Thank you very much! However, while reading the code, I am a little confused by the implementation of DUE.
In the paper (Appendix A.2, right after Equation 9), it is mentioned that MC sampling is used for training the classification model. But according to the implementation, I couldn't find the location where MC sampling is implemented. Based on my observation of the code, the output of the model is a Gaussian distribution. Then this distribution is fed into the VariationalElbo directly to compute the loss. Therefore, could you please link me to the place where MC sampling is implemented?
Another question about MC sampling during training is more fundamental. I think MC sampling is non-differentiable. If MC sampling exists during training, how the gradient could be propagated to the feature extractor part?
Please let me apologize if I am asking wrong questions. (I am new to Gaussian process.)
Thank you very much

Hello! Thank you for your interested in the paper.
MC sampling happens inside the likelihood object: https://github.com/y0ast/DUE/blob/main/train_due.py#L89 (which is passed to the ELBO, and called internally during training).
You can change the number of samples using this feature:
https://docs.gpytorch.ai/en/stable/settings.html#gpytorch.settings.num_likelihood_samples
Like we do here in the evaluation: https://github.com/y0ast/DUE/blob/main/lib/evaluate_ood.py#L45-L47

MC sampling non differentiable

Yes this is a bit tricky. We actually sample from normal distributions and push through the softmax. This is differentiable (through differentiating the softmax and the reparametrization trick). We don't sample from a categorical distribution, which would indeed be hard to differentiate through.


text:
i can't open yaagl 0.1.8 even though i have updated sonoma 14.4 beta

Describe the bug
I open yaagl 1.0.8 launcher and nothing appears
Screenshots

**System Information (please complete the following information):

macOS: [14.4 SONOMA]
Device: [MacbookAir 2020 ]
CPU: [Apple M1 ]

Needs more information, the screenshot doesn't help at all.

repo: yaagl/yet-another-anime-game-launcher


text:
Question, how to quote a message sent by bot in the group

I have saved all messages ids in a database and get later.
bot.on('message', function (message) {
    // save message.message_id somewhere...
});

Now what should I do in order to quote a existing message, I did't see the method in the documentation. any idea?

Now what should I do in order to quote a existing message, I did't see the method in the documentation. any idea?

bot.sendMessage(msg.chat.id, "...", { reply_to_message_id: msg.id }).then(ctx => //...```

This will send a message, quoting the message id passed as an optional parameter.

oh, thanks, it works.

authors: helxsz kamikazechaser

repo: yagop/node-telegram-bot-api


text:
Please add getFullUser method

Feature Request.

Feature Request

I have:

searched for such a feature request (https://github.com/yagop/node-telegram-bot-api/labels/enhancement) and found none

Introduction
A getFullUser method directly on the instance of TelegramBot. This can allow to fetch the profile of a user from its id (to get, for instance, its username, first name...)
See : https://core.telegram.org/method/users.getFullUser
Example
const bot = new TelegramBot(TOKEN)
const userId = 123456789

bot.getFullUser(userId) // Return: TelegramBot.User
    .then(user => {
        console.log(user.first_name)
    })

@luddoz-c Hi, this method is no from Telegram Bot API (https://core.telegram.org/bots/api).
The method you are talking about is for Telegram customers, not bots. If you want to do that you must create a userbot and use TDLib

Actually, bots can call it
https://core.telegram.org/method/users.getFullUser

Actually, bots can call it
https://core.telegram.org/method/users.getFullUser

But it is not the Telegram bot API, it is a method that you can use if you use TDLib for your bot.

authors: danielperez9430 fabiomig iamludal


text:
Is this project still active?

It has been over 30 days without any commit activity and most activity happening on forks.
Is this still maintained or, otherwise, a good fork we could focus on?

As far as I know, it is still maintained.  However, it is not on active development on a daily basis.  It never was.  PRs are pulled in as time permits.

@clehene Close this issue please.

authors: clehene patelh zheolong

repo: yahoo/kafka-manager


text:
java.lang.OutOfMemoryError: Java heap space

Hi ,we are having JVM (MEMEORY)issue with our kafkamanager.
Starting the kafkaManager giving -Exception in thread "KafkaManagedOffsetCache" java.lang.OutOfMemoryError: Java heap space
we have 3 zookeeper server on the configuration file of KM
Kindly let us know how to increase the memory of the Kafka Manager.

did you increase the heap?

No,i am not sure which file does have the JVM configured.
I have checked "application.conf" file,but look like it doesn't have memory info..
But i have checked -/kmsrc/sbt file,this file has "default_jvm_opts_common" option,but as far as i know -. This folder contains the source files used to build the package and will not contain the runtime configurations.

Hi,
We have 4 computers in total, 4 with Kafka Broker, and 3 with Zookeeper.
We are seeing that Kafka-Manager is consuming the whole Java Heap and using a lot of CPU, one core is always at 100%. Is this a known issue?
The configuration we are using is:
# The application languages
# ~~~~~
play.i18n.langs=["en"]

play.http.requestHandler = "play.http.DefaultHttpRequestHandler"
play.http.context = "/"
play.application.loader=loader.KafkaManagerLoader

kafka-manager.zkhosts="{{ zookeeper_hosts }}"
kafka-manager.zkhosts=${?ZK_HOSTS}
pinned-dispatcher.type="PinnedDispatcher"
pinned-dispatcher.executor="thread-pool-executor"
application.features=["KMClusterManagerFeature","KMTopicManagerFeature","KMPreferredReplicaElectionFeature","KMReassignPartitionsFeature"]

akka {
  loggers = ["akka.event.slf4j.Slf4jLogger"]
  loglevel = "INFO"
}

basicAuthentication.enabled=true
basicAuthentication.username="{{ kafka_manager_user }}"
basicAuthentication.password="{{ kafka_manager_password }}"
basicAuthentication.realm="Kafka-Manager"
basicAuthentication.excluded=["/api/health"] # ping the health of your instance without authentification

kafka-manager.consumer.properties.file=${?CONSUMER_PROPERTIES_FILE}

And the heap size we are using:
kafka_manager_heap_s: 2g
kafka_manager_heap_x: 4g

For us it is strange that it is using so much CPU, however we love the project and it is very useful!
Any insight? Thanks a lot.
Cheers,
Alex

@alexsavio where were you able to set the manager heap settings?

hi dasrintu
Did you have resolved the problem about java heap space

In case anyone else searches this issue.
Heap can be set at runtime as a Java arg.
bin/cmak -J-Xmx1g
@patelh Can we close this issue?

authors: alexsavio dasrintu infecto joshphp patelh wjw870970


text:
[MRG] Fix relative imports & improve package discovery

Fixes #20.
As described in pep-0404:

In Python 3, implicit relative imports within packages are no longer available - only absolute imports and explicit relative imports are supported.

The solution to the recent import problems, that is compatible with both python2 and python3 is to use explicit relative import.
A more thorough discussion about this subject can be found here.
This PR:

[x] Fixes the above import problem.
[x] Improves package discovery.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

CLA signed.

Coverage remained the same at 88.443% when pulling 1f5834d2595275642d867c43247de697a7f210e3 on mohamed-ali:fix-relative-imports into 0f17655b901e6dfabe5c2aa62b4c8e492f34b05a on yahoo:master.

@pumpikano could you have a look at this PR, fixes the import problem in python3 and is compatible with both python2 & 3.

source: gharchive/pull-request

authors: coveralls mohamed-ali yahoocla

repo: yahoo/lopq


text:
Returned data - hasOne relation is being flattened into original array.

My 'raw' laravel query returns data as expected. There is a hasOne relation called membership Eg
Query:
'
User::whereHas('membership', function ($query) use ($filters) {
$query->where('created_at', '>=', $filters['start_date']. ' 00:00:00')
->where('created_at', '<=', $filters['end_date']. ' 00:00:00');
})->subscribed()
->get()
'
Results:
    "id" => 15     "name" => "XXXX"     "email" => "XXXX"     "created_at" => "2017-05-11 13:27:58"     "updated_at" => "2017-05-11 13:28:14"     "stripe_id" => "XXXX"     "card_brand" => "Visa"     "card_last_four" => "XXXX"     "trial_ends_at" => null     "status" => 1     "is_unsubscribed" => null     "locale" => "en_GB"     "status_display" => "Active"     "membership" => array:12 [▼       "id" => 22       "user_id" => 15       "name" => "cult"       "stripe_id" => "XXXXX"       "stripe_plan" => "XXXX"       "quantity" => 1       "trial_ends_at" => null       "ends_at" => null       "created_at" => "2017-05-11 13:28:15"       "updated_at" => "2017-05-11 13:28:15"       "membership_plan" => array:13 [▶]       "membership_type" => array:17 [▶]     ]
Using Datatables::of( SAME query as above ), flattens the membership result, and includes it in the user data - this overwrites attributes with the same name (eg 'name' )
Query:
        $data = Datatables::of(  			User::whereHas('membership', function ($query) use ($filters) { 				$query->where('created_at', '>=', $filters['start_date']. ' 00:00:00') 						->where('created_at', '<=', $filters['end_date']. ' 00:00:00'); 			})->subscribed() 		)->make(true);
Results:
id: "15", name: "cult", email: "XXXXX", created_at: "2017-05-11 13:28:15", updated_at: "2017-05-11 13:28:15", stripe_id: "XXXXX", card_brand: "Visa", card_last_four: "XXXX", trial_ends_at: "", status: "1", is_unsubscribed: "", locale: "en_GB", user_id: "15", stripe_plan: "cult_monthly", quantity: "1", ends_at: "", status_display: "Active", membership: ""
I can see in the querries of the returned result that there is a left join occuring, which must be causing the issues with col names being overwritten.
select * fromusersleft joinsubscriptionsonsubscriptions.user_id=users.id
I am using Laravel 5.4,
"yajra/laravel-datatables-oracle": "7.5"

Update- this documentation helped me https://datatables.yajrabox.com/eloquent/relationships
I just needed to add a select condition to the query
->select('users.*')

repo: yajra/laravel-datatables


text:
Invalid text representation: 7 ERROR: invalid input syntax for integer

Summary of problem or feature request
I can't display data, an error says :
QueryException

SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "data" (SQL: select * from "tickets" where "tickets"."id" = data limit 1)

Code snippet of problem
Controller :
return $tickets->eloquent(Ticket::query())
                          ->addColumn('action', 'ticket.ticket.actions')
                          ->make(true);
View:

		ID
		Sujet
		Statut
		Last Update
		Priority
		Owner
		Category
		Actions

Script :
$(function () {
	        $('#tickets-table').DataTable({
	            serverSide: true,
	            processing: true,
	            ajax: '{!! route('ticket.data') !!}',
	            columns: [
	                {data: 'id'},
	                {data: 'subject'},
	                {data: 'status_id'},
	                {data: 'updated_at'},
	                {data: 'priority_id'},
	                {data: 'user_id'},
	                {data: 'category_id'},
	                {data: 'action', orderable: false, searchable: false}
	            ]
	        });
	    });

-->
System details

Operating System : Ubuntu 16.04
PHP Version : 7.0.18-0ubuntu0.16.04.1
Laravel Version : 5.4
Laravel-Datatables Version : the latest :  v7.9.8

@yajra  any help ? ^^'

Never mind ! I found the solution ! it was a middleware issue !!!!!!!

Can you share what exactly was causing the problem, I am facing the same issue.Thanks
@AEK-BKF

@OGhawsi  Sure :
Here my code :
Route::group(['middleware' => ['web', 'auth']], function() {
     ....
     Route::group(['middleware' => ['role:Ticket Manager,listTicket']], function () {
	        ....
               Route::resource('ticket', 'Ticket\TicketController', ['names' => ['index' => 'ticket']]);
                ....

My issue was : I didn't give the user those roles.
So try to put your route for displaying data without any role, just : web, auth middleware.

Thanks @AEK-BKF

authors: AEK-BKF OGhawsi


text:
Improve Docker build artifacts

Uses the Next.js official example Dockerfile, which caches build steps and outputs a smaller image.
Reduces the build context significantly by adding .dockerignore, largely mirroring the current .gitignore

Nice one! Thank you for the contribution @dev-msp !

authors: dev-msp yakGPT

repo: yakGPT/yakGPT


text:
Upload Documentation Regarding ZFR

Iteration page: here
Checklist:

[x] Define iterations and their due dates
[x] Add all known tasks that needs to be done
[x] Add milestones
[x] add default rows to project board
[x] Add labels

all tasks completed, closed

repo: yakirwin/lev-isha


text:
Where is the call button?

Awesome update! Runs very well now on Ubuntu Linux 16.04.1 4.4 Kernel
But where is the call button?

No call button, this a chat messaging application :)

Oh that is sad. It would be enough to have a Button Which opens a Hangout in Chrome :/ can't you add that?

when there is an incoming call we suggest to open chrome by givin the user a link se we could do the same for "call". I think. It's "just" a matter of figuring out the link and see where to put the button.

It seems strange that you can receive calls but not place them.

authors: Feichtmeier Vzor- averissimo davibe

repo: yakyak/yakyak


text:
Make components headless for Layouts component

Description
Migrate styles from components to themes.
Since component styles in themes inherit styles from other components using mergeStyle etc., duplicate styles should be removed.
Problem Statement/Justification
Move static styles from layouts component to theme.
Proposed Solution or API
No response
Alternatives
No response
Are you willing to participate in implementing this feature and create a pull request include the implementation?
Yes
Additional Information
No response

Closed due to no migration required.

repo: yamada-ui/yamada-ui


text:
(params_with_wd if needs_wd else params_with_wd)['params'].append(parameter) in deep.py，is there a mistake here? Why if...else...  are all connected to params_with_wd?

Thanks for your interesting work, which gives us new hope for tabular data research!
I have some questions  to ask:
（1）(params_with_wd if needs_wd else params_with_wd)['params'].append(parameter) in deep.py，is there a mistake here? Why if...else...  are all connected to params_with_wd?
（2）This bug occurs during training when trial_0 is completed and trial_1 is in progress, I observed that the gpu usage increases as trial increases, is this normal? Is it possible to release the gpu after trial_0 is completed and then proceed to trial_1? Currently, we only have 12 G of gpu resources.
[...] tmp22mqfk7j_trial_1/output | 0:03:04.846372
Epoch 39: 100%|███████████████████████████████████████████████████████████████████| 52/52 [00:04<00:00, 12.
(val) -0.426 (test) -0.414 (loss) 0.11597█████████████████████████████████████████| 52/52 [00:04<00:00, 13.
[W 2023-10-24 17:37:27,179] Trial 1 failed with parameters: {'model.d_main': 353, 'model.context_dropout': 76563006176, 'model.dropout0': 0.2300649112954666, 'optimizer.lr': 0.0004817508474772368, '?optimizer.weigh': True, 'optimizer.weight_decay': 7.098936257405907e-05} because of the following error: AttributeError("mtorch.cuda' has no attribute 'OutOfMemoryError'").

Hi! Thank you for your interest in our work and for reporting these issues!

is there a mistake here? Why if...else... are all connected to params_with_wd?

Yes, this is definitely a mistake :) Luckily, this is not something critical, though we should remove this to avoid confusion.

I observed that the gpu usage increases as trial increases, is this normal?

Does it happen only between trial 0 and trial 1 or throughout the whole tuning process? Also, is your environment configured as described in README? I mean all the software versions etc. I have just checked my environment for TabR and torch.cuda has the OutOfMemoryError class in it, however, in a different environment, it does not. Perhaps, torch.cuda.OutOfMemoryError is available only in some versions of PyTorch and only if CUDA is available.

Currently, we only have 12 G of gpu resources.

Most of the time I run experiments on a 12G GPU, too, and so far, without any issues related to memory leaks. Overall, for now, I don't have good explanations for why it can happen.

What is the difference or connection between trial_0 and trial_1?The process of trial_0 consists of: each epoch contains batch number as samples number /batch size, the epochs number performed depends on the patience(set as 16) setting, then reprot and save....
So trial_1 is also the same process  as trail_0?

Yes. Let's consider this config as an example:

this line launches the hyperparameter tuning procedure.
specifically, it runs the objective function for n_trials=100 times (see the config).
the objective function, in turn, calls the function = "bin.tabr.main" (see the config).
the report of each of n_trials runs is saved. So you have to ensure that you don't store anything non-trivial in reports, otherwise, it indeed can result in high memory consumption, because they are all stored in memory during the whole tuning process.

Feel free to reopen the issue if needed!

repo: yandex-research/tabular-dl-tabr


text:
🛑 Umami is down

In abd9393, Umami (https://umami.icloudnative.io) was down:

HTTP code: 503
Response time: 1495 ms

Resolved: Umami is back up in 01f5700.

repo: yangchuansheng/upptime


text:
🛑 Google is down

In 7067309, Google (https://google.icloudnative.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Google is back up in 3ffe98e.


text:
🛑 gcr.io Mirror is down

In ea64aaf, gcr.io Mirror (https://gcr.icloudnative.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: gcr.io Mirror is back up in 822d150.


text:
请教下颜兄的 Mac 配置.

看到这个 repo 得知颜兄要转战 macOS 平台. 冒昧地请教下, 颜兄的 MacBook 准备入手哪个配置的? 谢谢.

我这个是公司配的。。。

Soga。。。 因为我自己准备配 MacBook，所以不知颜兄能否说下具体配置，供参考下，谢谢🙏

我这应该是mac 2015那一版，15.5寸，i7，16g 256g，属于高配版，价格 大概 1.3w

建议 买个 14寸的就够用了吧。。。存储 感觉 128g不够用

刚看了下, 目前颜兄你说的这个配置在 apple.cn 上报价 15k 左右... 允许定制的顶配版 21k...  ==!
好像没有 14 吋的吧... 你是想说屏幕较小的那款(13 吋)?

我这个不是最新版的mac，最新版的mac都是touchbar那种，我这还是物理键盘的，个人感觉13寸应该够了，这个稍微有点大，主要是携带不方便，但是办公还是爽，你看你是不是要经常带着电脑跑了

嗯嗯, 上面涉及的两个价位都是 15 款的 MacBook Pro.... 16/17款带 bar 的键盘毛病多啊, 微博和推上吐槽键盘报修的太多了... (/滑稽  /笑cry)

你要是需要搬来搬去，那就13寸；否则就15寸，当然你也考虑下价钱，感觉mac还是很贵的

233333... 敲黑板, 最后一句是重点..... (⊙﹏⊙)b

话说颜兄, 你工作之外, 自己使用的也是 Mac 么?

不是，mac这么贵。。。这电脑下班了不是也能带回家么。。。win我都用了 7年了，最近开始使用mac

机制的boy😏

@q1cha0 乱入的boy😜

🙈

@yanhaijing 啊....羡慕......福利棒棒哒🍭

@yanhaijing 话说颜兄每天上下班背 15 吋的电脑感觉怎么样? 会不会太重啊...... 😂

重

authors: q1cha0 szDarrell yanhaijing

repo: yanhaijing/awesome-windows


text:
单调数列

如果数组是单调递增或单调递减的，那么它是单调的。
如果对于所有 i <= j，A[i] <= A[j]，那么数组 A 是单调递增的。 如果对于所有 i <= j，A[i]> = A[j]，那么数组 A 是单调递减的。
当给定的数组 A 是单调数组时返回 true，否则返回 false。
示例 1：
输入：[1,2,2,3]
输出：true

示例 2：
输入：[6,5,4,4]
输出：true

示例 3：
输入：[1,3,2]
输出：false

示例 4：
输入：[1,2,4,5]
输出：true

示例 5：
输入：[1,1,1]
输出：true

提示：

1 <= A.length <= 50000
-100000 <= A[i] <= 100000

来源：力扣（LeetCode）
链接：https://leetcode-cn.com/problems/monotonic-array
著作权归领扣网络所有。商业转载请联系官方授权，非商业转载请注明出处。

没什么说的
func isMonotonic(A []int) bool {
    if len(A) == 1 {
        return true
    }
    if A[0] == A[len(A)-1] {
        for i := 1; i < len(A); i++ {
            if A[i] != A[i-1] {
                return false
            }
        }
    } else if A[0] > A[len(A)-1] {
        for i := 1; i < len(A); i++ {
            if A[i] > A[i-1] {
                return false
            }
        }
    } else {
        for i := 1; i < len(A); i++ {
            if A[i] < A[i-1] {
                return false
            }
        }
    }

    return true
}

repo: yankewei/LeetCode-Go


text:
no-unused-prop-types not validating on destructured props

Hi!
We're using no-unused-prop-types in our project, but it doesn't seem to be validating when we use it for certain destructured props. for example:
const Child = ({usedType, unusedType}) => {
    return (

{usedType}

    );
};

Child.propTypes = {
    usedType: PropTypes.string.isRequired,
    unusedType: PropTypes.string.isRequired, //  I think this should trigger an error, but it doesn't seem to!
};

export default Child;

But, if we pass the props in like const Child = props => { .... }  , then the error triggers as expected. We thought maybe that the act of it being passed in and destructured in the definition was it being "used", even though it's not actually used inside the component! It would be helpful to have a way to tell if a prop isn't being used inside a component, even if it is being passed into it in this way.

Yes, this is correct - destructuring it is using it.
The eslint rule no-unused-vars is what I’d expect would error on a destructured but unused variable.

authors: jessicaonly ljharb

repo: yannickcr/eslint-plugin-react


text:
How to pass JSX files to eslint correctly?

I'm not sure if this is the right place (might be more of a core question). Anyway, is there a neat way to pass jsx files to eslint? Now I'm doing something like eslint lib/*.jsx. Globstar (**/*) doesn't appear to be supported and this crashes if no jsx files are found. Is it possible to set .eslintrc to look for certain formats for instance? How do you deal with this problem?

You have a few options to pass your JSX files to ESLint:

eslint lib/*.jsx : check all .jsx files in lib, excluding subdirectories
eslint lib/**/*.jsx : check all .jsx files in lib, including subdirectories
eslint lib : check all .js files in lib, including subdirectories
eslint --ext .jsx lib : check all .jsx files in lib, including subdirectories
eslint --ext .js --ext .jsx lib : check all .js and .jsx files in lib, including subdirectories

You can found more informations in the ESLint Command line Interface documentation.

@yannickcr Thanks a lot! I ended up using a combination of .eslintignore and eslint --ext .jsx --ext .js.

authors: bebraw yannickcr


text:
Feature request: propTypes shape detection

Now that we have the prop-types rule, it would be nice if it could be configured to (perhaps by default) help you find properties on objects from props that you are using. For instance:
const React = require('react/addons');

const MyComponent = React.createClass({
  propTypes: {
    myObj: React.PropTypes.object,
  },

  /**
   * @return {Object}
   */
  render: function() {
    const { myObj } = this.props;

    return (

{myObj.body}

    );
  }
});

module.exports = MyComponent;

It would be nice if this plugin told me that myObj.body is missing from the shape of myObj. Where this would not raise any warnings/errors:
const React = require('react/addons');

const MyComponent = React.createClass({
  propTypes: {
    myObj: React.PropTypes.shape({
      body: PropTypes.string,
    }),
  },

  /**
   * @return {Object}
   */
  render: function() {
    const { myObj } = this.props;

    return (

{myObj.body}

    );
  }
});

module.exports = MyComponent;

Sorry, I don't think I'll do it, at least not for now.
It should be really difficult to do this properly without missing a lot of edges cases.
But if someone has a solution I can accept a PR :)

authors: lencioni yannickcr


text:
Binary not working in Linux Alpine after upgrading from 5.12.1 to 5.13.0

What version of pkg are you using?
5.13.0
What version of Node.js are you using?
22.8.0
What operating system are you using?
Ubuntu 22.04
What CPU architecture are you using?
x86_64
What Node versions, OSs and CPU architectures are you building for?
Node 22.8.0 for Alpine Linux 3.20.0
Describe the Bug
I have a Dockerfile using FROM alpine:3.20.3 where I run the Node binary (built with Node 22.8.0) generated with @yao-pkg/pkg. The binary is built with this command:
pkg server.cjs -t latest-linux

The resulting binary server works fine inside my Docker container based on alpine:3.20.3 if I build it with  @yao-pkg/pkg:5.12.1, but it doesn't work if I build it with @yao-pkg/pkg:5.13.0. The error logged by the container in the latter case is this one:
Error relocating /bin/server: fcntl64: symbol not found
Error relocating /bin/server: fcntl64: symbol not found
Error relocating /bin/server: fcntl64: symbol not found
Error relocating /bin/server: fcntl64: symbol not found
...

My only guess based on the commit history of the repository is this dependency update between versions 5.12.1 and 5.13.0: https://github.com/yao-pkg/pkg/commit/dda90320fc05d9caf95124890915b1ff684685fb#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L28
Expected Behavior
A Node binary built with @yao-pkg/pkg:5.13.0 should work fine inside a Linux Alpine 3.20.3 container, as it did with @yao-pkg/pkg:5.12.1.
To Reproduce
Pack a Node binary using @yao-pkg/pkg:5.13.0 and build a Docker container using the Dockerfile below. Any simple Node application should work. The resulting binary is referred as server in the Dockerfile:
FROM alpine:3.20.3
# Alpine needs these libraries to run the binary file
RUN apk add --no-cache gcompat libstdc++
COPY server /bin
CMD ["/bin/server"]

Running the container will output the following error:
Error relocating /bin/server: fcntl64: symbol not found

Doing the same using @yao-pkg/pkg:5.12.1 will NOT trigger this error.

Hi @pabloFuente thanks for your issue, I think you are using pkg 5.14.0 and not 5.13.0 as 5.13 doens't have support for nodejs 22. Anyway does using nodejs 20 works?
Ref #87

cc @faulpeltz

Both binaries for node 20 and node 22 work with your Dockerfile example on my machine @pabloFuente  - what is the exact target your building?
Things you can try:

xxd -l 1024 -c 32 ./server dump the first 1K of your binary that could help
try running the correct binary directly from "https://github.com/yao-pkg/pkg-fetch/releases" -> it should give a node error with a javascript stack

Also you should build against latest-alpine not latest-linux, this should not need gcompat anyway

Also you should build against latest-alpine not latest-linux, this should not need gcompat anyway

I think the problem is exactly this, I didn't noticed the command at start...

You were absolutetly correct. The proper target when packaging the binary should be latest-alpine instead of latest-linux. It is not related with the Node version (I had the same problem using Node 20 and 22 with pkg 5.14.0).
Using latest-alpine as target, the Dockerfile can be as simple as this:
FROM alpine:3.20.3
COPY server /bin
CMD ["/bin/server"]

The reason why the target latest-linux worked fine in a Linux Alpine container for pkg versions <5.13.0, I don't know. Something must have changed between 5.12.1 and 5.13.0.
Thank you for the quick support!

authors: faulpeltz pabloFuente robertsLando

repo: yao-pkg/pkg


text:
How can I set the MDCodeBlock to make it look like the preview in your README?

With :hi MDCodeBlock guifg=green guibg=black, I have this. So what should I do to have the same effect like the README?

Found it


text:
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [41, 4, 4]], which is output 0 of AsStridedBackward0, is at version 1; expected version 0 instead.

Hi, thanks for the excellent work. However, during test as proposed  "python3 main.py test-dataset/chess/seq-01.mkv --name test --pose_graph", I encountered a runtime error. It seems untraceable even when I set detect_anomally to "True". Has anyone encountered the same problem? Here are the outputs in the shell.
=>Load models
  Loading weights: weights/models/midas_v21-f6b98070.pt
=>Reconstruct keyframes
    0%|                    | 0/1200 [00:00<?Traceback (most recent call last):
  File "main.py", line 249, in <module>
    vd.process_keyframes()
  File "main.py", line 82, in process_keyframes
    keyframes = self.sfm.reconstruct_images(
  File "/home/pc/GCVD-release/sfm.py", line 113, in reconstruct_images
    loss['full'].backward()
  File "/home/pc/.conda/envs/GCVD/lib/python3.8/site-packages/torch/_tensor.py", line 396, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/home/pc/.conda/envs/GCVD/lib/python3.8/site-packages/torch/autograd/__init__.py", line 173, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [41, 4, 4]], which is output 0 of AsStridedBackward0, is at version 1; expected version 0 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later. Good luck!
    0%|                    | 0/1200 [00:01<?

Seems inverse mat function in torch 1.12 version appear to be inplace op. (Maybe not right  :! )

However，the pose optimization result seems not right

I had the same problem ,How did you solve it?

I had the same problem ,How did you solve it?

authors: Lwy-1998 jiangyijin zeyutt

repo: yaochih/GCVD-release


text:
AttributeError: 'Linear' object has no attribute 'set_lora_layer'

Did anyone met this problem?
Traceback (most recent call last):
File "/root/B-LoRA/train_dreambooth_b-lora_sdxl.py", line 2029, in
main(args)
File "/root/B-LoRA/train_dreambooth_b-lora_sdxl.py", line 1144, in main
attn_module.to_q.set_lora_layer(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/B_LoRA/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1931, in getattr
raise AttributeError(
AttributeError: 'Linear' object has no attribute 'set_lora_layer'
Traceback (most recent call last):
File "/root/miniconda3/envs/B_LoRA/bin/accelerate", line 8, in
sys.exit(main())
^^^^^^
File "/root/miniconda3/envs/B_LoRA/lib/python3.12/site-packages/accelerate/commands/accelerate_cli.py", line 48, in main
args.func(args)
File "/root/miniconda3/envs/B_LoRA/lib/python3.12/site-packages/accelerate/commands/launch.py", line 1168, in launch_command
simple_launcher(args)
File "/root/miniconda3/envs/B_LoRA/lib/python3.12/site-packages/accelerate/commands/launch.py", line 763, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/root/miniconda3/envs/B_LoRA/bin/python', 'train_dreambooth_b-lora_sdxl.py', '--pretrained_model_name_or_path=stabilityai/stable-diffusion-xl-base-1.0', '--instance_data_dir=/root/B-LoRA/image/Lena/Lena.png', '--output_dir=/root/B-LoRA/loras', '--instance_prompt=A woman', '--resolution=512', '--rank=32', '--train_batch_size=1', '--learning_rate=5e-5', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--max_train_steps=100', '--checkpointing_steps=500', '--seed=0', '--gradient_checkpointing', '--use_8bit_adam', '--mixed_precision=fp16']' returned non-zero exit status 1.

Hi @Shenrui-Ma ,
Please ensure you're using diffusers==0.25.0 and avoid using the peft library. Let me know if you still need help with this error.


text:
Property 'setData' in type 'GaugeElement' is not assignable to the same property in base type 'CanvasElement'. Compiling with typescript

When I tried to compile with typescript on version 4.8.21, I got this error. Here is the full error:
node_modules/blessed-contrib/index.d.ts:134:13 - error TS2416: Property 'setData' in type 'BarElement' is not assignable to the same property in base type 'CanvasElement<BarData>'.
  Type '(data: BarData) => void' is not assignable to type '{ (data: BarData): void; (titles: string[], data: BarData): void; }'.
    Types of parameters 'data' and 'titles' are incompatible.
      Type 'string[]' has no properties in common with type 'BarData'.

134             setData(data: BarData): void;
                ~~~~~~~

node_modules/blessed-contrib/index.d.ts:277:13 - error TS2416: Property 'setData' in type 'GaugeElement' is not assignable to the same property in base type 'CanvasElement<any>'.
  Type '{ (percent: number[]): void; (percent: number): void; }' is not assignable to type '{ (data: any): void; (titles: string[], data: any): void; }'.
    Types of parameters 'percent' and 'titles' are incompatible.
      Type 'string[]' is not assignable to type 'number[]'.
        Type 'string' is not assignable to type 'number'.

277             setData(percent: number[]): void;
                ~~~~~~~

node_modules/blessed-contrib/index.d.ts:278:13 - error TS2416: Property 'setData' in type 'GaugeElement' is not assignable to the same property in base type 'CanvasElement<any>'.
  Type '{ (percent: number[]): void; (percent: number): void; }' is not assignable to type '{ (data: any): void; (titles: string[], data: any): void; }'.

278             setData(percent: number): void;

Fixed, it was something in my tsconfig.json. Here is a tsconfig file I used to fix the issue
{
	"compilerOptions": {
		/* Visit https://aka.ms/tsconfig.json to read more about this file */
		/* Basic Options */
		// "incremental": true,                   /* Enable incremental compilation */
		"target": "es2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
		"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
		// "lib": [],                             /* Specify library files to be included in the compilation. */
		"allowJs": true, /* Allow javascript files to be compiled. */
		"checkJs": false, /* Report errors in .js files. */
		// "jsx": "preserve",                     /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
		"declaration": true, /* Generates corresponding '.d.ts' file. */
		// "declarationMap": true,                /* Generates a sourcemap for each corresponding '.d.ts' file. */
		// "sourceMap": true,                     /* Generates corresponding '.map' file. */
		// "outFile": "./",                       /* Concatenate and emit output to single file. */
		"outDir": "lib", /* Redirect output structure to the directory. */
		"rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
		// "composite": true,                     /* Enable project compilation */
		// "tsBuildInfoFile": "./",               /* Specify file to store incremental compilation information */
		// "removeComments": true,                /* Do not emit comments to output. */
		// "noEmit": true,                        /* Do not emit outputs. */
		"importHelpers": true, /* Import emit helpers from 'tslib'. */
		// "downlevelIteration": true,            /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
		// "isolatedModules": true,               /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
		/* Strict Type-Checking Options */
		"strict": true, /* Enable all strict type-checking options. */
		"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
		// "strictNullChecks": true,              /* Enable strict null checks. */
		// "strictFunctionTypes": true,           /* Enable strict checking of function types. */
		// "strictBindCallApply": true,           /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
		// "strictPropertyInitialization": true,  /* Enable strict checking of property initialization in classes. */
		// "noImplicitThis": true,                /* Raise error on 'this' expressions with an implied 'any' type. */
		// "alwaysStrict": true,                  /* Parse in strict mode and emit "use strict" for each source file. */
		/* Additional Checks */
		// "noUnusedLocals": true,                /* Report errors on unused locals. */
		// "noUnusedParameters": true,            /* Report errors on unused parameters. */
		// "noImplicitReturns": true,             /* Report error when not all code paths in function return a value. */
		// "noFallthroughCasesInSwitch": true,    /* Report errors for fallthrough cases in switch statement. */
		// "noUncheckedIndexedAccess": true,      /* Include 'undefined' in index signature results */
		/* Module Resolution Options */
		// "moduleResolution": "node",            /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
		// "baseUrl": "./",                       /* Base directory to resolve non-absolute module names. */
		// "paths": {},                           /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
		// "rootDirs": [],                        /* List of root folders whose combined content represents the structure of the project at runtime. */
		// "typeRoots": [],                       /* List of folders to include type definitions from. */
		// "types": [],                           /* Type declaration files to be included in compilation. */
		// "allowSyntheticDefaultImports": true,  /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
		"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
		// "preserveSymlinks": true,              /* Do not resolve the real path of symlinks. */
		// "allowUmdGlobalAccess": true,          /* Allow accessing UMD globals from modules. */
		/* Source Map Options */
		// "sourceRoot": "",                      /* Specify the location where debugger should locate TypeScript files instead of source locations. */
		// "mapRoot": "",                         /* Specify the location where debugger should locate map files instead of generated locations. */
		// "inlineSourceMap": true,               /* Emit a single file with source maps instead of having a separate file. */
		// "inlineSources": true,                 /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
		/* Experimental Options */
		// "experimentalDecorators": true,        /* Enables experimental support for ES7 decorators. */
		// "emitDecoratorMetadata": true,         /* Enables experimental support for emitting type metadata for decorators. */
		/* Advanced Options */
		"skipLibCheck": true, /* Skip type checking of declaration files. */
		"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
	},
	"include": [
		"src/**/*"
	]
}

repo: yaronn/blessed-contrib


text:
Replace setup.py with flit-flavored pyproject.toml

The name field in the project section should be a PyPI-ready name, and I don't know what is best (fetch being occupied already), but I set it to yash-fetch.

Are you sure? The package description is:

This is a dummy package managed by the developer of Beautiful Soup to prevent name squatting. The official name of PyPI’s Beautiful Soup Python package is beautifulsoup4. This package ensures that if you type pip install bs4 by mistake you will end up with Beautiful Soup.

It doesn't get any version updates itself, so you can't use it to control the beautifulsoup4 version if you ever need to limit that.

I tested the code with bs4 and it just works. I never tried beautifulsoup4 it might work but let goes safe here and go with bs4. Thank you so much for contributing to fetch.

authors: AndydeCleyre yashsinghcodes

repo: yashsinghcodes/fetch


text:
セキュリテイガイドの一部の文章が前後している

「Note that negative CAPTCHAs are only effective against dumb bots and won't suffice to protect critical applications from targeted bots. Still, the negative and positive CAPTCHAs can be combined to increase the performance, e.g., if the "honeypot" field is not empty (bot detected), you won't need to verify the positive CAPTCHA, which would require an HTTPS request to Google ReCaptcha before computing the response.」
の訳である
「ネガティブCAPTCHAが効果を発揮するのはWebをクロールする自動ボットからの保護のみであり、重要なサイトに狙いを定めるボットの保護には不向きです。しかしネガティブCAPTCHAとポジティブCAPTCHAをうまく組み合わせればパフォーマンスを改善できることがあります。たとえば"honeypot"フィールドが空でない場合（=ボットが検出された）はポジティブCAPTCHAの検証は不要になり、レスポンス処理の前にGoogle ReCapchaにHTTPSリクエストを送信せずに済みます。」
の位置が本来の位置と異なっています。もっと前の方に移動すべきかと思います。

フィードバックありがとうございます！確認・修正しますね


text:
Linux版では3.4.2以降のソースではサインインに失敗する

The problem
Linuxでは3.4.2以降のソースではサインインに失敗する
Release version
3.4.2
Operating system
Linux
Steps to reproduce the behavior

Desktopのオプション => アカウント でサインアウトボタンを押してサインアウトする
サインインボタンを押す
ブラウザで認証確認ボタンを押す
反応がない

Screenshots
No response
Additional context
3.4.2から、/app/src/lib/stores/sign-in-store.ts 内の認証方法が一変し、
emitAuthenticate()で成功した後で、/app/src/main-process/main.ts でWindows/Mac と Linux では差異があり
ユーザ情報を渡せずエラーになっている
別プロセスの main.ts (cli側なのでブラウザからは見えない)の
function handlePossibleProtocolLauncherArgs(args: ReadonlyArray<string>) {

の段階でargsの処理に失敗していると思われ、
app-window.tsの
  public sendURLAction(action: URLActionType) {
    this.show()

    ipcWebContents.send(this.window.webContents, 'url-action', action)
  }

でキックして、
index.tsx
ipcRenderer.on('url-action', (_, action) =>
  dispatcher.dispatchURLAction(action)
)

で、もう値が来ていない。そのまま、 dispatcher.ts
 public async dispatchURLAction(action: URLActionType): Promise<void> {

で判断できなくてエラー判定

原因判明
3.4.2からhandlePossibleProtocolLauncherArgsの引数がarrayに変更されたが、Linuxは以下のような値を渡す
args[0]: ./desktop
args[1]: --allow-file-access-from-files
args[2]: ./resources/app/cli.js
args[3]: x-github-desktop-dev-auth://oauth?code=XXXXX&state=XXXXX-XXXX-XXXX-XXXX-XXXXXXX

このため、args[3]を渡さないといけないがargs[1]を渡しているので後続でエラーになる。
対策として配列の中身を判定すれば良い。
https://github.com/yasuking0304/desktop/blob/development/app/src/main-process/main.ts#L280-282
  // for Mac, Linux
  for (const arg of args) {
    if (
      arg.includes('auth://oauth') &&
      arg.includes('code=') &&
      arg.includes('state=')
    ) {
      handleAppURL(arg)
      return true
    }
  }
  log.error(`Malformed launch arguments received: ${args}`)
  return false

最終的にこうした
https://github.com/shiftkey/desktop/blob/linux/app/src/main-process/main.ts#L255-L297
function handlePossibleProtocolLauncherArgs(args: ReadonlyArray<string>) {
  log.info(`Received possible protocol arguments: ${args.length}`)

  if (__WIN32__) {
    // Desktop registers it's protocol handler callback on Windows as
    // `[executable path] --protocol-launcher "%1"`. Note that extra command
    // line arguments might be added by Chromium
    // (https://electronjs.org/docs/api/app#event-second-instance).
    // At launch Desktop checks for that exact scenario here before doing any
    // processing. If there's more than one matching url argument because of a
    // malformed or untrusted url then we bail out.

    const matchingUrls = args.filter(arg => {
      // sometimes `URL.parse` throws an error
      try {
        const url = URL.parse(arg)
        // i think this `slice` is just removing a trailing `:`
        return url.protocol && possibleProtocols.has(url.protocol.slice(0, -1))
      } catch (e) {
        log.error(`Unable to parse argument as URL: ${arg}`)
        return false
      }
    })

    if (args.includes(protocolLauncherArg) && matchingUrls.length === 1) {
      handleAppURL(matchingUrls[0])
    } else {
      log.error(`Malformed launch arguments received: ${args}`)
    }
  } else if (__LINUX__) {
    // we expect this call to have several parameters before the URL we want,
    // so we should filter out the program name as well as any parameters that
    // look like arguments to Electron
    const argsWithoutParameters = args.filter(
      a => !a.endsWith('github-desktop') && !a.startsWith('--')
    )
    if (argsWithoutParameters.length > 0) {
      handleAppURL(argsWithoutParameters[0])
    }
  } else if (args.length > 1) {
    handleAppURL(args[1])
  }
}

↓
function handlePossibleProtocolLauncherArgs(args: ReadonlyArray<string>) {
  log.info(`Received possible protocol arguments: ${args.length}`)

  for (const arg of args) {
    if (
      arg.includes('auth://oauth') &&
      arg.includes('code=') &&
      arg.includes('state=')
    ) {
      handleAppURL(arg)
      return true
    }
  }
  log.error(`Malformed launch arguments received: ${args}`)
  return false
}


text:
Update in-store column tables stats request

Currently we request data with query like SELECT * FROM column_table/.sys/primary_index_stats.
It's not an effective way to gather stats, since table could have a lot of rows.

We need to optimize request, so it will be like SELECT SUM(Rows) AS Rows, SUM(Bytes) AS BytesCompressed, SUM(RawBytes) AS BytesUncompressed from column_table/.sys/primary_index_stats
We need to discuss, whether this way of gathering stats is really needed

https://github.com/ydb-platform/ydb-embedded-ui/blob/main/src/store/reducers/olapStats.ts

@zverevgeny could you please tell us wherever we need to collect this stats or not? and if we do, what will be the correct query for that?

authors: adameat artemmufazalov

repo: ydb-platform/ydb-embedded-ui


text:
yd-slider 问题,   手机上 切换的时候,只能 切换 不能上下滚动的问题...

问题所在: yd-slider 问题,   手机上 切换的时候,只能 切换大图,  不能上下滚动页面.
升级到0.9.3  之后 ,那么问题 就来了...  上一版本好好的, 升级之后突然出现的. .不知道作者去掉了判断,直接换成了监听 是为了解决什么问题.  困扰我很久, 我不想来看你编译后的代码. . 但是没办法, 这个问题储在这里...
因为我也确切不知道问题是出在哪一个版本,  一个版本一个版本回滚...找到问题了.
我没有fork,代码, 就不提交了, 再说 你这个我几乎改的面目全非了..
yd-slider  部分 ..
bindEvents: function () { ....}
改成如下
bindEvents: function () {
var t = this,
e = this.touchEvents();  //写在下边....
this.$el.addEventListener(e.start, this.touchStartHandler), this.$el.addEventListener(e.move, this.touchMoveHandler), this.$el.addEventListener(e.end, this.touchEndHandler), this.$el.addEventListener("click", function (e) { t.touches.allowClick || e.preventDefault() }), window.addEventListener("resize", this.resizeSlides), document.body.addEventListener("touchmove", this.stopDrag)
},
touchEvents 的判断如下...
///你新版的把这个干掉了. 为啥呢 ... 是为了解决什么问题呢 ..该判断还是要判断的呢...
touchEvents: function () {
var t = this.supportTouch = window.Modernizr && !!window.Modernizr.touch || function () {
return !!("ontouchstart" in window || window.DocumentTouch && document instanceof DocumentTouch)
}();
return {
start: t ? "touchstart" : "mousedown",
move: t ? "touchmove" : "mousemove",
end: t ? "touchend" : "mouseup"
}
},
虽然你这个 还是beta 版本, 但是我这已经用在生产环境了,
感觉这个问题 , 给用户体验造成问题, 所以还是提给你...

感谢指出问题。确实是因为我删除了 this.supportTouch = 。。。导致不能上下滚动页面问题。现已修复这个问题。

authors: chuchur ydcss

repo: ydcss/vue-ydui


text:
feat: providers and models configuration

Fixes #46
Fixes #415
What

Added ability to create / update providers from the frontend

Added provider list in settings
Client-side validation of configs
Client-side validation of unique constraints
Handling of misconfiguration cases in backend and UI

Reworked the navigation to improve structure

New dedicated Validators tab
Profile becomes Settings

Fixed a bug with a broken condition
Fixed: selecting an account now closes the dropdown
Fixed: integer validation on stake field that was breaking e2e test
Moved account creation/delete directly in the account dropdown for simplification
Fixed a scrolling issue on the home tab that was sometimes causing e2e tests to fail

Modals:

Nav:

Why

to allow developers to manage their inference providers
to improve navigation

Testing done

tested the new features
tested the bug fixes
e2e frontend OK
unit frontend OK
backend integration OK

Decisions made

Added unique constraint on provider+model+plugin in postrgres
Added AJV to validate json schema client-side
Added lodash for easy grouping/sorting in JS
Skipping two fields on the frontend for now (they don't create errors however because they have a default value in the schema). For future reference, I added a warning in the console to be able to spot missing fields easily:

Checks

[x] I have tested this code
[x] I have reviewed my own PR
[x] I have created an issue for this PR
[x] I have set a descriptive PR title compliant with conventional commits

Reviewing tips

Try adding / editing providers, then adding / editing validators

User facing release notes

Added the ability to add and manage inference providers from in the settings
Reworked navigation
Move account managing to the account select menu
Fixed other various bugs and issues

As a side note, it is kind of confusing that Provider is the name for a provider and a model. Next time let's try to solve this issues before they are not worth it like right now.

I agree which is why I was playing around with "Provider Config". It is true that the entity we are talking about is a kind of preset so to speak, that combines provider/model/plugin and default config.
Totally open to suggestions, but like you said, it's not dealbreaker right now and since it's an advanced feature, we should be fine for now indeed.

added migration to remove legacy heuristai providers

@cristiam86 @AgustinRamiroDiaz made some copy adjustments, added tooltips, added a link to settings from validator modal.
I think this helps with user education, WDYT?

repo: yeagerai/genlayer-simulator


text:
feat: adding frontend profile

Fixes #594
What

Added a frontend profile to the frontend service in the docker-compose.yml file.
Now, users can choose to start the simulator without the frontend UI by specifying or omitting the frontend profile.

Why

This change enables users to run the simulator in headless mode, making it more flexible by allowing services to start without the frontend UI when not needed. This addresses the need for lightweight, backend-only setups for local testing or headless environments.

Testing done

Tested running docker compose up to start all services without the frontend service.
Tested docker compose --profile frontend up to start all services, including the frontend UI.
Verified compatibility and successful startup on both Debian and macOS systems.

Decisions made

Used the frontend profile to simplify managing optional services without needing multiple Compose files or complex configurations.

Checks

[x] I have tested this code
[x] I have reviewed my own PR
[x] I have created an issue for this PR
[x] I have set a descriptive PR title compliant with conventional commits

Reviewing tips

The reviewer can check for proper use of the frontend profile in the frontend service to verify the service is now optional and can be included or excluded by specifying profiles.

User facing release notes

Users can now run the simulator in headless mode, omitting the frontend UI by default and enabling it when needed with docker compose --profile frontend up.

@epsjunior This would break the current version CLI by not launching the UI. Can we just add a "headless" parameter in the CLI command so, in that case only, the CLI doesn't run the frontend?


text:
[CMT-462-742] Consider and set up analytics for the blog

Research what analytics options do we have / can be used for a Jekyll blog.
Which is the best option that gives us some insight to who is viewing our blog but doesn't share too much info about our users.
Is this needed?

Is this still available? Can post some options down here, before we decide on one.

reviving this, definitely needed, we would like to be able to get a sense of:

where users are coming from
which language they are viewing

ideally, no personal data should be collected or retained

Finished

repo: yearn/yearn-comms


text:
#660: Fixed FindBugs violations

Fix for #660
The goal of this PR is to fix the last existing FindBugs violations.
NB: To be able to "fix" 2 issues related to deserialization (aka SE_TRANSIENT_FIELD_NOT_RESTORED: Transient field that isn't set by deserialization), I had to suppress a warning for each of them:

For the class HttpException, I fixed the issue by removing the modifier transient but I get a warning from PMD (BeanMembersShouldSerialize ) complaining about the fact that I don't have any accessor which is not true here since I have the method code() instead of the expected method getStatus() so I suppressed the warning "PMD.BeanMembersShouldSerialize".
For the class RsForward, I didn't find any obvious way to fix it since the variable origin is not necessary Serializable so it needs to remain transient so I added the corresponding annotation SuppressFBWarnings and to do so I added a new provided dependency to the pom file.

@essobedo Let me find a reviewer for this pull request, thanks for submitting it

@dmzaytsev review this one,please

@essobedo I would suggest you submit a ticket in Qulice project and ask how the FindBugs violations can be fixed instead of the supressions. I mean RsForward and HttpException.
If Qulice guys will confirm the ticket as a bug, you could create a puzzle to remove the suppressions in pom.xml later

@dmzaytsev thank you for the suggestion, here is my ticket https://github.com/teamed/qulice/issues/762.   What about the rest of the PR do you have any remarks?

@essobedo the rest of PR looks good, thanks

@essobedo please create a new puzzle to remove the suppression in HttpException once the next release of Qulice will be available
and we will merge it as is

@dmzaytsev done please check again

@essobedo thanks

@rultor merge

@rultor merge

@dmzaytsev Thanks for your request. @yegor256 Please confirm this.

@yegor256 please check

@yegor256 ping

@yegor256 Please confirm

@yegor256 your validation is needed here

@essobedo see my comments above

@dmzaytsev didn't you see that the new code is not thread safe?

@yegor256 thx for the remarks, I fixed the thread safety issues, please check again

@yegor256 please check again

@yegor256 please check again

@yegor256 ping

@essobedo see my comments above

@yegor256 I reverted my changes to fix JLM_JSR166_UTILCONCURRENT_MONITORENTER and now I throw an IOException if the file could not be deleted. As we cannot throw an IOException in a finally block I decided to slip it in 2: In case of an exception I add it to suppressed exceptions otherwise I throw IOException outside the finally block

@yegor256 ping

@yegor256 ping

@yegor256 please we need to do something with this PR, it is open for more than 3 weeks now

@essobedo one more comment above

@yegor256 fixed, please check again

@yegor256 ping

@yegor256 let's finish it please

@rultor try to merge

@rultor try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor try to merge

@yegor256 Done! FYI, the full log is here (took me 16min)

@yegor256 thank you

@elenavolokhova please, review this issue for QA compliance, as per par.24

@rultor please deploy

@rultor please deploy

@davvd OK, I'll try to deploy now. You can check the progress here

@rultor please deploy

@davvd Done! FYI, the full log is here (took me 14min)

@dmzaytsev
According to our quality rules:

The code reviewer found at least three problems in the code.

Only one issue was found during review.
Please confirm that you will try to find at least three problems next time.

@elenavolokhova I confirm

@davvd Quality is acceptable here.

@davvd Quality is acceptable here.

@elenavolokhova thanks for the QA review, we'll work better next time

@dmzaytsev just added 10 mins to @elenavolokhova (for QA), payment ID is 86614791. thanks, paid, 21 mins to your account, payment ID is 86614802, task took 677 hours and 9 mins to complete. extra minutes for review comments (c=6). +21 added to your rating, at the moment it is: +1027

authors: davvd dmzaytsev elenavolokhova essobedo rultor yegor256


text:
Can't find generators under Win32

Having a problem with Yo finding generator packages under Win32.  I believe the problem is due to backslashes in the glob pattern.  According to node-glob docs at https://github.com/isaacs/node-glob, only forward slashes should be used in glob patterns, even on Windows.  If I edit node_modules/yeoman-environment/lib/resolver.js and add this on line 44, it works:
pattern = pattern.replace(/\/g, '/');
Without that change, here is what I get when trying to run a generator:
C:\Code\YoTest>npm install generator-hottowel -g
generator-hottowel@0.0.7 C:\Users\kwest\AppData\Roaming\npm\node_modules\generator-hottowel
+-- chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
+-- yosay@0.3.0 (ansi-regex@0.2.1, string-length@0.1.2, pad-component@0.0.1, word-wrap@0.1.3, ansi-styles@1.1.0, strip-ansi@0.2.2,
0.2.0, chalk@0.4.0, taketalk@0.1.1)
+-- yeoman-generator@0.17.7 (dargs@2.1.0, diff@1.2.0, class-extend@0.1.1, rimraf@2.2.8, text-table@0.2.0, github-username@1.0.0, u
string@2.4.0, mime@1.2.11, async@0.9.0, debug@1.0.4, isbinaryfile@2.0.3, grouped-queue@0.3.0, cross-spawn@0.2.3, nopt@3.0.1, mkdir
helljs@0.3.0, run-async@0.1.0, iconv-lite@0.4.5, findup-sync@0.1.3, glob@4.3.1, file-utils@0.2.1, lodash@2.4.1, request@2.49.0, ch
.0, gruntfile-editor@0.2.0, download@1.0.7, inquirer@0.7.3)
C:\Code\YoTest>npm list -g --depth=0
C:\Users\kwest\AppData\Roaming\npm
+-- bower@1.3.12
+-- generator-hottowel@0.0.7
+-- grunt-cli@0.1.13
+-- gulp@3.8.10
+-- nodemon@1.2.1
+-- typescript@1.0.1
+-- yo@1.3.3
C:\Code\YoTest>yo hottowel helloWorld
Error hottowel helloWorld
You don't seem to have a generator with the name hottowel installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 0 registered generators run yo with the --help option.

this is still a problem for me, tried both your suggestions but neither helped.
it seems like all the paths returned in the module lookup can't be accessed.  Although they are the right  paths and the generators are there and NODE_HOME is set.  I'm at a loss

@elparkino please run yo doctor to get help on debugging your system.

@SBoudrias I have, and it says everything is fine

Yeoman Doctor
Running sanity checks on your system
√ Global configuration file is valid
√ Node.js version
√ No .bowerrc file in home directory
√ No .yo-rc.json file in home directory
√ npm version
√ NODE_PATH matches the npm root
Everything looks all right!

D:\PlayVerse\Ancillary\playtricsfrontend> npm install generator-hottowel -g
npm WARN peerDependencies The peer dependency yo@>=1.0.0 included from generator-hottowel will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
generator-hottowel@0.2.14 C:\Users\Parker.Jones\AppData\Roaming\npm\node_modules\generator-hottowel
├── chalk@0.5.1 (escape-string-regexp@1.0.3, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
├── yosay@0.3.0 (ansi-regex@0.2.1, string-length@0.1.2, ansi-styles@1.1.0, pad-component@0.0.1, word-wrap@0.1.3, minimist@0.2.0, strip-ansi@0.2.2, chalk@0.4.0, taketalk@0.1.1)
└── yeoman-generator@0.17.7 (dargs@2.1.0, isbinaryfile@2.0.4, class-extend@0.1.1, diff@1.4.0, rimraf@2.4.0, text-table@0.2.0, underscore.string@2.4.0, mime@1.3.4, async@0.9.2, grouped-queue@0.3.0, cro
ss-spawn@0.2.9, nopt@3.0.2, debug@1.0.4, mkdirp@0.5.1, run-async@0.1.0, shelljs@0.3.0, iconv-lite@0.4.10, glob@4.5.3, file-utils@0.2.2, github-username@1.1.1, findup-sync@0.1.3, lodash@2.4.2, request@
2.57.0, download@1.0.7, cheerio@0.17.0, gruntfile-editor@0.2.0, inquirer@0.7.3)
false
Error hottowel playtrics
You don't seem to have a generator with the name hottowel installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 0 registered generators run yo with the --help option.
in resolve.js I'm logging out fs.existsSync(process.env.NODE_PATH) wich is the false.  That's obviously a problem, becasue that's where the generator I need lives

Maybe you have multiple npm binaries installed?

@SBoudrias I do not

authors: Kyle2123 SBoudrias elparkino

repo: yeoman/yo


text:
Add Yew Playground in the documentation

The official Yew Playground is up at https://play.yew.rs/. We should add it to the documentation.

html_playground_url should be set for API docs
Code blocks should we swizzled on the website to add a run button
Mention the playground in getting started docs
Add a link to playground in website nav bar

This can be closed.

repo: yewstack/yew


text:
Fix VComp NodeRef self linking issue

Description
Prevents a NodeRef from linking to itself, causing infinite recursion.
Fixes https://github.com/yewstack/yew/issues/1158
Checklist:

[x] I have run ./ci/run_stable_checks.sh
[x] I have reviewed my own code
[x] I have added tests – if this is a bug fix, these tests will fail if the bug is present (to stop it from cropping up again). If this is a feature, my tests prove that the feature works.

FYI @totorigolo I pulled these changes out of https://github.com/yewstack/yew/pull/1231 because I think it will fix https://github.com/yewstack/yew/issues/1328


text:
GPU预测时出错，Aborted at 1637208819 (unix time) try "date -d @1637208819" if you are using GNU date

老师，您好。
前序步骤【数据准备】、【训练模型】、【执行评估】、【导出模型】均正常通过。
但是在【快速预测】时，执行：python infer_path.py --wav_path=./dataset/test.wav 后，出现以下错误：
root@pp:~/PPASR# python export_model.py --resume_model=models/deepspeech2/epoch_50/
/usr/local/lib/python3.7/dist-packages/numba/types/__init__.py:110: DeprecationWarning: `np.long` is a deprecated alias for `np.compat.long`. To silence this warning, use `np.compat.long` by itself. In the likely event your code does not need to work on Python 2 you can use the builtin `int` for which `np.compat.long` is itself an alias. Doing this will not modify any behaviour and is safe. When replacing `np.long`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  long_ = _make_signed(np.long)
/usr/local/lib/python3.7/dist-packages/numba/types/__init__.py:111: DeprecationWarning: `np.long` is a deprecated alias for `np.compat.long`. To silence this warning, use `np.compat.long` by itself. In the likely event your code does not need to work on Python 2 you can use the builtin `int` for which `np.compat.long` is itself an alias. Doing this will not modify any behaviour and is safe. When replacing `np.long`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  ulong = _make_unsigned(np.long)
/usr/local/lib/python3.7/dist-packages/librosa/cache.py:49: DeprecationWarning: The 'cachedir' attribute has been deprecated in version 0.12 and will be remo
root@pp:~/PPASR# python infer_path.py --wav_path=./dataset/test.wav
/usr/local/lib/python3.7/dist-packages/numba/types/__init__.py:110: DeprecationWarning: `np.long` is a deprecated alias for `np.compat.long`. To silence this warning, use `np.compat.long` by itself. In the likely event your code does not need to work on Python 2 you can use the builtin `int` for which `np.compat.long` is itself an alias. Doing this will not modify any behaviour and is safe. When replacing `np.long`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  long_ = _make_signed(np.long)
/usr/local/lib/python3.7/dist-packages/numba/types/__init__.py:111: DeprecationWarning: `np.long` is a deprecated alias for `np.compat.long`. To silence this warning, use `np.compat.long` by itself. In the likely event your code does not need to work on Python 2 you can use the builtin `int` for which `np.compat.long` is itself an alias. Doing this will not modify any behaviour and is safe. When replacing `np.long`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  ulong = _make_unsigned(np.long)
/usr/local/lib/python3.7/dist-packages/librosa/cache.py:49: DeprecationWarning: The 'cachedir' attribute has been deprecated in version 0.12 and will be removed in version 0.14.
Use os.path.join(memory.location, 'joblib') attribute instead.
  if self.cachedir is not None and self.level >= level:
/usr/local/lib/python3.7/dist-packages/librosa/cache.py:49: DeprecationWarning: The 'cachedir' attribute has been deprecated in version 0.12 and will be removed in version 0.14.
Use os.path.join(memory.location, 'joblib') attribute instead.
  if self.cachedir is not None and self.level >= level:
-----------  Configuration Arguments -----------
alpha: 1.2
beam_size: 10
beta: 0.35
cutoff_prob: 1.0
cutoff_top_n: 40
decoder: ctc_greedy
is_long_audio: False
lang_model_path: lm/zh_giga.no_cna_cmn.prune01244.klm
model_dir: models/deepspeech2/infer/
to_an: True
use_gpu: True
vocab_path: dataset/vocabulary.txt
wav_path: ./dataset/test.wav
------------------------------------------------

--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0   paddle::framework::SignalHandle(char const*, int)
1   paddle::platform::GetCurrentTraceBackString[abi:cxx11]()

----------------------
Error Message Summary:
----------------------
FatalError: `Segmentation fault` is detected by the operating system.
  [TimeInfo: *** Aborted at 1637207454 (unix time) try "date -d @1637207454" if you are using GNU date ***]
  [SignalInfo: *** SIGSEGV (@0x0) received by PID 10680 (TID 0x7f258fdb6740) from PID 0 ***]

Segmentation fault

环境如下：
系统：Ubuntu  18.04 64位
显卡：NVIDIA P100 (单卡)
驱动：10.2.89
内存：60G
Python：3.7.5
PaddlePaddle：2.1.3 （PIP安装）
项目：PPASR
模型：thchs_30(34小时)
noise模型：无

NVIDIA信息如下：
root@pp:~/PPASR# nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89
root@pp:~/PPASR# nvidia-smi
Thu Nov 18 12:05:23 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03    Driver Version: 460.91.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla P100-PCIE...  On   | 00000000:00:08.0 Off |                    0 |
| N/A   27C    P0    26W / 250W |      0MiB / 16280MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

请问老师，我在项目：“PaddlePaddle-DeepSpeech”和“PPASR"使用【GPU】预测均遇到该问题，使用【CPU】预测正常。在训练时，使用【GPU】也是正常。
请问这个问题是什么原因导致的？麻烦可否告知如何解决？
感谢您百忙这中抽空审阅，谢谢。

我实在看不出什么问题，报错的有效消息比较少。你说的使用CPU预测正常，只有使用GPU预测报错，那可能使用你安装的Paddle Inference使用有问题，你可以重装一下，或者使用conda安装一次。

请问解决了吗

authors: wangjialin97 yeyupiaoling zhiweinet

repo: yeyupiaoling/PPASR


text:
the watch_cb run only once?

hello, I find the watch_cb run only once, it`s can run continute? what should i do? thanks for first!

Every watch will be called only once, if you want to get notified after further changes you have to reapply watch.

repo: yfinkelstein/node-zookeeper


text:
login接口怎么没有解除鉴权？

为什么登录接口还要验证token？根本无法访问登录接口

nested exception is org.apache.shiro.authz.UnauthorizedException

login不需要授权啊


text:
--resume  继续执行没有进行翻译了

命令如下：
python make_book.py --book_name animal_farm.epub --model gpt3 --no_limit --language "Simplified Chinese" --resume

can you offer a screen shot?

@xiaowang-edu 刚跑了一下没问题，我研究下哈。

@xiaowang-edu 刚跑了一下没问题，我研究下哈。

好的 辛苦啦

@xiaowang-edu 你为啥用 gpt-3 的 model 呀

@xiaowang-edu 你为啥用 gpt-3 的 model 呀

明白了 --resume现在还不支持gpt-3模型是吧

理论是支持的，但是 gpt-3 万的 prompt 没写好
稍后修复。。。

理论是支持的，但是 gpt-3 万的 prompt 没写好 稍后修复。。。

感谢感谢

I think its fixed
https://github.com/yihong0618/bilingual_book_maker/pull/52

你这个翻译出来的是相同的英文？有解决嘛？


text:
Add nested mapping

class A {
  private string $var;
}

class B {
  private A $a;
}

$data = [
  'key' => 'test',
];

Need to be able to specify that $data['key'] should be mapped to $b->a->var.

https://github.com/sunrise-php/hydrator/tree/main?tab=readme-ov-file#array

repo: yiisoft/hydrator


text:
Adopt Psalm

Q
A

Is bugfix?
❌

New feature?
✔/❌

Breaks BC?
❌

Fixed issues

Build pipeline should be adjusted.

👍

repo: yiisoft/rbac-php


text:
'Operator 'NOT' requires two operands.'

What steps will reproduce the problem?
use yii\mongodb\Query;
// ...
$query
    ->andWhere(['not', $col, null])
    ->andWhere(['<>', $col, '']);

What's expected?
The query will builded without error.
What do you get instead?
Fatal error: Uncaught exception 'yii\base\InvalidParamException' with message 'Operator 'NOT' requires two operands.' in vendor\yiisoft\yii2-mongodb\QueryBuilder.php on line 670
1	0.0000	126968	{main}( )	...\index.php:0
2	0.0110	1186288	yii\base\Application->run( )	...\index.php:80
3	0.0110	1215912	yii\web\Application->handleRequest( )	...\Application.php:375
4	0.0120	1300592	yii\base\Module->runAction( )	...\Application.php:100
5	0.0140	1448736	yii\base\Controller->runAction( )	...\Module.php:454
6	0.0160	1633008	yii\base\InlineAction->runWithParams( )	...\Controller.php:154
7	0.0160	1634168	call_user_func_array:{D:\os\OpenServer\domains\yii-notymo\vendor\yiisoft\yii2\base\InlineAction.php:55} ( )	...\InlineAction.php:55
8	0.0160	1634320	nstdio\yii2notymo\controllers\SiteController->actionIndex( )	...\InlineAction.php:55
9	0.0220	2792024	nstdio\yii2notymo\PushNotification->send( )	...\SiteController.php:27
10	0.0220	2792192	nstdio\yii2notymo\provider\DataProvider->getTokens( )	...\PushNotification.php:63
11	0.0220	2795296	yii\mongodb\Query->all( )	...\DataProvider.php:69
12	0.0220	2795408	yii\mongodb\Query->buildCursor( )	...\Query.php:307
13	0.0240	2924520	yii\mongodb\Collection->find( )	...\Query.php:184
14	0.0250	3051464	yii\mongodb\Command->find( )	...\Collection.php:218
15	0.0260	3159272	yii\mongodb\QueryBuilder->buildCondition( )	...\Command.php:592
16	0.0260	3159560	yii\mongodb\QueryBuilder->buildAndCondition( )	...\QueryBuilder.php:619
17	0.0260	3159872	yii\mongodb\QueryBuilder->buildCondition( )	...\QueryBuilder.php:699
18	0.0260	3160136	yii\mongodb\QueryBuilder->buildAndCondition( )	...\QueryBuilder.php:619
19	0.0260	3160432	yii\mongodb\QueryBuilder->buildCondition( )	...\QueryBuilder.php:699
20	0.0260	3160696	yii\mongodb\QueryBuilder->buildAndCondition( )	...\QueryBuilder.php:619
21	0.0260	3160992	yii\mongodb\QueryBuilder->buildCondition( )	...\QueryBuilder.php:699
22	0.0260	3161256	yii\mongodb\QueryBuilder->buildAndCondition( )	...\QueryBuilder.php:619
23	0.0260	3161552	yii\mongodb\QueryBuilder->buildCondition( )	...\QueryBuilder.php:699
24	0.0260	3161848	yii\mongodb\QueryBuilder->buildNotCondition( )	...\QueryBuilder.php:619

Additional info

Q
A

Yii version
2.0.10-dev

Yii MongoDB version
2.1.2

MongoDB server version
3.2 x64

PHP version
5.6.19

Operating system
Windows 7 x64

I've found some solution
$query->andWhere(['not', $col, ['$eq' => null]])

But the problem still exists. What if I change $query implementation at runtime from yii\mongodb\Query to yii\db\Query and execute same query with code mentioned above.
I will send pull request soon.

Resolved by commit ab8e4effea7ae72e20be8749fedfa0b79a2e42a8

authors: klimov-paul nstdio


text:
jQuery loading after yii.js

I have created a new yii2 project in which I have stopped jQuery from web.php. Now I have created a jQueryAsset and added it to depends part of AppAsset. But when i run the project yii.js loads before jQuery.js
Here Is my Code:
JqueryAsset
class JqueryAsset extends AssetBundle {     public $basePath = '@webroot';     public $baseUrl = '@web';     public $js = [     		'js/jquery.min.js',     ]; }
AppAsset
 public $depends = [     		'app\assets\JqueryAsset',         	'yii\web\YiiAsset',         	'yii\bootstrap\BootstrapAsset',     ];
Additional info

Q
A

Yii version
2.0.7

PHP version
5.5.12

Operating system
Windows

that is because yii.js does not know about the new jQuery. You have to define a dependecy for the new Jquery Asset in assetmanager:
                'yii\web\YiiAsset' => [
                    'depends' => [
                        'app\assets\JqueryAsset',
                    ],
                ],


text:
Yii2 Restfull strange behaviour

Trying to create API app (based on RESTFull services) using Yii2 Advanced template. Created subdomain api.domain.com for this purpose.
The directory structure looks like this:

The problem is, when I try to send GET request to api.domain.com/users getting following response:
{
  "name": "Not Found",
  "message": "Page not found.",
  "code": 0,
  "status": 404,
  "type": "yii\web\NotFoundHttpException",
  "previous": {
    "name": "Invalid Route",
    "message": "Unable to resolve the request \"user/index\".",
    "code": 0,
    "type": "yii\base\InvalidRouteException"
  }
}

Here is config file:
https://gist.github.com/d1930b6bf20e3d50fe63
Here is controller (which is located in Controllers folder):
https://gist.github.com/anonymous/180a7e791e879570e0f4
The question is, what is wrong?

Seems like framework is trying to access user/index route and can't find it. Check if there's namespace properly defined, check URL rules.

@samdark Well, I placed all my config files and even controller's contents. Do you see any wrongs?

No. Try forums.

authors: samdark turalsprofile


text:
FIX: ETag never matched if "-gzip" added by Apache

https://issues.apache.org/bugzilla/show_bug.cgi?id=45023

Thanks!

Thank you very much for quick adoption, but I have a little objection: bulk replace function was for the purpose of easily adding another disturbing strings. Maybe I should have written it more clear in comment ;(

bulk replace function was for the purpose of easily adding another disturbing strings

I don't quite get you. Could you explain a bit more?

@qiangxue Yours - where to insert more substrings to be removed, if need arise ?
return preg_split('/[\s,]+/', str_replace('-gzip', '', $_SERVER['HTTP_IF_NONE_MATCH']), -1, PREG_SPLIT_NO_EMPTY);

Mine - just add them to an array:
return preg_split('/[\s,]+/', strtr($_SERVER['HTTP_IF_NONE_MATCH'],array_fill_keys([
    '-gzip', // Add more disturbing infixes here
],'')), -1, PREG_SPLIT_NO_EMPTY);

We can do that when the new need arises. Also, it's an overkill to call array_fill_keys() to construct an array which you can explicitly create.

authors: mcd-php qiangxue


text:
docs: update README.md

Combining multiple PRs:
doc: fix example
doc: apply a uniform code style for examples
docs: remove link to non-working gemnasium project
docs: add info about the minimum package size
docs: replace http links with https
docs: add package installation instructions
docs: correcting the partition sequence
docs: make all the Rules in one section
docs: simplify Transform example

Has been reviewed, It's ok.

repo: yiminghe/async-validator


text:
feat: Add a scheduled job to resubscribe the calendars

see: https://trello.com/c/YCqoAePq/1024-add-a-cron-job-to-resubscribe-to-calendar-event-changes

Removing the WIP label as this no longer in progress

authors: johnytiago peterstarling

repo: yldio/asap-hub


text:
ValueError: need at least one array to concatenate

Hello, is the video frame to be extracted in advance? Running the code to extract visual features directly will report an error：ValueError: need at least one array to concatenate

Yes, you need extract frame and optical flow from videos. You can You can refer to the mmaction

repo: ymhzyj/UMMAFormer


text:
Unreal: Create project in temp location and move to final when done

Changelog Description
Create Unreal project in local temporary folder and when done, move it to final destination.
Additional info
Project creation in Unreal requires directory to be clean without any content whatsoever. But in some storage scenarios, metadata files are created and thus will project creation fail. Solution is to create it locally in temporary folder and move it to final destination only when it is done.
Testing notes:

Create new Unreal project
It should be created as expected and copied to the final destination specified by project templates.

Just passing by: I think this should be optional and turned off by default, it can easily double the time of startup.

Just passing by: I think this should be optional and turned off by default, it can easily double the time of startup.

Why do you think? I think letting it create locally and then copy the whole stuff to network share is actually faster. No numbers on that though. Important fact about this is that newly created project are really small - like 15Mb of data or so.

I think letting it create locally and then copy the whole stuff to network share is actually faster. No numbers on that though. Important fact about this is that the newly created project are really small - like 15Mb of data or so.

Aaah, in that case I guess it's ok.

authors: antirotor iLLiCiTiT

repo: ynput/OpenPype


text:
FAILED to import "ayon_syncsketch"

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
Hello,
I'm trying to use syncsketch and I'm currently encounter an issue with importing the openpype module.
Please advise
Expected Behavior:
No response
Version
1.0.0
What platform you are running on?
Windows, Linux / Ubuntu
Steps To Reproduce:
I'm using the latest version of AYON core, backend and front end.
Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
Traceback (most recent call last):
  File "C:\PZ_Dev/ayon/ayon-core/client\ayon_core\addon\base.py", line 417, in _load_ayon_addons
    mod = __import__(basename, fromlist=("",))
  File "C:\PZ_Dev\ayon\ayon-syncsketch\client\ayon_syncsketch\__init__.py", line 1, in <module>
    from .addon import (
  File "C:\PZ_Dev\ayon\ayon-syncsketch\client\ayon_syncsketch\addon.py", line 2, in <module>
    from openpype.modules import (
ModuleNotFoundERROR: No module named 'openpype'

Additional context:
No response

In
ayon-syncsketch\client\ayon_syncsketch\addon.py
from ayon_syncsketch.common import config would fail also since there is no such module.

I also found this on discord.
Regarding that common. I suspect the create_package.py copies that over when generating the zips, etc. https://github.com/ynput/ayon-syncsketch/blob/3c9251712cfa66be96a17800e21c7736c6cc57ca/create_package.py#L158
Not necessarily good practice though.

@tanh609 Any chance you could try: https://github.com/ynput/ayon-syncsketch/pull/7

Hello @BigRoy, thank you for the PR.
I was able to follow this tutorial https://ayon.ynput.io/docs/addon_syncsketch_admin/ until step 8.
Then Syncsketch just stop working for me. Here is the error message that I got from AYON server. Please advise.
2024-09-30 15:38:39 INFO       server          Existing Webhooks: {'detail': 'Authentication credentials were not provided.'}
2024-09-30 15:38:39 ERROR      server          Error during syncsketch 0.1.1 setup

    Traceback (most recent call last):
      File "/backend/ayon_server/api/server.py", line 448, in startup_event
        await version.setup()
      File "/addons/syncsketch/0.1.1/__init__.py", line 57, in setup
        await self.create_syncsketch_webhook()
      File "/addons/syncsketch/0.1.1/__init__.py", line 133, in create_syncsketch_webhook
        webhook.get("url") == ayon_endpoint
        ^^^^^^^^^^^
    AttributeError: 'str' object has no attribute 'get'

Hi @tanh609 I have a feeling the JSON response from the syncsketch API has changed or is somehow invalid for you.
It seems to fail here. You are likely best off investigating what the return value is of existing_webhooks.json().
According to the syncsketch API it should be this. Since their API is 'versioned' I'd expect it to continue to return the same values so it could be that your syncsketch configuration may just be off. Please check out the notes in the syncsketch API documentation.

Hullo @BigRoy, thank you for pointing me to the right direction.
Just a quick question.
Since the code is on the server side, is there a way to force reload just the syncsketch module for debugging?
It might be a bit annoying for my fellow co-worker if I kept resetting the whole AYON server

Unfortunately I'm not sure if there's any way to do so. @martastain may know.

Hi @BigRoy
It seem like there is a bug with how the plugin is getting the secret for the Syncsketch API key
https://github.com/ynput/ayon-syncsketch/blob/3c9251712cfa66be96a17800e21c7736c6cc57ca/server/__init__.py#L116C17-L116C47
The header information for syncsketch API request is looking like this for us at the moment
http headers: {'Authorization': 'apikey syncsketch_auth_user:syncsketch_auth_user', 'Content-Type': 'application/json'}

By the way @BigRoy. Syncsketch is now connected with AYON after your Pull Request

@tanh609 could you clarify what in particular solved your issue with the authentication tokens?

By the way @BigRoy. Syncsketch is now connected with AYON after your Pull Request.

Great - I believe you should be able to 'submit a review' for that PR - so would be great if you could "Approve" it.

@BigRoy, I put a return statement before the code block that were causing issue. This allow AYON to fully load syncsketch plugin again. Then, I went into the setting using the web GUI to change it back to the proper setting.
https://github.com/ynput/ayon-syncsketch/blob/3c9251712cfa66be96a17800e21c7736c6cc57ca/server/__init__.py#L128C8-L128C37

repo: ynput/ayon-syncsketch


text:
could not get products more than 50 numbers using search() method ?

Hi guys,
I know its a silly question. But its taking a quite a lot of time to figure it out. When i use the below script, i could able to get only 50 products and not more than that. but when i checked for products.current_page, i can see the value is '6'. I'm not sure how to iterate other products after that. Please help me with a good example to get the list of all the products available using search method. If not suggest me any other way of doing it.. Thanks in Advance.
from amazon.api import AmazonAPI
amazon = AmazonAPI(AMAZON_ACCESS_KEY, AMAZON_SECRET_KEY, AMAZON_ASSOC_TAG)
products = amazon.search(Keywords='kindle', SearchIndex='All')
for i, product in enumerate(products):
print "{0}. '{1}'".format(i, product.title)

Have you got the solution ?
Only 50 products

No, i could able to get only 50 products. Is there anyway that i can get number of products belonging to some specific category (For Example: 'Mobiles') . Please help me.

Amazon documentation about ItemPage parameter:

Valid values: 1 to 10 (1 to 5 when search index is All)

authors: arunkmarcse docrun yoavaviram


text:
Unable to use Token PopupType.

I didn't manage to use the token popup type.
Here is the code that I have on my vue page :
<script setup lang="ts">
import type { CallbackTypes, GoogleLogin } from "vue3-google-login";

const callback: CallbackTypes.TokenResponseCallback = (response) => {
  // This callback will be triggered when the user selects or login to
  // his Google account from the popup
  console.log("Access token", response);
};
</script>

<template>
  <GoogleLogin :callback="callback" popup-type="TOKEN" prompt auto-login />
</template>

And in my main.ts file :
import { createPinia } from "pinia";
import { createApp } from "vue";
import vue3GoogleLogin from "vue3-google-login";

import App from "./app.vue";
import router from "./router";

const pinia = createPinia();
const app = createApp(App);

app
  .use(router)
  .use(vue3GoogleLogin, {
    clientId:
      "<<REMOVED>>",
    popupType: "TOKEN",
  })
  .use(pinia)
  .mount("#root");

But when I connect the popup works fine but the object that I received is of type : CredentialCallback. There is no access_token variable in it.
It seems the default value of the popupType is taking precedence all the time.
And BTW if I use googleTokenLogin(), I got an access token.
I'm using the version 2.0.15

@michaelcoll As mentioned here, google rendered login button only provides a CredentialResponse, popup-type was actually meant for custom buttons, that means your code will work if you add a button inside your GoogleLogin component as a slot. Since you haven't provided any buttons inside your GoogleLogin component popupType option will be ignored since this will be showing up a google rendered login button
This is mentioned here

If you don't need google rendered button you can re-write the code like this
<script setup lang="ts">
import type { CallbackTypes, GoogleLogin } from "vue3-google-login";

const callback: CallbackTypes.TokenResponseCallback = (response) => {
  // This callback will be triggered when the user selects or login to
  // his Google account from the popup
  console.log("Access token", response);
};
</script>

<template>
  <GoogleLogin :callback="callback" popup-type="TOKEN" prompt auto-login>
    <button>Login</button>
  </GoogleLogin>
</template>

Hi, I've updated my code to use a custom button. But I'm experiencing the same issue.
For now, as a workaround, I've updated my backend code to handle an Id Token instead of an Access Token.

@michaelcoll Thats strange, maybe you are getting the callback from one-tap promt, just like google rendered login this will only provide CredentialResponse, only the click on the custom button will give you Access Token (button click actually use googleTokenLogin() function under the hoods)

As you can see here, my previous code is providing two response one is the response from one-tap promt and another one from clicking the Login button (Which was kept as slot). I know this is weird but for now the response from one-tap and google rendered button only provide a CredentialResponse. If you are using the combination of these you need to update the backend code to accept both a token and ID token as mentioned here

Yep indeed, I've used one-tap prompt. I didn't check to force the click on the button.
I will not update my backend to handle both type of token.
Maybe have some endpoints that receive idtoken like the register or login endpoint, but others endpoint should use access token because it's what it's used for.
For now, I will keep only the idtoken.
I'm using your lib to simplify my code, not to complicate it :smile:

In latest version added a console warning if popup-type option is passed without a custom login button as slot

We can get access_token or auth_code. How about ID token? How can I get it?

authors: dev-myatminsoe michaelcoll yobaji


text:
new hook MutationHookFactory

export interface MutationHookFactory {
    <Input, Output, HookOptions, HookResult>(config: EndpointConfig): (
        input: Input,
        hookOptions?: HookOptions,
        fetchOptions?: EndpointOptions
    ) => HookResult;
}

https://github.com/yobta/generator/pull/54

authors: droganov plusbpm

repo: yobta/generator


text:
adding bower config

Adding a bower configuration so we can submit this to bower

Should be registered now, can you confirm?
I'm not a bower user, so I may have missed something ;)
Anyway, thanks for the PR! :)

authors: mvexel yohanboniface

license: WTFPL


text:
Dynamic theme name seems to be having trouble loading the correct template, ActionView::MissingTemplate

I'm getting these errors:
Started GET "/" for 127.0.0.1 at 2014-06-29 17:02:57 -0400
Processing by PostsController#index as HTML
Vanity: loading experiments from C:/Users/Chloe/workspace/Tyger/experiments
Vanity: loading metrics from C:/Users/Chloe/workspace/Tyger/experiments/metrics
*** {"session_id":"9541a5d2f4d6726039092b0ac22c3bae","_csrf_token":"RQB4Ji98sTvfETiZcW7caAYJYe0ytqUMC1QPO3f+2fo=","user_id":43,"theme":0}
*** loading theme bootstrap
Completed 500 Internal Server Error in 20ms

ActionView::MissingTemplate (Missing template layouts/ancap with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :haml]}. Searched in:
  * "C:/Users/Chloe/workspace/Tyger/app/themes/bootstrap/views"
  * "C:/Users/Chloe/workspace/Tyger/app/views"
):
  app/controllers/posts_controller.rb:44:in `block (2 levels) in index'
  app/controllers/posts_controller.rb:43:in `index'

Notice it correctly selects theme bootstrap, but then tries to load a different template layout!
Here is my #theme selector in ApplicationController:
  theme lambda {|controller|
    puts "*** #{controller.session.to_json}"
    name = ['bootstrap', 'ancap'][controller.session[:theme].to_i]
    puts "*** loading theme #{name}"
    name
    }

Here is line 43 & 44 of posts_controller if you are curious:
respond_to do |format|
  format.html {render :index}

Every time I create a controller, I need to transfer files to a folder of the controller to the theme? No function built-in?
Example:
$ rails g themes_on_rails:generatelayouts SomeController
Just does'not exists in doc. about this.Thx.

authors: DenisKhomusyak starrychloe


text:
Problems to add new records using dbf.appendRecords(records)

Hi guys, I'ave problema to insert a new register to DBF file, mi error is the next:
Error: SALESDATE: expected a date
my code:
let records = [
{
CID: 'JN0LZGRL',
CM: '01',
SALESDATE: '15/03/23',
CCOD_DOC: '07',
CSER: '00B070',
CNUM: '0000000000241',
}
]
Help me pls

Hi Guys
The problem is solved with new Date() function, thanks

repo: yortus/DBFFile


text:
登陆的时候报错KeyError: 'pass_ticket'

File "C:/Users/Administrator/PycharmProjects/untitled/pppp.py", line 11, in
bot = Bot(cache_path=True)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\wxpy\api\bot.py", line 86, in init
loginCallback=login_callback, exitCallback=logout_callback
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\register.py", line 30, in auto_login
loginCallback=loginCallback, exitCallback=exitCallback)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\login.py", line 66, in login
self.show_mobile_login()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\login.py", line 212, in show_mobile_login
self.loginInfo['url'], self.loginInfo['pass_ticket'])
KeyError: 'pass_ticket'

web微信的登录接口被封了吧

2017年 07月 27日 星期四 14:51:04 CST 发现同样问题，目前机器人程序扫描二维码后报错无法登陆。

封网页版接口了  换个号就行了
On Thu, 27 Jul 2017 at 2:51 PM, Xingze Zhang notifications@github.com
wrote:

2017年 07月 27日 星期四 14:51:04 CST 发现同样问题，目前机器人程序扫描二维码后报错无法登陆。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/youfou/wxpy/issues/128#issuecomment-318275190, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOHG-h7leJxr6fYqDqtXrOMfRbxpnlZ_ks5sSDOLgaJpZM4Oj7yc
.

网页版接口一般封多久。同被封 求告知。thx

Mon Jul 31 13:57:01 CST 2017 依然在封，尚未解决。

我的大约两周一周多后解封了
On Mon, 31 Jul 2017 at 1:57 PM, Xingze Zhang notifications@github.com
wrote:

Mon Jul 31 13:57:01 CST 2017 依然在封，尚未解决。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/youfou/wxpy/issues/128#issuecomment-318975270, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOHG-j4n2ESHpaTco1MHkFN1es4pSh3xks5sTWzHgaJpZM4Oj7yc
.

我也被封了，只能等着自动解封吗？

从网页登录提示：
<error><ret>1203</ret><message>当前登录环境异常。为了你的帐号安全，暂时不能登录web微信。你可以通过手机客户端或者windows微信登录。</message></error>

2017年 8月 6日 星期日 15时43分24秒 CST依然在封印。

我的也被封了，测试的时候也没发几条信息啊，这在后边运行的时候岂不是会经常被封。

运行了20几天然后被封了哈哈。有意思。有没有什么办法能让其运行又一直不被封呢。好奇。

为啥我第一次运行，登陆一个新的微信号就出现了这个

测试出一个必封的逻辑： 微信IP vs 服务器IP 不在同一个网段。

我在同一个wifi下自己电脑上第一次运行就出现了

同样,第一次就出现这个问题
<error><ret>1203</ret><message>为了你的帐号安全，此微信号已不允许登录网页微信。你可以使用Windows微信或Mac微信在电脑端登录。Windows微信下载地址：https://pc.weixin.qq.com  Mac微信下载地址：https://mac.weixin.qq.com</message></error>

两个账号，一个可以登录，一个不能，在同一个网段。

本人测试，用了半年以上，绑定了银行卡，且经常使用微信支付的，不易被封。。 哎。。这就痛苦了。。

用了五六年的号，第一次就被封了

用了五六年的号，第一次也被封了，试了2个同事的主号，也一样

小白第一次试写了一个代码，大小号都上不去了，真的难受。

感觉这个网页版被封有点莫名其妙。
试着网页版微信登陆，出现问题是：无法访问此页面，请确保你已获取正确的网址: https://wx2.qq.com
无奈，再看看~~

就是无解的意思呗

authors: SGWADE3 aaronliruns andrewltx1984 caicai250 colin-zhou danyubaoqi diggzhang diqigan langhuanyudong luxuan28 melon157 mindcont outofsky ronething whalestore xgdgsc

repo: youfou/wxpy