text:
VTOL rate control improvements

Replaces #9190

Not merging just yet!

@LorenzMeier yes, please don't! It breaks Flight Review :)

@PX4/testflights Any chance you can test fly this. It touches multirotor, vtol and fixed wing.

@PX4/testflights please try this on all VTOLs, as well as regression testing on MC and FW platforms.

test on pixhawk 1 and crash on stabilize mode
https://review.px4.io/plot_app?log=8f5cbf75-cb1f-4fd3-88ed-d18d425c7cfb
on pixhawk v4 pro crash on stabilize mode
https://review.px4.io/plot_app?log=014173eb-4156-4828-a97d-492c417f3577

@dannyfpv Hi! Thanks for testing and sorry for the crash. I checked the log and I already found the bug. Unfortunately, there was sign error in throttle in stabilized mode that was introduced during the lasted rebase on master. SITL did not catch that bug because it does not use test stabilized mode.
However, in future I suggest to bench test PRs which introduce massive changes like this one does before actually flying the vehicle. In this case you would have had no throttle in stabilized mode.
Anyway, I hope the convergence is not broken too badly...

Thanks for the feedback @RomanBapst, don't worry about the convergence it fulfilled its duty! Now let's make sure we have tests for stabilized mode, should I open an issue for tracking @dagar or is this covered somewhere already?

@mrpollo I was already thinking about this. I think it would not be too hard to use the dronecode SDK in the CI and actually 'simulate' a human flying with a radio controller. That would just be a sluggish controller outputting RC commands.

tested on pixhawk v4 pro
https://review.px4.io/plot_app?log=482daec6-d8b5-416f-bb3c-e57782fec3bd
https://review.px4.io/plot_app?log=4fc131d3-e215-4188-895c-d59a7161747d

I took another pass and this looks good. Let's merge and keep going.

Great team work everyone 🎉

authors: LorenzMeier RomanBapst bkueng dagar dannyfpv mrpollo


text:
EKF : Fix divergence when optical flow is not fused for a long time

The EKF would not correctly detect when it stopped fusing optical flow due to failing checks (e.g motion  excessive, or invalid terrain estimate), and eventually diverge without any aiding source.
Commits :

Fixes a corner case in the terrain estimator, where range data newer than the IMU sample would cause an overflow due to unsigned math, similar to https://github.com/PX4/ecl/pull/462. This is still a problem in some other places in ECL, and I will be fixing them incrementally.
Fixes the flow  aiding timeout check to use the last time optical flow was fused instead of the time the last sample is from.

Testing  :
https://logs.px4.io/plot_app?log=ea18fc88-8ce5-4382-ab62-35a9a0d015f3
The log was replayed without this fix, and then with this fix. The estimator does not diverge in the second  case and correctly detects no flow fusion and stops navigation.

As a separate PR I want to go through the time stamps and make everything that is related to fusion use imu_sample_delayed.time_us as the time reference. The only time stamps that is makes sense to use _time_last_imu for are those that arer doing checks on data before it is pushed to buffers.

Makes sense. We definitely need a time-stamping audit, because I see similar issues in multiple places.

source: gharchive/pull-request

authors: mhkabir priseborough

license_type: permissive

license_source: bigquery


text:
Training

Updates and refactoring to enable training, including on GPU systems.
A simple script should eventually be added.

merging

repo: PYPIT/spit

license_source: github-api


text:
Many jobs running on slurm cluster, but not computing anything

