text:
NOPASSWD is not working for ansible user in both linux flavours

Redhat
Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
#includedir /etc/sudoers.d
ec2-user        ALL=(ALL)       NOPASSWD: ALL
ansible         ALL=(ALL)       NOPASSWD: ALL
Ubuntu
Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL
ansible ALL=(ALL:ALL) NOPASSWD: ALL
See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
I saved this configuration but still it is asking for passwd and i hv to enter in both linux flavours

Hi Somansh,
Ansible installation on Ubuntu flavour machine in sudeors file
Allow members of group sudo to execute any command
ansible ALL=(ALL:ALL) NOPASSWD: ALL
this is entry u have done i guess after NOPASSWD: space is not required between : and ALL
you just enter with outspace like below
ansible ALL=(ALL:ALL) NOPASSWD:ALL
if u still face the issue please follow below steps in ubuntu 16.04
ANSBILE INSTALLATION 16.04

https://docs.ansible.com/ansible/2.3/intro_installation.html

ansible --version
python --version

sudo vim /etc/ssh/sshd_config
go to above file line no 51
passwordauthentication bydefult no u need to type yes
then execute below command
sudo service sshd restart

adduser ansible

add ansible user to sudo group

from == rootuser == visudo
in allow members group
ansible ALL=(ALL:ALL) NOPASSWD:ALL
GO TO ANSIBLE USER check sudo apt-get install it should work
5.ssh-keygen
6.ssh-copyid

Have you done the service sshd restart?,
Can you please keep a snapshot of the error so it can be helpful

How does it related to sshd service?
I configuring in sudoers file only so it should work idlely. I ddint make
any changes in sshd configuration file.
Apart from that i try that too but still it is asking password for both
flaovurs redhat and ubuntu.
I am using Aws ec2 t2.micro.
On Sun, Aug 12, 2018 at 6:58 AM devopsawsazure notifications@github.com
wrote:

Have you done the service sshd restart?,
Can you please keep a snapshot of the error so it can be helpful
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/QT-DevOps/DevOpsIssues/issues/100#issuecomment-412312120,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhSc05xCUNNNf4rWFqUfHBWDbXDE7hKmks5uP4TGgaJpZM4V5LsY
.

Hi Team,
Please help getting this error while copying ssh-copy -id command
[ansible@ip-172-31-44-93 .ssh]$ ssh-copy-id ansible@localhost
/bin/ssh-copy-id: INFO: Source of key(s) to be installed:
"/home/ansible/.ssh/id_rsa.pub"
/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter
out any that are already installed
/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are
prompted now it is to install the new keys
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
On Sun, Aug 12, 2018 at 9:36 AM Somansh Kumar kumarsomansh93@gmail.com
wrote:

How does it related to sshd service?
I configuring in sudoers file only so it should work idlely. I ddint make
any changes in sshd configuration file.
Apart from that i try that too but still it is asking password for both
flaovurs redhat and ubuntu.
I am using Aws ec2 t2.micro.
On Sun, Aug 12, 2018 at 6:58 AM devopsawsazure notifications@github.com
wrote:

Have you done the service sshd restart?,
Can you please keep a snapshot of the error so it can be helpful
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/QT-DevOps/DevOpsIssues/issues/100#issuecomment-412312120,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhSc05xCUNNNf4rWFqUfHBWDbXDE7hKmks5uP4TGgaJpZM4V5LsY
.

ssh-copy-id uses the user's password to connect to the host.
Log in as root
Edit ssh config:
sudo nano /etc/ssh/sshd_config
Change this line:
PasswordAuthentication no
to
PasswordAuthentication yes
Restart daemon:
sudo systemctl restart sshd
Do ssh-copy-id:
ssh-copy-id someuser@
Revert changes to ssh_config if you are security conscious and restart daemon.

is dis resolved ?

Hi,
Ya now it's resolved.
Thank you
On Mon, Aug 13, 2018, 3:35 PM mani5a3 notifications@github.com wrote:

is dis resolved ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/QT-DevOps/DevOpsIssues/issues/100#issuecomment-412469498,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhSc01RV6D7RI-PLRYGlL-nlRtAOgQQAks5uQU9PgaJpZM4V5LsY
.

closed

repo: QT-DevOps/DevOpsIssues


text:
while executing lamp.yml file getting error

hosts: all
become: yes
tasks: installing httpd

name:  installing httpd
yum:
name:  httpd
state: latest
name:  Restart service httpd
service:
name:  httpd
state: restarted

