text:
Apache store plugin

Environment

using v2.0.0-beta2
Apache 2.4.38 (compiled from source)
Windows Server 2016

Description

new user, so I may have done something wrong
the contents of the generated Certificates folder (C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Certificates) contains 7 files, and I am not sure which ones to use:

  ca-umz9yz4SYUGQm-esziIA9A-chain.pem
  ca-umz9yz4SYUGQm-esziIA9A-crt.der
  ca-umz9yz4SYUGQm-esziIA9A-crt.pem
  umz9yz4SYUGQm-esziIA9A-all.pfx
  umz9yz4SYUGQm-esziIA9A-crt.der
  umz9yz4SYUGQm-esziIA9A-crt.pem
  umz9yz4SYUGQm-esziIA9A-csr.pem

Here is the results of the wacs.exe step:
	[INFO] Authorize identifier: mysite.com
	 [INFO] Authorizing mysite.com using http-01 validation (FileSystem)
	 [INFO] Answer should now be browsable at http://mysite.com/.well-known/acme-challenge/pKbRDkkHF5--SpDioqu9sHRLgMsctBijNs2etdY4GSQ
	 [INFO] Preliminary validation looks good, but ACME will be more thorough...
	 [INFO] Authorization result: valid
	 [INFO] Requesting certificate mysite.com
	 [INFO] Saving certificate to C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Certificates
	 [INFO] Installing certificate in the certificate store
	 [INFO] Adding certificate mysite.com 2019/2/15 10:47:49 to store My
	 [INFO] Installing with None...
	 [INFO] Adding Task Scheduler entry with the following settings
	 [INFO] - Name win-acme renew (acme-v02.api.letsencrypt.org)
	 [INFO] - Path C:\ms4w\tools\win-acme
	 [INFO] - Command wacs.exe --renew --baseuri "https://acme-v02.api.letsencrypt.org/"
	 [INFO] - Start at 09:00:00
          [INFO] - Time limit 02:00:00

Here is more info on the installed renewal:
Renewal       ------------------------------------------------------------------------------------
 Id:                 umz9yz4SYUGQm-esziIA9A
 FriendlyName:       mysite.com
 .pfx password:      fdfdsfsd
 Renewal due:        2019/4/11 15:50:59
 Renewed:            1 time
 Target        ------------------------------------------------------------------------------------
  - Plugin:          Manual - (Manually input host names)
 Validation    ------------------------------------------------------------------------------------
  - Plugin:          FileSystem - (Save file on local or network path)
  - Path:            C:/ms4w/Apache/htdocs
  - Web.config:      Yes
 CSR           ------------------------------------------------------------------------------------
  - Plugin:          RSA - (Standard RSA key pair)
 Store         ------------------------------------------------------------------------------------
  - Plugin:          Store - (Windows Certificate Store)
 Installation  ------------------------------------------------------------------------------------
  - Plugin:          None - (Do not run any installation steps)
 History       ------------------------------------------------------------------------------------

 1: 2019/2/15 14:47:49 - Success - Thumbprint F0142541F1A5D7DD87FC31B1D288B7E18EA0DD1C

Questions

I don't see which file is the key?
I wonder if a Windows firewall caused a problem?
or I did something wrong otherwise?

You didn't do anything wrong, but the program stopped saving the private key to disk by default. To enable that set the SavePrivateKeyPem option in settings.config to True

I've cooked up a little store plugin for Apache by the way, so you can have nicely named .pem files in a folder of choice, rather than the randomly named versions you'll find in the certificate cache. That will be in the next build.

Highjacking this issue as a reminder to myself to update docs and release notes.

@WouterTinus thank you so much.  Works great

For good karma I'll follow this ticket and test whatever you add and give feedback.
Thanks again.

It would be nice if you could test!
There's a build deployed on my fork that you should try. What I've done is removed the SavePrivateKeyPem setting and instead added explicit command line options to tell the program that you're going to use Apache, i.e. --store apache --apachecertificatepath C:\apache\cert
I felt that the CertificateCache - with its weird file names - should be more 'private' to the program and therefor can be kept more clean, e.g. it doesn't contain all those .der and .pem files anymore. Instead they are written by request to the --apachecertificatepath. For now it's just the full chain certificate and the private key, because I think others were not needed in the first place, but let me know if that assumption is wrong.
Please let me know what you think of this change. If we like it, I'm also going to add a menu choice to the "Advanced" mode so that users can select a store plugin of their preference.
Also ping to @SteffenAL and @ekoome

Option is not on renewal (makes sense). So I created a new certificate with GUI.
It works !
Indeed nowadays only chain and private are needed (since 2014).
Hit now rate limit, so testing after a week again. (too many certificates already issued for exact set of domains)

Renamed because this will also be a feature for other applications, not just Apache.

I put up a build where the plugin is called --store pemfiles --pemfilepath C:\certs and the setting for the default path is called DefaultPemFilesPath in settings.config, to reflect that Apache is not the only webserver that requires .pem files to work with.
Also the PemFilePath and store type that are used can now be passed to an install script, bringing us a step closer to nice reusable scripts for Apache and such.
https://github.com/WouterTinus/win-acme/releases/tag/v2.0.0.173

These never-ending breaking changes to the once-to-be-usable application really drive me insane. Instead of a fire-and-forget SSL tool on my servers, I do have a pile of broken glass at least every 6 month. Now I'm getting my hands bloody again by picking up and fixing douzens of broken Apache SSL configurations on my Windows server.
Probably fixing it once again and never ever updating will be the best option. 😢
My actual question:
Are the above mentioned changed included in the v2.0.4 release?

Is this Apache documentation still up-to-date?
Because it talks about DefaultApachePath and here you talk about DefaultPemFilesPath and I'm really not sure how to get working certificates to my Apache again.

Yes, that Wiki is out of date and should be updated. Sometime during the beta test I realized that the .pem files have many more applications than just Apache, so that's when the parameter and plugins names were changed.
I'm sorry for your bad upgrade experience. If you've not completely deleted the old version yet, it's easy to go back.
The good news is that while Apache support used to be more or less based on hooks into win-acme implementation details (which have admittedly changed over time), with the 2.0 release it's a formal plugin with all the backwards compatibility promises that come with that.

Works great with v2.0.6  (and Apache 2.4)   !   Thank you again, from the east coast of Canada.

authors: SteffenAL UweKeim WouterTinus jmckenna

repo: PKISharp/win-acme


text:
UniDic-tdmelodicの配布に関する質問

素晴らしいプロジェクトをありがとうございます。
UniDic-tdmelodicの生成は少し手間がかかりそうです。UniDicとNEologdはどちらもオープンソースであると思いますが、何か辞書を直接配布できない理由が存在するのでしょうか？@tachi-hi

こんにちは。
ライセンス上は、おそらく可能なのではないかと思います。
現実的には、辞書を直接配布する場合の維持管理が困難と想定されたため、スクリプトのみ提供しています。（現在はNEologdの更新は休止状態のようですが、このプロジェクトを実際に進めていた2019年当時はNEologdが頻繁に更新されていました。このため、本家の更新に追従してその都度tdmelodic配布辞書もアップデートするという運用は少々ハードルが高かったという背景があります。）

source: gharchive/issue

repo: PKSHATechnology-Research/tdmelodic

license_type: permissive

license_source: github-api


text:
Fix typo

I think "SECERT" means "SECRET".
It is a typo.

Indeed it seems, thank you

source: gharchive/pull-request


text:
🛑 MUSA is down