Operating system
CentOS
Package name
falcon-kit 1.8.1 (pip thinks "falcon-kit 1.8.1")
pypeflow 2.3.0
Conda environment
Too long (can paste later if helps)
Describe the bug
I am running 44 concurrent assemblies (1 for each chromatid). The config file is given below, but the key parts are pwatcher_type=blocking, and the submit command uses srun. I'm trying to burn through as many assemblies as possible, so it's important to maximally utilize the resources on my cluster.  When I ssh to many of the nodes to peek on what is going on, there are no commands that I have running (nothing in htop, and as far as I can tell, when I run ps -efl | grep mchaisso, nothing running other than the shell of my ssh job. So somehow the jobs do not seem to be returning. I've also submitted a ticket to our HPC department to see if there are any issues on the backend configuration.
There are a handful of jobs that are running some daligner or consensus jobs (~3-5), but most are stalled.
       5866999       cmb   falcon mchaisso  R       8:32      1 hpc3962
       5866998       cmb   falcon mchaisso  R      11:03      1 hpc3961
       5866997       cmb   falcon mchaisso  R      12:05      1 hpc3963
       5866906       cmb   falcon mchaisso  R      22:54      1 hpc0950
       5866767       cmb   falcon mchaisso  R    1:12:07      1 hpc2741
       5866768       cmb   falcon mchaisso  R    1:12:07      1 hpc2742
       5866763       cmb   falcon mchaisso  R    1:22:45      1 hpc2740
       5866749       cmb   falcon mchaisso  R    1:23:24      1 hpc0949
       5866750       cmb   falcon mchaisso  R    1:23:24      1 hpc0950
       5866751       cmb   falcon mchaisso  R    1:23:24      1 hpc0951
       5866752       cmb   falcon mchaisso  R    1:23:24      1 hpc0952
       5866753       cmb   falcon mchaisso  R    1:23:24      1 hpc2730
       5866754       cmb   falcon mchaisso  R    1:23:24      1 hpc2731
       5866756       cmb   falcon mchaisso  R    1:23:24      1 hpc2733
       5866758       cmb   falcon mchaisso  R    1:23:24      1 hpc2735
       5866759       cmb   falcon mchaisso  R    1:23:24      1 hpc2736
       5866760       cmb   falcon mchaisso  R    1:23:24      1 hpc2737
       5866761       cmb   falcon mchaisso  R    1:23:24      1 hpc2738
       5866762       cmb   falcon mchaisso  R    1:23:24      1 hpc2739
       5866427       cmb   falcon mchaisso  R    3:15:35      1 hpc0940
       5866425       cmb   falcon mchaisso  R    3:15:37      1 hpc0941
       5866426       cmb   falcon mchaisso  R    3:15:37      1 hpc0941
       5866424       cmb   falcon mchaisso  R    3:15:42      1 hpc0940
       5866422       cmb   falcon mchaisso  R    3:15:47      1 hpc0940
       5866417       cmb   falcon mchaisso  R    3:16:06      1 hpc3596
       5866380       cmb   falcon mchaisso  R    3:26:39      1 hpc0947
       5866263       cmb   falcon mchaisso  R    4:01:12      1 hpc0943
       5866264       cmb   falcon mchaisso  R    4:01:12      1 hpc0945
       5866195       cmb   falcon mchaisso  R    4:25:43      1 hpc0941
       5866196       cmb   falcon mchaisso  R    4:25:43      1 hpc0941
       5866078       cmb   falcon mchaisso  R    5:25:43      1 hpc3954
       5866042       cmb   falcon mchaisso  R    5:32:42      1 hpc3952
       5865975       cmb   falcon mchaisso  R    5:39:40      1 hpc3958
       5865971       cmb   falcon mchaisso  R    5:41:48      1 hpc3595
       5865972       cmb   falcon mchaisso  R    5:41:48      1 hpc3752
       5865968       cmb   falcon mchaisso  R    5:42:19      1 hpc0940
       5865966       cmb   falcon mchaisso  R    5:42:30      1 hpc3836
       5865962       cmb   falcon mchaisso  R    5:42:33      1 hpc3597
       5865963       cmb   falcon mchaisso  R    5:42:33      1 hpc3760
       5865952       cmb   falcon mchaisso  R    5:42:38      1 hpc3956
       5865953       cmb   falcon mchaisso  R    5:42:38      1 hpc3951
       5865954       cmb   falcon mchaisso  R    5:42:38      1 hpc3964
       5865959       cmb   falcon mchaisso  R    5:42:38      1 hpc3761
       5865960       cmb   falcon mchaisso  R    5:42:38      1 hpc3763
       5865863       cmb   falcon mchaisso  R    5:46:46      1 hpc0943
       5865833       cmb   falcon mchaisso  R    5:50:08      1 hpc0943
       5865805       cmb   falcon mchaisso  R    5:53:13      1 hpc0943
       5865746       cmb   falcon mchaisso  R    6:02:01      1 hpc3476
       5865747       cmb   falcon mchaisso  R    6:02:01      1 hpc3477
       5865748       cmb   falcon mchaisso  R    6:02:01      1 hpc3478

Error message
Paste the error message / stack.
[job.defaults]
njobs = 100
#submit = /bin/bash -c "${JOB_SCRIPT}"
JOB_QUEUE = cmb
MB = 48000
NPROC = 8
pwatcher_type=blocking
submit = srun
-p cmb
-J falcon
--time=8:00:00
--mem=${MB}M
-c ${NPROC}
"${JOB_SCRIPT}"
[General]
input_type = raw
pwatcher_type=blocking
#input_type = preads
input_fofn = input.fofn
#pwatcher_type=fs_based
The length cutoff used for seed reads used for initial mapping
genome_size = 159345973
seed_coverage = 30
length_cutoff = -1
The length cutoff used for preads
length_cutoff_pr = 8000
falcon_greedy = False
falcon_sense_greedy=False
overlapping options for Daligner
pa_daligner_option = -e0.8 -l1000 -k18 -h70 -w8 -s100 -T12
ovlp_daligner_option = -k24 -h1024 -e.95 -l1000 -s100 -T12
pa_HPCdaligner_option = -v -B128 -M24 -T12
ovlp_HPCdaligner_option = -v -B128 -M24 -T12
pa_HPCTANmask_option = -k18 -h480 -w8 -e.8 -s100
pa_HPCREPmask_option = -k18 -h480 -w8 -e.8 -s100
#pa_REPmask_code=1,20;10,15;50,10
pa_DBsplit_option = -x500 -s400
ovlp_DBsplit_option = -s400
error correction consensus option
falcon_sense_option = --output-multi --min-idt 0.70 --min-cov 3 --max-n-read 100 --n-core 8
overlap filtering options
overlap_filtering_setting = --max-diff 100 --max-cov 200 --min-cov 2 --n-core 8
[job.step.da]
NPROC=12
MB=32000
njobs=200
[job.step.la]
NPROC=4
MB=32000
njobs=200
[job.step.cns]
NPROC=8
MB=16000
njobs=200
[job.step.pda]
NPROC=8
MB=64000
njobs=200
[job.step.pla]
NPROC=8
MB=32000
njobs=200
[job.step.asm]
NPROC=12
MB=92000
njobs=10
To Reproduce
Steps to reproduce the behavior. Providing a minimal test dataset on which we can reproduce the behavior will generally lead to quicker turnaround time!
Expected behavior
A clear and concise description of what you expected to happen.

Hi Mark,
Has there been any development about this topic on your end?
This definitely doesn't sound like an assembly issue, but something related to the cluster setup.
Tagging @pb-cdunn here, he might have better insight into the queue options.
Quick question: is it just the formatting when you copy/pasted, or are you missing backslashes in the submit command?
Best regards,
Ivan.

It was an srun issue -- I changed to sbatch --wait and things are working
well now.
Thanks for looping back,
-Mark
On Tue, Feb 11, 2020 at 10:21 AM Ivan Sovic notifications@github.com
wrote:

Hi Mark,
Has there been any development about this topic on your end?
This definitely doesn't sound like an assembly issue, but something
related to the cluster setup.
Tagging @pb-cdunn https://github.com/pb-cdunn here, he might have
better insight into the queue options.
Quick question: is it just the formatting when you copy/pasted, or are you
missing backslashes in the submit command?
Best regards,
Ivan.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PacificBiosciences/pbbioconda/issues/250?email_source=notifications&email_token=AAKPGPSEJLDFUN7VBSR3L6TRCLUEFA5CNFSM4KMFKUAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNQLWY#issuecomment-584779227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKPGPV2NXEPX7XDDVQDDATRCLUEFANCNFSM4KMFKUAA
.

Great to hear that! Thanks!
Best regards,
Ivan.

source: gharchive/issue

authors: isovic mchaisso

repo: PacificBiosciences/pbbioconda


text:
IPA v.1.5 not working despite attempts to de-bug

We are trying to run IPA v.1.5. and have been unable to successfully run pbipa on UGA Sapelo2 cluster despite trouble shooting.
No matter what we get the error message:
The following have been reloaded with a version change:

GCCcore/10.2.0 => GCCcore/8.3.0
XZ/5.2.5-GCCcore-10.2.0 => XZ/5.2.4-GCCcore-8.3.0
binutils/2.35-GCCcore-10.2.0 => binutils/2.32-GCCcore-8.3.0
bzip2/1.0.8-GCCcore-10.2.0 => bzip2/1.0.8-GCCcore-8.3.0
ncurses/6.2-GCCcore-10.2.0 => ncurses/6.1-GCCcore-8.3.0
zlib/1.2.11-GCCcore-10.2.0 => zlib/1.2.11-GCCcore-8.3.0

PackagesNotFoundError: The following packages are missing from the target environment:

python=3.1

PackagesNotFoundError: The following packages are not available from current channels:

python=3.1

Current channels:

https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://conda.anaconda.org/bioconda/linux-64
https://conda.anaconda.org/bioconda/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
INFO: /apps/eb/pbipa/1.5.0/bin/ipa dist -i 1033.css.fq --nthreads 20 --njobs 1 --run-dir 1033.ipa --cluster-args 'qsub -S /bin/bash -N ipa -cwd -q default -pe smp {params.num_threads} -e qsub_log/ -o qsub_log/ -V'
INFO: ipa.py ipa (wrapper) version=1.5.0 ... Checking dependencies ...
samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
INFO: Dependencies
/apps/eb/pbipa/1.5.0/bin/python3
/apps/eb/pbipa/1.5.0/bin/ipa2-task
/apps/eb/pbipa/1.5.0/bin/falconc
/apps/eb/pbipa/1.5.0/bin/minimap2
/apps/eb/pbipa/1.5.0/bin/nighthawk
/apps/eb/pbipa/1.5.0/bin/pancake
/apps/eb/pbipa/1.5.0/bin/pblayout
/apps/eb/pbipa/1.5.0/bin/racon
/apps/eb/pbipa/1.5.0/bin/samtools
/apps/eb/pbipa/1.5.0/bin/ipa_purge_dups
/apps/eb/pbipa/1.5.0/bin/ipa_purge_dups_split_fa
snakemake version=6.10.0
ipa2-task 1.5.0 (commit c875fce13bdacbafc2f4f750c6438f4453e1354d)
Machine name: 'Linux'
Copyright (C) 2004-2021 Pacific Biosciences of California, Inc.
This program comes with ABSOLUTELY NO WARRANTY; it is intended for
Research Use Only and not for use in diagnostic procedures.
We have tried:
install pbipa as recommended - openssl is the wrong version (libcrypto.so.1.0.0 error)
conda install pbipa openssl=1.0 -c defaults -c conda-forge -c bioconda - doesn't install all of the scripts needed (e.g. ipa_purge_dups_split_fa)
conda install pbipa samtools=1.9 -c defaults -c conda-forge -c bioconda - same as above
install pbipa as recommended, then try to downgrade openssl to 1.0 in the environment after installation - doesn't work, package conflicts
install pbipa as recommended, then try to upgrade samtools to 1.9 in the environment after installation - same as above
install pbipa as recommended, then conda update samtools - does nothing
install pbipa as recommended, then conda update -c conda-forge -c bioconda -c defaults samtools - does nothing

Hi @kcl58759 ,
This is a known long-standing Samtools error which happens with older versions of Samtools (v1.9).
I tried reproducing this issue multiple times, but in all cases Samtools 1.15 gets installed, and everything works fine.
Most likely, Samtools or OpenSSL get pulled from the wrong Conda channel.
The same issue was also reported in other projects with some suggested solutions:
https://github.com/bioconda/bioconda-recipes/issues/12100
All the reports we have seen were with respect to Samtools v1.9.
The best solution is to upgrade Samtools to >=1.10.
Otherwise, the solution which worked for most users is to manually create a file ~/.condarc with the following content:
channels:
  - conda-forge
  - bioconda
  - defaults

If the order of channels is wrong, Conda may pull wrong versions of Samtools and libcrypto.
Another solution is to explicitly downgrade openssl, and I saw you already tried something similar to this but with a different set of conda channels listed:
conda install -c bioconda samtools openssl=1.0

Make sure you install pbipa fresh after these changes (e.g. in a new environment).
Does any of this fix the issue for you?
Best regards,
Ivan.

Please let me know if and how you managed to solve this issue.
I will close it until then.
Feel free to reopen it if needed.
Best regards,
Ivan.


text:
Annotation

Hello
I used sv package (https://github.com/PacificBiosciences/svpack to annotate the structural variants). What does SVANN:Tandem mean in the annotation? Does it mean the variant is present in the repeat region?
Thanks

Yes, SVANN means that the variant is a tandem repeat expansion or contraction.  svpack does not add SVANN annotation, but it will process that annotation from pbsv

Thank you

repo: PacificBiosciences/svpack


text:
Beginner question

This may be a simple fix, however when I try to run the very first code In [3] in Jupyter notebook, I get,
/bin/bash: wget: command not found
did I miss something in my setup?
Thanks,
Wendy

You need to install wget on your system, that should sort it.

authors: tiagoantao wendyol

license: MIT


text:
Wrong filename with for the Classes

Filename should be LocalUserDataSourceImplTest not RemoteUserDataSourceImplTest
https://github.com/PacktPublishing/Clean-Android-Architecture/blob/20714181bb3ff7ea1d6993141d35aa0996a73158/Chapter7/Exercise07.02/data-local/src/test/java/com/clean/data_local/source/RemoteUserDataSourceImplTest.kt#L16
Filename should be LocalPostDataSourceImplTest not RemotePostDataSourceImplTest
https://github.com/PacktPublishing/Clean-Android-Architecture/blob/20714181bb3ff7ea1d6993141d35aa0996a73158/Chapter7/Exercise07.02/data-local/src/test/java/com/clean/data_local/source/RemotePostDataSourceImplTest.kt#L16

@khanra17 Thank you for the find. I've updated the file names to the correct ones.

Thank you.


text:
download third party labraries when make the project

Before we make the project, it will check the dependences in cmake cmd. After cmake, we make the project. However, it still download some third party libraries from Internet. The downloading behavior should not in makefile.

We use cmake's ExternalProject_Add api  to resovle dependences.   Despite the downloading period will happen in making,  but it only download once. The next time when you make, it will not happen.

authors: pangge wenyawei

repo: PaddlePaddle/Anakin


text:
[Backend] Add SetTrtMaxBatchSize function for TensorRT.

添加SetTrtMaxBatchSize函数, 供TensorRT，Paddle-TRT使用.

增加一个pybind实现

增加一个pybind实现

Done

authors: jiangjiajun yunyaoXYY

repo: PaddlePaddle/FastDeploy


text:
[Bug]: Failed import paddlenlp.dataaug as transformer modules are import in relative path and modules path had changed.

软件环境
- paddlepaddle:2.3.2
- paddlepaddle-gpu: NA
- paddlenlp: 2.4.9

paddle-bfloat                  0.1.7
paddle2onnx                    1.0.0
paddlefsl                      1.1.0
paddlehub                      2.3.0
paddlenlp                      2.4.9
paddlepaddle                   2.3.2
tb-paddle                      0.3.6

重复问题

[X] I have searched the existing issues

错误描述
Encounter issue below when `import paddlenlp.dataaug`, and the reason seems to be a bug that paddlenlp.dataaug import transformer modules with relative path but this modules had moved to other path(`paddlenlp.transformers.auto` for specific).

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/tmp/ipykernel_245/1858162840.py in <module>
----> 1 from paddlenlp.dataaug import WordSubstitute
      2 s1 = "工地买了建工险，出了事故多长时间上报保险公司有效。"

/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlenlp/dataaug/__init__.py in <module>
     13 # limitations under the License.
     14
---> 15 from .word_substitute import *
     16 from .word_insert import *
     17 from .word_delete import *

/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlenlp/dataaug/word_substitute.py in <module>
     22 import paddle
     23
---> 24 from ..transformers import AutoModelForMaskedLM, AutoTokenizer
     25 from .base_augment import BaseAugment
     26

ImportError: cannot import name 'AutoModelForMaskedLM' from 'paddlenlp.transformers' (/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlenlp/transformers/__init__.py)

稳定复现步骤 & 代码
running in AI studio notebook,
from paddlenlp.dataaug import WordSubstitute
s1 = "工地买了建工险，出了事故多长时间上报保险公司有效。"

你好我在aistudio notebook bml版本 paddlepaddle 2.3.2复现了该场景，没有发现问题。可以正常运行如下代码
from paddlenlp.dataaug import WordSubstitute
from paddlenlp.transformers import AutoModelForMaskedLM

请提供可复现问题的aistudio 链接

你好我在aistudio notebook bml版本 paddlepaddle 2.3.2复现了该场景，没有发现问题。可以正常运行如下代码
from paddlenlp.dataaug import WordSubstitute
from paddlenlp.transformers import AutoModelForMaskedLM

请提供可复现问题的aistudio 链接

您好，今天重新在aistudio上实验，没有复现了。感谢。
So close as could not reproduce.

repo: PaddlePaddle/PaddleNLP


text:
训练wide_deep模型时，设置num_workers，epoch内迭代次数反而变多了。

训练方式为readme中的动态图训练方式，数据集也是从Paddle官方下载的已处理数据slot_train_data_full，只用了part0来做测试。其他训练参数均为默认。
num_workers=0时，一个epoch内的迭代总次数为390:
batch_id :  388
batch shape :  512
batch_id :  389
batch shape :  512
num_workers=2时，一个epoch内的迭代总次数为780:
batch_id :  778
batch shape :  512
batch_id :  779
batch shape :  512
num_workers=5时，一个epoch内的迭代总次数为1950:
batch_id :  3898
batch shape :  512
batch_id :  3899
batch shape :  512
num_workers=10时，一个epoch内的迭代次数为3900:
batch_id :  3898
batch shape :  512
batch_id :  3899
batch shape :  512
单次迭代(1个batch数据)时间会变短，但迭代次数变多，整体训练时间会变长。
请帮忙看下这个问题，感谢！

@paynezhangpayne 请问你解决这个问题了吗，我也发现了这个问题

@paynezhangpayne https://www.paddlepaddle.org.cn/documentation/docs/zh/2.2/api/paddle/io/IterableDataset_cn.html#iterabledataset
在官方文档中找到num_workers 的解释：当 paddle.io.DataLoader 中 num_workers > 0 时，每个子进程都会遍历全量的数据集返回全量样本，所以数据集会重复 num_workers 次，如果需要数据集样本不会重复返回，可通过如下两种方法避免样本重复，两种方法中都需要通过 paddle.io.get_worker_info 获取各子进程的信息。

authors: ibarbecue paynezhangpayne

repo: PaddlePaddle/PaddleRec


text:
PaddleX3.0训练出来的模型,FastDeploy是否能用

PaddleX3.0训练出来的模型,FastDeploy是否能用

fd支持的模型列表中能用的，我的觉paddlex3.0训练的也能用

PaddleX正在集成FD相关的能力，会在3.0正式版体现，到时候可以无缝打通。

The issue has no response for a long time and will be closed. You can reopen or new another issue if are still confused.

From Bot

authors: ChaoII TingquanGao cuicheng01 monkeycc

repo: PaddlePaddle/PaddleX


text:
模型转换报错

请问各位前辈，我按照文档做图像识别的paddleserving部署时出现了这个错误该如何解决呢？serving/client/serving-app均已安装。

Traceback (most recent call last):
File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/site-packages/paddle_serving_client/convert.py", line 87, in
fetch_alias_names=args.fetch_alias_names)
File "/usr/local/lib/python3.7/site-packages/paddle_serving_client/io/init.py", line 334, in inference_model_to_serving
model_filename, params_filename, show_proto, feed_alias_names, fetch_alias_names)
File "/usr/local/lib/python3.7/site-packages/paddle_serving_client/io/init.py", line 214, in save_model
new_model_file.write(main_program._remove_training_info(False).desc.serialize_to_string())
AttributeError: 'Program' object has no attribute '_remove_training_info'