[ansibleuser@ip-172-31-92-9 playbook]$ sudo ansible-playbook -vvv lamp.yml
ansible-playbook 2.7.1
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /bin/ansible-playbook
python version = 2.7.5 (default, Sep 12 2018, 05:31:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
Using /etc/ansible/ansible.cfg as config file
/etc/ansible/hosts did not meet host_list requirements, check plugin documentation if this is unexpected
/etc/ansible/hosts did not meet script requirements, check plugin documentation if this is unexpected
Parsed /etc/ansible/hosts inventory source with ini plugin
ERROR! Syntax Error while loading YAML.
mapping values are not allowed in this context
The error appears to have been in '/playbook/lamp.yml': line 6, column 10, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks: installing httpd

name:  installing httpd
^ here

@srinivaspanjala
=>Error: syntax error, In Yaml file spaces plays important role. Please verify your alignment.
In 6th,7th,10th & 11th line - you have to give 2 spaces post "name", & " status"
=> In tasks before name specify list "-"
=> For installation "state" must be present.

httpd.txt
pls try this

hosts: all
become: yes
tasks:

name: installing httpd
yum:
name: httpd
state: latest
name: Restart service httpd
service:
name: httpd
state: restarted

@srinivaspanjala
If it is clear, pls close this issue.

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Need documents for terraform with chef and Ansible

Hi Sir,
Few days back we had a discussion in class regarding that Documents.
Please share those documents. It will be very helpful for interviews.
Need documents for terraform with chef and Ansible
Thanks,
Nagesh.

This forum is only for technical concerns. Please send mail to Satish for documents

authors: kampatinagesh shaikkhajaibrahim


text:
Safety instructions (SAFETY.md)

Main Changes
SAFETY.md is introduced: a document that attempts to identify the key hazards in the lab (e.g., soldering, handling LiPo batteries, and working with quadcopter motors) and propose a number of safety measures.

@jamie-54 @gunturiCM: reminder

I'm happy with it

Please look into these.

In section 5.1, Voltage deviation, typo in 5mV ~ 10Mv, which should be 5mV ~ 10mV.
In section 6.2, point 4, typo: "pinning propellers".
What does esp mean in section 9, point 2, sub-point 1? Is that a typo?

source: gharchive/pull-request

authors: alphaville gunturiCM jamie-54

repo: QUB-ASL/bzzz

license: MIT


text:
My leetcode submit solution not reflected in my github account

My leetcode submit solution not reflected in my github account

Probably using new version of Leetcode?
I found out that this PR is about to be merged.

Clone repo
Authorize with Github
Switch to the PR (gh pr checkout 576)
remove node_modules
remove npm.lock
npm run setup
upload again to the extensions.
link with existing repo

Should work.

authors: KSrimanNarayana aziyatali

repo: QasimWani/LeetHub


text:
Add the wiki

If time allows, it would be great to have the wiki here as well. It might make sense to convert https://github.com/doo/CrashRpt/tree/master/wiki to a proper GitHuib wiki. What do you think?

I have converted the files to Github Markdown. There might be few issues where not all the formats have changed. I would be happy to send it over. I cannot do a PR for wiki I suppose.

Great, guess the owner of this repo should chime in here...

Hello guys, that's a good idea.
The wiki repo is here now: https://github.com/QbProg/crashrpt2.wiki.git , I'm adding you as contributors

Will upload the wiki first thing in the morning. As I mentioned earlier. Maybe some of the formattings hasn't changed as I used a library to convert it to Github Markdown. We can always fix it over time I suppose.

authors: QbProg jowr vnl

license_source: bigquery


text:
插件中使用MaterialDateTimePicker无法居中显示

问题详细描述 Detailed description of the problem
如题,在插件中使用MaterialDateTimePicker,独立运行时是居中显示的,作为插件运行后显示在左上角

我试了试，没有问题，您自己检查一下自己的使用方式吧。

authors: LeungHL cundong


text:
[make test failed]

FAIL Trace various handlers [tests/trace_004.phpt]
PHP版本是 5.6.12
PHP         : /home/service/php/bin/php
PHP_SAPI    : cli
PHP_VERSION : 5.6.12
ZEND_VERSION: 2.6.0
PHP_OS      : Linux - Linux  2.6.32-888.el6.x86_64 #1 SMP Fri Feb 13 12:14:55 CST 2015 x86_64
INI actual  : /home/work/trace-0.3.0/extension/tmp-php.ini
More .INIs  :
CWD         : /home/work/trace-0.3.0/extension
Extra dirs  :
VALGRIND    : Not used
TIME START 2016-03-15 11:07:01
PASS Trace simple call with various types of argument [tests/trace_001.phpt]
PASS Trace include, require, lambda, eval [tests/trace_002.phpt]
PASS Trace Class and Object [tests/trace_003.phpt]
FAIL Trace various handlers [tests/trace_004.phpt]
SKIP Trace signal handler [tests/trace_005.phpt] reason: trace_start() not exists
SKIP Trace call under namespace [tests/trace_006.phpt] reason: trace_start() not exists
SKIP Trace Closure [tests/trace_007.phpt] reason: trace_start() not exists
SKIP Trace magic method __callStatic, __invoke [tests/trace_008.phpt] reason: trace_start() not exists
PASS Trace call recursive [tests/trace_009.phpt]
SKIP Trace call trigger by autoload  < 5.5 [tests/trace_010.phpt] reason: trace_start() not exists
SKIP Trace call trigger by autoload >= 5.5 [tests/trace_011.phpt] reason: trace_start() not exists
SKIP Trace Trait [tests/trace_012.phpt] reason: trace_start() not exists
TIME END 2016-03-15 11:07:01
=====================================================================
TEST RESULT SUMMARY
Exts skipped    :    0
Exts tested     :   47
Number of tests :   12                 5
Tests skipped   :    7 ( 58.3%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (  8.3%) ( 20.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :    4 ( 33.3%) ( 80.0%)
能帮忙看下是环境的问题么？

能否提供下tests目录下的*.log文件的内容？

tests.tar.gz

是PHP在5.6.12中对于tick handler的调整导致的，已经在nightly版本的phptrace中调整了测试用例
eea1183b9c928d62fd7a0969c57ca9d644a90276

authors: adxhyt monque


text:
References updated. Added links and fixed formatting

Changes

Implementation details

How to read this PR

Screenshots

 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.Marco Antonio Barroca seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant MarcoBarroca

repo: Qiskit/platypus


text:
Possible incorrect output in RecursiveMinimumEigenOptimizer

Information

Qiskit Aqua version: 0.7.0
Python version: 3.8.5
Operating system: Mac OS Catalina

What is the current behavior?
When given a QuadraticProgram instances to solve as an input the RecursiveMinimumEigenOptimizer.solve function should return an object with two attributes. the x attribute represents a bit string and the fval attribute represents the output value of the obective function of the QuadraticProgram when given x as an input value.
However, when trying the algorithm on a QuadraticProgram representing the MAX-CUT problem I sometimes receive an output where the value of fval does not correspond to the value of the objective function at x. An example is provided below.
Steps to reproduce the problem
The following python snippet reproduces the issue:
import networkx as nx
import numpy as np

from qiskit import BasicAer
from qiskit.aqua.algorithms import QAOA, NumPyMinimumEigensolver
from qiskit.optimization.algorithms import MinimumEigenOptimizer, RecursiveMinimumEigenOptimizer
from qiskit.optimization import QuadraticProgram

G = nx.Graph()
G.add_nodes_from([0, 1, 2, 3, 4, 5, 6, 7])
G.add_edges_from([(0, 1)])
G.add_edges_from([(0, 2)])
G.add_edges_from([(1, 3)])
G.add_edges_from([(3, 4)])
G.add_edges_from([(4, 5)])
G.add_edges_from([(5, 6)])
G.add_edges_from([(6, 7)])
G.add_edges_from([(7, 2)])
w = nx.adjacency_matrix(G)
n = G.number_of_nodes()

problem = QuadraticProgram()
# create n binary variables
_ = [problem.binary_var('x{}'.format(i)) for i in range(n)]
linear = w.dot(np.ones(n))
quadratic = -w
problem.maximize(linear=linear, quadratic=quadratic)
print(problem.export_as_lp_string())

# Run quantum algorithm QAOA on qasm simulator
backend = BasicAer.get_backend('statevector_simulator')

exact_mes = NumPyMinimumEigensolver()
# using the exact classical numpy minimum eigen solver
exact_solver = MinimumEigenOptimizer(exact_mes)
exact_result = exact_solver.solve(problem)
print("exact: {}".format(exact_result))

qaoa_mes = QAOA(p=2, quantum_instance=backend)
qaoa_solver = MinimumEigenOptimizer(qaoa_mes)   # using QAOA

cutoff = 3
rqaoa_solver = RecursiveMinimumEigenOptimizer(min_eigen_optimizer=qaoa_solver, min_num_vars=cutoff,min_num_vars_optimizer=exact_solver)
result = rqaoa_solver.solve(problem)
print("rqaoa: {}".format(result))

Here is the output:
\ This file has been generated by DOcplex
\ ENCODING=ISO-8859-1
\Problem name: CPLEX

Maximize
 obj: 2 x0 + 2 x1 + 2 x2 + 2 x3 + 2 x4 + 2 x5 + 2 x6 + 2 x7 + [ - 4 x0*x1
      - 4 x0*x2 - 4 x1*x3 - 4 x2*x7 - 4 x3*x4 - 4 x4*x5 - 4 x5*x6 - 4 x6*x7 ]/2
Subject To

Bounds
 0 <= x0 <= 1
 0 <= x1 <= 1
 0 <= x2 <= 1
 0 <= x3 <= 1
 0 <= x4 <= 1
 0 <= x5 <= 1
 0 <= x6 <= 1
 0 <= x7 <= 1

Binaries
 x0 x1 x2 x3 x4 x5 x6 x7
End

exact: x=[1.0,0.0,0.0,1.0,0.0,1.0,0.0,1.0], fval=8.0
rqaoa: x=[1.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0], fval=6.0

What is the expected behavior?
For the above example, I believe the fval value returned by RecursiveMinimumEigenOptimizer should be 4. Which is the value of putting x=[1.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0] back into the objective function.
Suggested solutions
A cursory look suggests that the issue might be because RecursiveMinimumEigenOptimizer sets fval = result.fval where result.fval represents the value calculated by the cutoff optimiser on the reduced problem. However, having read the paper available at https://arxiv.org/pdf/1910.08980.pdf it seems like this value does not correspond with the value of the objective function matching the bitstring x returned by the recursive QAOA algorithm.

@AminKaramlou I confirm this behavior in Qiskit 0.19.0. I have run the problem you posted and got 9 correct fval values out of 20 iterations. Basically the issue is floating, sometimes the answer is correct, sometimes not.
But when I upgraded to Qiskit 0.20.0 everything becomes fine and I've got all 20 answers correct. Could you please upgrade the Qiskit version?

@adekusar-drl thanks for getting back to me. I can confirm that after upgrading the Qiskit version the fval values and the bitstrings returned by the algorithm correspond.

@AminKaramlou good to hear this! If you don't mind I will close the issue, or you can do this yourself.

Hi @AminKaramlou, @adekusar-drl
How we can plot the histogram of rqaoa after solving the qubo problem.? Because Recursivemin eigensolver does not have such attribute histogram..

authors: AminKaramlou adekusar-drl deepquantum88

repo: Qiskit/qiskit-aqua


text:
Gate.power()

A method on the Gate class to raise it to a power.
The base implementation is easy. Corner cases:
1 -> self
0 -> Identity (I'm not sure about this as identity currently implies wait).
-1 -> inverse
-2 -> inverse().power(2)
0.5 -> square root of gate

power(2) means returning a decomposable instruction, right?

power(2) means returning a decomposable instruction, right?

yep.

In that case, for the sake of type consistency, I think would be better to always return an instruction.

Supporting rational exponentiation requires root method. So, if #2811 is merged, this issue will be on hold, blocked by #2810.

repo: Qiskit/qiskit-terra


text:
GaussianSquare pulse is parameterized oddly

What is the expected enhancement?
Just looking at the parameterization of GaussianSquare in qiskit pulse (https://qiskit.org/documentation/stubs/qiskit.pulse.GaussianSquare.html) — it seems to make the “natural” thing to do when sweeping the duration to leave the width of the square top part constant and vary the width of the rise/fall..
A user might reasonably expect the width of the top part to sweep with duration so longer duration pulses have linearly more power.
This happens to be extremely inefficient with our backend hardware in terms of memory consumption (and is probably not what most people want to do when they sweep a duration anyway.)  Would it make sense to provide a more natural parameterization (possibly as a named risefall argument or something)?
Lauren suggested using a num_sigma parameter instead of width to characterize how long (in units of sigma) the rise/fall sections should be.

Hi, I can work on that.

Thank you @Feigenbaum4669, I've assigned. Please comment if you need clarification or help 😄.

Hi, should I modify the existing implementation of GaussianSquare (and function gaussian_square) or rather create the new class, e.g. GaussianSquareNatural (and function, e.g. gaussian_square_natural)? If the former is true then could you suggest how you want the class to be overloaded? I assume we want to keep the old functionality anyway. If it is not true then I can, of course, change the original one.

I think you can add argument something like risefall (or similaly ratio of risefall to sigma) and deprecate width, or you can keep width and set default to None. One reason of keeping the original class is dependency on backend compiler. Because we need to guarantee the same parametic pulse should be defined in the backend to generate the same waveform, basically you cannot define arbitrary parametric pulse on front end.

Hi, I created the pull request. The tests have passed. Please let me know in case something should be modified.

Hi, I applied your suggestions @taalexander. No other suggestions were made. The pull request is ready.


text:
Fix commutation analysis to group gates into blocks of pairwise commuting gates

Summary
This fixes the unsound optimization problem described in #8020: CommutativeAnalysis groups nodes into blocks so that in each block every gate is only required to commute with the immediately preceding and the immediately following gates, while CommutativeCancellation cancels gates assuming that all the gates in a block pairwise commute. This PR changes CommutativeAnalysis to group nodes into blocks of pairwise commuting gates.
As an example, when the list of gates on a given wire is ['X', 'I', 'H', 'I', 'X'], the old behavior grouped all of the gates into a single block and unsoundly canceled pairs of X-gates, while the new behavior groups gates into 3 blocks ['X', 'I'], ['H', 'I'], ['X'] and avoids this unsound cancellation.
Details and comments
This unsound optimization problem was described by @Randl more than a year ago in PR #8056. Looking at that PR again, I now see that it actually suggests a fix that is almost identical to the one in this PR: when deciding whether to put a new gate into the current block we should check whether this new gate commutes with every gate in the block rather than only with the very last gate of the block. I guess the reason that #8056 was closed rather than merged is that it originally only added the failing test but not the fix. @Randl, may I put you as a co-author to this PR?
As CommutativeCancellation is used by default when transpiling with optimization levels 2 or 3, it makes sense to finally fix this. However, the updated commutativity check is now worst-case quadratic and in theory may lead to some slow-downs. Though intuitively I don't think that we should see slow-downs: first, as soon as a gate does not commute with some gate in the given block, we end the block and start a new one; second, the underlying CommutationChecker hashes the results and avoids expensive matrix multiplications. But to be completely sure, @mtreinish, what kind of benchmarking would you recommend me to run?

Pull Request Test Coverage Report for Build 5846122206

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
20 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.02%) to 87.242%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
93.76%

qiskit/pulse/library/waveform.py
3
93.75%

crates/qasm2/src/lex.rs
4
91.14%

crates/qasm2/src/parse.rs
12
96.67%

Totals

Change from base Build 5837476817:
-0.02%

Covered Lines:
74283

Relevant Lines:
85146

💛  - Coveralls

Nice! Of course, feel free to add me.
What about missed optimization from https://github.com/Qiskit/qiskit-terra/issues/8020#issuecomment-1125884436? If I understand correctly, your fix misses it too? I think a separate issue for optimizing it should be added then.

Thanks @Randl. I have added you as a co-author (your name appears in commit d4fa355, and when the PR is merged, all the commits will be squashed together).
Regarding potentially missed optimizations, Qiskit now has quite a bunch of single-qubit optimization passes, and I would expect that the specific optimization you mention is already handled by some other pass. Actually, could you please describe your general optimization idea?

The idea is that checking all previous gates may be too strict, or, more generally, there grouping is too weak, as discussed in this comment https://github.com/Qiskit/qiskit-terra/pull/8056#issuecomment-1125731419
e.g., if C commutes with A and B but A and B do not commute, then [A,C,B,C^(-1)] will be split as [A, C], [B, C^(-1)] and won't be optimized to [A, B].
cc @jakelishman @1ucian0

e.g., if C commutes with A and B but A and B do not commute, then [A,C,B,C^(-1)] will be split as [A, C], [B, C^(-1)] and won't be optimized to [A, B].

Oh, thanks, I see what you mean now. At some point I have added a pass CommutativeInverseCancellation that does exactly what you wrote:

for each operator go back as far as you can and try to see if it cancels with something,

see https://qiskit.org/documentation/_modules/qiskit/transpiler/passes/optimization/commutative_inverse_cancellation.html.
As @jakelishman commented, we also have the DAGDependency data structure exploting commutation between individual gates, however I did not find it suitable for the CommutativeInverseCancellation pass above, as constructing this DAGDependency does the same commutativity checks yet.

Here are a few asv runs on my laptop:
1) asv continuous -E conda-py3.10 --show-stderr --split --no-only-change main fix-commutation-analysis --bench "Level.*time"

Benchmarks that have improved:
   before           after         ratio
 [d25f9053]       [2213abf8]
 <main>           <fix-commutation-analysis>

   542±20ms         491±10ms     0.91  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_from_large_qasm_backend_with_prop(1)

   600±30ms         517±10ms     0.86  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_qv_14_x_14(0)

Benchmarks that have stayed the same:
   before           after         ratio
 [d25f9053]       [2213abf8]
 <main>           <fix-commutation-analysis>
      182±7ms         185±30ms     1.02  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_from_large_qasm(0)
   1.60±0.01s       1.59±0.05s     1.00  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_qv_14_x_14(3)
     598±10ms        595±100ms     0.99  transpiler_levels.TranspilerLevelBenchmarks.time_schedule_qv_14_x_14(1)
     257±10ms          254±6ms     0.99  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_from_large_qasm_backend_with_prop(3)
    9.08±0.2s        8.81±0.1s     0.97  transpiler_levels.TranspilerLevelBenchmarks.time_quantum_volume_transpile_50_x_20(3)
     496±30ms         477±20ms     0.96  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_from_large_qasm(2)
     514±10ms         494±20ms     0.96  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_from_large_qasm_backend_with_prop(2)
     854±30ms         816±20ms     0.96  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_qv_14_x_14(2)
    4.65±0.1s        4.44±0.3s     0.95  transpiler_levels.TranspilerLevelBenchmarks.time_quantum_volume_transpile_50_x_20(2)
    3.15±0.1s        2.96±0.2s     0.94  transpiler_levels.TranspilerLevelBenchmarks.time_quantum_volume_transpile_50_x_20(0)
     395±30ms         370±10ms     0.94  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_from_large_qasm_backend_with_prop(0)
      320±9ms         300±10ms     0.94  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_from_large_qasm(1)
     707±30ms         658±40ms     0.93  transpiler_levels.TranspilerLevelBenchmarks.time_schedule_qv_14_x_14(0)
     266±20ms          237±3ms    ~0.89  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_from_large_qasm(3)
     543±30ms         475±20ms    ~0.88  transpiler_levels.TranspilerLevelBenchmarks.time_transpile_qv_14_x_14(1)
    2.26±0.1s        1.89±0.2s    ~0.83  transpiler_levels.TranspilerLevelBenchmarks.time_quantum_volume_transpile_50_x_20(1)

SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE INCREASED.
I am not sure why the performance should be improved.
2) asv continuous -E conda-py3.10 --show-stderr --split --no-only-change main fix-commutation-analysis --bench "commutation_analysis"

Benchmarks that have stayed the same:
   before           after         ratio
 [d25f9053]       [2213abf8]
 <main>           <fix-commutation-analysis>
   1.57±0.01s       1.57±0.01s     1.00  passes.PassBenchmarks.time_commutation_analysis(14, 1024)
      642±5ms          636±7ms     0.99  passes.PassBenchmarks.time_commutation_analysis(5, 1024)
   2.39±0.03s       2.33±0.02s     0.98  passes.PassBenchmarks.time_commutation_analysis(20, 1024)

BENCHMARKS NOT SIGNIFICANTLY CHANGED.
3) asv continuous -E conda-py3.10 --show-stderr --split --no-only-change main fix-commutation-analysis --bench "commutative_cancellation"

   before           after         ratio
 [d25f9053]       [2213abf8]
 <main>           <fix-commutation-analysis>
       failed           failed      n/a  passes.CommutativeAnalysisPassBenchmarks.time_commutative_cancellation(14, 1024)
       failed           failed      n/a  passes.CommutativeAnalysisPassBenchmarks.time_commutative_cancellation(20, 1024)
       failed           failed      n/a  passes.CommutativeAnalysisPassBenchmarks.time_commutative_cancellation(5, 1024)

I am getting errors (both with main and my branch) of the kind:
File "C:\Users\274191756\Desktop\QiskitDevelopment\qiskit-terra.asv\env\06715dc6ea55f2b02b6ebc21bca7e34a
\lib\site-packages\qiskit\dagcircuit\dagcircuit.py", line 1322, in substitute_node_with_dag
               node_map = self._multi_graph.substitute_node_with_subgraph(
               IndexError: Specified node 1062 is not in this graph
               asv: benchmark failed (exit status 1)

I don't understand the reason: creating a standalone test with the exactly same code works without any problems.

Pull Request Test Coverage Report for Build 6471774971

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.003%) to 87.023%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
1
91.41%

Totals

Change from base Build 6471220239:
0.003%

Covered Lines:
74174

Relevant Lines:
85235

💛  - Coveralls

I don't understand the reason for the error I am seeing after updating the branch (and I don't think it's related to the changes here). I will update the branch and see if the error still persists.
My previous concern was whether the change in behavior (checking that a gate commutes with all of the gates in the current block vs. only the last gate in the block) increases runtime. I have locally rerun the asv benchmarking above and all of the benchmarks have stayed the same.

That test failure ought to be unrelated - it's similar to something we've seen before.  The default clock available on Windows is lower resolution than it is on macOS or Linux, and so the algorithms tests that "some non-zero execution time was reported" are more likely to fail on Windows if we do our job quickly: see #8577, for example.

This looks good to me.
Possible follow-up work regarding the worst-case quadratic problem mentioned above: For very long blocks of commuting gates, it might be worth maintaining a set of unique gates in the block as you build it. So gates already in this set would be inserted into the block rather than checking commutation explicitly.

authors: Randl alexanderivrii coveralls jakelishman jlapeyre


text:
I added my name as a contributor

Summary
Details and comments

 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.

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

authors: claassistantio cognitivecomp

repo: Qiskit/qiskit


text:
Allow tensors of rank 0 to represent scalars

It would be highly beneficial for tensor calculus applications, and higher generality, to include the case of a rank 0 tensor. This is of particular usefulness for scientific codes to avoid adding special cases.

This is a great suggestion! I have been using the Haskell array-computation library 'Accelerate' for a couple of months for a project now, and they use rank 0 tensors in very much the same way.
However, adding this to the library as-is would be a major breaking change, since a lot of the functionality expects e.g. to return a bare inner value. That said, Tensor is now multiple years old and there are definitely other things about the API that could be improved for a hypothetical v 2.0.
What kind of behaviour would you like to see exactly for rank-0 tensors? What is your opinion on how 'simple' values should be converted to- and from rank-0 tensors?

Thanks for writing back! After looking at your code, I understand why this is a major change.
Regarding behavior, the following behavior should be great:

another constructor new(scalar) that is very similar to the empty constructor
a module Scalar with similar delegation of functions to Tensor
a way to operate with Scalars without extracting their value until it is required within regular arithmetic operations

authors: Qqwy snunezcr

repo: Qqwy/elixir-tensor


text:
🛑 Qrono Docs is down

In d860bea, Qrono Docs (https://docs.qrono.dev/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Qrono Docs is back up in 5db219d.

repo: Qrono-Labs/uptime


text:
TimeRules in schedule Event counts non-trading hours

Expected Behavior

The scheduled event should only take the trading hours into account.
Actual Behavior

Schedule Event counts non-trading hours. The function is fired multiple times after the market opens.
Reproducing the Problem

using QuantConnect.Data;

namespace QuantConnect.Algorithm.CSharp
{
    public class ScheduledEventsAlgorithm : QCAlgorithm
    {
        public override void Initialize()
        {
            SetStartDate(2013, 10, 07);
            SetEndDate(2013, 10, 09);
            SetCash(100000);
            AddSecurity(SecurityType.Equity, "SPY", Resolution.Minute);

            Schedule.On(DateRules.EveryDay(), TimeRules.Every(TimeSpan.FromMinutes(120)), () =>
            {
	         Log("rebalance");
            });
        }
    }
}

The schedule function is fired multiple times at 09:31:00 each day.
System Information

Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

@jingwu74  -- as defined, it will fire every single day. If you want it to perform every trading day, you need to use DateRules.EveryDay("SPY"). This will at least cause the event to fire only on trading days. It looks like we may need a small refactor to make TimeRules.Every respect the market hours if defined in the selected DateRules

@jaredbroad -- any thoughts here?

I'd prefer to leave API as it is as majority of people are understanding just fine. I think the confusion was the "firing multiple times at 931" which is because it's not emitting data from 4pm -> 9.31am so all those events were triggered at once with the Algorithm Time unchanged.
Perhaps we rename issue -> feature/bug -> "Make Scheduled Events Trigger at Algorithm Time in Backtesting"

Not a bug

authors: jaredbroad jingwu74 mchandschuh

repo: QuantConnect/Lean


text:
Integration with Tiingo custom data

We should support Tiingo services as custom data:

EOD Price data: https://api.tiingo.com/services/tiingo/daily
News data: https://api.tiingo.com/services/tiingo/news

API:

https://api.tiingo.com/docs/tiingo/daily
https://api.tiingo.com/docs/tiingo/news

Merged in #2255

authors: StefanoRaggi mchandschuh


text:
Filter view optimized for scalar assignment

As mentioned in #165, the filter view is not as fast as a pure C loop for scalar assignment. It would be nice to add a filter view optimized for scalar assignment.

Fixed.

repo: QuantStack/xtensor


text:
Improve performance of list-attribute creation

Currently, attributes are built (i.e. passed to onnx.helper.make_attribute) 3-4 times, on:

Validation when initializating
Running type inference (1.) and possibly value propagation (2.)
Building

For very large attributes (like constant parameters, decision trees, label encoder maps, ...) this becomes significant. If we came up with a way to do this only once or twice, we'd be running this part ~2x faster.
Part of the issue is also due to the upstream onnx.helper.make_attribute being rather inefficient, which I can try to upstream a fix for. Based on early experiments it could be improved by as much as 3x.

Though we could squeeze out much more, I think that https://github.com/onnx/onnx/pull/5063 should be enough. It achieves a 10x improvement in the common case (list[int] | list[float]), and probably about 2x in the general case.

Thanks for your work on this topic, @jbachurski. It currently takes roughly 5 minutes to convert a Python-based ratebook to ONNX. Most of the time is spent creating list attributes (we store several lookup tables with 100,000+ entries).

When we get https://github.com/onnx/onnx/pull/5220 in the current ONNX release, we can set the new attr_type argument in make_attribute to avoid the attribute type inference code altogether. This would further improve performance. The possibility of caching the AttributeProto while the node is getting constructed (checking + type inference) still stands.

@aivanoved Is this the issue you were referring to last week?

I really can't pinpoint where the issue comes from at this stage, what I can do confirm is that for not so large models the model creation time including creation of the spox objects, the model and the build of the graph takes what seems to be wuite a long time

The main slow-down was solved upstream with the attr_type attribute to make_attribute. I don't think there is any need for further improvements here at this point.

authors: JakubBachurskiQC JanJaguschQC aivanoved cbourjau jbachurski

repo: Quantco/spox


text:
Naming problem

I try to create two cylinders and subtract them from a box, but there is a weird naming process that make it fail.
Here is the code:
from HFSSdrawpy import *
from HFSSdrawpy.libraries.base_elements import *
import numpy as np
from HFSSdrawpy.utils import parse_entry, Vector
pm = Modeler('hfss')
chip = Body(pm, 'chip')
cydinder_posX = pm.set_variable('0mm')
cydinder_posY = pm.set_variable('0mm')
cydinder_posZ = pm.set_variable('0mm')
cydinder_rad = pm.set_variable('0.275mm')
chip_width = pm.set_variable('10mm')
chip_length = pm.set_variable('10mm')
chip_thickness = pm.set_variable('1mm')
chip_sapphire = box(chip,              [-chip_width/2, -chip_length/2, 0],
[chip_width, chip_length, -chip_thickness],
name="chip_sapphire")
chip_sapphire.assign_material("sapphire")
hole1 = cylinder(chip,[cydinder_posX, cydinder_posY, cydinder_posZ],
cydinder_rad,
-chip_thickness,
'Z',
nonmodel=True,
name='hole1')
hole2 = cylinder(chip,[cydinder_posX, cydinder_posY+'1mm', cydinder_posZ],
cydinder_rad,
-chip_thickness,
'Z',
nonmodel=True,
name='hole2')
chip_sapphire.subtract([hole1,hole2])

i think this is the same issue with subtract that i raised in drawpylib

yes

authors: clarke-smith eflurin

repo: QuanticParis/HFSSdrawpy


text:
What is the best way to draw one pixel?

I need to draw some sophisticated figure like pixel art. How can I plot one pixel of some color?
draw_line() doesn't give clear colored pixel.

Hey! It would be possible to use draw_rectangle for this, however this will be quite slow if you're plotting more than a few thousand pixels per frame.
A quicker way is to draw the pixels to an image, and then use draw_image() to draw them all at once. create_image_from_raw_pixels() takes an array of color values (RGB or RGBA) representing the image, and you'd have to call this once per frame (which is a bit expensive performance-wise, but faster than drawing thousands of rectangles).

authors: QuantumBadger Revertron


text:
Enchanting Power Level Block Content Registry

Adds an REA to register blocks that provide a certain amount of enchantment power increase in "Bookshelf Equivalents"

Im not a fan of enchantment_stuff/enchantmentstuff as a package name, there must be a better name than that, no?
(Also is there a reason it isnt consistent?)

I believe that is temporary

Im not a fan of enchantment_stuff/enchantmentstuff as a package name, there must be a better name than that, no? (Also is there a reason it isnt consistent?)

I was not gonna use it as an actual package name, I just wanted to actually implement it and not spend an hour bikeshedding the name and whether it's supposed to go in the existing block content registry module

Forge uses a method called getEnchantPowerBonus, so I initially used enchantment_power but ended up adding "level".
I wouldn't mind a different name, but I can't come up with anything good.

Maybe enchanting_power? enchanting rather than enchantment since it affects the enchanting process, rather than any enchantment directly. The _level bit feels unnecessary.

I called them enchantment_boosters back in VMulti on 1.16, which is what I created MCDict, the precursor to REAs, for.

Ohh, boosters are a good name; After all, this is a block REA and so, having the registry attachment refer to the blocks themselves would be better;
Maybe enchanting_boosters would be perfect, combining that with the feedback about using "enchanting" instead

I like enchanting_boosters.

enchanting_boosters sounds great!

Another vote towards enchanting_boosters from me.

I renamed it to enchanting_booster given that all other block attachments seems to be singular.

Actually, what we really should have done is adopt something similar to tag conventions, making this quilt:enchanting_boosters; Unfortunately, we didn't, so oh well, we'll stick with that for 1.19

This has been waiting for way too long; I'm starting the FCP; I still have nitpicks that are important to be addressed, but I decided to do that after merge; after way too much poking, now i'm afraid of annoying more...

authors: EnnuiL Kroppeb LemmaEOF Leo40Git OroArmor SilverAndro williambl

repo: QuiltMC/quilt-standard-libraries


text:
Change Multipart Entity API's "rotate" methods to work as intended

This PR changes the rotate() methods of AbstractMultipartEntity to rotate the vectors via pitch and yaw only, which also fixes the bug where pitch and yaw rotations would not stack (as result of using quaternions, presumably).
It addionally adds the option to switch between degrees and radians without having to use *(float)Math.PI/180f every time.

Like so?

alright, done


text:
Uncaught TypeError: Cannot read property 'path' of null

[Enter steps to reproduce below:]

...Creating a .c extension file name
...typing anything causes it to through a error

Atom Version: 0.186.0
System: Microsoft Windows 7 Ultimate
Thrown From: you-complete-me package, v0.1.1
Stack Trace
Uncaught TypeError: Cannot read property 'path' of null
At C:\Users\Naqushab\.atom\packages\you-complete-me\lib\ycm-provider.coffee:11

TypeError: Cannot read property 'path' of null
  at Object.module.exports.getSuggestions (C:\Users\Naqushab\.atom\packages\you-complete-me\lib\ycm-provider.coffee:11:35)
  at C:\Users\Naqushab\.atom\packages\autocomplete-plus\lib\autocomplete-manager.coffee:144:45
  at Array.forEach (native)
  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (C:\Users\Naqushab\.atom\packages\autocomplete-plus\lib\autocomplete-manager.coffee:127:15)
  at AutocompleteManager.getSuggestionsFromProviders (C:\Users\Naqushab\.atom\packages\autocomplete-plus\lib\autocomplete-manager.coffee:1:1)
  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (C:\Users\Naqushab\.atom\packages\autocomplete-plus\lib\autocomplete-manager.coffee:121:6)
  at C:\Users\Naqushab\.atom\packages\autocomplete-plus\lib\autocomplete-manager.coffee:1:1

Commands
     -38:08.5 core:backspace (atom-text-editor.editor.mini)
     -35:30.0 core:confirm (atom-text-editor.editor.mini)
  3x -32:16.7 core:backspace (atom-text-editor.editor.mini)
     -32:14.7 core:paste (atom-text-editor.editor.mini)
     -32:10.7 core:confirm (atom-text-editor.editor.mini)
 17x -30:26.6 core:backspace (atom-text-editor.editor.is-focused)
     -30:08.5 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages
# User
autocomplete-plus, v2.4.1
you-complete-me, v0.1.1

# Dev
No dev packages

fixed

authors: Qusic naqushab

repo: Qusic/atom-youcompleteme

license: mit


text:
预训练数据似乎带有不少微调数据

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
测试了7B-Base。
测试了简单的对话（输入形如"Alex: xxx \nBob: xxx"），偶然发现出现"Assistant: xxx"。
测试了 "Human: xxx \n"，几乎一定会补成与Assistant的对话。
测试了不道德内容，会拒绝回答，并输出类似"很抱歉，我无法完成这个任务。作为一名AI助手，我不能创造或鼓励任何不适当或不道德的内容。"
测试了非Assistant名称，如 "Human: xxx \nBob: "。几乎一定会变成人类与成助手风格的对话。即用着Bob的名说着Assistant的话。也可能拒绝回答不安全问题。
测试了非Human名称，如"Alex: xxx \nAssistant"，几乎一定会补成Human与Assistant的对话。即下一句Alex变成Human。
因产生了相当程度的影响，故推测预训练数据中含有不少微调数据。
期望行为 | Expected Behavior
如果是刻意的，是否应当在技术报告中给出？
如果是无意的，希望给出合理的解释。
复现方法 | Steps To Reproduce
inputs = tokenizer('Human: 你好。\n', return_tensors='pt')
inputs = inputs.to(model.device)
pred = model.generate(**inputs)
print(tokenizer.decode(pred.cpu()[0], skip_special_tokens=True))

运行环境 | Environment
No response
备注 | Anything else?
No response

这个做法古已有之，早在ChatGPT出现前，在GLM-130B、M6/OFA/OFASys那个年代就有了，更早的来源忘了具体是哪篇工作了。此外，在Qwen之前开源的其它国产模型中，这么做的也不少见。

authors: JianxinMa ychjl

repo: QwenLM/Qwen


text:
Browser open if only API tests are running

During the execution of API-only tests, the browser always appears shortly, which would not actually be necessary.

Thank you Moritz for reporting this.
The behaviour could be reproduced and does not correspond to the desired behaviour. If only tests are carried out for which the browser is not required, the browser should not be opened.
However, it should be noted that this behaviour does not hinder the execution of the tests, which is why this issue is assigned a low priority.

authors: MoritzSalein OliverHoenig

repo: Qytera-Gmbh/QTAF


text:
Tag Search Functionality

DO NOT MERGE THIS PR WITHOUT THE OTHER TWO PRS AS IT WILL BREAK STUFF
Linked PRs:

R2Northstar/NorthstarMasterServer/pull/27 (Storing, Acessing)

Changes:

Adds extra field to config
Adds tag search and tag dsplay per server

whys there a max of 5 tags

whys there a max of 5 tags

prob to prevent servers having too many tags

whys there a max of 5 tags
As Fifty said, to prevent tag spam

In my opinion the best northstar tag system would work through three separate systems:

Automatic tags requiring no host output: Gameservers would report to masterserver their modified match settings so clients could run filters based on that. Ex: client filters for no_epilogue tag which would only show servers that have run_epilogue set to 0, low_gravity maps to servers with gravity lower than default, etc.
Country tags would use a separate field like how https://github.com/R2Northstar/Northstar/issues/41 suggests.
Arbitrary string tags could re-use the server description field (or even title) instead of adding a new one, currently the serverbrowser doesn't filter for descriptions but it should be faily easy to implement

My problem with accepting this PR in its current state is that:

It's tedious to add tags reflecting your in-game settings and hosts probably will forget to do it or won't even use it at all.
Having tags as arbitrary strings is too open and might fail to group servers like the host intends. Ex: someone using brazil vs brasil, EU vs Europe

With this implementation tags become limited and defined by game settings or geographic regions which helps to create a proper filtering UI for the frontend.

If this were the case, how would you decide which "things" are worthy of generating a tag for? How little gravity is low gravity? How slow is slow movement? no_epilogue seems pretty pointless of a tag to me, seeing as epilogue is dependent on gamemode (as far as I'm aware).
I don't mind country tags. It will probably remove some ambiguity/mispellings and ensure that a server location and by extension a way to estimate ping is present on evey server.
I agree with the fact that tags are too open, but I don't think the right solution is to search by description. You will then instead end up with huge descriptions reading "tags: x,y,z," as has happened with so many other platforms.

authors: Coopyy F1F7Y MiloAkerman abarichello


text:
Open wiki link in external browser

This is mostly a design decision and not a technical one. So it depends whether we wanna have the link open in in-game browser or user preferred external one.
Closes https://github.com/R2Northstar/Northstar/issues/245

I can't reproduce https://github.com/R2Northstar/Northstar/issues/245 since I'm on Linux, if it works for you feel free to merge

Emma said it looks good :3

authors: GeckoEidechse abarichello


text:
🛑 R3 Pilot Carbone (Climatip) is down

In e88ee67, R3 Pilot Carbone (Climatip) (https://r3-carbone.climatip.fr/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: R3 Pilot Carbone (Climatip) is back up in 7282d94 after 13 minutes.


text:
[ Question ] Usage of Riot ID's and scrapping of Summoner Names

Is your question related to a problem? Please describe.
It may be a problem in the near future. So Riot is scrapping SummonerNames on the 20th of November and will switch to use Riot ID's. It may cause problems with the handling of every player. Is this problem considered and will there be an update to fix this?
Describe alternatives you've considered
Switching every player's handle from the SummonerName to use the puuid or the RiotiD + Tag.
Additional context
Context for said changes: Tweet from Riot

We're checking what needs updating; we don't use summoner lookups in a lot of places so it shouldn't have a huge impact.

After some testing, I could not find any issue and as far I can tell riot is only stopping to use summoner names for the tournament API, which we don't use atm. Right now everything still works as usual, if there are changes in the future we will revisit this issue.

repo: RCVolus/league-prod-toolkit


text:
grant_id should not be required

The current schema indicates that grant_id is required but the statuses are: planned, applied, granted and rejected.
It is unlikely that a grant_id would exist when the status is planned, applied or rejected.

The grant_id is required only if you have a funding-entry (lines 886-975), as far as I discern. Having a funding entry in itself is not required, it is possible to validate perfectly without it. A dataset is a required key, though.

This might be a matter of what an id is useful for. On one hand, it can be a PID (persistent, useful outside the place it was first defined). On the other, an id can be needed to make a repeated section uniquely referencable within the system, like a primary key in an SQL table. The latter need not be PIDs and need not be shared with anyone. Without something functioning like the latter, the only way to tell apart two datasets is the order they are defined in the json, so: dataset with index 0 vs. dataset with index 1 etc. (You could in fact use that index as an id and thus be explicit about it.)
I think the two uses has been conflated in this standard: you really need the latter type (since the standard does not define that arrays are ordered [though it may be assumed], but the first type can always be added later. This ties into #33 and #34.

I think the cardinality of grant_id should be changed to 0..1. If I recall correctly, in the "project branch" of the specification we wanted to keep the options open.

authors: TomMiksa briri hmpf jomtov

repo: RDA-DMP-Common/RDA-DMP-Common-Standard

license: Unlicense


text:
repo info error

Im getting this error always, There was an error retrieving the repository information, please check that the URL is correct and that the SSH key has been added . can you tell me why this is happening.?

OK I think I am going to have to try code commit out

First of all, tell me where this error firing off, so that i can also help you?

it appears if DeployProject::updateRepoInfo() fails, basically if it can't clone the repository

I just dd the $process->getErrorOutput() in Deploy project, the output is
"""
Permission denied (publickey).\r\n
fatal: Could not read from remote repository.\n
\n
Please make sure you have the correct access rights\n
and the repository exists.\n
"""
I think this can helpfull to you.

But when i do manually this command it success git clone --quiet --branch master --depth 1 ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/laravel1.

Did you remember to add the SSH key to the remote repository?

In codecommit there is only IAM, and i have already added ssh to IAM user who has full control on codecommit repos.

@pavankumarkatakam  You need to add the deployer's public ssh key to your repository so that deployer can ssh to your git server.
@REBELinBLUE  Could you add a QA tag to the issue?

I have already mentioned that im using codecommit by aws, there is no seetting for directly adding ssh to repository there is only IAM system. and i have done it.

I am going to sign up to code commit at the weekend and have a look as I have no idea how it works

Hi @REBELinBLUE , have you seen the codecommit.

Ah sorry I completely forgot as when I tried to sign up the activation SMS message wasn't arriving. I will try again tonight

Still can't get the automated activation call, going to have to ring them tomorrow

Ok.

Can i give you a role in my aws account, you can know how the codecommit work

Atlast i figured out that, i want to add IAM sshid with the code commit git repo as  ssh://<username>@<host>/path/to/repo.

Now its working fine.

Great to hear! Sorry I never got round to looking into it properly, work has been so manic lately :(

authors: REBELinBLUE iflamed pavankumarkatakam

repo: REBELinBLUE/deployer


text:
Loading in Individual Datasets within a Package

Is it possible to load in individual datasets within a package? For example:

library(rpart)
data(car90)

But this doesn't work, even though there is a specific AUP444_bama dataset:

library(AUP444)
data(AUP444_bama)
Warning message:
In data(AUP444_bama) : data set ‘AUP444_bama’ not found

With projects now containing many datasets from multiple assay types, it would be nice to be able to only load in specific datasets.

I like the idea. I could alter the saving of data to allow loading data sets separately, and provide a load_all_datasets(“packageName”) command to load all the data from a package.
From:  Jimmy Fulp
Reply-To:  RGLab/preprocessData
Date:  Wednesday, September 2, 2015 at 2:03 PM
To:  RGLab/preprocessData
Subject:  [preprocessData] Loading in Individual Datasets within a Package (#7)
Is it possible to load in individual datasets within a package? For example:
library(rpart)
data(car90)
But this doesn't work, even though there is a specific AUP444_bama dataset:
library(AUP444)
data(AUP444_bama)
Warning message:
In data(AUP444_bama) : data set ‘AUP444_bama’ not found
With projects now containing many datasets from multiple assay types, it would be nice to be able to only load in specific datasets.
—
Reply to this email directly or view it on GitHub.

When converting from a previous version of a package (where all data sets were stored in one rda file) you'll need to manually remove the old "all in one" rda file prior to regenerating the package.

This is implemented in commit 6a00a and fixes the problems in issue #8

authors: gfinak wfulp

repo: RGLab/preprocessData


text:
fix: maven component analysis effective-pom is truncated

Description
fix for JIRA-2023: https://issues.redhat.com/browse/APPENG-2023

[x] I have followed this repository's contributing guidelines.
[x] I will adhere to the project's code of conduct.

This PR shouldn't be merged, it's only for experimental purposes.

repo: RHEcosystemAppEng/exhort-javascript-api


text:
Support for Dropbox API v1

Is this currently being worked on? I'd love to help out.

See #43 -- help is appreciated!

authors: RISCfuture tonywok

repo: RISCfuture/dropbox


text:
Ensure that usernames and passwords are escaped when used in commands

All fields in the User object, which is controlled by the blue team, are now shell escaped. In some cases, such as the SSH login expect script, additional escaping was required.

nice work @LiptonB

authors: LiptonB csanders-git

repo: RITSPARSA/cyberengine


text:
Arg

Sorry for stupid question, but

argument users i cant get in logger.debug(users); it sending undefined, can u help me, why?

I can imagine that code returning an empty array ([]) for users, because Javascript is an asynchronous language - your logger.debug(users); line is likely going to be executed before your users[i] = rows[0].user_steamid; line.  As far as I can see users should not be undefined.
Regardless, this is not a node-dota2 issue. This issues section is not the place to go for help writing and debugging your applications, unless your issue directly relates to node-dota2 usage.

Yes, it isnt node-dota issue, but i cant understand how to write users and after use this arg in code?


text:
🛑 CEOTR Home Page loads is down

In 2850cdc, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 9baf178 after 2 minutes.

repo: RKTowse/upptime


text:
🛑 CEOTR Home Page loads is down

In 6d4d954, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 70e5c6e after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In c3dae84, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 924aebb after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 19b9651, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in fb8c934 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 47a282b, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 106 ms

Resolved: Sensor tracker login is back up in aa4cf18.


text:
🛑 Sensor Tracker login is down

In 15f5f1d, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 36e6737 after .


text:
🛑 CEOTR Home Page loads is down

In 47d8a19, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in cb62161 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In eb376db, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in b12bca2 after .


text:
🛑 Sensor Tracker login is down

In 22a3a19, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in bb107b2 after .


text:
🛑 Sensor Tracker login is down

In db948c1, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in be30039 after 13 days, 18 hours, 10 minutes.


text:
🛑 Sensor Tracker login is down

In 73e5f3b, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 47 ms

Resolved: Sensor tracker login is back up in 3ab79e9.


text:
🛑 Sensor Tracker login is down

In 20c9e24, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 5c868ad after .


text:
🛑 Sensor Tracker login is down

In 1596fd6, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 8913456 after .


text:
🛑 CEOTR Home Page loads is down

In c7c8921, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in a298101 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 06d1262, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 46 ms

Resolved: Sensor tracker login is back up in 520e2e7 after 42 days, 4 hours, 33 minutes.


text:
🛑 Sensor Tracker login is down

In 8cf0ddc, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 50 ms

Resolved: Sensor tracker login is back up in 5b60b81 after 42 days, 23 hours, 57 minutes.


text:
(Base) Lights shine through walls

Light bulbs and tubes shine through walls.

duplicate of  #2576


text:
Plushie Rouny Runner

About the PR

A third variant of Rouny Runner Enemy
Why / Balance

Admeme content,
Technical details

Used preexisting assets to make a controllable rouny plushie with runner stats
Media

Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

add: Added Rabid Rouny Plushie

you should use the silly rouny plushie for it's rest sprite

This is cool but it needs damage and sleep sprites, it also needs to be tested for sprite offsetting
I'd rather this replace wehny honestly

authors: FungiFellow Kadeo64 QuietlyWhisper


text:
ros2 foxy turtlbot3 burger sbc setup error with stderr

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[0] Burger
[ ] Waffle
[ ] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[ ] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[0] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[ ] Raspberry Pi 3B+
[0] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[0] Ubuntu preinstalled server (18.04/20.04)
[ ] etc (Please specify your OS here)

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[0] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.

HERE

Copy and Paste the error messages on terminal.

HERE

Please describe the issue in detail.

Summary: 7 packages finished [2min 19s] 1 package had stderr output: ld08_driver
stderr: ld08_driver
/home/ubuntu/turtlebot3_ws/src/ld08_driver/src/transform.cpp: In constructor 'SlTransform:SlTransform(LDVersion, bool)':
/home/ubuntu/turtlebot3_ws/src/ld08_driver/src/transform.cpp:30:50: warning: unused parameter 'to_right_hand' [-Wunused-parameter]
30 | SlTransform::SlTransform(LDVersion version, bool to_right_hand)

Hello, @ankita-kalra
This message is a warning, not an error, and it does not affect functionality.
You can proceed without concern.
Thank you.

This issue appears to be resolved, so it will be closed.

authors: ankita-kalra sunghowoo yun-goon


text:
Built-in vector types float2, float3 and float4 are not trivially copyable

float2, float3 and float4 are trivially copyable in CUDA, but they are not in HIP.
This results in the following piece of code working in CUDA, but failing in HIP:
static_assert(std::is_trivially_copyable_v<float2>);

It transitively applies to any class that uses such a data member as well.

This seems due to the assignment operator and similar ones:
https://github.com/ROCm-Developer-Tools/hipamd/blob/rocm-5.1.x/include/hip/amd_detail/amd_hip_vector_types.h#L487
data is builtin vector type for clang and array type for GCC. It seems to me in either case the default assignment operator should work.

authors: dcampora yxsamliu

repo: ROCm-Developer-Tools/HIP


text:
Remove -lnuma in hipcc

@yxsamliu: can you take a look at this? Between 3.7 and 3.8 most references to numa got removed, except for this -lnuma flag. Was that intentional or should it be removed too?

@yxsamliu: can you take a look at this? Between 3.7 and 3.8 most references to numa got removed, except for this -lnuma flag. Was that intentional or should it be removed too?

I am not directly working on HIP runtime. My impression is that HIP runtime uses numa therefore it needs to link with numa.

I am not directly working on HIP runtime. My impression is that HIP runtime uses numa therefore it needs to link with numa.

Thanks @yxsamliu. Who is the right person to ping here? I have multiple open PRs that I'd like somebody to look at

Thanks @yxsamliu. Who is the right person to ping here? I have multiple open PRs that I'd like somebody to look at

Thanks @yxsamliu. Who is the right person to ping here? I have multiple open PRs that I'd like somebody to look at

@gargrahul

Thanks @yxsamliu. Who is the right person to ping here? I have multiple open PRs that I'd like somebody to look at

@gargrahul

Ping @gargrahul, is linking -lnuma really necessary?

Closing all existing pull requests that do not target the develop branch. In case this pull request is still valid, please rebase your changes against develop branch and resubmit.

authors: haampie mangupta yxsamliu


text:
[HIPIFY][feature] Add a new function call transformation type "additional const by value arg"

Use cudnnFindConvolutionForwardAlgorithmEx -> miopenFindConvolutionForwardAlgorithm, where an additional bool arg is to be added at the end as a const true, as a case study.

Implemented by #824

repo: ROCm-Developer-Tools/HIPIFY


text:
ask for available rocSHMEM env configuration

We are trying to setup rocSHMEM environment in our servers, but cannot get available rocSHMEM env configuration for working well.
Could you tell us an available configuration you have run?
Ubuntu version:
Linux kernel version:
Rocshmem version:
Rocm version:
MLX ofed version:
MLX hardware:
AMD card hardware:

We have an upcoming release tentatively targeting the following:
Ubuntu version: Ubuntu 20.04.2 LTS
Linux kernel version: 5.11.0-27-generic
Rocshmem version: 1.3
Rocm version: 4.4 or 4.5
MLX OFED version: 5.4.1
MLX hardware: MT27700 Family [ConnectX-4] and MT28908 Family [ConnectX-6]
AMD care hardware: MI25, MI50, MI100, MI200

very appreciate and very excited for new release

authors: BKP hongbilu


text:
host-side memory leak

Below a pure-C minimal failing example showing an increase in memory consumption when multiple omp-offloading shared objects are called back to back from Python
https://github.com/devitocodes/devito/tree/patch-omp-off-leakage/tests/omp-mfe
the MFE files are hosted on a devito branch, but the MFE is completely independent of devito
reproduced with:

Rocm 5.4.1 aompcc 14.0
Rocm 4.5.2 aompcc 13

hypothesis: openmp runtime keeping around pinned memory buffers
run as per README.md at link

Now with a pure-C reproducer (no python involved)
I'm doing plain dlopen / dlclose
https://github.com/FabioLuporini/hpc-bugs/tree/main/omp-off-leak/c

unable to access this link: https://github.com/FabioLuporini/hpc-bugs/tree/main/omp-off-leak/c

Sorry, I renamed the folders at some point.
Here's the working link: https://github.com/FabioLuporini/hpc-bugs/tree/main/amdgpu.clang-amd/omp-off-leak/c

@Lynd98   could you grab this testcase and valgrind it

15.0-3:
==3417==    definitely lost: 16,112 bytes in 8 blocks
==3417==    indirectly lost: 163 bytes in 3 blocks
==3417==      possibly lost: 84,860 bytes in 240 blocks
==3417==    still reachable: 948,396 bytes in 2,866 blocks
==3417==                       of which reachable via heuristic:
==3417==                         multipleinheritance: 272 bytes in 3 blocks
==3417==         suppressed: 0 bytes in 0 blocks

16.0-0
==3089== LEAK SUMMARY:
==3089==    definitely lost: 344 bytes in 5 blocks
==3089==    indirectly lost: 163 bytes in 3 blocks
==3089==      possibly lost: 84,860 bytes in 240 blocks
==3089==    still reachable: 952,270 bytes in 2,971 blocks
==3089==                       of which reachable via heuristic:
==3089==                         multipleinheritance: 272 bytes in 3 blocks
==3089==         suppressed: 0 bytes in 0 blocks

@estewart08 is the fix in ROCm v5.2.3 or in any of the docker images here https://hub.docker.com/r/rocm/dev-ubuntu-20.04/tags ?

No, the fix is in AOMP 16.0-0 and will be in ROCm 5.4.

Hi Greg, I talked to @yaomingamd who told me that the aompcc wrapper is broken in v5.3, at least the one deployed on your docker hub, which we depend on: https://hub.docker.com/r/rocm/dev-ubuntu-20.04/tags
I've been advised to rather use amdclang, is that how we should proceed? I'll see if I can start a build later today

the script is fixed in upcoming 5.4 release.
the change is fairly straightforward
update your copy from here: https://github.com/ROCm-Developer-Tools/aomp-extras/blob/aomp-dev/utils/bin/aompcc
to move to clang/clang++/amdclang/amdclang++
explicitly add -v to your aompcc and you can observe what options it added for your
typically:
-target $HOST_TARGET -fopenmp -fopenmp-targets=$TARGET_TRIPLE -Xopenmp-target=$TARGET_TRIPLE -march=$AOMP_GPU

authors: FabioLuporini estewart08 ronlieb

repo: ROCm-Developer-Tools/aomp


text:
[Issue]: example_bsrsm and example_fortran_spmv have device memory access faults

Problem Description
We got some examples failures when running all the examples from rocSPARSE:

example_bsrsm failing after rocm-6.2.4. Tracked the culprit commit to 2934d0609d18a8540710c33e30e87ae20bde6344.
example_fortran_spmv failing since unknown (tested up to 6.1.0)

We are using the rocm/rocm-terminal docker image when running these. These fail in several devices, not only MI100. The architectures for which they fail are:

gfx906 (Vega20)
gfx90a (MI200)
gfx908 (MI100)
gfx1030 (V620)
gfx1100 (TR 3970X)

Operating System
Ubuntu 20.04
CPU
AMD EPYC 7713P 64-Core Processor
GPU
AMD Instinct MI100
ROCm Version
ROCm 6.3.0
ROCm Component
rocSPARSE
Steps to Reproduce
CC=/opt/rocm/bin/hipcc CXX=/opt/rocm/bin/hipcc FC=gfortran cmake -S . -B build -G Ninja -D CMAKE_BUILD_TYPE=Release -D BUILD_CLIENTS_SAMPLES=ON -D AMDGPU_TARGETS="<targets>"

cmake --build build --target example_fortran_spmv # or example_bsrsm

./build/clients/staging/example_fortran_spmv # or example_bsrsm

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

Hi @Beanavil. Internal ticket has been created to investigate your issue. Thanks!

@Beanavil Thanks for identifying these issues in the samples. I have tracked down the cause and have a PR up now that fixes them. Ill close this issue once the PR is merged to develop.

Fix merged to develop

authors: Beanavil jsandham ppanchad-amd

repo: ROCm/rocSPARSE


text:
[Issue]: Roctracer returns correlation_id of 0 for all communication kernels

Problem Description
When profiling, we observe that the activity_record_t/roctracer_record_t objects for communication kernels all have a correlation_id of 0. For example, we see CPU event hipExtLaunchKernel with correlation 29170; however, its corresponding GPU kernel, ncclDevKernel_Generic(ncclDevComm*, channelMasks, ncclWork*), has correlation of 0. We see that for non-CCL events, the correlation_id of the CPU and GPU events do match despite using the same method of getting correlation_id as CCL events.
We obtain the correlation_ids for all async roctracer activities in kineto within this callback: https://github.com/pytorch/kineto/blob/main/libkineto/src/RoctracerLogger.cpp#L295
Thanks in advance!
Operating System
CentOS Stream 9
CPU
AMD EPYC 7713
GPU
AMD Instinct MI300X
ROCm Version
ROCm 6.0.1
ROCm Component
roctracer
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

cc @mwootton

@mwootton I added a debug in this PR: https://github.com/pytorch/kineto/pull/982?fbclid=IwZXh0bgNhZW0CMTEAAR3_RK7vE-FsNn3Jf25uGjHaqN9H5vubjl7vdLwfCrUZkylydG7hDC2fB6o_aem_uPIqohTBkAW8PZwOnSB96Q
And saw the following prints:
WARNING:2024-08-28 15:29:41 3273561:3284767 RoctracerLogger.cpp:307] Correlation id is 0 for record: ncclDevKernel_Generic(ncclDevComm*, channelMasks, ncclWork*)
It seems like the callback is populating the id with 0 before we even process it

Confirmed this was fixed in 6.2.0

repo: ROCm/roctracer


text:
Update rtest.py to the standardized version

This allows us to consolidate the two rtest xml files. See https://github.com/ROCmSoftwarePlatform/rocSOLVER/pull/319.

The gfx906 build is passing.

@tfalders @eidenyoshida @lawruble13 @jzuniga-amd, could we try to get this in?

No prob. I wasn't expecting this to be important. It came as a bit of a surprise that it was necessary (and sufficient) to fix the build.

repo: ROCmSoftwarePlatform/hipSOLVER


text:
[Opt] Use rocprim to optimize argmax op performance

Use the reduction api of rocprim to optimize argmax op.

@kkHuang-amd thanks for this PR, I have checked it and I think it's better to push directly to upstream.

Hi @kkHuang-amd I checked this PR and I think it's better to push it directly to upstream, then we will merge it back in our weekly-sync.
Thanks!

authors: i-chaochen kkHuang-amd


text:
Try VoltageOS-beryllium

test voltage beryllium

It will fail its not syncing properly

repo: ROM-builders/temporary


text:
add MCMC practice file for auto_peak_call.ipynb

Bill - please add a sample dataset for the auto_peak_call.ipynb file.

It says: "You can download this data from the github repo or as a .tar.gz file from the website under the datasets section." But we don't have a datasets section yet. Perhaps we could clean up that folder.

@irelandb Needs to be fixed.

authors: nikomc tomroesch

repo: RPGroup-PBoC/RegSeq


text:
Work on #51

Some more circuit diagrams; better check these are accurate - I haven't had time to wire them up and test them!

I haven't checked the diagrams in depth, but a few small notes from a quick look at the images:
motion_sensor
I believe the intention here is for PIR motion sensors, like the one shown in https://github.com/RPi-Distro/python-gpiozero/blob/master/docs/images/motion-sensor.png (and http://thepihut.com/collections/camjam-edukit/products/camjam-edukit-2-sensors )
motor
Bit hard to see what the name of the chip is - perhaps the upper blue wire could be moved?
rgb_led
While the diagram you've shown will work (and is fine for quick prototype purposes), I believe conventionally these are wired up with one resistor per colour, rather than just one resistor on the cathode - otherwise e.g. switching the blue part of the LED on and off will change the brightness of the red part of the LED. (and in more advanced applications, having a resistor-per-colour allows you to try 'balancing' the resistors, so that turning all the LEDs on results in 'white' and not e.g. pink - but this latter part is probably outside the scope of GPIO Zero)

On the motion sensor: yup, and if there was one like that in Fritzing I'd have used it - unfortunately the one that's there is the only IR sensor Fritzing had (and yeah, it's an "infrared distance sensor" - oh well, at least it's got vaguely similar pins to the CamJam one, except the OUT and GND are swapped).
On the motor: good point - I'll push that in a mo. It's the SN754410 (same as used on the Ryanteck board).
On the RGB LED: ahh, there goes Dave showing his lack of EE experience again. I'll fix it in a mo.

repo: RPi-Distro/python-gpiozero


text:
Add multiple select

In a lot of websites there is multiple categories search. Currently I prefer using a select instead of a bunch of checkboxes (for code simplicity and form understanding). It's frustrating because it takes out a lot of flexibility and doesn't reflect the original website.
A good feature could be a select with the multiple attribute (example).
The getter cans return an array with selected values.
(To be honest I'm not very pleased with this component because it is not UX friendly : you have to know the Ctrl/Cmd key must be down to select multiple item. A list of checkboxes (with a scroll for long list) should be better. But, baby-steps and start with a select.)
What do you think about this new form input?

I see your point. It makes sense for the kind of bridge you are aiming for and should be supported by RSS-Bridge. Unfortunately parameters is one of the more difficult parts to change (because of context detection), so this will take some time. I'll look into this if I have more time to spare (next month probably). If anyone else is interested in taking this challenge, please let me know beforehand.

Closing because this is a hard task with a lower priority.

authors: JackNUMBER LogMANOriginal dvikan

repo: RSS-Bridge/rss-bridge

license: unlicense


text:
Bridge request for ... Le sexe selon Maïa and other "le monde" urls

Bridge request

General information

Host URI for the bridge (i.e. https://github.com):
https://www.lemonde.fr/le-sexe-selon-maia/

Which information would you like to see?
Typically, I would like to extract the freely readable pages of https://www.lemonde.fr/le-sexe-selon-maia/
They are easy to find, as it is only a matter of following one link
It's in fact the same work i've already done for GQMagazine.

How should the information be displayed/formatted?
One RSS entry per page

Which of the following parameters do you expect?

[X] Title
[X] URI (link to the original article)
[x] Author
[X] Timestamp
[X] Content (the content of the article)
[X] Enclosures (pictures, videos, etc...)
[ ] Categories (categories, tags, etc...)

Options

[ ] Limit number of returned items

Default limit: 5

[X] Load full articles

Cache articles (articles are stored in a local cache on first request): yes
Cache timeout (max = 24 hours): 24 hours

[X] Balance requests (RSS-Bridge uses cached versions to reduce bandwith usage)

Timeout (default = 5 minutes, max = 24 hours): 5 minutes

I'll start to work on that bridge next week (after all, it's a good Hacktoberfest contribution, no?)

I will add "hacktoberfest-approved" (or something like that) tag to PR, if I accept it

Any progress?

authors: Riduidel dvikan em92


text:
[CurrentTimeBridge] New Bridge

Gives out the Current Time from New York
Created for testing purpose
Preview: https://dhusch.de/rss-bridge/#bridge-CurrentTime

https://github.com/RSS-Bridge/rss-bridge/issues/2172#issuecomment-864533136

I changed it to the UK version, but you can't see it, because this Pull Request got closed...
Here is the newest Version:
https://github.com/dhuschde/rss-bridge/blob/dhuschde-current-time/bridges/CurrentTimeBridge.php


text:
Organization of Publications Info Field Is Not Standard

Depending on the source, the publications info dictionary is different. Since SemMedDB came first, the other sources use some elements of its dictionary and not others.
Examples:

Jensen Lab and RTXKG1 both use the edge object as the key for the sub dictionary (with the score). The sub dictionary has all of the fields, but only object score is not None.
DrugBank (largely due to my misinterpretation of the standard and the structure of the data) doesn't have a PMID or the edge object as the key for the sub dictionary. Instead, the dictionary is just {"sentence": sentence}
SemMedDB uses all of the fields listed in the README
Reactome uses a similar structure to SemMedDB, but only uses the sentence field in the sub dictionary and doesn't feature any of the others

I think it would be helpful if we agreed on a structure that worked for all sources, rather than these hacky and inconsistent methods.

As a way to document sources with scores (whether currently in KG2 or not -- I have not been adding scores onto edges with new ETLs until we learn more from EPC), I'm going to start a running list here with sources with scores. Feel free to edit this comment and add more:

SemMedDB
https://github.com/RTXteam/RTX-KG2/blob/d1725e87f8076211c6f08879cd40e1ffc3f39729/semmeddb_tuple_list_json_to_kg_json.py#L195-L196
DisGeNET
https://github.com/RTXteam/RTX-KG2/blob/d1725e87f8076211c6f08879cd40e1ffc3f39729/disgenet_tsv_to_kg_json.py#L66-L67
IntAct
https://github.com/RTXteam/RTX-KG2/blob/d1725e87f8076211c6f08879cd40e1ffc3f39729/intact_tsv_to_kg_json.py#L114-L115
JensenLab
https://github.com/RTXteam/RTX-KG2/blob/d1725e87f8076211c6f08879cd40e1ffc3f39729/jensenlab_tsv_to_kg_json.py#L113
DGIdb
https://github.com/RTXteam/RTX-KG2/blob/d1725e87f8076211c6f08879cd40e1ffc3f39729/dgidb_tsv_to_kg_json.py#L79


text:
关于合成的音频的速度控制，合成时候的音频选项

问题：
1、合成的音频的语速怎么控制，现在合成出来的音频感觉总是比较快
2、top_k,top_p,temperature这三个参数都是分别控制什么的呢？

Top-k 采样
这就像是从一袋糖果中挑选糖果吃。如果袋子里有100种糖果，但你只允许自己从中挑最喜欢的10种（Top-k）来选择。这样做，你很可能挑到你比较喜欢的糖果，但同时也减少了尝试不常吃或新奇糖果的机会。在语音合成中，Top-k 采样帮助模型在生成时从最可能的选项中选择，从而使生成的语音更加连贯和可理解，但也可能减少其多样性。
Top-p (Nucleus) 采样
假设你现在不是只从最喜欢的糖果中选择，而是决定只从能让你满意度超过一定阈值的糖果中选择。这意味着如果很多糖果都很吸引你，你可能会从很多种中选择；但如果只有几种让你满意，你就只从这几种中选择。这种方式更加灵活，可以根据实际情况调整选择的范围。在语音合成中，Top-p 采样让模型根据当前的情况决定考虑多少可能的选项，既保持了内容的相关性，又允许了一定程度的创新和多样性。
温度（Temperature）
想象你正在做菜时调味。温度就像是你加盐的量。如果你加得太少（低温度），菜可能会味道不足，太单调。如果你加得太多（高温度），菜可能会味道过重，难以预测它会有多咸。所以，适量的调味（温度设为 1.0）通常能做出既不单调也不过分的菜。在语音合成中，温度帮助控制生成的多样性和预测性：低温度让语音听起来更加自然和一致，而高温度让语音更加多样和不可预测。

authors: RevelationCollection upseem

repo: RVC-Boss/GPT-SoVITS


text:
FileNotFoundError  3_feature256

按一鍵訓練後都會跑出這個錯誤
不管是在windons上或是mac上都會
windons上都讀取不到我的3060ti是因為太新嗎？
File "/Users/caishanglin/anaconda3/envs/py3_8_16/lib/python3.8/site-packages/gradio/utils.py", line 312, in run_sync_iterator_async
return next(iterator)
File "infer-web.py", line 933, in train1key
& set([name.split(".")[0] for name in os.listdir(feature_dir)])
FileNotFoundError: [Errno 2] No such file or directory: '/Users/caishanglin/Downloads/RVC-beta-v2-0528/logs/Shang/3_feature256'

pytorch版本没装对，不支持cuda，嫌麻烦的话建议下完整包，否则去pytorch官网找支持cuda的pytorch的安装命令

裝好了結果跑python infer-web.py
結果跑出下面的錯誤頭痛
Traceback (most recent call last):
File "C:\Users\User\Downloads\RVC-beta-v2-0528\infer-web.py", line 37, in
gpu_name = torch.cuda.get_device_name(i)
File "C:\Users\User\anaconda3\envs\py3916\lib\site-packages\torch\cuda_init_.py", line 365, in get_device_name
return get_device_properties(device).name
File "C:\Users\User\anaconda3\envs\py3916\lib\site-packages\torch\cuda_init_.py", line 395, in get_device_properties
_lazy_init()  # will define get_device_properties
File "C:\Users\User\anaconda3\envs\py3916\lib\site-packages\torch\cuda_init.py", line 247, in _lazy_init
torch._C._cuda_init()
RuntimeError: Unrecognized CachingAllocator option: max_split_size_mb=4096

(i'm using WSL)
i'm getting the same thing even tho i installed pytorch
the 伴奏人声分离&去混响&去回声 works fine but when i try Train u i get this
ro0t@DESKTOP-JTUBJPS:/mnt/h/TCHT/RVC-beta-v2-0528$ python3 infer-web.py
Use Language: en_US
Running on local URL:  http://0.0.0.0:7865
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
Traceback (most recent call last):
File "/home/ro0t/.local/lib/python3.10/site-packages/gradio/routes.py", line 427, in run_predict
output = await app.get_blocks().process_api(
File "/home/ro0t/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1323, in process_api
result = await self.call_function(
File "/home/ro0t/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1067, in call_function
prediction = await utils.async_iteration(iterator)
File "/home/ro0t/.local/lib/python3.10/site-packages/gradio/utils.py", line 336, in async_iteration
return await iterator.anext()
File "/home/ro0t/.local/lib/python3.10/site-packages/gradio/utils.py", line 329, in anext
return await anyio.to_thread.run_sync(
File "/home/ro0t/.local/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/ro0t/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/ro0t/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/ro0t/.local/lib/python3.10/site-packages/gradio/utils.py", line 312, in run_sync_iterator_async
return next(iterator)
File "/mnt/h/TCHT/RVC-beta-v2-0528/infer-web.py", line 932, in train1key
set([name.split(".")[0] for name in os.listdir(gt_wavs_dir)])
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/h/TCHT/RVC-beta-v2-0528/logs/mi-test/0_gt_wavs'

最後是安裝這個版本的cuda
CUDA 11.1
pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
終於可以開得起來和偵測到顯卡了

What to do in my Mac?


text:
[Colab] unzip:  cannot find or open /content/drive/MyDrive/dataset/lulu20230327_32k.zip

Where can I find lulu20230327_32k.zip file?
unzip:  cannot find or open /content/drive/MyDrive/dataset/lulu20230327_32k.zip, /content/drive/MyDrive/dataset/lulu20230327_32k.zip.zip or /content/drive/MyDrive/dataset/lulu20230327_32k.zip.ZIP.

You should use your own dataset

You should use your own dataset

Sounds good, but what should be inside the zip file?
How to create my own dataset?

Don't know if this will be any good to you, but I am going to give it a go.
https://github.com/HarryAJMK418/RVC-SVC-Best-Dataset-Maker

authors: RVC-Boss asxckjasbhcxjkas stokemctoke zzzh


text:
Recommendation

allow users to import imgui code instead of it being read only

Will consider 👍

It would be great to see something like android studio editor. When you can switch between the code and the visual part, as well as split the screen and see what you write in real time.

authors: Raais fnpkyle plakapenka

repo: Raais/ImStudio


text:
Multi-row components

Hey, am I able to make widgets that take up multiple rows like this?

I've tried nesting rows within columns but it doesn't seem to work. It may be that I have messed up the object as the nested arrays and curly braces get really complex. If you have an example, could you please post it?

Nested rows in a column is not supported right now. But having a single row with multiple columns and having multiple widgets in a single column should work. A sample layout is given below.
{
  layout: {
      rows: [{
        columns: [{
          className: 'col-md-6',
          widgets: [{key: 'RocketWidget'}],
        }, {
          className: 'col-md-3',
          widgets: [{key: 'RocketWidget'}, {key: 'RocketWidget'}],
        }, {
          className: 'col-md-3',
          widgets: [{key: 'RocketWidget'}, {key: 'RocketWidget'}],
        }],
      }]
  }
}

FYI, I'm planning to rewrite dazzle which allows for more flexible layout using react-grid-layout. Keep an eye out for the release.

Any ETR on the release? I'm looking forward to it as I'll be able to lay everything out properly.

I'm sorry I don't have an ETA at the moment. Been busy with anther project.

I haven't tested this yet but is Dazzle nestable?

authors: Raathigesh cphoover xavier630

repo: Raathigesh/dazzle


text:
En tant qu'élève, je souhaite que les cartes non trouvées soit prioritaire dans mes prochains jeux.(flashcards)

Complexité:
3 sur 5

Si l'utilisateur  a répondu "je n'ai pas trouvé", qu'il n'a donc pas trouvé la réponse directement, il aura de bonne chance de retrouver la carte lors d'une prochaine partie.

authors: LouisLombaert Pourbaix


text:
Ubuntu requirements for DHCP

DHCP needs to specify option routers and option domain-name-servers in dhcpd.conf for Ubuntu network installation
@RackHD/corecommitters @WangWinson

:+1:
Add @keedya

:+1:

:+1:

authors: WangWinson anhou keedya yyscamper

repo: RackHD/docs


text:
insert left and right doesn't work (beta)

Screenshots
https://user-images.githubusercontent.com/38974541/180302965-4df34c1e-a795-4f0e-bd0e-b10506d0a0d9.mov
Desktop (please complete the following information):

macOS 12.3.1
Obsidian 0.15.6
DB folder 2.0.0-beta.2

I cant reproduce the issue
https://user-images.githubusercontent.com/11924043/180470719-290374a7-a795-4414-a19e-730de34a8394.mov

I tried it again with a clean vault, and still the same problem, nothing happens when clicking on insert right/insert left
dataview 0.5.41
DB Folder 2.0.0-beta.2
macOS 12.3.1
Obsidian 0.15.6
Installer 0.14.6

I have the same issue.

Maybe I fix it with another issue. Will be checked with the next beta iteration so. Thanks =)

https://github.com/RafaelGB/obsidian-db-folder/issues/220

repo: RafaelGB/obsidian-db-folder


text:
Support TNEF

RainLoop version, browser, OS:
1.10.5.192, N/A
Expected behavior and actual behavior:
https://en.wikipedia.org/wiki/Transport_Neutral_Encapsulation_Format#Decoding
An attachment encoded using TNEF is seens as winmail.dat, rather than what was attached.
Steps to reproduce the problem:
Send an email with a TNEF attachment

+1

Is there any chance that this could be implemented?
I might have some time to do some research itno this, so any pointers are appreciated.
I guess adding this from scratch would take some time, so is there a way to implement other existing solutions, such as https://github.com/verdammelt/tnef?

authors: axos88 carlosperezm mlzummo

repo: RainLoop/rainloop-webmail


text:
Beta 1.8.2 (beta 2)

Package:
http://repository.rainloop.net/v2/webmail/1.8.2/rainloop-1.8.2.288-2216a7aa6b42e609ef38bdea7af53966.zip

What do you think?

Hi, sorry I didn't test this and the previous Beta earlier. I was a bit short on time :)
Here are my findings:

I notice the indicator of how much messages there are in a thread has changed from a box with a number in it in front of the sender name, to a number between ( ) after the sender name. I don't think both of these are an improvement.
I notice you can't expand an email thread in the main message list anymore.
When using the < and > buttons to go through the messages is a thread all goes well, but if I press the button in between and select a message in the list it often (most of the time) sends me back to the message list... Sometimes it opens the message as it should. And sometimes the screen shows the message list briefly and then shows the message.
And somehow when the message subject is long, it overwrites the time/date indicator.  It's weird that's not the case in your screenshot where the time/date indicator is in line with the sender instead of the subject.

Ralf.

@ervee
Thanks!

What do you think?

I notice you can't expand an email thread in the main message list anymore.

Yes, now it works that way.
New version with fixes:
http://repository.rainloop.net/v2/webmail/1.8.2/rainloop-1.8.2.288-2216a7aa6b42e609ef38bdea7af53966.zip

Pretty cool this last one!!! :smiley:
Working fine here :+1:

Message indicator looks good to me. The problems I found are not there anymore so that looks solved :)

I like it too. When using threads I think this is a clutter-free approach. Just a question, are we also getting keyboard shortcuts to switch to previous/next thread?

Just a question, are we also getting keyboard shortcuts to switch to previous/next thread?

Yes, Ctrl + --> and Ctrl + <--

:+1:

Release Candidate:
http://repository.rainloop.net/v2/webmail/1.8.2/rainloop-1.8.2.290-95bb2c2f2250f7c7d56bd63a4010b1c5.zip

Still looking good. But can we get the Ctrl + --> and Ctrl + <-- for regular messages too?

Do you use "no preview pane" layout?
Ctrl + up and Ctrl + down

SWEEEEEEEEET!
Yes I use no preview pane. :-D

Pretty good!! =)
The keyboard shortcuts working well!
I can use arrows on Thread List box, good! But to get the box is required to click on Thread List button.
Do you think would be interesting a shortcut to open the Thread List too?
I don't mind having to click, but soon it can be requested here

Do you think would be interesting a shortcut to open the Thread List too?

T button.

I just noticed that you can't delete a single message from a thread (the toolbar buttons get grayed-out except on the first message) so you have to delete the whole thread. I'm almost sure you could do it when you could expand threads in the message list.

I just noticed that you can't delete a single message from a thread

You can do it using "more" drop down of selected message.

Of course, the only place I forgot too look. Thanks and sorry for the noise.

authors: RainLoop arturbonnett ervee megadr01d


text:
🛑 RSOS服务控制面板 is down

In 0e72a3f, RSOS服务控制面板 (https://$US_SITE) was down:

HTTP code: 530
Response time: 59 ms

Resolved: RSOS服务控制面板 is back up in 07cfa91 after 6 minutes.

repo: RainThings/uptime


text:
🛑 HK区服 is down

In 5361449, HK区服 (https://$HK_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HK区服 is back up in a762644.


text:
Sunset CoffeeCloud

Setting a preliminary soft sunset date for CoffeeCloud for September 30, 2017.

This issue is being converted into the Milestone Sunset CoffeeCloud.

license: isc


text:
Component is missing template or render function.

mediaelement 5.1.0
vue: 3.2.45
<template>
  <div class="relative-position">
    <MediaElement :source="src"></MediaElement>
    <q-btn icon="eva-download-outline" @click="downloadFile" color="white" text-color="primary" square unelevated class="absolute-bottom-right"><q-tooltip>Download video</q-tooltip></q-btn>
  </div>
</template>

<script>
import {defineComponent} from 'vue'
import Mediaelement from "vue3-mediaelement";

export default defineComponent({
  name: 'VideoPage',
  components: {
    MediaElement: Mediaelement ,
  },
...

Hey Ivan,
Thanks for letting me know, I'll update a fix ASAP.

`import { createApp } from "vue";
import App from "./App.vue";
import Mediaelement from "vue3-mediaelement";
import "vue3-mediaelement/dist/style.css";
const app = createApp(App);
app.use(Mediaelement);
app.mount("#app");`
Please try providing it as a global component.

authors: RajendraUppu ivanjaros


text:
Beta Function Calculator added

Description👨💻
For solving sums of multivariate calculus, many college students including myself have to go through the hassle of inputting the beta function in expanded form in our scientific calculators. Instead of that if we make a beta function calculator that takes 2 inputs and gives direct result of Beta(a,b) our task can become simpler! The calculator uses gamma function (which is an inbuilt function of math.js) to calculate the value of ß(m,n).
Type of Change📄

[✅ ] New feature (non-breaking change which adds functionality)

Checklist✅

[✅ ] I am an Open Source contributor
[✅ ] I have performed a self-review of my code
[ ✅] My code follows the style guidelines of this project
[✅ ] I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷
https://github.com/Rakesh9100/CalcDiverse/assets/146969559/54aeb1e8-631d-4a68-9782-266f650f226d

@snigudkar Add empty field validations. Also check if you could make it responsive.

Why does everything look wrong on your end? I tried it using chrome and edge both browser and it looks correct on my device. Also i did not understand what you mean by "making it responsive". Everything is responsive. I have showed the demo in the video.

okay i will look into that

Are you working on the mentioned comment @snigudkar

Are you working on the mentioned comment and mention the issue number for this PR @snigudkar

Working on it. Please give me some more time. Also how can I test my code for a mobile's aspect ratio?

You can check your calculator in this Deploy Preview and test the responsiveness, make new commits and again this Deploy preview will change according to the new changes @snigudkar

okay I will work on it


text:
500 Internal Server Error when adding Album

Getting 500 error when trying to create a new Album (/album/create).
I compared my repo to this one and the only difference are my Postgres db settings in database.global.php.
I traced the error as far as I could to AlbumTableGateway's insertAlbum.  The call to insertWith triggers the error.  I don't know how to trace any further.  Update and delete actions work perfectly.
I'm using PHP 7 on Heroku.

So I switched to Clear DB (MySQL) and it works perfectly.  Looks to be an issue with adding the sequence name for the album id field maybe?  Not sure how or where to put that.

Unfortunately, I have no idea about PostgresSQL so far.
Can anybody else help @jbeauchamp ?

authors: RalfEggert jbeauchamp

repo: RalfEggert/zend-expressive-tutorial


text:
Relatório SKU

Oque é o Relatório SKU?

@hoshikawakun É um relatório de estoque de produtos.


text:
anchorPoint modifications in FoldingCell.swift causes shifts in subviews of foregroundView

Hello!
I recently got this library up and running in my project, and I just want to start by thanking @Ramotion for creating this library. It's amazing!
This is a mockup I've drawn in sketch delineating what I'd like to accomplish:

The issue I have at hand is that the default library appears to be defining an anchorPoint (shown below) that puts my content in the wrong position.
foregroundView.layer.anchorPoint = CGPoint.init(x: 0.5, y: 1)
Here's a visual showing the green UIView covered by the NavigationBar:

If I remove the line of code shown above, I get it to work (partially).
The other problem is that the foregroundView exceeds my defined height.

To give some more context, I've set the cell heights programmatically in my primary TableViewController as 120 pixels:
var itemHeight = [CGFloat](count: 1, repeatedValue: 120.0)
I define the layout constraints of my foreground/container views in TestCell.swift which inherits from FoldingCell.swift, the code below is supposed to set the foregroundView height at 110 pixels.

How might I be able to resolve this issue?
Any help is appreciated!

You set wrong cell height (in example kCloseCellHeight), it must be equal:
CellHeight = foregroundViewHeight + foregroundViewTopConstraint.constant * 2

@ober01 Hi Alex!
So the TableViewCell Height should be 130?
Cell Height = fgHeight (110) + topConstraint.constant (10) * 2

yes, or top constraint must be 5

@ober01
This is what happens when I set the cellHeight = 120, fgHeight = 110 and topConstant = 5

can you share this example ?

Absolutely!
Here is a link to the entire project, hosted on Mega.nz if you don't mind :)
https://mega.nz/#!AJERSbQD!U9rGx1-taAk11jcdpIC_D3y2Es-UpdZv2DGjecYil-A

Hi, idk that the problem is what you set at base value.
I had set base value to be Compact : any, then i found problems like u.
So, I have set base value to be any : any. And then the animation works well where it should be.

repo: Ramotion/folding-cell