In 422c5d8, MUSA (https://storemusa.com/) was down:

HTTP code: 403
Response time: 470 ms

Resolved: MUSA is back up in 7b42507 after 28 minutes.

repo: POCLANOS/status

license: MIT


text:
docs: website last updated at

Ref #2598

Very cool!

authors: aljazerzen max-sixty

repo: PRQL/prql


text:
Add environment and instructions for running psid_download.R

Been trying to run psid_download.R so thought I'd add some documentation and an environment file. It's not working yet, not sure why:
(ogusa-calibrate-dev-r) mghenis@penguin:~/PSLmodels/OG-USA-Calibration/ogusa_calibrate/data/PSID$ Rscript psid_download.R
[1] "Directory to save files = /home/mghenis/PSLmodels/OG-USA-Calibration/ogusa_calibrate/data/PSID"
[1] "Beginning to build panel"
INFO [2021-03-01 22:50:31] Will download missing datasets now
INFO [2021-03-01 22:50:31] will download family files: 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2003, 2005, 2007, 2009, 2011, 2013, 2015, 2017
INFO [2021-03-01 22:50:31] will download latest individual index: IND2017ER
This can take several hours/days to download.
 want to go ahead? give me 'yes' or 'no'.
INFO [2021-03-01 22:50:31] psidR: Loading Family data from .rda files
Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection
Calls: build.panel -> load -> readChar
In addition: Warning message:
In readChar(con, 5L, useBytes = TRUE) :
  cannot open file '/home/mghenis/PSLmodels/OG-USA-Calibration/ogusa_calibrate/data/PSID/': it is a directory
Execution halted

Also just a note that installing psidR from GitHub breaks for me too, so I'm using the CRAN install.packages version. Since I'm using R from conda, which is behind on devtools (v2.0.2 rather than the latest 2.3.2), the recommended installation command fails:
> library(devtools)
> install_github("psidR",username="floswald")
Error in parse_repo_spec(repo) : Invalid git repo specification: 'psidR'

When I try with the legacy syntax, I get a different error:
> install_github("floswald/psidR")
Downloading GitHub repo floswald/psidR@master
sh: 1: /bin/gtar: not found
sh: 1: /bin/gtar: not found
Error in system(cmd, intern = TRUE) : error in running command
In addition: Warning messages:
1: In system(cmd) : error in running command
2: In utils::untar(tarfile, ...) :
  ‘/bin/gtar -xf '/tmp/Rtmp92WJD4/file13235d01547a.tar.gz' -C '/tmp/Rtmp92WJD4/remotes132371ccdeb3'’ returned error code 127

I haven't tried running outside of conda, as different R installations have created issues for me in the past.
@prrathi how does this compare to issues you were experiencing?

@MaxGhenis I believe I've only run this program successfully using a non-Conda R installation and installing psidR from GitHub using devtools.

I added instructions to the README with steps that I think resolved my environment issue.
However I'm hitting this issue when executing the script.
(base) mghenis@penguin:~/PSLmodels/OG-USA-Calibration/ogusa_calibrate/data/PSID$ Rscript psid_download.R
/bin/bash: /home/mghenis/anaconda3/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/usr/lib/R/bin/exec/R: /home/mghenis/anaconda3/lib/libtinfo.so.6: no version information available (required by /lib/x86_64-linux-gnu/libreadline.so.7)
[1] "Directory to save files = /home/mghenis/PSLmodels/OG-USA-Calibration/ogusa_calibrate/data/PSID"
[1] "Beginning to build panel"
INFO [2021-03-02 20:37:25] Will download missing datasets now
INFO [2021-03-02 20:37:25] will download family files: 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2003, 2005, 2007, 2009, 2011, 2013, 2015, 2017
INFO [2021-03-02 20:37:25] will download latest individual index: IND2017ER
This can take several hours/days to download.
 want to go ahead? give me 'yes' or 'no'.
INFO [2021-03-02 20:37:25] psidR: Loading Family data from .rda files
Error in load(file = ind.file, envir = tmp.env) :
  restore file may be empty -- no data loaded
Calls: build.panel -> load
In addition: Warning messages:
1: In readChar(con, 5L, useBytes = TRUE) : error reading the file
2: file ‘PSID’ has magic number ''
  Use of save versions prior to 2 is deprecated
Execution halted

This seems to be from the line
psid_df <- build.panel(datadir=mydir, fam.vars=famvars, ind.vars=indvars, sample="SRC", design='all')

Others have run into this but the suggestions aren't super useful. This has also come up in https://github.com/floswald/psidR/issues/39, and I tried setting data.dir=NULL as they did, but then got this error:
Error in build.panel(datadir = NULL, fam.vars = famvars, ind.vars = indvars,  :
  No .rda or .RData files found in directory
 you need to download data first.

@jdebacker would you be up to give this a shot? Or do you recall if you had some other file somewhere not in the current directory structure to make it work?

@MaxGhenis Thanks for pinging me.  I'll take a look and see if I can provide some helpful direction.

@MaxGhenis I am able to successfully run the psid_download.R script in the repository.  I cannot run it from my conda R installation (which just goes on forever when I try to install devtools.  I need to run from RStudio ("R version 4.0.3 (2020-10-10)") and do so with the source('psid_download.R') in the console (otherwise I am not able to respond to the yes/no prompt to download.

authors: MaxGhenis jdebacker

repo: PSLmodels/OG-USA-Calibration


text:
Poor flight path following during FW final auto landing approach

Describe the bug
Although the FW plane flies auto missions exceptionally well, the plane struggles to follow a straight path on the final landing approach--and only on the final landing approach. Instead, it swerves (sometimes very aggressively) as it descends.
I have ruled out the plane losing control due to stalling as the stall speed is about 11 m/s. The plane remains at about 13 m/s during the landing approach. See the logs below.
It seems as though the plane is overcorrecting its yaw angle. However, this seems to happen only during the landing approach. While cruising, the plane does very well at compensating for wind and remains very stable.
To Reproduce
Steps to reproduce the behavior:
The only step to reproduce the behavior is to fly an auto mission including an auto landing.
Expected behavior
The plane should fly in a straight line throughout its final approach and not swerve.
Log Files and Screenshots
Here are three separate flights with the same behavior. These flights were all conducted at the same site in roughly the same conditions, but this behavior has been experienced in all wind conditions, terrain, etc. that I have tested it in.
https://logs.px4.io/plot_app?log=94994303-2e07-4a8d-8796-04ffb223ea72
https://logs.px4.io/plot_app?log=ac1454a6-9d4f-4c8c-8cde-a53ccad1a2a9
https://logs.px4.io/plot_app?log=aacc386a-5f6d-4945-bda2-143f521e23fd
Add screenshots to help explain your problem.

Drone (please complete the following information):
I am using a Finwing Penguin FPV airframe with a Pixhawk 2.1 running PX4 1.8.1.
Additional context
The plane has flaps enabled which do deploy as the plane is coming in for landing. However, these flaps don't seem to affect the flight path during any other portion of the auto missions so I doubt that they are the cause.

Hello @zanemountcastle .  I see a couple issues based on a quick glance at your logs:

you are using the default inner loop gains and they seem to be driving your yaw and roll way too hard.  Look at your yaw and roll angles and yaw and roll rates in the Flight Review logs, the estimated values are oscillating strongly above and below the setpoints.  You could get a lot better flight control if you tuned your gains.  Gains tuning is often more art than science on opensource autopilot systems - be sure you have a safety pilot with manual control ready!
https://docs.px4.io/en/config_fw/pid_tuning_guide_fixedwing.html

You have Flaperon's enabled which I think are causing the flaps to also be acting as additional ailerons on landing which is worsening your roll control, it seems to be lagging badly behind the setpoint.

My recommendation:
Step 1 is gains tuning.
Step 2 is Flaps and Flaperon tuning.
(P.S. you might consider RTL_TYPE = 1 if you want the vehicle to immediately break off mission and come straight into the landing pattern, up to you).

authors: Antiheavy zanemountcastle


text:
Look at the problem and find the problem. Please.

https://logs.px4.io/plot_app?log=0e563fd9-beca-4983-93df-8fcbe7a6e503
Look at the problem and find the problem. Please.

Could you please provide a proper issue description? "It doesn't work" is not good enough and we don't have time to reverse-engineer what issue you had. Please tell us what we should be looking for and what you observed.

Closing as stale.

The very high gyro noise is also an issue: https://logs.px4.io/plot_app?log=0e563fd9-beca-4983-93df-8fcbe7a6e503#Nav-Raw-Angular-Speed-Gyroscope


text:
FTP download streaming

This is a WIP pull for streaming download in FTP to increase speed. The companion pull in QGC for this is here: https://github.com/mavlink/qgroundcontrol/pull/1453. Looking for some debugging help.
FTP is now implemented as a MavlinkStream using parameters as an example. It will continuously send packets until the mavlink output buffer is filled when MavlinkFTP::send is called. When you initiate a download of a large file like a log file from QGC there ends up being a large delay before the first packet comes across. Once the first packet comes the rest will all follow and the download will complete. The QGC pull has a bogus huge timeout set to wait for the first packet. It almost seems like the firmware side sits in a loop push all available packets out before they make it to the QGC side of things.
Looking for some help to figure out what is going on here before I have to break out the BlackMagic myself. But that will take me days to figure out how to do that again.

@DonLakeFlyer as i understand with that change FTP will support only one session?
Other changes looks compatible with ftp plugin.

Yes. The multiple sessions was making the code too complex and it didn’t seem valuable so I removed it. Other than that all existing commands are the same. The stream download is new.

On Apr 15, 2015, at 2:03 AM, Vladimir Ermakov notifications@github.com wrote:
@DonLakeFlyer https://github.com/DonLakeFlyer as i understand with that change FTP will support only one session?
Other changes looks compatible with ftp plugin.
—
Reply to this email directly or view it on GitHub https://github.com/PX4/Firmware/pull/2026#issuecomment-93272532.

@LorenzMeier Any time to look at this. It likely fixes the other timeout ack issues as well.

@DonLakeFlyer The transfer starts for me immediately, but I do run into a Nack after a short time before all folders have been listed.

I'll get back to this after I'm done my big calibration pull. The Nak on file listing has been around for a while. Can't seem to track that one down.

FYI: I'm 'getting back to this now.

Pulling this back to put together a new one.

authors: DonLakeFlyer LorenzMeier vooon


text:
转换规则 No.48 RNNBase

PR Docs

https://github.com/PaddlePaddle/docs/pull/5973

PR APIs

torch.nn.RNNBase

https://github.com/PaddlePaddle/PaConvert/issues/112

请解决下冲突

repo: PaddlePaddle/PaConvert


text:
Cuda manual seed all

PR Docs
https://github.com/PaddlePaddle/docs/pull/6100
PR APIs
 torch.cuda.manual_seed_all
torch.cuda.initial_seed()

LGTM，顺便补一下torch.cuda.initial_seed的文档吧

done  https://github.com/PaddlePaddle/docs/pull/6111


text:
aistudio中，notebook中的任务可以运行，使用离线任务就失败

unique_endpoints {'job-12de6b177ca9e83312f6df99861d83a9-trainer-0.job-12de6b177ca9e83312f6df99861d83a9:12345'}
任务链接：https://aistudio.baidu.com/aistudio/projectdetail/3684304?contributionType=1

李离线任务是怎么启动的呢？

在codelab中，添加后台任务
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年3月28日(星期一) 下午5:21
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [PaddlePaddle/PaddleClas] aistudio中，notebook中的任务可以运行，使用离线任务就失败 (Issue #1786)
李离线任务是怎么启动的呢？
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

repo: PaddlePaddle/PaddleClas


text:
test_tme

PR types
others
PR changes
others
Describe
others

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.heya02 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant hysunflower

repo: PaddlePaddle/PaddleFlow


text:
[Question]:

请提出你的问题
在运行train.py有以下问题，有那位大神指点一下
r/special_tokens_map.json
Traceback (most recent call last):
File "train.py", line 244, in
do_train()
File "train.py", line 216, in do_train
loss.backward()
AttributeError: 'NoneType' object has no attribute 'backward'

请参考别的issue提供更多信息

repo: PaddlePaddle/PaddleNLP


text:
[Bug Fix] fix allreduce tensor dtype

Reason: some CCL not support bool dtype

PR types

Bug fixes
PR changes

Others
Description

update is_resume_from_checkpoint tensor dtype from bool to int8 because some CCL not support bool dtype.

可以帮忙合入一下吗？ @wawltor


text:
dygraph下cs调用 dll 报错：System.AccessViolationException"尝试读取或写入受保护的内存。这通常指示其他内存已损坏。"

是否内存的问题

DLL是怎么编译的 ，比如Init接口、报错的ModelPredict接口怎么写的？

抱歉，我们提供的代码这个地方写错了，图片是3通道的，这里的4应该改成3

@FlyingQianMM 这个我改成3了，也没解决，依旧有问题！！！

兄弟，解决了吗，好像不是内存和参数的问题，我都调试过了，没有用！！！

authors: FlyingQianMM heliqi liutianwen12138 usuixingyili

repo: PaddlePaddle/PaddleX


text:
[openvino]add hrnet and python support

1、add hrnet with cpp
2、add classifier with python
3、add paddle2openvino convertor with python

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

authors: CLAassistant syyxsxx


text:
Docs change

此为PR说明模版
如提交的为部署C++代码，请确认以下自测点是否完成（完成勾选即可），并保留以下的自测点列表，便于Reviewer知晓。

[ ] Linux下测试通过

[ ] batch = 1 预测

[ ] batch > 1预测

[ ] 多GPU卡预测

[ ] TensorRT预测

[ ] Triton预测

[ ] Windows下测试通过

[ ] batch = 1预测

[ ] batch > 1预测

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 6 committers have signed the CLA.:white_check_mark: liu-jiaxuan:white_check_mark: cuicheng01:white_check_mark: zhangyubo0722:white_check_mark: Sunting78:white_check_mark: liuhongen1234567:x: AmberC0209You have signed the CLA already but the status is still pending? Let us recheck it.


text:
🛑 pan.dev is down

In 963b77a, pan.dev (https://pan.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pan.dev is back up in 79e68ba.


text:
页面刷新上来如何默认展开一级菜单

例如这样的默认展开一级菜单：

同问

这个需求其实更应该去向 element-ui 提。

同问

src\views\layout\components\Sidebar\index.vue 文件里面 :default-active="XXXX"即是对默认展开项的设定，我是这么做的，
`// 第一次登陆展开默认菜单 后期缓存所点击的菜单防止刷新丢失
if (this.$route.redirectedFrom) {
  this.defaultActive = this.$route.redirectedFrom
  sessionStorage.setItem('defaultActive', JSON.stringify(this.defaultActive))
} else if (JSON.parse(sessionStorage.getItem('defaultActive'))) {
  this.defaultActive = JSON.parse(sessionStorage.getItem('defaultActive'))
}`

authors: PanJiaChen huf307012 jaihao kongdexiaochina xlliu

repo: PanJiaChen/vue-admin-template


text:
为什么安装完modules包后启动会报这个错

in ./src/main.js
Syntax Error: D:\用户目录\下载\vue-admin-template-master\node_modules\eslint\lib\rules\no-octal-escape.js:41
/^(?:[^\]|\.)*?\([0-3][0-7]{1,2}|[4-7][0-7]|0(?=[89])|[1-7])/su
^
SyntaxError: Invalid regular expression flags
at Array.forEach ()
@ multi (webpack)-dev-server/client?http://192.168.31.113:9528&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

同样遇到这个问题，参考https://stackoverflow.com/questions/59226348/eslint-syntaxerror-invalid-regular-expression-flags-regex
之前环境 Mac node-v8.9.4/npm-v6.12.0，参考stackoverflow提示应该是需要升级默认node版本，通过nvm管理设置默认的node版本为v12.4.0后，不再报错，可以试一下


text:
Slow performance open/hide sidebar with iframe

Bug report（问题描述）
Steps to reproduce（问题复现步骤）

Screenshot or Gif（截图或动态图）

Reproduction
In my real use case, I have an iframe with a lot more content from Metabase (https://www.metabase.com/docs/latest/administration-guide/13-embedding.html) but you can see the performance decreasing even if you're iframing a youtube video (although less visible):

<template>

</template>

Other relevant information（格外信息）

Your OS: Win10 Pro
Browser: Latest Edge (Chromium)
Node.js version: Latest
vue-element-admin version: Latest

iframe  fixed width

authors: RuytzzZ sabatale

repo: PanJiaChen/vue-element-admin


text:
路由里面的meta： { roles：[] }权限问题

,这个数组不是前端写死的，是后台返回的怎么做呢？，如果后台根据用户role返回用户所有的路由信息，前端显示简单，还是把路由的meta.roles返回前端展示，哪一个比较简单呢

我个人倾向和实际业务中都是前端来存储和控制路由的，后端只返回一个权限，前端根据权限动态生成路由。

那每加个角色 ，更改个角色都要前端改js啊

各有利弊了，后端的话你没新增一个路由也不是要通知后端。或者你可以结合两者，在前台做一个路由可视化配置的页面。

那就是，可视化配置路由，保存写到js文件里

或者做个页面，后端保存就写js路由

这个前端不写死的话, webpack能够打包编译所有信息吗?  我是在加载路由的时候重新过滤了一遍路由

我现在有个处理方案：
1，/router/index.js 里面的asyncRouterMap相当于本地所有的菜单数据，每级别必须配置meta: {title:"ify",roles: [] }, children: [{meta: {title:"ify",roles: [] }}]  相当于本地默认的这个都是没有权限的。 除了公共显示的，不需要配置roles
2，在合并路由之前：GenerateRoutes 这个方法： 通过后台返回配置的权限表，合并进去
//后台返回的权限表，结构和本地的asyncRouterMap层级一致
`let rolePaths = [{
meta: {
title: 'example',
roles: ['admin', 'editor']
},
children: [{
meta: {
title: 'createArticle',
roles: []
}
}]
}, {
meta: {
title: 'table',
roles: ['admin', 'editor']
},
children: [{
meta: {
title: 'dynamicTable',
roles: ['admin', 'editor']
}
}, {
meta: {
title: 'complexTable',
roles: ['editor']
}
}]
}]
     //判断是否是管理员
    if (roles.indexOf('admin') >= 0) {
      //动态给所有权限
      for (let j = 0; j < asyncRouterMap_copy.length; j++) {
        if ('roles' in asyncRouterMap_copy[j]['meta']) {
          asyncRouterMap_copy[j]['meta']['roles'] = ['admin'];
        }
        if ('children' in asyncRouterMap_copy[j]) {
          for (let k = 0; k < asyncRouterMap_copy[j]['children'].length; k++) {
            asyncRouterMap_copy[j]['children'][k]['meta']['roles'] = ['admin'];
          }
        }
      }
    } else {
      //如果不是全局配置的管理员
      //判断后端正确返回的路由表
      if (rolePaths.length <= 0) {
        asyncRouterMap_copy = []
      } else {
        for (let j = 0; j < asyncRouterMap_copy.length; j++) {
          for (let i = 0; i < rolePaths.length; i++) {
            //遍历父级
            if (rolePaths[i]['meta']['title'] === asyncRouterMap_copy[j]['meta']['title']) {
              asyncRouterMap_copy[j]['meta']['roles'] = rolePaths[i]['meta']['roles']
            }

            //遍历子级
            if ('children' in asyncRouterMap_copy[j]) {
              for (let k = 0; k < asyncRouterMap_copy[j]['children'].length; k++) {

                if ('children' in rolePaths[i]) {
                  for (let e = 0; e < rolePaths[i]['children'].length; e++) {
                    if (asyncRouterMap_copy[j]['children'][k]['meta']['title'] === rolePaths[i]['children'][e]['meta']['title']) {
                      asyncRouterMap_copy[j]['children'][k]['meta']['roles'] = rolePaths[i]['children'][e]['meta']['roles']
                    }
                  }
                }
              }
            }

          }
        }
      }
    }

`

实际上是一个动态生成的路由过程，前端的路由列表跟后端返回的路由列表做匹配，重新生成路由列表

authors: 107295472 PanJiaChen SoyMeng baidan chengmanxiang zsedcbm


text:
修改MDinput组件

使之能使用elementui的表单验证功能
增加icon属性，能够使用elementui的图标
优化显示效果
修改MdInput的demo

首先感谢你的pr 👍
对MDinput 的修改很不错
不过固定顶部导航栏这个问题值得商榷，我看了一些主流的admin 都没有固定导航栏，个人感觉不是一个大众普遍的选择，而且本项目已提供了sticky组件，所以我觉得没必要默认固定导航栏，有需求的可以自行添加

@leij1ang 建议可以修改MDinput组件 这个单独提一个pr

@PanJiaChen 已经pr


text:
FI: Clas Ohlson

Brand :  Clas Ohlson
Category : doityourself
Opening rule : shops open with adapted opening hours
Wikipedia / Wikidata :  https://fi.wikipedia.org/wiki/Clas_Ohlson
Opening hours : https://www.clasohlson.com/fi/store-finder
Source :   https://www.clasohlson.com/fi/covid19

Integrated, thanks :+1:

authors: PanierAvide lehtojaa


text:
Optimisation

Continue https://github.com/PaperMC/Hangar/pull/189 to get an even smaller output js file for builds

If we do need more control, we might reconsider this, for now it's not needed.
Before opening any other pull request I ask you to discuss any changes with us in discord.

https://github.com/PaperMC/Hangar/pull/189
Please read the responses you get. This is the exact same PR, except more of what was rejected.

Before opening any other pull request I ask you to discuss any changes with us in discord.

authors: Proximyst md678685 steviebeenz

repo: PaperMC/Hangar


text:
feat(misc/assets): Add Hangar branding guidelines

in discord

as there are no existing guidelines (to my knowledge), this needs a go-ahead from the core/Hangar team
otherwise seems to be fine, considering the logo mark looks to be a derivative of the Paper one

Is there a reason why it's between Paper and Velocity and not after Velocity? Just curious. 😄

Is there a reason why it's between Paper and Velocity and not after Velocity? Just curious.

It doesn't make any sense, it's just that I think the icon of papermc is more similar to hanger.

authors: Leguan16 MC-XiaoHei zlataovce

repo: PaperMC/docs


text:
Parse file upload progress

does it support upload progress %?

Hi , Yes you can add progress for both uploading and downloading of Parse files.
You can read more about it here:
http://parseplatform.github.io/docs/ios/guide/#files  (for IOS)
http://parseplatform.github.io/docs/android/guide/#files (for Android)

authors: jjdp ranhsd

repo: ParsePlatform/parse-server


text:
Argparse refactor

Remove docopt dependencies and switch command line handling to argparse. Discussion in this issue.

Thank you for this!  We should try to do something to address the giant hit to our coverage though, even if it's just temporarily making coverage ignore shell scripts.

Did some more refactoring for python3 support and now I get a random test failure in python2.7 in some unrelated code:
test_exception_handling (test.streamparse.test_bolt.BatchingBoltTests)
I added some tests, which should also help with the coverage. The tests are pretty basic and just check that the subparsers are getting added, and more can be added if needed.

Thanks @hodgesds.  The random BatchingBolt failures are one of the main reasons behind #137.  Once that gets reviewed/merged, those will go away.

authors: dan-blanchard hodgesds

repo: Parsely/streamparse

license_source: bigquery


text:
python-tonado: add recipe

python-tornado 4.x is needed by Mopidy. meta-oe is currently provides
version 5 only.
Signed-off-by: Oleksandr Kravchuk oleksandr.kravchuk@pelagicore.com

Is this work  to get python2 on thud for Mopidy?

Is this work to get python2 on thud for Mopidy?

Not the python2, but the specific package, python-tornado that mopidy depends on.

It would be good to give some more background details for this change in the commit message. For example that yocto has removed python2 in thud and mopidy doesn't support python3 and that this should be removed once Mopidy supports python3 yada yada.

authors: TSAnsari sashko

repo: Pelagicore/meta-pelux

license: mit


text:
Disable ZTN authentication on Pelican origins

Caches cannot talk ZTN so this never worked anyhow.  Further, if a non-Pelican cache tries to talk to a Pelican origin over the xrootd protocol, by having ZTN enabled anonymous sessions are forbidden.
This change will allow anonymous sessions for the xrootd origin, meaning that requests must be authorized by tokens.
Fixes #1375

Note: this got tested by hand on ap40.  Verified both the positive case (non-Pelican caches began working with the origin) and the negative case (could not access the data without a token).
Once @jhiemstrawisc is happy, I think this can go in and be backported to the 7.8.x series.

repo: PelicanPlatform/pelican


text:
game crashing

crash-2016-10-24_14.10.45-server.txt
latest forge, minecraft 10.2, latest mod version

Under what circumstance does this happen as this report is useless without context as it references vanilla code only.

No reply so closing.

repo: PenguinSquad/Harvest-Festival


text:
trying to use GitHub Wiki, unable to get images to display

I need some help using the GitHub Wiki, if that is where we are going to do our detailed designs and developer notes, for example, I wanted to put a procedure for setting up development environment on Ubuntu, but was unable to get the images (screenshots) to display. I'm tired and calling it quits for tonight.

I put the files here that I want as a Wiki, file:///C:/Users/SHup/Google%20Drive/AdvancedSoftwareEngStudio/figures/Wikis/Webstorm%20and%20NodeJS%20on%20Utuntu%20Desktop%20Notes.htm

Does this work?
https://help.github.com/articles/adding-images-to-wikis/
On Sun, May 22, 2016 at 6:39 PM Josh Sherman notifications@github.com
wrote:

I need some help using the GitHub Wiki, if that is where we are going to
do our detailed designs and developer notes, for example, I wanted to put a
procedure for setting up development environment on Ubuntu, but was unable
to get the images (screenshots) to display. I'm tired and calling it quits
for tonight.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/PennStateSoftwareTest/FinalProjectPennState/issues/79

If you want to put graphics in the Wiki, then they have to already be on the internet. The Wiki does not allow you to upload any graphics or attachments. Therefore, any developer notes that I create, having screenshots will be placed in our Drive folder. Talk to you this evening.

authors: JoshuaVSherman nevinsjr


text:
Remove pybind11 modules from Catalyst's core MLIR libs

Context:
Catalyst's core MLIR libraries originally contained two Python extension modules (importable Python modules written in C/C++):

mlir/python/PyCompilerDriver.cpp
mlir/python/QuantumExtension.cpp

The Python-C++ bindings were originally implemented using pybind11. This PR is part of a larger effort to replace all pybind11 code with nanobind to to align with our adoption of Python's stable ABI.
However, mlir/python/PyCompilerDriver.cpp was removed in PR #1285, and furthermore we have decided to deprecate mlir/python/QuantumExtension.cpp entirely since it was not included in the distributed wheels. Therefore, we can remove all pybind11 code in Catalyst's core MLIR libs, with no need to replace these modules with nanobind.
Description of the Change:
~This change replaces all the pybind11 code in mlir/python/PyCompilerDriver.cpp with the equivalent nanobind objects and operations.~
This change removes the MLIR python module QuantumExtension entirely, along with associated tests and infrastructure, since (a) it depends on upstream MLIR Python bindings written in pybind11: mlir/Bindings/Python/PybindAdaptors.h, which would be quite onerous to port to nanobind, and (b) we do not actually use these dialect extensions, nor do we ship them with our wheels.
Benefits:
See Epic 68472 for a list of nanobind's benefits.

[sc-72842]

Not sure what Codecov is on about :confused:

repo: PennyLaneAI/catalyst


text:
Change password module

Description
Please include a summary of the change and which issue is fixed, or what the enhancement does.
Please also include relevant motivation and context.
List any dependencies that are required for this change.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This requires a third party update (such as Impacket, Dploot, lsassy, etc)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes (e2e, single commands, etc)
Please also list any relevant details for your test configuration, such as your locally running machine Python version & OS, as well as the target(s) you tested against, including software versions
If you are using poetry, you can easily run tests via:
poetry run python tests/e2e_tests.py -t $TARGET -u $USER -p $PASSWORD
There are additional options like --errors to display ALL errors (some may not be failures), --poetry (output will include the poetry run prepended), --line-num $START-$END $SINGLE for only running a subset
Screenshots (if appropriate):
Screenshots are always nice to have and can give a visual representation of the change.
If appropriate include before and after screenshot(s) to show which results are to be expected.
Checklist:

[ ] I have ran Ruff against my changes (via poetry: poetry run python -m ruff check . --preview, use --fix to automatically fix what it can)
[ ] I have added or updated the tests/e2e_commands.txt file if necessary
[ ] New and existing e2e tests pass locally with my changes
[ ] My code follows the style guidelines of this project (should be covered by Ruff above)
[ ] If reliant on third party dependencies, such as Impacket, dploot, lsassy, etc, I have linked the relevant PRs in those projects
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (PR here: https://github.com/Pennyw0rth/NetExec-Wiki)

Hello @FaganAfandiyev ans thanks for the pr, can you complete the template of the pr ?

authors: FaganAfandiyev mpgn


text:
Fix/#234

작업내용
Core Module

UserDefaultsWrapper 구현

AppGroupUserDefaults 사용시 앱을 제거해도 저장값이 리셋되지 않아 standard에 앱 설치여부를 판단하는 값을 추가해 리셋

CoreDataService

CloudKit 사용 가능 여부를 판단해 CloudKit 연동
CoreDataPersistence를 추가해 마이그레이션 필요 여부 확인
마이그레이션 비동기 처리
StoreStatus를 추가해 마이그레이션 완료 상태 확인
fetch 함수 Observable 리턴 형태로 수정
중복 저장하지 않는 saveUniqueData 함수 구현
delete 함수가 잘못된 값을 삭제하던 버그 수정
디버깅 로그 강화

즐겨찾기

모델링 변경 FavoritesBusStopResponse -> FavoritesBusResponse
새로운 모델로 마이그레이션

복잡도를 고려해 구현
네트워킹 요청 병렬처리

정규알람

모델의 프로퍼티 adirection 추가

MO(CoreData Managed Object) 경량 마이그레이션

Tuist 설정 추가

서버 싱크 함수 로직 수정

함수 분리
복잡도 개선
디버깅 로그 강화

알람추가뷰 알람 수정시 DatePicker 현재시간 -> 편집하는 알람 시간 으로 수정

위젯

DynamicOptionsProvider result() 로직 구현
컴파일 에러 수정

리뷰요청

@isakatty

관련 이슈
close #234

드디어 1회독 완,, 수고하셨습니다.. 특히 데이터 싱크 맞추는거.. 코드 따라가다보니 정신이 아찔 할 정도네요.. 고생 많으셨습니다 👍🏼👍🏼

고생하셨습니다...! 저도 다본다고 봤는데
CoreDataService쪽은 어느정도 습득이 되었는데요..
repository쪽 로직 흐름이 줄줄이 이어져있다 보니까 중간에 놓치거나 까먹네요ㅠㅠ
흐름을 파악하고 기록할 좋은 방법이 있을까요..

authors: MUKER-WON gnksbm yuhaeun-la

repo: Pepsi-Club/WhereMyBus-iOS


text:
fix(orbitdb): Disconnecting from old orbitDBs before connecting to ne…

…w ones

:tada: This PR is included in version 6.8.12 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


text:
Question: possible to define multiple content block editors?

Quick question; is it possible to have multiple ContentBlock editors with their own configuration? For example in a multi-tenant set-up?
One way I can think of is to have different header and content categories for each editor, is this the way to go?

It is currently not possible to define separate category names for different block editors.
There is exactly 1 set of categories that is used by all editors you create.
However, you can limit content blocks themselves to either a culture or a document type (see here, look for LimitToDocumentTypes and LimitToCultures).
That way it is possible to offer different sets of blocks to different tenants, assuming each tenant has their own culture or set of doctypes.

Check, I think the LimitToDocumentTypes is suffice in this situation :-)

authors: PerplexDaniel stefankip


text:
Evaluation metrics

Hi,
Great job!
For a fair comparison, is it possible to share the evaluation metrics code in the paper?
Thanks

@andreyryabtsev Do you still have the eval script?

Thanks! Here is my email: qiqi2@pdx.edu. You can share with me the functions to get the MSE, SAD, Grad, Conn for alpha. and MSE for FG.

Hi, i also need  the evaluation metrics code in the paper. Can you share with me the functions to get the MSE, SAD, Grad, Conn for alpha ? And MSE for FG ?

I will upload the code to GitHub repo later for everyone's use then.

I have uploaded the eval code used by @andreyryabtsev to /eval folder.
We simply used the Matlab/Octave code provided by https://openaccess.thecvf.com/content_cvpr_2017/html/Xu_Deep_Image_Matting_CVPR_2017_paper.html

Thank you very much!

Thank you very much!

你是怎么算指标的啊，相比三分图只计算边缘部分的像素，


text:
Include Original Steam Assets

Is your feature request related to a problem? Please describe.
I have a game purchased outside of steam but was able to load it as a non-steam game on my steam deck. IT does have a official steam game as well. Trying to get art assets using boilr , there were no user assets uploaded via steamgriddb , however it did have original steam assets , which did not pull down using boilr.

Just showing it had the right ID and name

Here is the game entry: https://www.steamgriddb.com/game/5270467

Describe the solution you'd like
I'd like Boilr to include the original assets or have a option to pull them if there are no uploaded assets.

Describe alternatives you've considered
I ended up using SGDBoop to download/load the assets

This would be a really useful feature. I have games that I have purchased from GOG that have official artwork but no user submitted artwork.

This would be tremendously helpful, hope to see it implemented.

To help implementation, this is the information I could find to fetch the original Steam image assets.
It's probably not very hard to implement, since the game ids are known. I would definitely try to contribute if a knew Rust. Hopefully this information encourages a contribution 😄
Header https://cdn.cloudflare.steamstatic.com/steam/apps/{STEAMID}/header.jpg. Example: link
Capsule https://cdn.cloudflare.steamstatic.com/steam/apps/{STEAMID}/library_600x900_2x.jpg. Example: link
Hero https://cdn.cloudflare.steamstatic.com/steam/apps/{STEAMID}/library_hero.jpg. Example: link
Logo https://cdn.cloudflare.steamstatic.com/steam/apps/{STEAMID}/logo.png. Example: link
Source: SteamGridDB plugin for the Steam Deck

repo: PhilipK/BoilR


text:
allow empty or unknown device type

https://github.com/PhilipMay/smart-prom-next/blob/9a4aba9ae70140aa30b74194122188b127e27ec0/smart_prom_next/smart_prom_next.py#L348

done

repo: PhilipMay/smart-prom-next


text:
Error checking

We cannot raise Python exceptions from our custom XLA calls, so we need some other mechanism to tell users when an MPI exception occurred.
I see a couple of different ways forward:

Do a hard abort with a message to stderr whenever an MPI function returns an error code (probably best combined with a call to MPI_Abort)
Return the error code and let the user code handle it

Not sure how useful 2 is though, since you can't raise from jitted code.

I'd vote for option 1

authors: PhilipVinc dionhaefner


text:
Detects Plex and My Content, but No Rich Presence?

Hi!
I've set up the application and all seems fine, but Rich Presence does not show up on Discord?
I even tried using pyInstaller to make it an executable since I know that things like EasyRP need to be selected as a game in order to work, but still no luck. Any ideas? Am I doing something wrong?
I'm running Windows 10 with Python 3.6.4 64-bit
Console Screenshot:

Folder:

Discord:

Thanks in advance!

It won't work if you make it an executable and add it as a game on Discord. The script creates a separate process to pass to Discord and the executable added as a game might be overriding the rich presence of this process.
According to your console screenshot, the plexapi module doesn't seem to be receiving alerts about your Plex activity. Another person recently had the same issue (#8) and we found out that it was caused by the latest version of websocket-client which is used by plexapi. Install websocket-client version 0.48.0 by running pip install websocket-client==0.48.0 and let me know if it works.

Ah, okay! One step closer! I installed WebSocket Client and now I'm seeing the console say it's found a session and whatnot. Unfortunately, there seems to be a permission error? Something with HandShake.

Try running it as an administrator.

I am having the same issue, nothing seems to fix it. I even downgraded my version of Python

I am having the same issue, nothing seems to fix it. I even downgraded my version of Python.
This has been happening ever since I updated the script to this newer version

Did you downgrade websocket-client to 0.48.0 by running pip install websocket-client==0.48.0? The script isn't receiving alerts from Plex and that happens when you're using the newest version of websocket-client. Run pip show websocket-client to check which version you're using.

Thank you, this fixed the issue

Sorry for dropping this thread. I have gotten your script to work and all is well except for the fact that Discord does not recognize it when adding it as a game. No errors in the console regarding this, so I'm not sure what's going on.

That's normal, you're not required to add it as a game manually.

Oh, my bad. Well, I decided to re-download since my copy of the script is a few months old, but still nothing. It runs fine and detects everything, but I'm getting nothing on Discord. Any ideas?

Can you send a screenshot of the console?

Yes, but I've just made an interesting development. Previously, I was using my email as the username to connent to my account, since I had the setting to use my username on login disabled. Apparently, this must have been interfering somehow. I am now using my username to login and the console is completely different. Seems like everything worked except for a handshake with Discord?

Method of logging in doesn't affect it. Not sure why this would be required but can you try running it as an administrator? Run command prompt as an administrator and run the script through it by running python <script file path>.

That's strange since it works for me and others without administrator privileges. Not sure what could be wrong but good enough for now as long as it works this way I guess.


text:
Write a nice API for line plots too

Something like:
plot([(x1,y1),(x2,y2),(x3,y3),(x4,y4)])
# or
plot([x1, x2, x3, x4], [y1, y2, y3, y4])

And which would work with numpy arrays as well, of course. ;)

In matplotlib (hence in replot), the following API calls are already valid:
plot([x1, x2, x3, x4], [y1, y2, y3, y4])  # exactly what you want, broken line
# and
plot([(x1,y1),(x2,y2),(x3,y3),(x4,y4)])  # not sure what does matplotlib with it though

Question would then rather be : how to plot discrete X vs Y series I guess?

For now the API is:

Plot a broken line:

figure.plot([x1, x2, x3, x4], [y1, y2, y3, y4])

Plot a discrete set of points (although limited by https://github.com/Phyks/replot/issues/11):

figure.plot([x1, x2, x3, x4], [y1, y2, y3, y4], "+")

There could be a scatter method to alias this and mimick the pyplot.scatter method. What do you think?

Plotting multiple lines:

figure.plot([(1,1), (2,2), (2, 2), (3, 4)])

which is equivalent to
figure.plot([1, 2, 2, 3])
figure.plot([1, 2, 2, 4])

The last code block look weird...

The last code block is just two different plots on the same figure.

TLDR:

[ ] Mimmick pyplot.scatter method.

authors: Phyks eliemichel

repo: Phyks/replot


text:
Upgrade org.pitest:pitest-maven 1.7.6 -> 1.8.0

This PR contains the following updates:

Package
Type
Update
Change

org.pitest:pitest-maven (source)
build
minor
1.7.6 -> 1.8.0

Release Notes

hcoles/pitest
v1.8.0
Compare Source

#1017 - Improve static infinite loop detection
#1020 - Rework NFA library and try with resource filtering
#1022 - Support quarkus test

[ ] If you want to rebase/retry this PR, click this checkbox.

Suggested commit message:
Upgrade pitest-maven-plugin 1.7.6 -> 1.8.0

See:
- https://github.com/hcoles/pitest/releases/tag/1.8.0
- https://github.com/hcoles/pitest/compare/1.7.6...1.8.0

repo: PicnicSupermarket/oss-parent


text:
Make signed-in UI responsive at tablet/mobile widths

Load https://pinecast.com/payments/upgrade
😿

I thought there was a bug with the upgrade page, but I think you need to refresh. Also, your zoom is set to 97%. I built the site to be mostly responsive, bruh:

authors: cvan mattbasta

repo: Pinecast/pinecast


text:
fix(apps/prod/tekton/configs/triggers): fix trigger for monitoring component

Signed-off-by: wuhuizuo wuhuizuo@126.com

/approve

repo: PingCAP-QE/ee-ops


text:
Ported 'vignette' effect from old version of Paint.NET

https://github.com/rivy/OpenPDN/blob/cca476b0df2a2f70996e6b9486ec45327631568c/src/Effects/VignetteEffect.cs

@cameronwhite I implemented your suggestions 👍

The 'codespell' build is failing but from the error messages (and the fact that all other builds are successful) I don't think it's related to my changes.

repo: PintaProject/Pinta


text:
Display invalid markers in a separate sidebar

Currently, invalid entries from the data sources are stored without marker.pin and never displayed through a check that marker.isMapped === true.
This PR proposes to display these markers in a separate sidebar on the right side. The design of the entry display in this new sidebar is not final, but the code to display the entries in the sidebar is working.

I only saw some unmapped police records, but maybe they are older than 30 days now.

Should I add a media query to hide the unmapped records section on mobile?

Also, should I make the unmapped records section hideable?

Ideally it should behave just like the other sidebar: shown as closed on mobile with a button to expand/contract on both mobile and desktop

@vonbearshark I see that the table function now returns HTML in the form of  elements. Would it be better to return an array?

cc @seifriedc ^^

An array? An array of what exactly? The table function is run on each individual cell, not all of them at once, no?
Also, is this ready?

@vonbearshark The table method returns td elements like:
text	asdjfa	jaldsjfla

I was thinking it could return:
['text','asdjfa','jkasjfdl']

@mbilker What would we gain from returning an array of elements like you propose?
Are you initial commits associated with "displaying invalid markers in a separate sidebar" ready?  If so I can merge this PR and we can worry about returning an array of elements for the table in an issue (I think that's where that problem should go).

authors: kingsman142 mbilker vonbearshark

repo: Pitt-CSC/PantherView


text:
Adding separate iOS & Android markdown files & (hopefully) finishing up client side setup

Looking for some feedback on the changes I made to the README! Currently working on getting the file Backend README setup as well. Any and all suggestions are welcome :)

The more I look at the structure of the README.md, the more I wonder if we need to break it up.
Unrefined thoughts:

README.md

Explains the app, screenshots/videos/gifs/etc (BRING THE HYPE)
Pixelogic community stressed

README-Support/
a. Setting up
b. Contributing
c. Roadmap/todos

@isabellabrookes - I like your thought process here. We should showcase the app a bit more! Going to make same changes.

Test
@all-contributors please add @adilanchian for code, docs

authors: adilanchian isabellabrookes

repo: PixelogicDev/Gruvee-Mobile


text:
Fix Explore courses padding and one text typo

@PiyushKalyanpy, As a GSSOC'2023 contributor please assign this issue to me

Button padding is not looking good it is moving to the right side, see in the below SS

3. Wrong spelling of business, see in SS

Sure, assigning this task to you.

Thank You @PiyushKalyanpy for Assigning me, I will create a PR today only asap.

@PiyushKalyanpy My localhost is not working, please help me see the screenshot and tell me how can I fix it

You have generate own endpoints for firebase. Shortly i will find the solution for this.

Please tell me how can i fix it because if it will not fix i am unable to contribute it😔

@PiyushKalyanpy If you find the solution, please inform me

You have to create a firebase project to create your api keys and then add it in .env file with the api key, like this
keys should be
NEXT_PUBLIC_FIREBASE_API_KEY=[value form firebaseconfig]
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=xyz
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=

If you are getting error for Firebase auth API - you can checkout to nofirebase branch ( for frontend), but for backend you have to generate your own firebase API keys.

Go to firebase.com -> create account -> create a new project
Select web project choose nickname and continue
copy the API keys and replace them in code

@PiyushKalyanpy so I have to create a nofirebase branch at my local repository

we already have a no firebase branch, you can work on that

@PiyushKalyanpy  Ok got it now i am working on this issue

authors: MOHDNEHALKHAN PiyushKalyanpy

repo: PiyushKalyanpy/GyanaGuru


text:
测试发现BUG

1.发行成功了，没有记录，刷新之后还是没有

2.发行成功，Alaya账户仍为0，导致无法赎回

ChainX地址：5QeRzeE41bkVpcHkcSpbhaAEdSALfs2QeZpFYjJeQherSPMv
ATP：atp142tstdzdg0dn3jvsl2a5f74pk9lqsag8wjapmg

非常感谢您的反馈！这是我们的问题，但这并不是一个bug。上午我们在进行platdot的升级，加入了ChainX和Alaya之间的跨链支持，因而有一段时间服务器停止，现在已经在继续运行了。

非常感谢您的反馈！这是我们的问题，但这并不是一个bug。上午我们在进行platdot的升级，加入了ChainX和Alaya之间的跨链支持，因而有一段时间服务器停止，现在已经在继续运行了。

服务器停止应该发行不成功才对，现在恢复了。依然看不到发行的AKSM，还是0，好像掉入黑洞了。如果真的是主网，那不就是丢币了吗？这还不是bug？

您好，感谢您的反馈，币是不会丢失的，我们已经从历史中查询了您的交易并进行恢复。当时服务器停机是因为升级功能，预计升级的时间会比较短，就没有让网站停止运行，由此导致您发出了无响应的交易，对此我们非常抱歉给您的测试过程造成了困扰。现在测试网，没有区块浏览器，查看交易记录不是很方便，上了主网后是不会有类似问题的，您可以在主网浏览器上很轻松地对每一笔交易进行溯源。

authors: AndyQ-hoo RJman-self hacpy

repo: Platdot-network/Platdot


text:
studi-list/main.c returning pointer to local stack variable (segvault)

Variable s created locally (in line 37) [-Wreturn-stack-address].
student* inputStudent(){
    char tmpnum[50];
    student s;

and returned pointer to local variable (change to heap allocation):
student* inputStudent(){
    char tmpnum[50];
    student *s = (student*) malloc(sizeof(student));

If you malloc() a new pointer, does that mean it is not stored on the functions stack?
That would be helpful for the implementation for linked lists aswell.
Will fix.

function such as malloc() or calloc() generally request the OS to give a process some memory from the heap. This happens dynamically. Stack allocations in C require the compiler to know the exact size at compilation time (although dynamic stack allocation are possible to do but not easy to do because it could invalidate the content of registers rsp or even rip and thus crash the program). Also the stack can only grow or shrink at the top. not inbetween. meaning realloc() wouldn't work on the stack cuz of its static and strict layout nature.

I'm working on it. Created a new branch

authors: PlexSheep Servostar

repo: PlexSheep/studi-list


text:
Added editorType (required) to manifest.json

I noticed the editorType is required upon using this template. Would be nice to update the manifest.json accordingly.
More info: https://www.figma.com/plugin-docs/setting-editor-type/

Been meaning to do this, thanks @nwittwer.

authors: LukeFinch nwittwer


text:
give gravestone items through commands

hey, i saw another issue saying how they got softlocked with your mod and the same has happened on my server so i plan to switch mods as you suggested. however i would still like to give the players who lost their items, their items, before i switch. can i do that?
crash-2024-07-24_19.34.40-client.txt

The other issue you mentioned has a version of 1.0.4 that removes the text rendering on gravestones for this purpose :D

Actually hang on I can just release the 1.20.1 backport I made for a friend, god damn ADHD how did I not think of doing that when I actually made it

Released!

authors: PneumonoIsNotAvailable spaghettube

repo: PneumonoIsNotAvailable/Gravestones


text:
Engine.has_singleton("AdMob") returns false

Godot version
3.5.2
Plugin version
1.3.4
System information
Windows 10
Phone information, if applicable
No response
Issue description
I'm testing the Example.tscn scene that comes with the plugin, but I can't seem to make it work.
Checking the code and doing some tests, I found out that the code Engine.has_singleton("AdMob") returns false.
This prevents the Object _plugin from being set in the AdMobSingleton.gd, probably breaking the whole plugin?
func _ready() -> void:
	if config.general.is_enabled:
		if (Engine.has_singleton("AdMob")):
			_plugin = Engine.get_singleton("AdMob")
			initialize()
			_connect_signals()

Am I missing something here?
Steps to reproduce

Download the plugin from the Asset Store in Godot 3.5.1
Try to run the example scene Example.tscn
The plugin never gets initializated

Additional context
No response

The AdMob only works for Android and iOS, you need to download and install the plugins for the platforms.
Please check this video: https://www.youtube.com/watch?v=ZnlH3INcAGs

Thank you!
I missed the step about adding the android-standard-template-[version].zip content to the android/plugins folder and in fact I didn't had the option "Ad Mob" in the Android export. I think that it's missing for Godot version 3.5.2, so I had to downgrade to 3.5.1.
I'm still having issues tho: following the video with a blank new project works, but if I try to implement this on the game I'm working on, after I export the apk and run the Example scene I get:
Rewarded failed to load, error_code = 3
Rewarded Interstitial failed to load, error_code = 3
Interstitial failed to load, error_code = 3

What is error_code = 3? I read online that it may be caused by not setting the correct unit ID, but I left the default values (for example for Interstitial ads is ca-app-pub-3940256099942544/1033173712). What other options from the export settings could possible cause this issue? Is it possible that having the Keystore Release fields set create problems while using test unit IDs? But this should be prevented setting the option "Export with Debug" on "Export Project..." right?

Mobile Ads SDK Forum Advisor
With regard to your concern for error code 3, it means that the ad request was successful, but no ad was returned due to lack of ad inventory.
https://groups.google.com/g/google-admob-ads-sdk/c/1Q9rRNVAKYo#:~:text=Mobile Ads SDK Forum Advisor,-unread%2C&text=With regard to your concern,to lack of ad inventory.

This should not be a problem with your integration, it's a problem with AdMob server
Btw, are you using the sample APP ID to make the requests?
ca-app-pub-3940256099942544~3347511713

Yes, I'm using the APP ID you reported.
But how is the "ad inventory" involved while using testing unit IDs? The use of those IDs is deliberately for displaying test ads, which should not be provided by any ad inventory.
My concern is that, because the test project works, there could be something about my configuration that is wrong? It's basically the same, with the difference that I have the Keystore Release set, because the app is already on Google Play. What about the configuration in the AdMob Editor, should I modify something here?

The ad inventory is from AdMob server, they don't have some ads to display to you, as I can see, there's not wrong with your implementation or our plugin.
Please check if you are using UMP, if you are, click to consent, if you do not consent, the probability of not seeing an advertisement for you is greater

@lucaleonardi your problem still persist?

authors: gumaciel lucaleonardi

repo: Poing-Studios/godot-admob-plugin


text:
is our bot too slow?

I just red:
https://np.reddit.com/r/pokemongo/comments/4us5d9/i_just_hit_level_40_world_first/
so I was wondering. Is it possible that this bot isn't the fastest or let's say compared to others it is slow? I didn't even think it was possible even with a bot to get so much exp so fast. Since I am using more or less the normal config file, is there anything except the walking speed that I can increase to lvl faster?

@Witzbold it's called strategy. it's very much possible to outrun a bot.
Aside of that, I wouldn't want to be the first to hit lvl 40 using a bot, or brag about anything I've achieved and neither should you.
A bot is fun to try out stuff, see whats possible, but just think what your friends who work hard for their achievements think about it.

This bot is definitely not the fastest, also I believe that guy bought a bunch of lucky eggs to use for the bot

This bot is purposefully not the fastest. It has built in functionality it make it more humanlike.

authors: VictorChen Witzbold leadboots5 xorinzor

repo: PokemonGoF/PokemonGo-Bot


text:
[Meta] PLEASE READ BEFORE POSTING AN ISSUE

Unofficial Announce
Hello everyone. I'll make this short. People are having problems with the Bot because of the new API. Find more information Here or on the reddit for PokemonGo Development Here.
And as always, thank you for your support devs of this bot, and devs working on Unknown6 in general.

https://github.com/pkmngodev/Unknown6

Reddit live thread https://www.reddit.com/live/xdkgkncepvcq

@GitPupper - close this now?

authors: GitPupper bikrdotnet iruy k4n30


text:
[Bug]"RandomPause" stops refresh /data/last-location-User_Name.json

Expected Behavior
Running a web interface using the "Random Pause".
Correct refresh the file /data/last-location-User_Name.json after using "RandomPause"
Actual Behavior
"RandomPause" will stop the refresh /data/last-location-User_Name.json
After resuming activity the file no longer refreshes.
Web interface no longer show the position of the bot on the map.
Restart bot takes us to the last saved position (A very dangerous situation, teleport on a map).
FULL config.json (remove username, password, gmapkey and any other private info)
{
"auth_service": "ptc",
"username": "XXXXXXX",
"password": "XXXXXXXXXX",
"location": "XXXXXXXXXXX",
"gmapkey": "XXXXXXXXXXXXXX",
"encrypt_location": "",
"websocket_server": false,
"heartbeat_threshold": 10,
"enable_social": false,
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "SleepSchedule",
"config": {
"enabled": false,
"time": "22:54",
"duration":"7:46",
"time_random_offset": "00:24",
"duration_random_offset": "00:43",
"wake_up_at_location": ""
}
},
{
"type": "RandomPause",
"config": {
"enabled": true,
"min_duration": "00:01:00",
"max_duration": "00:05:00",
"min_interval": "00:10:00",
"max_interval": "00:30:00"
}
},
{
"type": "CompleteTutorial",
"config": {
"enabled": false,
"// set a name": "",
"nickname": ""
}
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"enabled": true,
"longer_eggs_first": true,
"min_interval": 120,
"infinite": [2,5,10],
"breakable": [2,5,10]
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": true,
"min_interval": 30,
"stats": ["uptime", "km_walked", "stardust_earned", "pokemon_caught", "captures_per_hour", "stops_visited", "xp_earned", "xp_per_hour"],
"terminal_log": true,
"terminal_title": false
}
},
{
"type": "UpdateLiveInventory",
"config": {
"enabled": true,
"min_interval": 30,
"show_all_multiple_lines": false,
"items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries", "luckyegg"]
}
},
{
"type": "TransferPokemon",
"config": {
"enabled": true,
"min_free_slot": 999,
"transfer_wait_min": 5,
"transfer_wait_max": 8
}
},
{
"type": "NicknamePokemon",
"config": {
"enabled": false,
"nickname_above_iv": 0.9,
"nickname_template": "{iv_pct}_{iv_ads}"
}
},
{
"type": "EvolvePokemon",
"config": {
"enabled": true,
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 10,
"evolve_above_iv": 0.8,
"logic": "or",
"min_evolve_speed": 25,
"max_evolve_speed": 30,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"enabled": true,
"min_empty_space": 30,
"max_balls_keep": 150,
"max_potions_keep": 70,
"max_berries_keep": 70,
"max_revives_keep": 70,
"item_filter": {
"Pokeball":       { "keep" : 80 },
"Greatball":      { "keep" : 50 },
"Potion":         { "keep" : 10 },
"Super Potion":   { "keep" : 20 },
"Hyper Potion":   { "keep" : 30 },
"Revive":         { "keep" : 30 },
"Razz Berry":     { "keep" : 50 }
},
"recycle_wait_min": 5,
"recycle_wait_max": 8
}
},
{
"type": "CatchPokemon",
"config": {
"enabled": true,
"catch_visible_pokemon": true,
"catch_lured_pokemon": true,
"min_ultraball_to_keep": 5,
"berry_threshold": 0.35,
"vip_berry_threshold": 0.9,
"treat_unseen_as_vip": true,
"catch_throw_parameters": {
"excellent_rate": 0.1,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.4,
"hit_rate": 0.75
},
"catch_simulation": {
"flee_count": 3,
"flee_duration": 2,
"catch_wait_min": 3,
"catch_wait_max": 6,
"berry_wait_min": 3,
"berry_wait_max": 5,
"changeball_wait_min": 3,
"changeball_wait_max": 5
}
}
},
{
"type": "SpinFort",
"config": {
"enabled": true,
"spin_wait_min": 5,
"spin_wait_max": 10
}
},
{
"type": "FollowPath",
"config": {
"enabled": true,
"walker": "PolylineWalker",
"path_mode": "loop",
"path_start_mode": "first",
"path_file": "/home/XXXXXXX/PokemonGo-Bot/configs/XXXXXXX.json",
"number_lap": 1,
"timer_restart_min": "00:10:00",
"timer_restart_max": "00:40:00"
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50,
"cache_recent_forts": true
},
"pokemon_bag": {
"// if show_at_start is true, it will log all the pokemons in the bag (not eggs) at bot start": {},
"show_at_start": true,
"// if show_count is true, it will show the amount of each pokemon (minimum 1)": {},
"show_count": false,
"// if show_candies is true, it will show the amount of candies for each pokemon": {},
"show_candies": false,
"// pokemon_info parameter define which info to show for each pokemon": {},
"// the available options are": {},
"// [cp, iv_ads, iv_pct, ivcp, ncp, level, hp, moveset, dps]": {},
"pokemon_info": ["cp", "iv_pct"]
},
"walk_max": 4.15,
"walk_min": 2.67,
"alt_min": 114,
"alt_max": 130,
"gps_default_altitude": 124.0,
"replicate_gps_xy_noise": false,
"replicate_gps_z_noise": false,
"gps_xy_noise_range": 0.000125,
"gps_z_noise_range": 12.5,
"debug": false,
"test": false,
"health_record": false,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"logging_color": true,
"daily_catch_limit": 500,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"// Example of always releasing Rattata:": {},
"Bellsprout": {"keep_best_cp": 3},
"Caterpie": {"keep_best_cp": 5},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"Drowzee": {"keep_best_cp": 3, "keep_best_iv": 3},
"Eevee": {"keep_best_cp": 3, "keep_best_iv": 3},
"Hypno": {"keep_best_cp": 3, "keep_best_iv": 3},
"Gastly": {"keep_best_cp": 3},
"Nidoran M": {"keep_best_cp": 3},
"Nidoran F": {"keep_best_cp": 3},
"Horsea": {"keep_best_cp": 3},
"Jynx": {"keep_best_cp": 3},
"Magikarp": {"keep_best_cp": 3},
"Magnemite": {"keep_best_cp": 3},
"Meowth": {"keep_best_cp": 3},
"Paras": {"keep_best_cp": 3},
"Pidgeotto": {"keep_best_cp": 3},
"Pidgey": {"keep_best_cp": 12},
"Pidgeot": {"keep_best_cp": 3},
"Psyduck": {"keep_best_cp": 3},
"Raticate": {"keep_best_cp": 3},
"Krabby": {"keep_best_cp": 3},
"Oddish": {"keep_best_cp": 3},
"Rattata": {"keep_best_cp": 8},
"Spearow": {"keep_best_cp": 5},
"Seel": {"keep_best_cp": 3},
"Shellder": {"keep_best_cp": 3},
"Squirtle": {"keep_best_cp": 3},
"Tentacool": {"keep_best_cp": 3},
"Venonat": {"keep_best_cp": 3},
"Weedle": {"keep_best_cp": 5},
"Zubat": {"keep_best_cp": 8},
"Fearow": {"keep_best_cp": 3},
"// Example of keeping 2 stronger (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Also, it is working with any": {},
"// any": {"keep_best_iv": 3},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3},
"// Example of custom order of static criterion": {},
"// Zubat": {"keep_best_custom": "iv, cp, hp_max", "amount":2}
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
"any": {"catch_above_cp": 500, "catch_above_iv": 0.8, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
"// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
"Mewtwo": {},
"Dragonite": {},
"Snorlax": {},
"// Mew evolves to Mewtwo": {},
"Mew": {},
"Arcanine": {},
"Vaporeon": {},
"Gyarados": {},
"Exeggutor": {},
"Muk": {},
"Weezing": {},
"Flareon": {},
"Electabuzz": {},
"Eevee": {},
"Omanyte": {},
"Ivysaur": {},
"Venusaur": {},
"Charmander": {},
"Charmeleon": {},
"Charizard": {},
"Wartortle": {},
"Blastoise": {},
"Metapod": {},
"Butterfree": {},
"Kakuna": {},
"Beedrill": {},
"Pidgeot": {},
"Fearow": {},
"Ekans": {},
"Arbok": {},
"Pikachu": {},
"Raichu": {},
"Sandslash": {},
"Nidoqueen": {},
"Nidorino": {},
"Nidoking": {},
"Clefable": {},
"Vulpix": {},
"Ninetales": {},
"Gloom": {},
"Vileplume": {},
"Venomoth": {},
"Dugtrio": {},
"Persian": {},
"Golduck": {},
"Primeape": {},
"Growlithe": {},
"Poliwhirl": {},
"Poliwrath": {},
"Kadabra": {},
"Alakazam": {},
"Machoke": {},
"Machamp": {},
"Weepinbell": {},
"Victreebel": {},
"Tentacruel": {},
"Graveler": {},
"Golem": {},
"Ponyta": {},
"Rapidash": {},
"Slowbro": {},
"Magneton": {},
"Dodrio": {},
"Dewgong": {},
"Cloyster": {}
}
}
Possible solution
The error is probably somewhere in the file /PokemonGo-Bot/pokemongo_bot/cell_workers/random_pause.py
Which does not start all activity after the break.
Other Information
OS:
Debian 8.5
Branch:
dev

Just doesn't this and took a gander at the code. Should be updating fine.
Are you having problems still?

I see that you have added "RandomAlivePause".
I have to check it.
Thank you Master :)

Yeah, RandomAlivePause won't log you out. I like the option.

@maxprzemo Working properly now?

@mjmadsen
It works but not quite
If the file does not exist an error
[Errno 2] No such file or directory: u'/home/maxprzemo/PokemonGo-Bot/pokemongo_bot/../web/inventory-XXXXXXXX.json'
Create a blank file does not help.
The file must include data.
You need to add an exception in file /PokemonGo-Bot/pokemongo_bot/inventory.py
Because there are errors:
'
Traceback (most recent call last):
File "pokecli.py", line 705, in
main()
File "pokecli.py", line 104, in main
bot.start()
File "/home/maxprzemo/PokemonGo-Bot/pokemongo_bot/init.py", line 109, in start
init_inventory(self)
File "/home/maxprzemo/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1219, in init_inventory
_inventory = Inventory(bot)
File "/home/maxprzemo/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1086, in init
self.refresh()
File "/home/maxprzemo/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1096, in refresh
self.update_web_inventory()
File "/home/maxprzemo/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1102, in update_web_inventory
with open(web_inventory, "r") as infile:
'
I am too weak to write it ;)

PR submitted #4740

Merge is on dev. Please try. If it does not work, please create a new issue.

authors: Gobberwart maxprzemo mjmadsen


text:
show commit hash info

Short Description:
show commit hash info in the log.
Fixes/Resolves/Closes (please use correct syntax):

#4241

What if there's no git in Desktop release?

@solderzzc maybe we could check whether git exists.
if it doesn't, don't do anything.
what do you think ?

@rawgni  it's hard to deal with multi platform for the check, or just parse the command response ?

authors: rawgni solderzzc


text:
updated

add subdomain

Can you provide the TXT record too?


text:
about indicate

i use this library to receive the packet by other bluetooth device indicate ,but sometimes it will lost some packet;

Hi!
Sorry, but you'll need to be more clear. Is it a random indication that gets lost or right at the start of subscription? How do you know that it gets lost, are you sniffing communication? Does it happen on both platforms?

it is get lost right at the start of subscription.i did not  sniffing communication.and i know that it gets lost because i had check the packet which  send by the bluetooth devices; the bluetooth devices show has indicate success on the log,  but the phone lost one of the packet; for the moment  i  just  test it on the android ;

authors: mikolak spd-heshuip

repo: Polidea/FlutterBleLib


text:
Scan Results are not replayed if multiple subscribers subscribe.

Summary
As per the documentation, RxBleClient.scanBleDevices() should replay the scan results if a new subscriber subscribe. But this is not the case. The reason behind this is following:

the RxBleRadioOperationScan returns a ReplaySubject when operation is queued on Radio
the method createScanOperation() in class RxBleClientImpl share() the given observable
the default RXJava behaviour is that if share() is used on ReplaySubject, it won't replay the values but will behave like a regular PublishSubject

Preconditions
Sensors are in vicinity and scan is initiated
Steps to reproduce actual result

Call scanBleDevices and get observable of Observable
Subscribe to the observable to start the scan
Assume it return results "ScanResult1" and "ScanResult2"
Again subscribe the observable using a new subscriber. Don't unsubscribe the first subscriber as it will stop the scan.
The observable never return "ScanResult1" and "ScanResult2" to the second subscriber.

Actual result
The scan results are not replayed for the second subscription.
Expected result
The scan results should be replayed for the second subscription.

Hey!
Sorry for the delay, we are between projects now and trying to keep up with the library.
First of all, could you paste the documentation where it stands that results are replayed? That may be a mistake.
Our idea was to share scan operations, with respect of a passed filter. However we didn't plan to replay past results to any future subscriber. You can expect that when you'll subscribe with a new subscriber you will get an update, once there is a new scan result.
Do you think such feature might be useful? Could you provide some scenarios?

@shashanktomar Could you provide more information? It would be valuable to know where we can clarify the documentation or think about possible use cases.

authors: dariuszseweryn shashanktomar uKL

repo: Polidea/RxAndroidBle


text:
Clarify DOM inconsistency for falsy values

Sentence was reading weird previously, fixed up the wording.

Signed the CLA.

repo: Polymer/lit-html


text:
Array observer delivers incorrect changeRecord.path index after deleting item in array

I register an array observer:
observers: [
    'sightChanged(sights.*)'
  ],

sightChanged is then called argument changeRecord = {path: 'sights.2.description', ...}. If I remove something from the sights array before index 2, the path 'sights.2.description' remains the same, even though it should now be decremented by one. This results in index out of bound problems:

Seems like a bug to me. For the time being, is there a workaround to observing arrays?

Notifications for arrays use unique "keys" for rather than index, so what you are seeing is expected, although possibly unintuitive and not yet well documented.  This is done to ensure path linkage between objects in arrays are maintained despite possible insertions or deletions in the array.
For now, you can do this to workaround, using the Polymer.Collection abstraction that is used internally to manage keys for arrays:
var collection = Polymer.Collection.get(this.sights);
var idx = this.sights.indexOf(collection.getItem(key));

Where key is the number pulled from changeRecord.path.
We'll keep this issue open to consider how to improve the API.

Thanks. It might be nice also to have a helper method that would simplify parsing keys from pathes. Perhaps you could provide the key as changeRecord.key, or provide a Polymer.getModelByPath() method?

One thought is to disambiguate keys from indices in paths by using a token like # to denote a key, so that you could pass paths to set and get (currently set and get expect array indices, not keys, so the dichotomy is obviously bad and confusing).  The path in the above example would then be sights.#2.description, and calling this.get('sights.#2') would return the correct base object and this.set('sights.#2.name', 'foo') would set a field on the base object.
Aside from needing to parse the base path (e.g. sights.#2.description -> sights.#2), would this addition to the API have helped solve your use case?  Or did you actually need the index of the array (as opposed to the value at the index)?

Forgive me being paranoid, but how about escaping both # and even . used in current implementation? as .something and #1 are valid object keys

authors: borismus kevinpschaaf tomalec

repo: Polymer/polymer


text:
Properties not cleared when elements reused in dom-repeat.

From @kayur on December 24, 2015 8:36
I'm trying to use dom-repeat to create a list of paper buttons, which have a custom attribute that I set. The html template for the custom element is a bit complicated but here is an example that illustrates the core issue:
<dom-module id="my-element">
  <template>
    <template is="dom-repeat" items="[[experiments]]">
      <paper-button label$="[[item.name]]">
        [[item.name]] the [[item.job]]
      </paper-button>
    </template>
  </template>
  ...

<my-element> has an property experiments which gets updated frequently with new data. experiments is used to generate a list of <paper-button> with a custom attribute label that's set to item.name.
Let's set experiments = [{ name: "joe", job: "plumber"}, { name: "cat", job: "maker"}]
Let's call the first paper button, button. I would expect button.getAttribute(label) === joe and button.label === undefined. That's not the case. Some magic sets button.label to joe. That's fine. It could be useful magic.
Now let's set experiments = [{name: "cat", job: "maker"}]. I would expect button.getAttribute(label) === cat, and indeed that's correct. But button.label === joe.
Why is this happening?
It feels like a bug because I'd expect reused elements not have zero state that indicates they were used for anything else before.
Here is a jsbin with this example:
http://jsbin.com/hetazocaye/6/edit?html,js,console,output
Strangely div does the right thing.
http://jsbin.com/rekavifozu/3/edit?html,js,console,output
Copied from original issue: PolymerElements/paper-elements#62

Yes, this looks like a bug with the data configuration process Polymer uses to efficiently flow binding data to other Polymer elements at initial construction of the tree.  It incorrectly passes attribute bindings as property data.  This should be trivial to fix, such that the label property is always undefined in your paper-button example: http://jsbin.com/gonola/edit?html,console -- I assume this is what you would expect, yes?

Yes, that is what I would expect.

Will this have a carry-over affect on the "for" property in the label.  I just was wondering if the prop to atts initial config was intentional to keep the for attribute inline with the with the label and related input.  I have been doing a lot of input work, so this could be an "over thinking moment on my part" but a similar issue happened with a paper-input fix a few weeks ago, so i thought it better to say something than just shhhh....

authors: jfrazzano kayur kevinpschaaf


text:
Format all code with clang-format

Otherwise a noop change

Justin has given me blank check verbal LGTM.

repo: Polymer/web-component-tester


text:
Template File Post.hbs is missing

Issue Summary
The pre existing posts do not show up and I can't create new posts. -> pic
post.hbs template is missing

Steps to Reproduce
Tell us how to replicate the problem.

install postleaf as opposed
click on one existing post

Additional info

Postleaf version: master branch
PHP version: 7.0.8 (cli)
Affected browsers: Chrome Version 52.0.2743.116 m
Operating system: Windows 10

Ok sorry, it is #24 related!
Solved it!!!

Please see the installation notes. During the beta, if you're building yourself, you need to install the default range theme :)
Available at https://github.com/Postleaf/range

You got it. Replied from email before I saw this come in.

authors: Naoray claviska

repo: Postleaf/postleaf


text:
Improve Aggregation Calculation Performance by Modifying Event Dependency

Is your feature request related to a problem?
Right now, since aggregation calculation depends on underlying snapshots to get finalized, this leads to a longer wait time for aggregation calculations to finish.
Describe the solution you'd like
Instead of relying on the SnapshotFinalized event, snapshotters should be designed to wait for the SnapshotSubmitted event associated with their specific address. This modification will enable snapshotters to proceed with the necessary calculations promptly.

Fixed in #33 and #34

repo: PowerLoom/pooler


text:
UpdateServicesDsc resource module

There is a new resource available for review.  Thank you.
https://github.com/robwi/xWSUS

@mgreenegit, thank you for all your hard work. I hope this gets approved soon. I can finally get rid of my dirty WSUS script resources.

Adding "waiting for the author" label since @PlagueHO did the review against HQRM guidelines already here: https://github.com/robwi/xWSUS/pull/4

This module has been updated

Just FYI, this module source has been renamed:
https://github.com/robwi/updateservicesdsc

Adding UpdateServicesDsc resource module into the DSC Resource Kit is in progress in PR #346.

New resource module submission
Name: UpdateServicesDsc
Repository URL: https://github.com/mgreenegit/UpdateServicesDsc
Short description: This module contains the UpdateServicesApprovalRule, UpdateServicesCleanup, and UpdateServicesServer resources.
New resource module submission task list
This task list can be filled in after the issue has been submitted.

[ ] Pass the Quality Governance
[ ] Pull request is sent in (see next section).
[ ] The new module submission in ready for community review.

Steps that pull request should include

[ ] Added submodule using git submodule add https://github.com/<accountname>/<reponame> DscResources/<reponame>.
[ ] Updated resource module list in Maintainers.md.

Community acceptance

Community reviewers: Please submit a comment on the issue for each box that are checked so the
community know who accepted the item.
The new resource module:

[ ] is licensed under MIT.
[ ] has the correct project structure.
[ ] has a dev and master branch, and dev should default branch.
[ ] is using DSC Resource Kit test templates.
[ ] is connected to Codecov or similar.
[ ] has established a code of conduct in ether a CODE_OF_CONDUCT.md or a
'Code of conduct' section in the README.md.
[ ] has either a CONTRIBUTING.md file or a 'Contributing' section in the
README.md file.
[ ] has included the metadata tag 'DSCResource' in the module manifest.
[ ] is sufficiently documented.
[ ] has an established CI process for each push to the repository.
[ ] is sufficiently tested.
[ ] Follows the guidelines set out for a
High Quality Resource Module.

Submission acceptance
The community accepts, at a community call, that a resource module follows the
guidelines set out for a
High Quality Resource Module.

[ ] The resource module was accepted for submission in a community call.

authors: KarolKaczmarek Zuldan johlju mgreenegit

repo: PowerShell/DscResources


text:
A mechanism to allow types in other files to be seen by VS Code

Summary of the new feature/enhancement
In the programming world, developers are encouraged to follow a "one type per file" rule. I am trying to apply this rule to classes in PowerShell. Unfortunately, I can't find a way to allow my editor (VS Code in my case) to "see" types in other files. Consider this trivial case where I have a module consisting of two classes:
Class1.ps1
class Class1 {
    [void]Method() {}
}

Class2.ps1
class Class2 {
    Class2() {
        $c = [Class1]::new() # VS Code reports "unable to find type [Class1]"
        $c. # Typing the dot does not display any members
    }
}

I know why the warning occurs, but this effectively forces me to declare all my types in a single file in order to benefit from VS Code's PowerShell analyzer. That means with a big enough number of types, the single file can easy reach thousands of lines, making it harder to maintain and making it harder to tell via Git diffs what types were changed.
Is there a way around this problem?
Proposed technical implementation details (optional)
I'm not sure what can be done to improve the developer experience, but as it stands now this is preventing me from using classes to their full extent in my more complex PowerShell modules. I know I could always create a full-blown C# project, but that introduces build pipeline and CI dependencies I'm trying to avoid. It also means developers who work on my module need to be more aware of .NET tools like Visual Studio than they otherwise would need to be.
Some kind of special comment used by the analyzer to temporarily import other files for the purposes of parsing, perhaps?
#analyze Class1.ps1

What is the latest version of PSScriptAnalyzer at the point of writing
Not sure, but I'm using the 2020.6.0 version of the VS Code PowerShell extension.

The vs code PowerShell extension is here:
https://github.com/PowerShell/vscode-powershell
There is nothing automatic right now but using the integrated terminal of the ps extension you can manually load the types there and the editor will then recognise them

Thanks @nathan-alden-hp one question, I notice you are using using module in your screenshot, what module are you referencing there? If you change your ps1 files to psm1 files and then add using module .\Class1.psm1 for this should resolve the warning

I'll give that a try.

Thank you both for the replies. However, the reason I created this issue is because of the level of inconvenience I have to incur to do the right thing (one type per file). Manually loading types and treating classes as individual modules with using module are not acceptable. In my opinion, either the analyzer or the extension (or both working together) should provide a capability to stitch together the required types from not only modules (using module) but also loose files without requiring special scripts to remove temporary using module statements.
In particular, the using module method has the following drawbacks:

When preparing the module for distribution, I have to remove the temporary using module statements with a script.
VS Code is able to detect the type, but not its members (see screenshot)

I'm going to submit this issue in the vscode-powershell repo to see what they have to say.

repo: PowerShell/PSScriptAnalyzer


text:
Stop-parsing symbol on Unix-like platform doesn't support single-quoted arguments

The idea behind --% is to pass command lines that use the platform-native shell through, with minimal interpretation by PowerShell.
While --% with its cmd-style environment-variable expansion is an awkward fit for Unix-like platforms to begin with, it does work in principle, but only with double-quoted arguments ("...").
However, the POSIX-like shells (such as Bash) that are native to Unix-like platforms also understand single-quoted strings (...) - verbatim strings.
--% currently doesn't support the latter.
Note that on Unix someone has to break the command line into individual arguments before passing the latter to the target process; unlike on Windows, you cannot start processes with single-string command lines in the native process-creation APIs, so truly passing a command line through isn't an option.
Steps to reproduce
# Note: From Bash itself, running
#        bash -c 'echo "$1 $RANDOM"' - 'I'\''m'
# works correctly and yields something like "I'm 1234"
bash --% -c 'echo "$1 $RANDOM"' - 'I'\''m'
$LASTEXITCODE | Should -Be 0

Expected behavior
The test should succeed.
Actual behavior
The test fails: The Bash command breaks due to syntax errors, and the exit code is nonzero.
Due to lack of support for single-quoted strings, PowerShell passes the following arguments to bash (enclosed in [...] here to show their boundaries):
[-c]
['echo]
[$1 $RANDOM']
[-]
['I'\''m']

Note how the '...' argument was broken in two, and how the embedded double quotes disappeared.
Environment data
PowerShell Core 7.0.0-preview.4

#10219

Thanks, @chuanjiao10.
I've closed this issue, because I remembered that a decision was made in https://github.com/PowerShell/PowerShell/issues/3733#issuecomment-327641533 that --% will not be extended to work more sensibly on Unix-like platform.
I've created a documentation issue instead, asking that the near-uselessness of --% on Unix be documented: https://github.com/MicrosoftDocs/PowerShell-Docs/issues/4963
If you know --%'s limitations, you can still use it, however, so in the command that prompted #10219 you can simply use ssh-keygen --% "", i.e. double quotes.

repo: PowerShell/PowerShell


text:
WebCmdlets SetRequestContent wrong logic?

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I was cleaning up the code of WebCmdlets #18964 and I noticed some code that seems incorrect. (WebRequestPSCmdlet.Common.cs lines 1114-1134)
if (content is FormObject form)
                {
                    SetRequestContent(request, form.Fields);
                }
                else if (content is IDictionary dictionary && request.Method != HttpMethod.Get)
                {
                    SetRequestContent(request, dictionary);
                }
                else if (content is XmlNode xmlNode)
                {
                    SetRequestContent(request, xmlNode);
                }
                else if (content is Stream stream)
                {
                    SetRequestContent(request, stream);
                }
                else if (content is byte[] bytes)
                {
                    SetRequestContent(request, bytes);
                }
                else if (content is MultipartFormDataContent multipartFormDataContent)

Expected behavior
`else if (content is IDictionary dictionary && request.Method != HttpMethod.Get)`

It seems this line doesn't set the request.Content if the method is GET and the body is a dictionary

Actual behavior
I think we should have a consistent behaviour for other type of bodys, for form and infile

Should we always set the request.Content, or never do it?

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.3.1
PSEdition                      Core
GitCommitId                    7.3.1
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals
No response

It would be great to find an example/test/scenario which demonstrates the problem.
From https://www.diffen.com/difference/GET-vs-POST-HTTP-Requests.

When the method is GET, all form data is encoded into the URL, appended to the action URL as query string parameters. With POST, form data appears within the message body of the HTTP request.

This says that our code is right.

authors: CarloToso iSazonov


text:
Set-StrictMode -Version PSVersion values

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Why does Set-StrictMode -Version accept any valid PSVersion? I could see if a new strict mode came out with each PS version but that never materialized. I believe it would be better to make this parameter only accept the existing strict mode version values and removed the check for any valid PS version.
Excerpt from the help:

Specifies the conditions that cause an error in strict mode. This parameter accepts any valid PowerShell version
number. Any number higher than 3 is treated as Latest. The value supplied must be the string Latest or a
string that can be converted to a System.Version type. The version must match a valid release version of
PowerShell.

Expected behavior
Only accepts existing strict mode values

Actual behavior
Accepts valid `PSVersion`

Error details
No response
Environment data
7.4-preview6

Visuals
No response

@PowerShell/wg-powershell-cmdlets reviewed this.  Although we agree that -Version should have been an enum since there is a fixed set of versioned rules, a search on GitHub shows that at least a few folks have used versions other than 1, 2, 3 and latest so would break.  We should add a new ruleset for 7.0 and ensure that any new language changes also add support for strict mode.

authors: SteveL-MSFT ThomasNieto


text:
Remove webcmdlet tests validating http_proxy and https_proxy env vars

Currently, we have tests specifically validating env vars for defining http and https proxies.  However, these env vars are simply a side effect of corefx using libcurl on non-Windows and not something explicitly supported by corefx nor the webcmdlets.  We should remove these tests as we're not testing libcurl directly.

I am full agree that this env variables are only for curl. Current .Net Core 2.1 socket based http client don't use curl so we can safely remove the tests.

hmmm @iSazonov and @SteveL-MSFT have a look at  #3112
This missed my radar because it was not labeled. But After considering it... I'm on board with supporting these directly in the Web Cmdlets code.
I think it may be surprising that these env vars are suddenly ignored on Linux. I'm not sure if these env vars were ever documented with PowerShell 6.0.0. But perhaps in the 6.1.0 documentation we should call this out as a breaking change with the workaround of -Proxy $env:http_proxy or $PSDefaultParameterValues["invoke-webrequest:proxy"] = $env:http_proxy. At least until we consider adding support or not.

Thanks for catching this!
Given that users can directly use dotnet HttpClient, I guess we should not focus on it at all because HttpClient no longer use curl. Best to open a feature request in dotnet repo. We can consider this as a regression in dotnet.

@iSazonov

I guess we should not focus on it at all because HttpClient no longer use curl.

Except that there is an ask to support it generally on both Windows and Linux. I will consider that request, but not in the 6.1.0 time frame.

@markekraus forgot I opened that a long time back :)  I don't believe we ever ended up documenting these env vars in PowerShell-Docs.  We can just leave the tests as they are for now particularly if there's interest to adding formal support in the future.

authors: SteveL-MSFT iSazonov markekraus


text:
Invalid MOF generated if File resource used with contents that contain ModuleVersion=xxx string

Copied from PowerShell/PowerShell-Docs#535
This is for PS 5.1, needs to be tested in 6+ still.
A simple DSC File resource usage:
Configuration CopyCustomResourceProviders {
    Import-DSCResource -ModuleName @{ModuleName="PSDesiredStateConfiguration"; ModuleVersion="1.1"}

    Node $nodeName  {
        File test {
            DestinationPath = "$pshome\Modules\empty"
            Contents="ModuleVersion='1.2'"
        }
    }
}

This generates invalid MOF content:
instance of MSFT_FileDirectoryConfiguration as $MSFT_FileDirectoryConfiguration1ref
{
    ResourceID = "[File]test";
    Contents = "ModuleVersion='1.2'";
    DestinationPath = "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\Modules\\empty";
    ModuleName = "PSDesiredStateConfiguration";
    SourceInfo = "C:\\Source\\CoreDev\\Trunk\\Provisioning\\CopyCustomResourceProviders.ps1::34::4::File";

    ConfigurationName = "CopyCustomResourceProviders";

};
And the following error occurs on the command line when trying to push this configuration:
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer WSDING037 with user sid S-1-5-21-441617589-1049517295-4151535418-2019.
VERBOSE: [TESTEZE-0VPMUS0]: LCM:  [ Start  Set      ]
VERBOSE: [TESTEZE-0VPMUS0]: LCM:  [ End    Set      ]
Could not find mandatory property ModuleVersion. Add this property and try again.
    + CategoryInfo          : ObjectNotFound: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : MI RESULT 6
    + PSComputerName        : TESTEZE-0VPMUS0

The error disappears if I manually add
ModuleVersion = "1.1";

to the MOF file.
Why do I need to have this content pushed to remote server?  I'm actually trying to push out a set of custom Powershell modules for use in later scripts and ModuleVersion=... is a fairly standard string in PS land.

I was just running into this. Any update on this issue?

authors: DCtheGeek raandree