已解决。环境问题。

@lululu86 具体是环境哪里出了问题，可以展开一下吗？最近部署的时候也遇到了相同的问题。

@lululu86 具体是环境哪里出了问题，可以展开一下吗？最近部署的时候也遇到了相同的问题。

paddlepaddle-gpu升到2.2.0,Serving用0.7.0

@lululu86 多谢，已经解决。应该是paddlepaddle和paddle serving版本有对应关系的，官方应该给出来。

paddle的版本问题，之前是paddle2.1,目前升级到2.2,在转换模型不再报错，可以正常运行；
目前，正常运行版本信息 paddlepaddle-gpu-2.2.2post112 + paddle-serving-*-0.8.3

repo: PaddlePaddle/Serving


text:
执行 pip3 install -r python/requirements.txt  报错

Building wheels for collected packages: av
Building wheel for av (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3.6 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-33ucddr6/av_a8ed30cb6adf4834b63b8b918a77b42a/setup.py'"'"'; file='"'"'/tmp/pip-install-33ucddr6/av_a8ed30cb6adf4834b63b8b918a77b42a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-2di0ikr3
cwd: /tmp/pip-install-33ucddr6/av_a8ed30cb6adf4834b63b8b918a77b42a/
Complete output (48 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/av
copying av/main.py -> build/lib.linux-x86_64-3.6/av
copying av/init.py -> build/lib.linux-x86_64-3.6/av
copying av/datasets.py -> build/lib.linux-x86_64-3.6/av
copying av/deprecation.py -> build/lib.linux-x86_64-3.6/av
creating build/lib.linux-x86_64-3.6/av/container
copying av/container/init.py -> build/lib.linux-x86_64-3.6/av/container
creating build/lib.linux-x86_64-3.6/av/subtitles
copying av/subtitles/init.py -> build/lib.linux-x86_64-3.6/av/subtitles
creating build/lib.linux-x86_64-3.6/av/codec
copying av/codec/init.py -> build/lib.linux-x86_64-3.6/av/codec
creating build/lib.linux-x86_64-3.6/av/filter
copying av/filter/init.py -> build/lib.linux-x86_64-3.6/av/filter
creating build/lib.linux-x86_64-3.6/av/audio
copying av/audio/init.py -> build/lib.linux-x86_64-3.6/av/audio
creating build/lib.linux-x86_64-3.6/av/data
copying av/data/init.py -> build/lib.linux-x86_64-3.6/av/data
creating build/lib.linux-x86_64-3.6/av/video
copying av/video/init.py -> build/lib.linux-x86_64-3.6/av/video
creating build/lib.linux-x86_64-3.6/av/sidedata
copying av/sidedata/init.py -> build/lib.linux-x86_64-3.6/av/sidedata
running build_ext
running config
PyAV: 8.0.3 (unknown commit)
Python: 3.6.0 (default, Mar  4 2022, 05:45:55) \n[GCC 8.2.0]
platform: Linux-5.4.0-150-generic-x86_64-with-debian-stretch-sid
extension_extra:
include_dirs: [b'include']
libraries: []
library_dirs: []
define_macros: []
runtime_library_dirs: []
config_macros:
PYAV_COMMIT_STR="unknown-commit"
PYAV_VERSION=8.0.3
PYAV_VERSION_STR="8.0.3"
Could not find libavformat with pkg-config.
Could not find libavcodec with pkg-config.
Could not find libavdevice with pkg-config.
Could not find libavutil with pkg-config.
Could not find libavfilter with pkg-config.
Could not find libswscale with pkg-config.
Could not find libswresample with pkg-config.
ERROR: Failed building wheel for av
Running setup.py clean for av
Failed to build av
Installing collected packages: av
Running setup.py install for av ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3.6 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-33ucddr6/av_a8ed30cb6adf4834b63b8b918a77b42a/setup.py'"'"'; file='"'"'/tmp/pip-install-33ucddr6/av_a8ed30cb6adf4834b63b8b918a77b42a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-8oce82tt/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6m/av
cwd: /tmp/pip-install-33ucddr6/av_a8ed30cb6adf4834b63b8b918a77b42a/
Complete output (50 lines):
running install
/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/av
copying av/main.py -> build/lib.linux-x86_64-3.6/av
copying av/init.py -> build/lib.linux-x86_64-3.6/av
copying av/datasets.py -> build/lib.linux-x86_64-3.6/av
copying av/deprecation.py -> build/lib.linux-x86_64-3.6/av
creating build/lib.linux-x86_64-3.6/av/container
copying av/container/init.py -> build/lib.linux-x86_64-3.6/av/container
creating build/lib.linux-x86_64-3.6/av/subtitles
copying av/subtitles/init.py -> build/lib.linux-x86_64-3.6/av/subtitles
creating build/lib.linux-x86_64-3.6/av/codec
copying av/codec/init.py -> build/lib.linux-x86_64-3.6/av/codec
creating build/lib.linux-x86_64-3.6/av/filter
copying av/filter/init.py -> build/lib.linux-x86_64-3.6/av/filter
creating build/lib.linux-x86_64-3.6/av/audio
copying av/audio/init.py -> build/lib.linux-x86_64-3.6/av/audio
creating build/lib.linux-x86_64-3.6/av/data
copying av/data/init.py -> build/lib.linux-x86_64-3.6/av/data
creating build/lib.linux-x86_64-3.6/av/video
copying av/video/init.py -> build/lib.linux-x86_64-3.6/av/video
creating build/lib.linux-x86_64-3.6/av/sidedata
copying av/sidedata/init.py -> build/lib.linux-x86_64-3.6/av/sidedata
running build_ext
running config
PyAV: 8.0.3 (unknown commit)
Python: 3.6.0 (default, Mar  4 2022, 05:45:55) \n[GCC 8.2.0]
platform: Linux-5.4.0-150-generic-x86_64-with-debian-stretch-sid
extension_extra:
include_dirs: [b'include']
libraries: []
library_dirs: []
define_macros: []
runtime_library_dirs: []
config_macros:
PYAV_COMMIT_STR="unknown-commit"
PYAV_VERSION=8.0.3
PYAV_VERSION_STR="8.0.3"
Could not find libavformat with pkg-config.
Could not find libavcodec with pkg-config.
Could not find libavdevice with pkg-config.
Could not find libavutil with pkg-config.
Could not find libavfilter with pkg-config.
Could not find libswscale with pkg-config.
Could not find libswresample with pkg-config.
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3.6 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-33ucddr6/av_a8ed30cb6adf4834b63b8b918a77b42a/setup.py'"'"'; file='"'"'/tmp/pip-install-33ucddr6/av_a8ed30cb6adf4834b63b8b918a77b42a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-8oce82tt/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6m/av Check the logs for full command output.

+1

+1


text:
【Hackathon 7th No.39】为 Paddle 代码转换工具新增 API 转换规则（第 6 组）

https://github.com/PaddlePaddle/Paddle/issues/68244

 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.

@Asthestarsfalll 映射文档有问题，未通过CI不予合入：
1394 mapping documents found in api_difference.
2024-09-18 21:37:29 16 mapping documents found in api_difference_third_party/transformers.
2024-09-18 21:37:29 7 mapping documents found in api_difference_third_party/fairscale.
2024-09-18 21:37:29 4 mapping documents found in api_difference_third_party/flash_attn.
2024-09-18 21:37:29 Traceback (most recent call last):
2024-09-18 21:37:29   File "/FluidDoc/docs/guides/model_convert/convert_from_pytorch/tools/apply_references.py", line 319, in <module>
2024-09-18 21:37:29     metas = discover_all_metas(cfp_basedir)
2024-09-18 21:37:29   File "/FluidDoc/docs/guides/model_convert/convert_from_pytorch/tools/validate_mapping_files.py", line 635, in discover_all_metas
2024-09-18 21:37:29     metas.append(get_meta_from_diff_file(f, s, d, src_argmap_title=sh))
2024-09-18 21:37:29   File "/FluidDoc/docs/guides/model_convert/convert_from_pytorch/tools/validate_mapping_files.py", line 208, in get_meta_from_diff_file
2024-09-18 21:37:29     raise ValueError(
2024-09-18 21:37:29 ValueError: Unexpected mapping type: Paddle ???????????? in /FluidDoc/docs/guides/model_convert/convert_from_pytorch/tools/../api_difference/functional/torch.nn.functional.lp_pool2d.md
2024-09-18 21:37:29 Error: API mapping generate script failed, please check changes in /FluidDoc/docs/guides/model_convert/convert_from_pytorch

repo: PaddlePaddle/docs


text:
[Snyk] Upgrade @emotion/react from 11.10.8 to 11.11.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @emotion/react from 11.10.8 to 11.11.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released 24 days ago, on 2023-06-07.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Dependabot opened #165

repo: PagerDuty/pd-live-react


text:
Document navigation events and match Palindrom's and PalindromDOM's getPatchUsingHTTP signature

Documents #216

Note: I let @PatrykSzwer to kill the TC build because he needed the agent and my change is just in docs.

A new build started: https://teamcity.starcounter.org/viewLog.html?buildId=93141&buildTypeId=Apps_WebPlatform_Palindrom_TestWithApps

A new build started on TeamCity: teamcity.starcounter.org/viewLog.html?buildId=93141&buildTypeId=Apps_WebPlatform_Palindrom_TestWithApps

This build tested the wrong branch. I started another but it seems to take forever. I ran them locally and all have passed. I admit it was a little selfish to hold up BrowserStack agents, though.
And travis is now passing and I addressed all.

Sorry but the change 60a7c81f4d4c59c2e420acb201c01ed22c1f4827 made the problem https://github.com/Palindrom/Palindrom/issues/216#issuecomment-472851928 even worse. Now after pressing "Back" the page is scrolled to the top.

@warpech turns out it was in imported-template issue. Please use this branch and https://github.com/Juicy/imported-template/pull/62 to test if this works.

The build failed: https://teamcity.starcounter.org/viewLog.html?buildId=93785&buildTypeId=Apps_WebPlatform_Palindrom_TestWithApps. I have scheduled another build, let's see how it goes.

The builds linked in my previous comment failed, probably because of outdated Blending build. Started new builds: Blending, Palindrom test with apps (with Starcounter 2.4.990.254)

The build of Blending is failing, I am looking into that.

New builds started:

https://teamcity.starcounter.org/viewLog.html?buildId=93853&buildTypeId=Apps_Blending_BlendingMasterWithStarcounterDevelop24
https://teamcity.starcounter.org/viewQueued.html?itemId=93866

If this succeeds, I will have to change the configuration of all our builds to take last pinned version of Starcounter instead of last successful.

New build started with manually selected dependencies: https://teamcity.starcounter.org/viewLog.html?buildId=93910&
There is a problem with building Blending with recent Starcounter version. I am discussing it here: https://starcounter.slack.com/archives/C6NN6KJLU/p1553765679000400

https://teamcity.starcounter.org/viewLog.html?buildId=93910 failed because @PatrykSzwer abused BrowserStack queue :)
https://teamcity.starcounter.org/viewLog.html?buildId=93911 failed with 1 failure. Maybe it is flaky?
Started another build: https://teamcity.starcounter.org/viewQueued.html?itemId=93924

Test Palindrom with Apps passed: https://teamcity.starcounter.org/viewLog.html?buildId=93924&

A fresh build started (https://teamcity.starcounter.org/viewQueued.html?itemId=94130), just to make it look green in the GitHub log.
I suggest that this is merged and released, even though we agree that the point 4 (of https://github.com/Palindrom/Palindrom/issues/216) is not fully fixed yet. At least, up to my knowledge, it is not more broken either.
I suggest we release and attempt fixing the point 4 in a separate PR.
@tomalec, @alshakero WDYT?

I suggest we release and attempt fixing the point 4 in a separate PR.

Yes, I agree. Especially I suspect that Palindrom can't do anything about it.

I agree with not waiting for 4.

authors: alshakero tomalec warpech

repo: Palindrom/Palindrom

license: mit


text:
To support private cloud in Threat Connect Miner

Be able to consume indicators from a private cloud as described in document

Resolved with #302

authors: jtschichold xhoms

repo: PaloAltoNetworks/minemeld-core


text:
document how to use delete_similar

Documentation link
https://pan-os-python.readthedocs.io/en/latest/howto.html#optimize-with-bulk-operations
Describe the problem
doc mentions delete_similar as an alternative to delete to perform bulk delete, but it's not clear how this feature should be used.
if calling fw.remove(obj) on an AddressObject, next call to obj.delete_similar() fails with an exception
No PanDevice set for object tree

Suggested fix
can the documentation include an example of usage of delete_similar ?

Hi, @freedge were you able to find some details about it ?
I'm looking for a way to bulk-delete huge amounts of objects (which actually takes a very long time with unit API calls), but I don't really understand if delete_similar is the right way to proceed, neither how to use it.

authors: AnthoBalitrand freedge

repo: PaloAltoNetworks/pan-os-python

license: ISC


text:
Update sidebars.js

Commenting out the link to the postman collections as this is no longer maintained.
Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate)

Types of changes

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 change)

Checklist

[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

@ssugandh can you please comment out the link to the postman collection everywhere in our content. I see it here in the Supported endpoints page: https://pan.dev/prisma-cloud/api/cwpp/
cc @3agpot @AbiMano4688

Closing this PR in lieu of this https://github.com/PaloAltoNetworks/pan.dev/pull/460 where every reference to postman collections (including the page itself) are removed.
Will merge in 48 hours, but feel free to address any other changes as part of that PR.


text:
Support users customize device_map

What does this pr do
This pr extend device_map in from_quantized to support users customized config, as discussed in #47

So, would it be possible to emulate the effect of pre_layer in GPTQ-for-LLaMA with this?

I will take some time to look into this

repo: PanQiWei/AutoGPTQ


text:
Cant access my panther x1

Should i run some file before entering my pantherx1 ip to my browser ?
i downloaded your github files but there is no instruction what to run ...

You don't need to do anything, just enter your hotspot IP address on the browser.

My Amusing magenta puppy don't work

authors: A13lex Murtpoiss openxzx

repo: Panther-X/PantherDashboard


text:
Added flag '--videosize' for set the amount of video memory to be ava…

Added flag '--videosize' for set the amount of video memory to be available to the virtual machine's.

@itsvalya Thank you for the contribution!

repo: Parallels/docker-machine-parallels


text:
Aachen: update apag scraper and geojson

This PR fixes apag (parking provider Aachener Parkhaus GmbH) scraper and geojson.
Note: apag includes the cities of Aachen, Würselen, Dülmen, Datteln and even a parking in Berlin (East Side Mall).

Latest updates are minor updates, so I'll merge without another approval


text:
Added Bolts generics to internal implementation

PFDefaultACLController
PFURLSessionCommandRunner

LGTM

okay fixed, thanks!

Looks like this has some merge conflicts now... :(

authors: devincheevers nlutsenko richardjrossiii

repo: ParsePlatform/Parse-SDK-iOS-OSX


text:
Damn god! Still no usable Unity sdk!

I've been waiting for more than one month. Can someone reply to the post?
https://github.com/ParsePlatform/Parse-SDK-dotNET/issues/166
I cannot proceed our migration cuz no usable unity sdk. And no one tell us how to compile the source code to Unity dll & no updated reply.

you don't need to rush your migration to parse-server! there is still plenty of time for that!

repo: ParsePlatform/parse-server


text:
Help with message serialization

PyKafka version: '2.7.0'
Kafka version: Latest
Hello,
I am trying to use pickle to serialize the messages that I am producing.
with topic.get_sync_producer( max_request_size=21000012) as producer:
    #producer.produce(unp)
    producer.produce(pfile)

with pickle this is how I serialize my messages:
pfile = pickle.dumps(data, pickle.HIGHEST_PROTOCOL)

How can I use pickle for that and not utf-8?
Thanks

@georgeha If you're asking about the serializer interface on the Producer, it's a convenience but not a necessity. Without it, you can do something like this to serialize your messages:
with topic.get_sync_producer( max_request_size=21000012) as producer:
    for data in generate_data():
        pfile = pickle.dumps(data, pickle.HIGHEST_PROTOCOL)
        producer.produce(pfile)

If you wanted to implement this logic as a serializer function, you could follow the example implementation, replacing calls to encode with calls to pickle.dumps.
Please comment or reopen if you have additional questions, and thanks for using pykafka.

repo: Parsely/pykafka


text:
new starter with question

Hi guys,
I am new to the streamparse. I tried the following code but the execution just hang there without any error message. Don't know where to look into. Hope someone can provide some hint where might go wrong. Thanks!
Here comes the code I'm using:

The topology setup:

(ns wordcount
(:use     [streamparse.specs])
(:gen-class))
(defn wordcount [options]
[
;; spout configuration
{"sentence-spout" (python-spout-spec
options
"spouts.sentences.Sentences"
["sentence"]
)
}
;; bolt configuration 1
{"parse-bolt" (python-bolt-spec
options
{"sentence-spout" :shuffle}
"bolts.parse.ParseTweet"
["valid_words"]
:p 2
)
}
;; bolt configuration 2
{"count-bolt" (python-bolt-spec
options
{"parse-bolt" ["valid_words"]}
"bolts.tweetcounter.TweetCounter"
["word" "count"]
:p 2
)
}
]
)

2. spout:

    ```py
from __future__ import absolute_import,print_function, unicode_literals
import itertools
from streamparse.spout import Spout
class Sentences(Spout):
    def initialize(self, stormconf, context):
        self.sentences = [
                                     "She advised him to take a long holiday, so he immediately quit work and took a trip around the world",
                                     "I was very glad to get a present from her",
                                     "He will be here in half an hour",
                                     "She saw him eating a sandwich",
                                  ]
        self.sentences = itertools.cycle(self.sentences)
    def next_tuple(self):
        sentence = next(self.sentences)
        self.emit([sentence])
    def ack(self, tup_id):
        pass # if a tuple is processed properly, do nothing
    def fail(self, tup_id):
        pass # if a tuple fails to process, do nothing

bolt 1

from future import absolute_import, print_function,unicode_literals
import re
from streamparse.bolt import Bolt
def ascii_string(s):
return all(ord(c) < 128 for c in s)
class ParseTweet(Bolt):
def process(self, tup):
tweet = tup.values[0] # extract the tweet
# Split the tweet into words
words = tweet.split()
valid_words = []
for word in words:
if word.startswith("#"): continue
# Filter the user mentions
if word.startswith("@"): continue
# Filter out retweet tags
if word.startswith("RT"): continue
# Filter out the urls
if word.startswith("http"): continue
# Strip leading and lagging punctuations
aword = word.strip(""?><,'.:;)")
# now check if the word contains only ascii
if len(aword) > 0 and ascii_string(word):
valid_words.append([aword])
if not valid_words: return
self.emit_many(valid_words)

4. bolt 2

    ```py
from __future__ import absolute_import, print_function,
unicode_literals
from collections import Counter
from streamparse.bolt import Bolt
class TweetCounter(Bolt):
    def initialize(self, conf, ctx):
        self.counts = Counter()
def process(self, tup):
    word = tup.values[0]
    self.counts[word] += 1
    self.emit([word, self.counts[word]])
    self.log('%s: %d' % (word, self.counts[word]))

outputs(it just hang here forever):

11486 [Thread-6] INFO  backtype.storm.daemon.worker - Worker eb341c93-5b1a-44ac-bebd-edcece20c246 for storm wordcount-1-14603280
65 on bdcdcde5-d550-4a55-a010-7e3b3be70445:1027 has finished loading
12346 [refresh-active-timer] INFO  backtype.storm.daemon.worker - All connections are ready for worker bdcdcde5-d550-4a55-a010-7
e3b3be70445:1027 with id eb341c93-5b1a-44ac-bebd-edcece20c246
12385 [Thread-25-__acker] INFO  backtype.storm.daemon.executor - Preparing bolt __acker:(1)
12385 [Thread-25-__acker] INFO  backtype.storm.daemon.executor - Prepared bolt __acker:(1)
12403 [Thread-19-parse-bolt] INFO  backtype.storm.daemon.executor - Preparing bolt parse-bolt:(3)
12406 [Thread-19-parse-bolt] INFO  backtype.storm.utils.ShellProcess - Storm multilang serializer: backtype.storm.multilang.Json
Serializer
12443 [Thread-21-sentence-spout] INFO  backtype.storm.daemon.executor - Opening spout sentence-spout:(5)
12446 [Thread-21-sentence-spout] INFO  backtype.storm.utils.ShellProcess - Storm multilang serializer: backtype.storm.multilang.
JsonSerializer
12463 [Thread-23-__system] INFO  backtype.storm.daemon.executor - Preparing bolt __system:(-1)
12464 [Thread-23-__system] INFO  backtype.storm.daemon.executor - Prepared bolt __system:(-1)
12539 [Thread-19-parse-bolt] INFO  backtype.storm.task.ShellBolt - Launched subprocess with pid 26770
12549 [Thread-19-parse-bolt] INFO  backtype.storm.task.ShellBolt - Start checking heartbeat...
12550 [Thread-19-parse-bolt] INFO  backtype.storm.daemon.executor - Prepared bolt parse-bolt:(3)
12571 [Thread-21-sentence-spout] INFO  backtype.storm.spout.ShellSpout - Launched subprocess with pid 26772
12572 [Thread-21-sentence-spout] INFO  backtype.storm.daemon.executor - Opened spout sentence-spout:(5)
12578 [Thread-21-sentence-spout] INFO  backtype.storm.daemon.executor - Activating spout sentence-spout:(5)
12578 [Thread-21-sentence-spout] INFO  backtype.storm.spout.ShellSpout - Start checking heartbeat...

You have your bolt configuration wrong
(ns wordcount
(:use     [streamparse.specs])
(:gen-class))
(defn wordcount [options]
[
 ;; spout configuration
 {"sentence-spout" (python-spout-spec
       options
       "spouts.sentences.Sentences"
       ["sentence"]
       )
 }
  ;; bolt configuration 1
 {"parse-bolt" (python-bolt-spec
       options
       {"sentence-spout" :shuffle}
       "bolts.parse.ParseTweet"
       ["valid_words"]
       :p 2
       )
 } <------ This will end you bolt configuration and the rest of this file is ignored. Remove it
 ;; bolt configuration 2
 { <------ And also remove this
   "count-bolt" (python-bolt-spec
       options
       {"parse-bolt" ["valid_words"]}
       "bolts.tweetcounter.TweetCounter"
       ["word" "count"]
       :p 2
       )
 }
]
)

Fortunately not problem in version 3.0 :)

@Darkless012 thanks for debugging that!
@guoangel29 he's referring to the new Python Topology DSL in streamparse 3.0 (currently in master and tagged releases, soon to be generally available!)

currently in master and tagged releases, soon to be generally available!)

It's also available on PyPI if you install with pip install --pre streamparse==3.0.0.dev3.

repo: Parsely/streamparse


text:
Improve thread affinity with OpenMP

Is your feature request related to a problem? Please describe.
I find that I need to add "OMP_NUM_THREADS" before calling an OpenMP executable when running multiple OpenMP applications on a single node to avoid them contending with each other.
Describe the solution you'd like
It would be great for HTEx to set the environment variables that control OpenMP's number of threads per process and affinity automatically, rather than me setting them in my job.
Describe alternatives you've considered

Placing more than one HTEx per node with an MPI launcher and using the MPI launcher's affinity mechanisms.

Additional context
A primer on thread affinity and OpenMP: https://hpc-tutorials.llnl.gov/openmp/ProcessThreadAffinity.pdf

This is a problem i've seen more broadly with other stuff, where multiple layers all decide they are the decision maker for who should get cores or not.
I'm torn here, because there is some scope creep which has caused support load in other situations where some guy has decided that my code shouldn't work the same inside a program which launches my executable vs when I launch my executable.
A support example there would be "when I run my code via htex, it only uses one core; when I submit it with sbatch, it uses all the cores. parsl is broken."
At that point, we would add an option to set OMP_NUM_THREADS. And then we're back to "here's a config option which lets you... set an environment variable you could set yourself, but in a way that your sysadmins understand much less well", which is something I've pushed against in parsl.

A support example there would be "when I run my code via htex, it only uses one core; when I submit it with sbatch, it uses all the cores. parsl is broken."

That's a great point, Ben. I can see that the more Parsl messes with thread affinity, the more opportunity of unseen behavior.
I'd prefer to see the OMP thread affinity in the worker_init for this reason, but need something that is different for each worker. (BTW, should we make an Issue about documenting "worker init is for the manager but not the workers")
I'm testing out a "fix" or, at least, an proposal for how we could accomplish this, and will make sure to document what OMP environment variables Parsl is touching.

My plugin/hook obsessiveness leads me to wonder about... what if a user can supply a python that runs on each worker once at the start...
and then for this use case, you can say:
HTEXExecutor(..., worker_startup_hook=parsl.omp.one_core_for_each_omp_task())
This pulls any knowledge about OMP out of htex, I think, and out towards the person who is configuring the integration of parsl with app components and their execution environment.

I like that :D

authors: WardLT benclifford

repo: Parsl/parsl


text:
feat: major rework of Helm Chart

requires Kubernetes >= 1.18 (which is default nowadays, latest available is 1.31)

fix "app.fullname" to avoid duplication of name installation (eg. part-db-part-db)

get app.url from Ingress or default Service name

move ENV vars to Secret

change Deployment to StatefulSet

use StatefulSet volume claim template instead of creating PVC

allow disable persistence (empty folder)

change Ingress to default apiVersion v1

add initContainer to perform database migration / initialization

add initContainer to log the password (termination log, done only once when first starting the application)

enable livenessProbe

mount persistent database folder

remove non-standard default storageClassName

reduce default persistence size to 4GB (can be enlarged)

In short, this Chart can be installed and used right away without requiring user interaction (besides getting the first admin password)
❗ Note this is breaking change, hence bumping minor version.

Thank you very much.
I do not have much experience with helm charts (and the initial version of the chart were not written by me), but this looks and works fine and is a useful rework.
If you want to write some documentation on how to use this chart, feel free to create a PR for it. As you might have seen, the current documentation is really rudimentary, and it is also not advertised in the Part-DB main documentation.

authors: duhow jbtronics

repo: Part-DB/helm-charts


text:
Nothing happens after 2 windows

Im using it as usual but i get 2 windows:
1:
Existing files will be overwritten.
2:
Files created succesfully!
Then nothing happens...

Can you try different path?

authors: ParthJadhav Vinyzuz

repo: ParthJadhav/Tkinter-Designer


text:
bug: Waiting for Socket message (UDP)

Hi! Thx for library! I saw a small problem: some servers do not return a response (socket message), as a result, the connection remains and no response / error is received. Example addresses:
87.98.244.30:25570
play.fireflype.tk:19132
mc.crazynetwork.xyz:19132
45.13.59.162:25744

This error occurs on all methods where UDP Socket is used. (status, statusBedrock)
Perhaps we need to add a response timeout or an error so that we can correctly process the server response.

I have just published 3.6.0 which should hopefully resolve this issue. Please update to this version and verify the bug is resolved.

authors: PassTheMayo djoice

repo: PassTheMayo/minecraft-server-util


text:
Update Raffle.staging.test.js

Removed additional resolve() call

Whoops! Thank you!


text:
[WIP] Use strict version tags for the download urls

Implementing your suggestions in #70 was easier than I suspected. GitHub uses refs to generate tarball archives, so I simply ditched the branch constant from the download url and replaced it with the package.json "version" field.

[x] Use strict version tags for download urls.
[x] Check for the value of the CEA_ENV environment variable and, if it's "development", use the branch name in the download url. The branch name is either GITHUB_REF (stripped of "refs/heads/") in CI or a custom CEA_GITHUB_REF in local development. An error is thrown if none of the latter can be found, but CEA_ENV is set to "development".

This fixes #70.

Looks good to me!

authors: PaulRBerg TomAFrench

repo: PaulRBerg/create-eth-app


text:
I2C OLED has no reset pin to wire, pin 4 breaks I2C2 usage

This example is i2c specific and there is no device reset pin to connect
"...\Adafruit_SSD1306\examples\ssd1306_128x64_i2c\ssd1306_128x64_i2c.ino"
I suppose the same would apply to the sketch for the alternate 128x32 pixel layout but I don't have that to test:
"...\Adafruit_SSD1306\examples\ssd1306_128x32_i2c\ssd1306_128x32_i2c.ino"

For my K66 testing these lines make it work on default Wire1 and Wire2 settings when properly uncommented, is this worthy of a PULL REQUEST?
in "...\Adafruit_SSD1306\Adafruit_SSD1306.h"
//#define Wire Wire1
//#define Wire Wire2
and in "...\Adafruit_SSD1306\Adafruit_SSD1306.cpp"
#include <Wire.h>
//#include <i2c_t3.h>


text:
Web site features for GemBrow

Jotting down some required features/improvements/tasks
n.b.: GemBrow is just an internal name!
Reiterating the two big use cases:

User wants to see what we have in Gemma.
User wants to identify specific data sets for downstream use.

These have to motivate our development approach.

[ ] Integration with the current web site. This should be linked from the Gemma home page and match the style to the extent possible (this means changes to the header, footer, fonts). The old search can still be provided (and it covers searches of genes etc. that GemBrow doesn't)
[ ] Add "what's new" (see #1)
[ ] Screening of non-useful terms from the side display. Examples: "Wild type genotype" "reference subject role".  These can be programmatically identified at least in part using BaselineSelection.isBaselineCondition, and Ogan also has been developing a list of stopterms for GemmaDE that might be useful.
[ ] "Study design" should not be shown as a category as this is only used for "Subset" which we don't need to expose here. Nor should "Dose" which by itself is meaningless.
[ ] Eliminate the ontobee links associated with the ontology terms. Instead, consider a (?) tooltip that gives the ontology definition of the term.
[ ] Add a title to the experiment characteristics section, it is not clearly separate from "Platform"
[ ] The ordering of categories should be kept constant. Currently, when you check a box to filter, the order can change so "organism part" is now above "genotype" or vice vera. This is confusing.
[ ] The number of entries shown for each category seems limited right now? The smallest count is 50. We should just show "everything" (until performance becomes an issue)
[ ] Experiment table: rows should be expandable (like the old browser) or there could be a pane at the bottom to show details for the selected experiment like here - in any case some way to show some more detail.
[ ] Clicking on an experiment name in the table currently replaces the browser. I am not sure this is the best behaviour, though it's a bit of a toss-up. To discuss.
[ ] Experiment table: Allow this to be downloaded as TSV
[ ] Experiment table: show status and presence of DEA like on the old browser. Possibly allow filtering by this.
[ ] Experiment table: default sort should be by most recently updated, currently it is by ID.
[ ] Generate R code to load the data sets and display this in a pop-up perhaps (i.e. on user request). Some thought might need to be put into this - we wouldn't want it for hundreds of experiments! I'm thinking if they locate 5 or 10 that would be fine, so this feature would be disabled otherwise or trigger an error message if they try it for too many data sets.
[x] Cosmetic: the word "Search" is clipped at the top of the page at least on my browser.
[x] Type-ahead searches might not be a good idea if it triggers a lot of searching. The "There's already pending search" message must be eliminated in any case
[ ] Searching should result in the reason for the positive hits being shown, like in the current search page. For example, show a clip of the text that matched, or describe the association (e.g. via FactorValue). Users should be able to tell why the hit was retrieved.
[ ] Give a clearer visual indication that the view is filtered by a search term. One way to do this is to display "Showing 123 experiments" at the top of the table. It currently only has this as small text under the table.

I've added a debounce of 1 second when the user is actively typing and removed the check for pending requests. We might have a few queued requests, but it's not perceivable since the site is reply quickly.

Terms are sorted by entropy (the closest they are to split 50:50 the total number of datasets, the best) and category by taking the term with maximal entropy. Terms that are selected always appear first.
If not using the best term, what should be the ordering? A predefined one? or alphabetic?

Terms are sorted by entropy (the closest they are to split 50:50 the total number of datasets, the best) and category by taking the term with maximal entropy. Terms that are selected always appear first.
If not using the best term, what should be the ordering? A predefined one? or alphabetic?

Are you referring to the "The ordering of categories should be kept constant" point?
I would suggest a fixed ordering. We can debate what ordering is most aesthetically pleasing but that's what it comes down to.
A heuristic would be to go off how many relevant datasets we have for each category in total - not for the current query/filter,  but in Gemma. So Disease might be first, OrganismPart second or whatever. My intuition is that will align with what people are most likely to be looking for on average.

Ok, that might require some kind of configuration for the default order of categories.
For Gemma integration, the Vue router can pass parameter from the URL fragment to the browser:

This way we can generate links from the main Gemma website to perform a specific search on GemBrow.

Having a search field elsewhere on the site that goes to the browser would be nice, but minimally we just need links to the browser, and the browser should have the same or at least similar chrome (header, footer ... menus? etc) as the rest of the site. That's what I mean by integration. Of course I don't mean to make that into a major job.

The number of entries shown for each category seems limited right now? The smallest count is 50. We should just show "everything" (until performance becomes an issue)

Past 2000 terms, it's challenging to handle from the browser because of the rendering. We might need some kind of lazy-loading strategy to query sub-trees.

Experiment table: show status and presence of DEA like on the old browser. Possibly allow filtering by this.

I'll see if this is covered by the filters. From what I recall, this is filled in the detailed EE VO.

authors: arteymix ppavlidis

repo: PavlidisLab/GemBrow


text:
Add type safety

Since it's possible to generate typescript definitions from an OpenAPI specification (ie with https://www.npmjs.com/package/dtsgenerator), I wonder if it would be possible to implement type safety between the validator middleware and the following middlewares.
For example, dtsgenerator would transform https://github.com/PayU/openapi-validator-middleware/blob/master/test/pet-store-swagger.yaml to the following types declarations file:
// extract of the file...
declare namespace Paths {
    namespace CreatePets {
        export interface BodyParameters {
            body: Parameters.Body;
        }
        namespace Parameters {
            export interface Body {
                name: string;
                age?: number;
                tag?: string;
                test: {
                    field1: "enum1" | "enum2";
                };
            }
        }
        namespace Responses {
            export type Default = Definitions.Error;
        }
    }
// ...

Ideally, the validator would return a request with the expected type (something like Request<{}, {}, Paths.CreatePets.Parameters.Body>, see https://stackoverflow.com/a/55413670/7351594), so that the following middleware / route handler would know the type of its req argument:
app.post(
  '/pets',
  swaggerValidation.validate,
  (req: Request<{}, {}, Paths.CreatePets.Parameters.Body>, res, next) => {
    return res.json({ result: 'OK' });
  }
);

That way, the following route handler would not have to assume validation has already been done, thus reducing code coupling.

See also https://federicoferoldi.com/2017/12/28/using-the-typescript-type-system-to-validate-express-handlers.html that applies that idea.

Thanks @severo, this is an interesting idea!
This is something that should be exposed from api-shema-builder, as this is the package that is responsible for parsing the definitions file.
We'll try to see what we can do when we'll have the time, but of course PRs are always welcome.

authors: kobik severo

repo: PayU/openapi-validator-middleware


text:
Payum Core Version Updated to 1.4.*

Payum/core module updated with newer version. Lot of payum bugs were there that are now fixed.

Regarding this ( https://github.com/Payum/PayumModule/issues/34 ) we've updated and used in our system and its working flawlessly.

repo: Payum/PayumModule


text:
Using steam to report bots

There are two main ways to report players: In TF2 and in steam. Since we can't use the ingame report option, we could cheat and open the profile in a web browser in the background and use a similar like tampermonkey to report the bot. It is likely to have a bit of a performance impact and will probably be hard to implement, so this is just a suggestion.

You can still report people from within TF2...? (although this would be a good thing to make the detector do, if such is possible.)

The we in this case is from the perspective of the tool. The tool itself cannot use the in-game option.

The we in this case is from the perspective of the tool. The tool itself cannot use the in-game option.

My bad, I missed that.

But this is most probably against Steam's TOS. Since there isn't an official way to report a player automatically (via Commands or API), they might not want you to do that.

I wouldn't use the automation with my main account, but it's probably dumb to implement.

This is actually against steam subscriber agreement.
"You may not use Cheats, automation software (bots), mods, hacks, or any other unauthorized third-party software, to modify or automate any Subscription Marketplace process"
https://store.steampowered.com/subscriber_agreement/#4
Also reports are not used to actually ban accounts

authors: ClusterConsultant ParzivalWolfram The-personified-devil lnx00


text:
🛑 PbtWDev is down

In c30c95a, PbtWDev (https://wdev.pbtservers.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PbtWDev is back up in a6b6eda.

repo: PbtServers/PbtServers-Estado


text:
Shader settings

Shader have settings depending on their configuration and type.
Two enhancements would be beneficial for future development:

[x] Instead of using the settings: Settings for all parameters, use a table lookup via c functions. Only crucial settings will be used by the struct, but optional stuff - like camera fov - should be acquired by a call to the interface.
[ ] Allow even some material properties etc to be dynamic. Add UI controls for them. Of course this is only useful for the interactive viewer.

The first task is easy. The second is easy as well, except if automatic UI controls are used and integrated in the scene description.

The new registry in commit 5486c89 is now populating dynamic settings. Only really important for the viewer.

Newest changes allow the use of the so-called local registry (which is bound to a material). This is used to anonymize shader code and selectively specialize for better compile time and in some rare cases even in performance (smaller kernel, etc).
With this new feature only the UI is missing.

Done with 120e27f5a61f321b22061c96b4288b185b9c111f

repo: PearCoding/Ignis


text:
Incorrect expression evaluation

The problem is in this template's fragment:
{% if dirEntries.size > 0 %}
    {{ filesTable(dirEntries) }}
{% else %}

There are no available files.

{% endif %}

I double checked that dirEntries is not empty when I render the template but the message
There are no available files.

is rendered.
If I keep only
{{ filesTable(dirEntries) }}

without to check the size of dirEntries, the fragment generated by filesTable looks good (I have lines in table, that means that dirEntries is not empty).
I use Pebble 3.0.2 but I checked with 3.0.4 also, with the same result. In Pebble 2.x everything looks good.
See below the complete template:
{% extends "base" %}

{% block content %}
    {{ summary(dirPath, numFiles, numDirs, diskUsage) }}
    {% if dirEntries.size > 0 %}
        {{ filesTable(dirEntries) }}
    {% else %}

There are no available files.

    {% endif %}
{% endblock %}

{#  --- Macros --- #}

{% macro summary(dirPath, numFiles, numDirs, diskUsage, dirEntries) %}

 {{ dirPath }}

            {% if numFiles > 0 %}{{ numFiles }} file(s){% endif %}
            {% if numDirs > 0 %}{{ numDirs }} dir(s){% endif %}
            {% if diskUsage > 0 %}{{ diskUsage | fileSize }} bytes{% endif %}

{% endmacro %}

{% macro filesTable(dirEntries) %}

        <input class="search form-control" type="text" placeholder="Search" aria-label="Search"/>

                {{ i18n('name') }}
                {{ i18n('size') }}
                {{ i18n('lastModified') }}

                {% for dirEntry in dirEntries %}

                        {% if dirEntry.file %}

                        {% else %}

                        {% endif %}
                        {{ dirEntry.name }}

                        {% if dirEntry.file %}
                            {{ dirEntry.size | fileSize }}
                        {% endif %}

                    {{ dirEntry.lastModified | formatTime('dd-MM-yyyy HH:mm') }}

                {% endfor %}

{% endmacro %}

OK I'm able to reproduce it with a unit test. I'm gonna look at that.

Thanks!

authors: decebals ebussieres

repo: PebbleTemplates/pebble


text:
作业1还更新吗

上节课老师说周一会更新作业1，目前还没有。还会更新吗？

是改成做Homework_1a.md了吗？

已经将更新内容push到repo. 可以重新拉了。

对。homework_1a.md！！

authors: BlockLiu PeiqinSun

repo: PeiqinSun/tf-tutorials


text:
[ENH] Handle session-specific anatomical data

as of https://github.com/PennLINC/qsiprep/pull/832 anatomical data can be written out to session directories. QSIRecon should be able to find them and use them

This happens when using session-specific processing from qsiprep (--anat-space-definition session).
[adamraikes@r5u13n1 PD_allo]$ apptainer run --containall --writable-tmpfs -B /groups/adamraikes/templateflow:/opt/templateflow -B $PWD/derivatives/qsiprep_0.23.1:/input -B $PWD/derivatives/qsirecon_unstable_v3:/output -B /tmp:/tmp -B /groups/adamraikes/license.txt:/license.txt -B /groups/adamraikes/git_repos/qsirecon/qsirecon:/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsirecon $RECON /input /output participant --participant_label 011 -w /output/scratch  --fs-license-file /license.txt --recon-spec TORTOISE --input-type qsiprep
241105-09:43:00,74 nipype.workflow IMPORTANT:
	 Running QSIRecon version 0+unknown

         License NOTICE ##################################################
         QSIRecon 0+unknown
         Copyright The PennLINC Developers.

         This product includes software developed by
         the NiPreps Community (https://nipreps.org/).

         Portions of this software were developed at the Department of
         Psychology at Stanford University, Stanford, CA, US.

         This software is also distributed as a Docker container image.
         The bootstrapping file for the image ("Dockerfile") is licensed
         under the MIT License.

         This software may be distributed through an add-on package called
         "Docker Wrapper" that is under the BSD 3-clause License.
         #################################################################
241105-09:43:00,447 nipype.workflow IMPORTANT:
	 Building QSIRecon's workflow:
           * BIDS dataset path: /input.
           * Participant list: ['011'].
           * Run identifier: 20241105-094241_0963fb2e-7552-479d-8b94-a441e87fd6ad.
241105-09:43:05,616 nipype.workflow INFO:
	 found ['/input/sub-011/ses-01/dwi/sub-011_ses-01_dir-AP_space-T1w_desc-preproc_dwi.nii.gz', '/input/sub-011/ses-02/dwi/sub-011_ses-02_dir-AP_space-T1w_desc-preproc_dwi.nii.gz'] in /input
Process Process-2:
Traceback (most recent call last):
  File "/opt/conda/envs/qsiprep/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/opt/conda/envs/qsiprep/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsirecon/cli/workflow.py", line 136, in build_workflow
    retval["workflow"] = init_qsirecon_wf()
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsirecon/workflows/base.py", line 44, in init_qsirecon_wf
    single_subject_wf = init_single_subject_recon_wf(subject_id=subject_id)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsirecon/workflows/base.py", line 128, in init_single_subject_recon_wf
    anat_data, status = collect_anatomical_data(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsirecon/utils/bids.py", line 212, in collect_anatomical_data
    raise ValueError(
ValueError: More than one acpc_seg found.

authors: araikes mattcieslak

repo: PennLINC/qsirecon


text:
tappedout is not respecting the legal cards list

Reported here: http://tappedout.net/mtg-forum/tappedout/penny-dreadful-format-legal-cards-list-is-incorrect/

I don't know how they did their legality thing, but seems like we won't get it fixed anytime soon. The admin said 5 days ago that it should be fixed, but it's not.

I have got the best results posting on yeaGO's page:
http://tappedout.net/users/yeago/

But my last message didn't get a reply.
The threads I started have mostly just got misinformation:
http://tappedout.net/mtg-forum/tappedout/penny-dreadful-format-legal-cards-list-is-incorrect/
http://tappedout.net/mtg-forum/tappedout/penny-dreadful-legality-has-changed-new-legal-cards-list/

Maybe someone else wants to try posting on yeaGO's page.

Still broken. I think I'll wait until after the supplemental rotation to try again to get them to update.

Posted here - http://tappedout.net/users/yeago/#c3057104

Update : tappedout list still broken
http://tappedout.net/mtg-decks/pd-s4-mbc-vampires-1/

Told yeaGO here: http://tappedout.net/users/yeago/#c3058898

No response. I'll wait a bit and bother them again I guess.

Bothered again on yeaGO's wall.

Someone mentioned it in Discord so I posted on yeaGO's wall.
http://tappedout.net/users/yeago/#c3193402
I guess Tapped Out is kind of abandonware on some level.

And I assume you haven’t get any job offer from them 😁

Fixed for now

I think you have to look on the right-hand side and click the show illegal cards button to see the bug:

Did you do that?

Trying another way – http://tappedout.net/mtg-forum/tappedout/list-of-bugs-and-feature-requests/?page=7#c3203562

Trying another other way – http://tappedout.net/mtg-forum/tappedout/penny-dreadful-legality-malfunctioning/

Once more unto the breach … https://tappedout.net/users/yeago/#c3212587

HOPE SPRINGS ETERNAL!

Woooooop.

Wow

El El vie, dic. 15, 2017 a las 8:10 p. m., Katelyn Gigante <
notifications@github.com> escribió:

Wow
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/638#issuecomment-352159226,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAGBYJ0qBDNN2UDyhzhrB-pXz5daEa8ks5tA0KqgaJpZM4LX3En
.

authors: bakert silasary stash86

repo: PennyDreadfulMTG/Penny-Dreadful-Tools


text:
UI buttons sound

Updated all buttons scripts to display a sound when they are hovered or clicked
StartSceneUISounds.scene to test this (don't go into settings or you'll have a beautiful amazing crash :) )
In order to get this working when building the scene, each button must have two audio sources. The first one for the hovered audio and the second one for the clicked.

Task linked: CU-mb5jm4 Add sound effects

repo: PenteractStudios/Penteract


text:
Trying to dump an RPG Open world game

I cannot see any dump.cs in data/data/gamePackageName/files folder, yes it is obfuscated! yes it is built in unity!
How can I make a dump otherway?

Same


text:
Fix flappy storage test

The test should not depend on the order of label values

Coverage decreased (-0.05%) to 86.867% when pulling b5ca1156f89549df981a4ef2a20b1d4016df813a on fix-storage-test into 9e8a7ea9c51f565b24e2c6ccb016d63cc7f5a313 on master.

Already done with #490

authors: coveralls dotchev

repo: Peripli/service-manager


text:
Merging changes before branching

These changes have been hanging out in the ct-unstable branch for a long time. I though they should be merged before I branch to work on the next major version of BCH-DEX.

:tada: This PR is included in version 2.2.9 :tada:
Your semantic-release bot :package::rocket:


text:
feat(getPinClaims): Added REST API endpoint to get last 20 claims

This PR adds a new GET /ipfs/pins REST API endpoint that retrieves the most recent 20 pin claims processed by the software. This data will be useful for creating a dashboard.
Here is an example of the output:
[
  {
    proofOfBurnTxid: 'a2fa2b8a022c653d1d399fc1c4d0343d6cc6e3629615ded6fa41282826acaf08',
    cid: 'bafkreiafna2l5zxmc67wpjplr3hgg522sdx6eavd6xxfhg4ufbvpz24nam',
    claimTxid: '73d08625c9264e40846fe87512fab5ddb31490f840628a84a58b4730d39b0cd0',
    address: 'bitcoincash:qzz4a34kpqeswwljxgdhuxh77jxx0zdnwv84866v2y',
    filename: 'grey-wizard.jpg',
    validClaim: true,
    dataPinned: true,
    tokensBurned: 0.08335233,
    recordTime: 1709266397227
  },
  {
    proofOfBurnTxid: '4b69a50f0bbdeace17b0a87a653fc4a044684ec4db6fc04da5beaa850ffd20e9',
    cid: 'bafkreiahhhyxu63pxvtrctbe32nuokfg37pyhssofawgurgfiz4mzn2uei',
    claimTxid: '3906f59dceabd33067d21ec828d8bfaf60446005c659371ab69f9697fa1d8651',
    address: 'bitcoincash:qzz4a34kpqeswwljxgdhuxh77jxx0zdnwv84866v2y',
    filename: 'screenshot-from-2024-02-24-08-49-47.png',
    validClaim: true,
    dataPinned: true,
    tokensBurned: 0.08335233,
    recordTime: 1709265372645
  },
...
  {
    proofOfBurnTxid: '868e92005a323b322f471ae6570085c9f56d9858ab47cec33e5f009551b44e22',
    cid: 'bafkreihish3wy6wvstocwpk7r2c57ihct23gr57gm2oexzzrvrwa4tiayy',
    claimTxid: '57e7225fade41d5950806d9f3ce6243eff87206604d1f3b3026bee58c64203cc',
    address: 'bitcoincash:qzz4a34kpqeswwljxgdhuxh77jxx0zdnwv84866v2y',
    filename: 'screenshot-from-2024-02-23-20-50-00.png',
    validClaim: true,
    dataPinned: true,
    tokensBurned: 0.08335233,
    recordTime: 1709265365847
  }
]

:tada: This PR is included in version 1.4.0 :tada:
Your semantic-release bot :package::rocket:


text:
貌似在自己的视频上测试，感觉效果不是很好啊

感谢伟大的作者，做了很有意义的事。我这边看了作者的论文，写的也很清楚透彻。
我试了下代码，包含mobilenetv3和resnet50，在自己的视频上做测试，但是感觉效果不是很好，尤其是边缘部分，经常会缺失或者多出一些小块，请问是我哪些地方没注意到吗?

输入图

mobile效果：

resnet50效果：

同问，我的效果也不太好，是需要对背景进行训练吗？

同问，在自己的视频上效果也很不好

authors: aichifandefan amadeus11111 tengshaofeng


text:
GCP Response gets overwritten

the batch size is always 100 per push. if i send 200, the sending will be split in two, and when everything is complete, the response will not contain the response of the first delivery.
https://github.com/Ph3nol/NotificationPusher/blob/master/src/Sly/NotificationPusher/Adapter/Gcm.php#L70

@theluk, what do you propose? Merging the result of the every chunk response in one array?

The same issue #87

authors: seyfer theluk


text:
Do not have assigned EIP but seen in the wild...

https://github.com/Giveth/minime
https://github.com/Giveth/yogatoken/blob/master/contracts/YogaToken.sol
https://www.youtube.com/watch?v=peYWgiS2Hmo by @jbaylina
A little bit too busy for PR with the correct formatting :)

Added Yoga and minime, closing this issue. Thanks @stefek99 !

repo: PhABC/ethereum-token-standards-list


text:
🛑 Homepage is down

In 727488f, Homepage (https://www.phyrone.de/) was down:

HTTP code: 500
Response time: 198 ms

Resolved: Homepage is back up in 1c42e6c.


text:
🛑 Static Files is down

In 8eb6b5d, Static Files (https://static.phyrone.de/) was down:

HTTP code: 521
Response time: 526 ms

Resolved: Static Files is back up in b60af15 after 8 minutes.


text:
Add ABB IRB4600 robot descriptions

This integrates the original abb_irb4600_support package from the ROS-I abb_experimental repo and updates for ROS2. Tested with simulated and real IRB4600_60_205 robot.

It's also good to hear that you were able to run this on hardware. I guess that means the README's weren't awful.  :+1:

authors: AndyZe dpiet


text:
Seeking help to get porcupine work on Mac OS 10.13

NOT AN ISSUE
Hello,
First of all, kudos on the great application you have built. This is the first simple yet powerful library I found for keyword detection.
I tested out this application on Mac OS 10.15.* using a pip install and it works just as it should. I replicated the same on my iMac running Mac OS 10.13.* where I keep getting OSError from ctypes module. I figured this isn't an issue with porcupine itself.
I tried using install_name_tool to change the reference of the .dylib but no luck.
I followed some earlier issues and found one of the devs have actually used this on Mac OS 10.13.*
I'm curious how I can install this module on Mac OS High Sierra. Can you please let me know if that can be done with an alternate way of installation or an older version would help.
https://github.com/Picovoice/Porcupine/issues/39
Traceback:
iMac:~ vicky$ porcupine_demo_mic --keywords alexa
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/bin/porcupine_demo_mic", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pvporcupinedemo/porcupine_demo_mic.py", line 201, in main
    PorcupineDemo(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pvporcupinedemo/porcupine_demo_mic.py", line 84, in run
    porcupine = pvporcupine.create(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pvporcupine/__init__.py", line 64, in create
    return Porcupine(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pvporcupine/porcupine.py", line 60, in __init__
    library = cdll.LoadLibrary(library_path)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary
    return self._dlltype(name)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib, 6): Symbol not found: ____chkstk_darwin
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib

Thanks! we will address this in the coming weeks. The .dylib is built to run on 10.15 and later. just curious, why not update to the latest macOS?

Thanks for the response. The iMac is a 2011 model running High Sierra. It's hardware doesn't support an upgrade 😞

hey - unfortunately this doesn't seem to be making it to our immediate roadmap. I keep this in mind for the future if we can make dev time.

@kenarsa Thanks for the intimation. I have upgraded my Mac and got it working fine but still will keep an eye around, I'm curious.

authors: kenarsa thevickypedia

repo: Picovoice/porcupine


text:
I can make turkish tutorials

Hey! I can make turkish tutorial of your DeluxeCombat plugin if you want.

i just want to deluxecombat license.
i have video editing experience, i have nice mic, my PC is good. so i can make high quality turkish tutorial.
also i can translate admin menu GUI or any messages.

I am not the developer of DeluxeCombat; you have the wrong issue tracker.

repo: PikaMug/Quests


text:
:bug: Workflow "sort-all" fail when nothing to commit

Describe the bug
Since sort-all is active on all branch, it now fail on pr if there is nothing to sort
Relevant console output
see here

I'm pretty sure this works now

yeah

authors: Lunarmagpie Sigmanificient

repo: Pincer-org/Pincer


text:
Missing Dark Sky response headers

Describe the issue
As noted in #315 there are a few response headers that are missing from Pirate Weather. I know you're striving for compatibility with Dark Sky so maybe these could be added?
Two of the headers should be fairly straightforward to add as X-Response-Time is just the existing processTime data point and X-Forecast-API-Calls is just ratelimit-limit minus ratelimit-remaining. The Cache-Control header is more tricky since nothing is cached at the moment. Doing a quick search maybe it would be best to set it to no-cache but not an expert in this kind of stuff.
Acknowledgements

[X] I have searched this repository and Home Assistant Repository to see if the issue has already been reported.
[X] I have read through the API documentation before opening this issue.
[X] I have not included my API key anywhere in my issue.
[X] I have written an informative title.

Was going to revise the docs... but this looked more interesting, so I got distracted. All three of those headers have been added in though, and should be live in production. For Cache-Control, I defined it as 15 minutes, since that's the temporal resolution of HRRR Subhourly. There still isn't any server side caching, but this should let clients know what to expect

I see all three on the development sever but only X-Forecast-API-Calls on live currently.

repo: Pirate-Weather/pirateweather


text:
Can't programmatically close windows.

Currently (as far as I can see), there is no public function to tell a window to close. We can bind on escape, and obey normal close events such as alt-f4 and the close button but there is no function we can call to easily set  the "should_close" variable currently used.
When running in fullscreen or borderless mode, pressing the close button is not an option. Closing on esc is not good UX as many games bind escape to pause/open-menu, so it is not expected behaviour for many users.
Currently, to implement a custom exit screen we'd have to explicitly break out of the event loop, but this unnecessary as the event-loop itself already checks for a "should_close"  bool.

Thanks for the input!
Writing a custom exit screen is a good point. This is a use case where you want to signal to the window that it should close.

I suggest adding AdvancedWindow::set_should_close, since Window is the minimum for getting the game loop working.

I have a local fork with the necessary changes (Added to the trait, and the various window implementations), shall I go ahead and issue a pull request?

@RDeckers That would be nice!

Should it go in AdvancedWindow::set_should_close though? Personally, I feel it would be better in Window::set_should_close as window already implements a should_close(&self) -> bool function and the event loop. And all current back-ends do what is basically if !should_close { ... } else None in their event loop.
I would consider this basic functionality, but it's your call :)

I'm OK with adding it to Window.

authors: RDeckers bvssvni

repo: PistonDevelopers/piston


text:
What duck typing is and what problems it solves

In mathematics, you have an object called a "set". It has members that are unique and only occur once. Sets can be combined with other sets using Boolean algebra.
A trait is the way Rust encourage to deal with methods that do not belong to a particular type. It is a set of methods, because each method is only defined once in the trait. Traits are different from mathematical sets because it requires a name, and you can not refer to a subset of a trait. Traits are more constrained through usage than mathematical sets.
Duck typing is a way to deal with methods where you need the functionality of mathematical sets for methods. It does not require a name for the sets and algorithms can be written for any set. Traits can be auto implemented on top of duck typing.
Some languages supports duck typing, but in Rust, this must be implemented manually. Piston-Quack is a library to get duck typing to some degree. It does not solve the problem of getting duck typing for all methods, it only solves it for a pattern that fits Get/Set/Action. When this is the case, there are some advantages:

Imported types have the same name as way methods are called
Extra type safety
Traits can be auto implemented on top of it
It requires less naming (as in naming traits that collects some functionality through methods)
It reduces the number of traits in the library
It gives a consistent API across libraries
Improvement to the "quack" library leads to overall improvement across libraries
Renaming causes less breaking changes
Adding new methods is possible without breaking the library interface
It gives you builder methods through by value set or mutable reference set_mut.

There are some cases when the benefits of Piston-Quack is out-weighted by other concerns:

The library is very small and does not have a complex interface
The library does not need to be abstracted over smart pointers
The library requires a complex mix of lifetime and function signatures
The Get/Set/Action pattern does not make sense for the library

Imported types have the same name as way methods are called
When importing a trait, you add methods to an object in the code. There is no easy way to keep track of which methods belongs to which traits:
use Foo;

x.foo(); // does this belongs to `Foo`?

Piston-Quack bridges this gap in the conceptual model:
use Text;

x.set(Text("hello"));

Extra type safety
Assume that you return a number in units. Without wrapping this in a type, there is nothing that prevents you from accidentally use it with the wrong units:
let radius = foo.get_radius();
bar.set_radius(radius); // `bar` might use another unit than `foo`

Pisotn-Quack returns a property, such that the conversion of units is explicit:
let RadiusInMeters(radius) = foo.get();
bar.set(RadiusInKm(radius / 1000.0);

This is true not only for units, but for any different usage. For example, a matrix has different usage as a Transform and ViewTransform, and setting the wrong property might cause bugs that are not easily tracked down. This gives some extra type safety when redesigning or refactoring.

I am very sceptical about this. I don't know if this topic is open for debate. However, I thought that this is the right place to share my concerns and that it's better to do so than to silently stay away. I do care a lot about Rust's gamedev infrastructure and Piston is a huge part of that.
Quite frankly: this is exactly the kind of anti-pattern, that's currently driving me away from using Piston (along with current objects). This criticism cannot be constructive towards quack, as I am essentially saying that properly designed software does not need it at all. So please forgive me, if this sounds a bit negative. Nonetheless, I write this with the intention of being constructive with respect to Piston at large and hoping that you reconsider the usage of this pattern throughout the framework.
The point is, that using accessors is considered an indicator of bad design (I really recommend reading those articles, in case you have never come across this sentiment). Code using the fields of a type (even when it's using highly abstracted accessors) should be implemented in a method instead. And even if you do that using those abstract accessors, exposing the properties in an API supports code that does not. And such code is not particularly reusable any way and thus could as well act on public attributes (which should be an intermediate state, before it is abstracted out).
Now I see that there is sometimes a need to work without abstractions to quickly implement something. This is not inherently wrong, but one should be aware of the fact, that code like that is not highly reusable and should not be depended upon too much or otherwise will become very difficult to maintain. However, abstracting the myriad of ways one could possibly implement accessors in Rust looks like you're going through great lengths to do the wrong thing (accessors) in the right way.

@aepsil0n I'm sorry to tell you this, but you are completely wrong on both accounts. Current objects are not part of the Piston core and not used in any of the other libraries. It is used to help prototyping games and write Processing like libraries. You are also wrong about this library which is about duck typing and not about accessors. Quack lifts this functionality over smart pointers to make generic code work with shared objects, something that is required to use the Window back-end in the game loop and in the application code. If you don't do this, then you lock the API down to a smart pointer that can't be changed later when hundreds of projects depend on it. It also gives builder methods and a reasonable good API design with very little effort, something that matters when you have a lot of libraries. You should also know that the macros inline the method to create no overhead.
Quack has saved us tons of hours already, and Current solves one of the biggest pain points for writing games in Rust. Neither are "pretty" solutions, I completely agree with you on that, but there is no other way until we know another way that takes care of the long list of concerns that matters. The core of Piston is to make it work with as little overhead as possible, and solve the problems that matters for a game engine core, which are problems no other people are working on. The Piston core solves these problems NOW and that is what matters for building other projects on top of it.

repo: PistonDevelopers/quack


text:
Want to improve the Contact Us section and link the the form to formsubmit.com

HI,
There are some improvements that I wanted to put forward :

improve the Contact us section with more fiels like Name, Email, Subject, Message, Submit button
improve the UI of the contact form

And lastly wanted the contact form to actually work with the help of formsubmit, which sends the contents of the form to desired email.
Please assign this issue to me under GSSoC'23

even i would like to work on this

authors: dev-AshishRanjan rhithesh

repo: PiyushKalyanpy/GyanaGuru


text:
Region changed emunand to usa does not boot

Title. i region changed my emunand, i created the SecureInfo_C file. i am on latest Luma3ds version. blackscreen at boot of emunand

oh, nevermind, i am the issue. i placed the secureinfo_c file in sysnand instead of emu

ops, accidentally opened it on mobile by bad touch

repo: Plailect/Guide


text:
Self hosting not working?

I've downloaded a zip of your repo, and I installed the gems and such. However, the formatting on my website looks horrible. I don't believe the jekyll theme is loading. How do i get it to load?

https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/

authors: Plailect jacc


text:
Deletable event lines

You should be able to delete new lines you add to events.

@thatoddmailbox i dont understand what you are saying... please explain. events? lines? deletion? I DONT UNDERSTAND

@willweinstein
tl;dr: if it doesn't have a subId of 0, it's stuck forever/until I clear the db.
Steps to reproduce

go to planner

write two lines in any box
reload
look at box
delete second line
reload
notice how the box still has a line (it probably will have two blank line)
try to delete the blank lines
reload
see how lines are still there
be sad

@thatoddmailbox why u make me so sad

@willweinstein what?

@thatoddmailbox

be sad

@willweinstein
Oh, that.
:P

This is partially fixed as of the latest commit.

Yay I think it's fixed (haven't yet merged to master though)

Um don't think so unless you didn't yet put it on stable...

@robotXlabs:

haven't merged it to stable yet though
@thatoddmailbox

Sorry, Closed by accident

This is finished, so it should be closed.

:facepalm:

^What happened to the emoji?^

@nywillb we had a facepalm icon?

I thought so
On Thu, Dec 10, 2015 at 9:38 PM thatoddmailbox notifications@github.com
wrote:

@nywillb https://github.com/nywillb we had a facepalm icon?
—
Reply to this email directly or view it on GitHub
https://github.com/PlanHubMe/PlanHub/issues/173#issuecomment-163818709.

Look at #167
On Thu, Dec 10, 2015 at 9:39 PM William B william@barkoffusa.com wrote:

I thought so
On Thu, Dec 10, 2015 at 9:38 PM thatoddmailbox notifications@github.com
wrote:

@nywillb https://github.com/nywillb we had a facepalm icon?
—
Reply to this email directly or view it on GitHub
https://github.com/PlanHubMe/PlanHub/issues/173#issuecomment-163818709.

authors: RobotXLabs nywillb thatoddmailbox willweinstein

repo: PlanHubMe/PlanHub


text:
Do we actually need this?

B/c of planhub.me? aka what would this do

@medensqui I had to make it so GitHub would allow project pages like the API docs.

@thatoddmailbox Can I have write access to all of the PlanHub.Me Projects?

@nywillb I think I did that, though I might have forgotten a project...
(let me know if it still isn't working)

authors: medensqui nywillb thatoddmailbox


text:
[simple_bt_builder] Question about action parallelization algorithm

Why does it only consider the at_start effects when checking if actions A and B are parallelizable? Shouldn't it also consider the at_end effects?
What if action A has some over_all requirements that are affected by action B's at_end effects and action B finishes first?
https://github.com/PlanSys2/ros2_planning_system/blob/b82cc6fe5d577e481b0aa01b6b779f94d33b9ebe/plansys2_executor/src/plansys2_executor/bt_builder_plugins/simple_bt_builder.cpp#L166-L178

Probably we could explore also this, but I don't remember the reasons.

authors: Rezenders fmrico


text:
未分类的程序、网页，在右键菜单中无法选项分类

如图，鼠标移动过去就消失了

没能复现这个问题，请提供一下设备信息

需要那些信息？

windows系统版本，如果是笔记本设备加上品牌和型号

windows系统版本，如果是笔记本设备加上品牌和型号

版本    Windows10专业版
版本号    22H2
操作系统内部版本    19045.3448

authors: monkey-sking noberumotto

repo: Planshit/Tai


text:
EXP | how to process APIs namespace?

What is the example you wish to see?
I would like to see how to use browser extension APIs, especially namespace, for example, chrome.runtime.xxx for Chrome and Opera, browser.runtime.xxx for FireFox and Edge. If i use plasmo framework, which one should i use?
In addition, since manifest v3 out, some APIs are only available to Chrome, how to use this api with plasmo?
I found there is an example about inject content script into main world, the chrome namespace is used directly there. If this code is compiled to the Firefox platform, what would happen?
Is there any context that might help us understand?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Sorry, I just find another issue firefox support, so I close this issue

repo: PlasmoHQ/plasmo


text:
RuntimeError: The expanded size of the tensor (50) must match the existing size (0) at non-singleton dimension 1.  Target sizes: [192, 50].  Tensor sizes: [192, 0]

Traceback (most recent call last):
File "/root/miniconda3/envs/vits/lib/python3.10/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
fn(i, *args)
File "/data1/Minxin/TTS/vits_chinese/train.py", line 161, in run
train_and_evaluate(
File "/data1/Minxin/TTS/vits_chinese/train.py", line 219, in train_and_evaluate
(z, z_p, z_r, m_p, logs_p, m_q, logs_q) = net_g(x, x_lengths, bert, spec, spec_lengths)
File "/root/miniconda3/envs/vits/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/root/miniconda3/envs/vits/lib/python3.10/site-packages/torch/nn/parallel/distributed.py", line 1008, in forward
output = self._run_ddp_forward(*inputs, **kwargs)
File "/root/miniconda3/envs/vits/lib/python3.10/site-packages/torch/nn/parallel/distributed.py", line 969, in _run_ddp_forward
return module_to_run(*inputs[0], **kwargs[0])
File "/root/miniconda3/envs/vits/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/data1/Minxin/TTS/vits_chinese/models.py", line 543, in forward
z_slice, ids_slice = commons.rand_slice_segments(
File "/data1/Minxin/TTS/vits_chinese/commons.py", line 65, in rand_slice_segments
ret = slice_segments(x, ids_str, segment_size)
File "/data1/Minxin/TTS/vits_chinese/commons.py", line 55, in slice_segments
ret[i] = x[i, :, idx_str:idx_end]
RuntimeError: The expanded size of the tensor (50) must match the existing size (0) at non-singleton dimension 1.  Target sizes: [192, 50].  Tensor sizes: [192, 0]
请问大佬，我这个是什么问题呀，自己做的数据，音频也按16k采样了，正常跑了几十个batch后就报这个错了

有点像某个音频有问题

音频太短了，需要大于2秒以上

您好，请问这个问题您是怎么解决的？