Share exponential backoff code and fix logic for delete task failure

Context: https://neondb.slack.com/archives/C033RQ5SPDH/p1659629771314369

Fixes excessive Skipping delete task due to failed upload tasks, reenqueuing logs
removes backoff on delete tasks when they are reenqueued due to failed upload task added in https://github.com/neondatabase/neon/pull/2190
It is incorrect
reuses the same exponential_backoff function in the storage_sync code

The error causing excessive logging was the logic, that rescheduled deletions even if there were no upload tasks run in the same batch.
This way, no timeouts were checked, since deletions were not actually started, instead instantly skipped due to no uploads in the task.
I have an ugly test for this, but @hlinnaka overhauls entire storage_sync.rs in https://github.com/neondatabase/neon/pull/2231 so I don't really want to commit it, since it needs even more ugliness to ensure it does not hang on error:
#[tokio::test]
async fn only_delete_layer_batch() -> anyhow::Result<()> {
    use crate::{
        repository::repo_harness::RepoHarness, storage_sync::test_utils::create_local_timeline,
    };
    use remote_storage::LocalFs;
    use tempfile::tempdir;

    let harness = RepoHarness::create("only_delete_layer_batch")?;
    let index = RemoteIndex::from_parts(harness.conf, HashMap::new())?;
    let sync_queue = SyncQueue::new(NonZeroUsize::new(100).unwrap());
    let sync_id = ZTenantTimelineId::new(harness.tenant_id, TIMELINE_ID);

    let layer_files = ["a", "b", "c", "d"];
    let storage = Arc::new(LocalFs::new(
        tempdir()?.path().to_path_buf(),
        harness.conf.workdir.clone(),
    )?);
    let current_retries = 3;
    let metadata = dummy_metadata(Lsn(0x30));
    let local_timeline_path = harness.timeline_path(&TIMELINE_ID);
    let timeline_upload =
        create_local_timeline(&harness, TIMELINE_ID, &layer_files, metadata.clone()).await?;
    for local_path in &timeline_upload.layers_to_upload {
        let remote_path = storage.remote_object_id(local_path)?;
        let remote_parent_dir = remote_path.parent().unwrap();
        if !remote_parent_dir.exists() {
            fs::create_dir_all(&remote_parent_dir).await?;
        }
        fs::copy(local_path, &remote_path).await?;
    }

    let delete = LayersDeletion {
        layers_to_delete: timeline_upload.layers_to_upload,
        deleted_layers: HashSet::new(),
        deletion_registered: false,
    };
    sync_queue.push(TEST_SYNC_ID, SyncTask::delete(delete.clone()));

    let (batch, queue_length) = sync_queue.next_task_batch();
    dbg!(queue_length);
    let (_, batch) = batch.into_iter().next().unwrap();

    let z = super::process_sync_task_batch(
        harness.conf,
        (storage, index, &sync_queue),
        NonZeroU32::new(10).unwrap(),
        sync_id,
        batch,
    )
    .await;

     // TODO this test now will hang if deletion processing works properly, since the next task batch is queried on an empty queue
    dbg!(z, sync_queue.next_task_batch());

    Ok(())
}

The test should pass on main since the deletion task gets rescheduled but should hang on this branch, since the deletion task does not get rescheduled and we query the batch on an empty queue.
I could have adjusted the test more, but it's quite big and would be deleted due to an overhaul so does not seem to be worth an effort.

I have a better idea on the test now, will create a GC one with the remote storage.
Merging this now to ease the issues with logs.


Add Line Number

Is there a possibility to add line numbers parameter, like in st.code(line_numbers=True)?

Would this be ok?
response = code_editor(code, options={"wrap": True, "showLineNumbers": True})

Oh, I didn't know that option existed!
I checked the documentation and couldn't find an exhaustive list of possible options, so I randomly tried keys like line_number, lineNumber , etc. 😅
(Is there a place where I can find this exhaustive list, though?)
Either way, this option is very sufficient for me as it is.
Thank you for the quick reply, and for this awesome component :] ♥🙌

The documentation is incomplete and needing much attention, but it is its own time sink and hopefully when a get a bit of time, I will improve it.
A link to the list of options is in the docs but its not super clear and obvious. [Here are the options]


new feature: leave empty space or remove unsused

linked to #63  could be good to be able to remove and leave blank space instead of shifting all.
like this it will also give the possibility to move only one item as it seams you are doing a shift of block when drag and drop
when a + is done the first empty space is used as now we can move around the page it's not a problem.
good luck

anyone still interested in having a comment or placeholder area? the pullrequest is till unanswered since may.
@R-Smith take a look add it or close it: https://github.com/R-Smith/vmPing/pull/65
ty


404 on all requests after default install

tried to install on Ubuntu 22 with cargo. Running PX4 with gazebo sitl. After default start with verbose, cmd line reports that different messages are received. However sending requests through browser as well as through Postman always returns 404.
Not sure how to debug further.

update: http://<IP_ADDRESS>:8088/v1/mavlink/ATTITUDE returns 404 while http://<IP_ADDRESS>:8088/mavlink/vehicles/1/components/1/messages/ATTITUDE returns the expected message. Is the readme out of date?

Hi @danielhonies. We need to update the cargo releases, the latest update was 2 years ago. Please use the project binaries for now.


Update cleanmymac to 3.8.4,1496162968

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

errored with travis gpg keys twice now

🎉


update docs to reference restart_process extension instead of restart_container live update step when possible [ch5945]

Hello @landism, @nicks,
Please review the following commits I made in branch maiamcc/restart-process-reference:
43451058dfc04fdcffca4ef681902f611c20d380 (2020-05-28 14:47:00 -0400)
update docs to reference restart_process extension instead of restart_container live update step when possible [ch5945]
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

This PR addresses API docs and Live Update Reference. Future PRs will tackle the Live Update Tutorial and a fuller docs audit


TACLS install options

Before the TACLS update for KSP 1.2 the life support settings were not accessible via Module Manager, so CKAN used the "multi-choice" system to allow the user to select between the stock and the RO config. Now, it uses a global config (that can be modified via MM), meaning that this system is not needed now (RO has updated it's own configs for this change).

TACLS commit: https://github.com/KSP-RO/TacLifeSupport/commit/1b301ea7ff36346fbbed051c748a819ecedb2491
RO TACLS config: https://github.com/KSP-RO/RealismOverhaul/blob/master/GameData/RealismOverhaul/RO_RecommendedMods/TACLS/RO_TACLS_TacLifeSupportCfg.cfg
Original stock TACLS NetKAN: https://github.com/KSP-CKAN/NetKAN/blob/00b0fd7c4e33f3345230ae4e2735673b37b96a15/NetKAN/TACLS-Config-Stock.netkan
RO TACLS NetKAN: https://github.com/KSP-CKAN/NetKAN/blob/ada4f8324490724f517801fdd0bf2432612cf9bf/NetKAN/TACLS-Config-RealismOverhaul.netkan

The changes have been made and (accidentally) included in pull request #5330.


Fixed task completion source to run continuations asynchronously.

Create TaskCompletionSource with TaskCreationOptions.RunContinuationsAsynchronously (all other places already do that). I noticed the error when I tried to run a highly async code (hundreds/thousands of tasks reading from faster) and hit a "deadlock", all (> 30) threads were in
                while (device.Throttle())
                {
                    Thread.Yield();
                    epoch.ProtectAndDrain();
                }

My guess is that thread pool was exhausted thus IO completion callbacks for reading from disk were unable to be scheduled. This happened because call to TaskCompletionSource.TrySetResult might try to execute the continuations in the same thread (in the thread pool) and ReadAsync indirectly leads to the code above. As we are exclusively using the thread we might hit a point where all thread pool threads are "unavailable" for IO completion callbacks, so we never decrement numPending.

The change makes sense, thanks!


Update tests to support servers that non-https endpoints.

Added the server argument to perform_webfinger_query.

I'm a little conflicted about this, but I have nothing better to propose, so onwards ...


Revert "Update vis-icontwo to 1.6.3 (#4275)"

This reverts commit a909c3ded31fa63c358224f3f1a7f6c6e1d638df.
@skvarel
As updating vis-icontwo is obviously against your will, I revert my PR.
STABLE repository release of vis-icontwo is now reset to 1.5.0 again.
I hope thats ok for you.
Sorry for problem I have caused for you. There will no more automatic updated for adapters owned by inventwo.
@Apollon77 FYI

@skvarel
As updating vis-icontwo is obviously against your will, I revert my PR.
STABLE repository release of vis-icontwo is now reset to 1.5.0 again.
I hope thats ok for you.
Sorry for problem I have caused for you. There will no more automatic updated for adapters owned by inventwo.
@Apollon77 FYI


remove_scheme encodes colons

fix #382

There was a case I missed in normalize_path. It should be good now.


Convert to Docker tests for Travis CI

Because running everything on Travis' default environment is getting to be annoying.

Nice idea. Good luck for this improvement !
By the way, maybe it can help you, this python script parses the meta/main.yml and install the dependencies:
https://github.com/olo-dw/ansible-validator/blob/master/requirements.py
Thank you for all the job you do!

Hmm... I was approaching this as if MySQL wasn't running, but that's not actually the issue. It's just the MySQL task that's broken on Ubuntu 14.04:
TASK [geerlingguy.mysql : Disallow root login remotely] ************************
failed: [localhost] (item=DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '<IP_ADDRESS>', '::1')) => {"changed": false, "cmd": ["mysql", "-NBe", "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '<IP_ADDRESS>', '::1')"], "delta": "0:00:00.044375", "end": "2016-08-25 18:12:19.693479", "failed": true, "item": "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '<IP_ADDRESS>', '::1')", "rc": 1, "start": "2016-08-25 18:12:19.649104", "stderr": "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)", "stdout": "", "stdout_lines": [], "warnings": []}

Going to do some testing on the MySQL role here: https://github.com/geerlingguy/ansible-role-mysql/issues/57

Looks like it's related to an upstream Travis issue with the recent GCE outage and forced update to Docker 1.12... see comments in the issue linked in the above comment.


LoRA + FSDP -- issue

Hi, dumb question, when using both lora & fsdp together for faster training on ml.p3.16xlarge instance which has 8 GPUs I'm encountering error.
This works fine
python training.py --output_dir outputs/model/xl \ --use_fsdp \ --train_epochs 2 \ --data_path data/train.json \ --model_name_or_path "google/flan-t5-xl" \ --train_batch_size 8 \ --gradient_accumulation_steps 32
However running this, throws error:
python training.py --output_dir outputs/model/xl \ --use_fsdp \ --use_lora \ --train_epochs 2 \ --data_path data/train.json \ --model_name_or_path "google/flan-t5-xl" \ --train_batch_size 8 \ --gradient_accumulation_steps 32

File "/opt/conda/lib/python3.8/site-packages/torch/distributed/fsdp/flat_param.py", line 440, in _init_flat_param
self._init_flat_param(params, fully_sharded_module, use_orig_params)
File "/opt/conda/lib/python3.8/site-packages/torch/distributed/fsdp/flat_param.py", line 440, in _init_flat_param
raise ValueError(
ValueError: FlatParameter requires uniform requires_grad

will this fix the issue?
for param in model.parameters():       param.requires_grad_()

Hi, this may not work well, as it will unfreeze the model layers, causing much higher memory usage compared to normal lora. Unfortunately, lora does not seem to play well with fsdp in general, so I'm not sure if there is an easy fix: https://github.com/huggingface/peft#caveats
To speed up the training, it is recommended not to use fsdp if the model can fit on a single gpu, as it will cause gpu communication overhead. Instead, you can try using data parallel mode (assuming you have 8 GPUs):
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python training.py
--output_dir outputs/model/xl \
--use_lora \
--train_epochs 2 \
--data_path data/train.json \
--model_name_or_path "google/flan-t5-xl" \
--train_batch_size 1 \
--gradient_accumulation_steps 16

Hello thanks for response, I tried and got OOM. So I reduced my batch_size to 4 still same error, whereas using fsdp instead of lora training works on 64 batch size.


Incorrect output from fsadmin doctor

Alluxio Version:
2.1.0-SNAPSHOT & 2.0.0
Describe the bug
The configuration is consistent (the same alluxio-site.properties shared locally by master and worker, but fsadmin doctor claimed the configuration inconsistent (because some conf properties are not resolved before comparison)
$ bin/alluxio-start.sh local -f
$ bin/alluxio fsadmin doctor

Server-side configuration warnings (those properties are recommended to be identical):
key: alluxio.work.dir
    value: /Users/binfan/Dropbox/Work/alluxio/alluxio (<IP_ADDRESS>:29999)
    value: ${alluxio.home} (localhost:19998)
key: alluxio.site.conf.dir
    value: ${alluxio.conf.dir}/,/Users/binfan/.alluxio/,/etc/alluxio/ (localhost:19998)
    value: /Users/binfan/Dropbox/Work/alluxio/alluxio/conf/,/Users/binfan/.alluxio/,/etc/alluxio/ (<IP_ADDRESS>:29999)
All worker storage paths are in working state.

To Reproduce
see above
Expected behavior
there should be no warning on these two properties
Urgency
Medium
Additional context

  public static final PropertyKey WORK_DIR =
      stringBuilder(Name.WORK_DIR)
          .setDefaultValue(format("${%s}", Name.HOME))
          .setDescription("The directory to use for Alluxio's working directory. By default, "
              + "the journal, logs, and under file storage data (if using local filesystem) "
              + "are written here.")
          .setConsistencyCheckLevel(ConsistencyCheckLevel.WARN)
          .setScope(Scope.SERVER)
          .build();

modify the  .setConsistencyCheckLevel(ConsistencyCheckLevel.WARN) to IGNORE


Jenkins: Add GCE upgrade and all GKE jobs' config to e2e.sh

+cc @jlowdermilk I'd be oh-so-grateful if you could spare a moment for your wizened eyes to glance at PATH and CLOUDSDK_CORE_PROJECT usage below—I can't tell what's archaic.

A note about testing: given how beautifully green e2es have been, it'd be a shame to check this in until we're sure it doesn't break anything. It's a bit time consuming, but can actually test it before merging by updating the jenkins config for the affected builds to curl hack/jenkins/e2e.sh from your own repo instead of the main one.

@mbforbes assigning to you to address comments. Please assign back to me when done.

@ixdy ack, will do. I've combed through all e2es for GKE, so this will be in a much more polished state once I get back to it (Real Soon Now™).

ping? any update on this one?

Hey, sorry about the delay. Regrettably things keep coming up that are higher priority than this, which we'll affectionately call "cleanup" (though I really would like to see it through).
If you have time and would like to take it over, I'd grateful and would offer help and reviews (we have further use cases than this now and have audited all of the e2e tests). Otherwise, I hope to get back to it in the next couple weeks.

@ixdy really really regrettably, I just ended up not having time to finish this :-(
If you would be willing to carry the torch, I think many people would be hugely grateful!
:rocket:

@roberthbailey this one is for GKE testing.  Can anyone in SEA pick this up?  It would be really great if someone could finish it off.


Add SO(N) rotation matrix generator

I am looking for feedback on this code. It generates random rotations, ie elements of SO(N). I plan to add O(N) as well, but I'd like to be sure of the format first as the two algorithms are very similar.
I have only implemented rvs. The N is specified by dim. You can ask for multiple samples using size, and I return those in a list. Is that acceptable? Mathematically the natural way to embed n results would be as diagonal matrices in an n*N space. Would that be preferable to a list? One argument against it is that it is easier to construct the block-diagonal matrix than to decompose it.
Is it important to have a frozen version as well?
I have not submitted any tests. What are some good ones? A good test that this is generating the samples from the Haar distribution is to
a. generate n samples from SO(N)
b. compute the eigenvalues (N*n of them) and describe their distribution
c. then rotate all n samples by another element of SO(N)
d. update the eigenvalue distribution
e. show that the two eigenvalue distributions are similar
You could repeat step c, but I would find a single sample convincing.
Would we fix n and N? N = 5, n = 1000? Are there timing benchmarks to keep beneath?
Additional tests:
2. Show determinant == 1 for a single sample in each N in range(10)
3. Show x x.T == eye(N) for each sample in test 2

linking to the related mailing list thread: https://mail.scipy.org/pipermail/scipy-dev/2015-October/021021.html
This is not such a constructive thought, but I think it would be cool if scipy bundled something like MatrixDepot as its source of test matrices. MatrixDepot has several test matrix tags, one of which is 'random' which looks like it already includes random correlation matrices:
"random" => ["rosser", "rando", "randcorr", "randsvd", "rohess", "wathen", "oscillate", "golub"],

Would we fix n and N? N = 5, n = 1000? Are there timing benchmarks to keep beneath?

Aim for decent test coverage with tests that in well under one second. If really needed you can also add a slower test (say a few seconds), that is marked with @dec.slow (from numpy.testing). This will then only run for stats.test('full') and not for stats.test().

Your proposed tests make sense - they demonstrate the functionality. In addition I would suggest to test against one hardcoded value, so the reproducibility of the random numbers for a given seed is checked.

As an idea for an additional test. The plane rotations, SO(2), should be essentially univariate. So one can do a KS test for the rotation angle (cf https://github.com/scipy/scipy/blob/master/scipy/stats/tests/test_continuous_basic.py#L352 ).
Re remaining test failures: pep8 bot is annoying but easy to appease. Refguide-check failure asks you to add an entry to the list at  https://github.com/scipy/scipy/blob/master/scipy/stats/init.py#L116 so that this is included into the html and pdf docs. Finally, there are syntax errors on python 2.6. We are likely to drop support for python 2.6 in a foreseeable future. Still, it'd be nice to fix the syntax if that's not too taxing.

If all tests pass, I will move on to ortho_group. Should that be a separate PR, or shall I tack it on here?

A separate one would be better IMO.
Re tests: do you know that you can run the tests locally via $ python runtests.py -s stats and $ python runtestes.py -s stats --refguide-check (the latter checks the documentation for common reST errors and runs modified doctests.)
When all tests pass, it'd be good to squash the commits and reformat the commit message to start with ENH prefix. If you're not sure how to git rebase -i, we'll do it when merging.

@@            master   #5622   diff @@
======================================
  Files          234     234
  Stmts        43112   43132    +20
  Branches      8151    8157     +6
  Methods          0       0
======================================
+ Hit          33413   33446    +33
+ Partial       2606    2605     -1
+ Missed        7093    7081    -12

Review entire Coverage Diff as of 82713dc

Powered by Codecov. Updated on successful CI builds.

I have been using the in-place build and just running
python tests/test_multivariate.py
Is there a way to run these other tests like that?

python runtests.py -t <path-to-pyfile> or python runtests.py <path-to-pyfile>:test_function or :TestClass.test_method.
Which essentially does an in-place build and runs tests in the specified files.

I had done
python setup.py build_ext -i
a while ago, and since then I have been sitting in the stats directory just running the multivariate test suite.
I will try the full in-place build, but it will take a few hours I think. That turns into days since I only run my laptop for 40min twice a day on the train.

I stand corrected; it is done already.

I use runtests.py with ccache, and it's not too slow.

Should the O(N) branch be based on scipy/master? That will cause a merge conflict with this PR (the ordering of SO(N) and O(N) code will need to be determined at merge time). I am assuming this is the usual situation, but can easily base that PR on this one if there is a good way to do so.

I see there is now a conflict on this PR. Should I rebase on the latest master? Do I need to keep it up to date?

Yes, it'd be good to rebase on master (the conflict is most likely just in THANKS.txt). While you're at it, would you please split a those too long lines so that they are under 80 characters. This could also use a line in the release notes for scipy 0.18.
If it were my PR, I'd branch the O(N) PR off this one with an intent to rebase the second PR on master once the first one is merged.  This way, the rebase is likely simpler. But it's your PR, so it's up to you :-).

I'm pretty sure the rvs algorithm can be vectorized to avoid a python loop. OTOH, this can be attempted separately if needed, and there clearly is value in just reusing the tried-and-tested code. I could quibble about style issues like whitespace some more, but it's fine as is, so I'll go ahead and merge it. Thanks @philipdeboer, all.

I think it would be cool if scipy bundled something like MatrixDepot as its source of test matrices. MatrixDepot has several test matrix tags, one of which is 'random' which looks like it already includes random correlation matrices:
"random" => ["rosser", "rando", "randcorr", "randsvd", "rohess", "wathen", "oscillate", "golub"],

Agreed it'd be useful. Sounds like a cool project (GSoC even maybe?).
Probably better to move the comment from a PR comment to somewhere where it won't get buried.

Hi @philipdeboer, nice work—I just noticed your work in the release notes.
A quick question: QR decomposition uses Householder reflections, and I believe you could use QR out of the box, did you try?
Check out this implementation I've played around with some time ago. cf also tests.

I did not try it myself, but Mezzadri mentions it in his paper. The problem
with the QR decomposition is that it is not uniquely defined. To implement
the distribution that we want, we need to impose additional numerical
stability conditions that force a particular choice of the QR
decomposition. So it is best to just implement it explicitly.
It would be fun to reproduce his results and see that this implementation
is good from this perspective.
On 26 July 2016 at 13:50, Anton Akhmerov<EMAIL_ADDRESS>wrote:

Hi @philipdeboer https://github.com/philipdeboer, nice work—I just
noticed your work in the release notes.
A quick question: QR decomposition uses Householder reflections, and I
believe you could use QR out of the box, did you try?
Check out this
https://gitlab.kwant-project.org/kwant/kwant/blob/master/kwant/rmt.py#L155
implementation I've played around with some time ago. cf also tests
https://gitlab.kwant-project.org/kwant/kwant/blob/master/kwant/tests/test_rmt.py#L50
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/5622#issuecomment-235349066, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ_rHpKKAau-CCPppUljpyWOrLFrQAmHks5qZkjLgaJpZM4G61Kf
.

Sure it's not uniquely defined, but you can deal with that by post-processing the result (essentially dividing out by some phases).

Generally when a numerical algorithm loses resolution, it cannot be
restored by post-processing. I suspect that this will be true here too. But
if you can show that this approach would work, I would definitely be
interested in understanding it.
On 27 July 2016 at 02:27, Anton Akhmerov<EMAIL_ADDRESS>wrote:

Sure it's not uniquely defined, but you can deal with that by
post-processing the result (essentially dividing out by some phases).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/5622#issuecomment-235498117, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ_rHmJjNrrJF43ev9Xi6BS7BXraQoLLks5qZvpogaJpZM4G61Kf
.

Actually Mezzadri does exactly this for U(N). I will have to take another
look at it.
from scipy import *
def haar_measure(n):
’’’’’’A Random matrix distributed with Haar measure’’’’’’
z = (randn(n,n) + 1j*randn(n,n))/sqrt(2.0)
q,r = linalg.qr(z)
d = diagonal(r)
ph = d/absolute(d)
q = multiply(q,ph,q)
return q
On 27 July 2016 at 02:27, Anton Akhmerov<EMAIL_ADDRESS>wrote:

Sure it's not uniquely defined, but you can deal with that by
post-processing the result (essentially dividing out by some phases).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/5622#issuecomment-235498117, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ_rHmJjNrrJF43ev9Xi6BS7BXraQoLLks5qZvpogaJpZM4G61Kf
.

Feel free to adapt my version if you like it (it also has other symmetric spaces).

Just happened to be taking another look at this today. One thing I noticed
is that the existing implementation uses one random number for each degree
of freedom [ n*(n-1)/2 ], while the qr approach would, I think, require a
starting matrix with n**2 random numbers.
On 27 July 2016 at 07:44, Anton Akhmerov<EMAIL_ADDRESS>wrote:

Feel free to adapt my version if you like it (it also has other symmetric
spaces).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/5622#issuecomment-235561750, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ_rHrtceAzWeuiyNFF1wKjA-omTtunFks5qZ0SbgaJpZM4G61Kf
.

One could imagine generating a random triangular matrix and symmetrizing it well, but since the whole algorithm scales as N^3 regardless of implementation details, I always considered that part to be unimportant.


Update indoor-map-dynamic-styling.md

@brendansco

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


docs: project admin role does not exist - think we meant project iam admin - testing this as part of a clean deploy

Project Admin
to
Project IAM Admin
"roles/resourcemanager.projectIamAdmin"
but check first in step 1 of https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/blob/main/docs/landing-zone-v2/README.md#1-complete-the-bootstrap-procedure
testing in
#446

testing
oot_@cloudshell:~/pdt-ls/obriensystems/pubsec-declarative-toolkit/solutions (kcc-boot-ls)$ ./setup.sh -b kcc-boot-ls -u ls -c true -l false -r false -d false
Date: Fri 20 Oct 2023 06:26:30 PM UTC
Timestamp:<PHONE_NUMBER>
running with: -b kcc-boot-ls -u ls -c true -l false -r false -d false -p
Updated property [core/project].
Switched back to boot project kcc-boot-ls
Start:<PHONE_NUMBER>
unique string: ls
REGION: northamerica-northeast1
NETWORK: kcc-ls-vpc
SUBNET: kcc-ls-sn
CLUSTER: kcc-ls1
Reusing project:
CC_PROJECT_ID:
BOOT_PROJECT_ID: kcc-boot-ls
BILLING_ID: 01E6E8-A42E99-D21FF3
ORG_ID:<PHONE_NUMBER>5
applying roles to the super admin SUPER_ADMIN_EMAIL<EMAIL_ADDRESS>ROLE: roles/resourcemanager.organizationAdmin
Applying role roles/resourcemanager.organizationAdmin to<EMAIL_ADDRESS>Updated IAM policy for organization [59485982875].
bindings:
- members:
  -<EMAIL_ADDRESS>  role: roles/accesscontextmanager.policyAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.creator
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.projectManager
- members:
  - domain:landing.systems
  role: roles/billing.viewer
- members:
  -<EMAIL_ADDRESS>  role: roles/compute.networkAdmin
- members:
  -<EMAIL_ADDRESS>  role: roles/dns.admin
- members:
  -<EMAIL_ADDRESS>  role: roles/logging.admin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.folderAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.organizationAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectCreator
- members:
  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectIamAdmin
etag: BwYIKgNC80I=
version: 1
ROLE: roles/resourcemanager.folderAdmin
Applying role roles/resourcemanager.folderAdmin to<EMAIL_ADDRESS>Updated IAM policy for organization [59485982875].
bindings:
- members:
  -<EMAIL_ADDRESS>  role: roles/accesscontextmanager.policyAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.creator
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.projectManager
- members:
  - domain:landing.systems
  role: roles/billing.viewer
- members:
  -<EMAIL_ADDRESS>  role: roles/compute.networkAdmin
- members:
  -<EMAIL_ADDRESS>  role: roles/dns.admin
- members:
  -<EMAIL_ADDRESS>  role: roles/logging.admin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.folderAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.organizationAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectCreator
- members:
  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectIamAdmin
etag: BwYIKgNsUD0=
version: 1
ROLE: roles/resourcemanager.projectIamAdmin
Applying role roles/resourcemanager.projectIamAdmin to<EMAIL_ADDRESS>Updated IAM policy for organization [59485982875].
bindings:
- members:
  -<EMAIL_ADDRESS>  role: roles/accesscontextmanager.policyAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.creator
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.projectManager
- members:
  - domain:landing.systems
  role: roles/billing.viewer
- members:
  -<EMAIL_ADDRESS>  role: roles/compute.networkAdmin
- members:
  -<EMAIL_ADDRESS>  role: roles/dns.admin
- members:
  -<EMAIL_ADDRESS>  role: roles/logging.admin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.folderAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.organizationAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectCreator
- members:
  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectIamAdmin
etag: BwYIKgOXTvM=
version: 1
ROLE: roles/compute.networkAdmin
Applying role roles/compute.networkAdmin to<EMAIL_ADDRESS>Updated IAM policy for organization [59485982875].
bindings:
- members:
  -<EMAIL_ADDRESS>  role: roles/accesscontextmanager.policyAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.creator
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.projectManager
- members:
  - domain:landing.systems
  role: roles/billing.viewer
- members:
  -<EMAIL_ADDRESS>  role: roles/compute.networkAdmin
- members:
  -<EMAIL_ADDRESS>  role: roles/dns.admin
- members:
  -<EMAIL_ADDRESS>  role: roles/logging.admin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.folderAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.organizationAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectCreator
- members:
  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectIamAdmin
etag: BwYIKgPACFY=
version: 1
ROLE: roles/accesscontextmanager.policyAdmin
Applying role roles/accesscontextmanager.policyAdmin to<EMAIL_ADDRESS>Updated IAM policy for organization [59485982875].
bindings:
- members:
  -<EMAIL_ADDRESS>  role: roles/accesscontextmanager.policyAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.creator
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/billing.projectManager
- members:
  - domain:landing.systems
  role: roles/billing.viewer
- members:
  -<EMAIL_ADDRESS>  role: roles/compute.networkAdmin
- members:
  -<EMAIL_ADDRESS>  role: roles/dns.admin
- members:
  -<EMAIL_ADDRESS>  role: roles/logging.admin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.folderAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.organizationAdmin
- members:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectCreator
- members:
  -<EMAIL_ADDRESS>  role: roles/resourcemanager.projectIamAdmin
etag: BwYIKgPmxcU=
version: 1

gcloud organizations add-iam-policy-binding $ORG_ID --member=user:$SUPER_ADMIN_EMAIL --role=roles/resourcemanager.organizationAdmin --quiet #> /dev/null 1>&1
gcloud organizations add-iam-policy-binding $ORG_ID --member=user:$SUPER_ADMIN_EMAIL --role=roles/resourcemanager.folderAdmin --quiet #> /dev/null 1>&1
gcloud organizations add-iam-policy-binding $ORG_ID --member=user:$SUPER_ADMIN_EMAIL --role=roles/resourcemanager.projectIamAdmin --quiet #> /dev/null 1>&1
gcloud organizations add-iam-policy-binding $ORG_ID --member=user:$SUPER_ADMIN_EMAIL --role=roles/compute.networkAdmin --quiet #> /dev/null 1>&1
gcloud organizations add-iam-policy-binding $ORG_ID --member=user:$SUPER_ADMIN_EMAIL --role=roles/accesscontextmanager.policyAdmin --quiet #> /dev/null 1>&1
gcloud organizations add-iam-policy-binding $ORG_ID --member=user:$SUPER_ADMIN_EMAIL --role=roles/servicedirectory.editor --quiet #> /dev/null 1>&1
gcloud organizations add-iam-policy-binding $ORG_ID --member=user:$SUPER_ADMIN_EMAIL --role=roles/dns.admin --quiet #> /dev/null 1>&1
gcloud organizations add-iam-policy-binding $ORG_ID --member=user:$SUPER_ADMIN_EMAIL --role=roles/logging.admin --quiet #> /dev/null 1>&1


MySQL/MardiaDB support?

Is there some plan to support mysql and/or mariadb?

Thanak

Thanks

X


Add Washington County, WI

# us-wi-washington-1544625413395.geojson.gz
ok - 52242/52323 (99.8%) valid addresses
ok - 0 outside of boundary (dropped)
ok - 0 have an unsupported number format
ok - 0 are missing street names
ok - 0 could not be parsed
ok - 81 suffered misc failures


Fix incorrect maintainer username

This is to fix a mistake I made when creating the recipe - I didn't include my github username correctly so there are no maintainers for this feedstock!
I guess this will have to be merged by someone from @conda-forge/core or @conda-forge/staged-recipes?
Also, github user @molvs may have been accidentally invited to the team @conda-forge/molvs, but it appears to be empty currently.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Add RateMyOpenAPI to APi Design

Few comments:

A gentle reminder: Try not to submit your own project. Instead, wait for someone finds it useful and submits it for you.
Judging by the documentation - this is not a standalone (offline) OpenSource tool, but a CLI to your online service, which requires obtaining an API key.


Does this fit the scope of wio-rs?

I've got my own safe wrappers for winapi-rs: https://github.com/brashaw/C4/blob/master/src/win32/safe.rs
I will clean it up and move it into wio-rs if it's welcome.

Typically I've been following the principle of wrapping winapi types in safe wrappers. So instead of working with a console HANDLE directly, I have it wrapped up in a ScreenBuffer. Instead of handing out a COORD, I'd give out (i16, i16), although I really ought to change that to be two structs Point and Size. You seem to have a lot of freestanding functions which take and return raw things directly, so it would definitely take a bit of refactoring to get it into the style I've been going for. You're free to do so if you want.

You're right; I don't think my code will fit then.
My goals are to:

hide the unsafe code
provide correct error handling
keep the function signatures as true to the win32 functions they're calling as possible (which is why the raw types are mixed in there)

For my purposes, I don't mind working with the raw types directly. I just needed a safe way to work with them.


Fix ios buttons

Added a fallback for touch event radii (as iOS doesn't appear to support this).
Fixes #19
Unfortunately click events just outside of a button still have the delay, but this is due to some weird implementation of mouse events in iOS - touch events close to an element do not get triggered, but events such as click do.

:spaghetti:

Note: this version was published to npm as version 2.0.2 due to a problem when publishing.
Have deprecated version 2.0.0 and suggest that users switch to 2.0.2.


Feature/tray icon dbus sni test (merge to #6560)

cc @kekekeks @danwalmsley
targets: #6560

@kekekeks im having trouble linking the dbus menu exporter to the SNI object.. idk how to move forward on this one

@MaxHillebrand we will probably need XEmbed fallback for linux OS's without the SNI support

after building and executing https://git.sr.ht/~steef/snixembed
it does work flawlessly!!

Amazing work @jmacato :black_heart:


/group subscribers is using cursor pagination

This method is expecting a page parameter, but the API is using cursor pagination.
API doc: https://developers.mailerlite.com/docs/groups.html#get-subscribers-belonging-to-a-group
Maybe consider to update method to expect with a cursor instead?

Updated ✅


[BUG]: Duplicate value for resource 'attr/show_buffering' with config 'DEFAULT' and product ''.

Version
6.8.2
What platforms are you having the problem on?
Android
System Version
14
On what device are you experiencing the issue?
Real device
Architecture
New architecture with interop layer
What happened?
build fails with duplicate resource error
Reproduction Link
RN 0.76.4 new architecture
Reproduction
Step to reproduce this bug are: build android app

any reproduction repository ?

@freeboub unfortunately, I can't share repository because it belongs to company..
    <attr format="enum" name="show_buffering">     <enum name="never" value="0"/>     <enum name="when_playing" value="1"/>     <enum name="always" value="2"/>   </attr>
show_buffering is duplicated in "aandroid/app/build/intermediates/incremental/debug/mergeDebugResources/merged.dir/values/values.xml"

@freeboub this bug happened after following the RN upgrade helper to upgrade rn from 0.74 to 0.76

The expo sample in the repo is already on 0.76 and we don't have the issue ...
I think this is a conflict with another package


Really check if there are no exported fields instead of guessing usin…

…g the returned map count
I had an struct with 2 exported fields with "omitempty", and when both fields where empty, instead of returning an empty map, it was returning the original struct, which isn't what I wanted.
Checking this way don't change the way it works today, and fixes that problem.

Hi,
Unfortunately, I'm archiving this project and will no longer maintaining it. For more information, please read my blog post: Taking an indefinite sabbatical from my projects.
Thanks for the feedback and contribution.


IT Nightly (graalvm): Missing jar-file for com.google.api.grpc:grpc-google-cloud-gkehub-v1alpha2

09:13:14:622 [ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.9.23:test (test-native) on project google-cloud-gkehub: Missing jar-file for com.google.api.grpc:grpc-google-cloud-gkehub-v1alpha2:jar:0.43.0-SNAPSHOT:test. Ensure that native-maven-plugin runs in package phase. -> [Help 1]

Test Fusion Link
Within the native-build-tools code, this error is thrown here

Merging https://github.com/googleapis/google-cloud-java/pull/10415 addressed the issue.


make import/extensions great again

Fixes #478 by always respecting import/extensions, in spite of file content.

Coverage decreased (-1.9%) to 95.708% when pulling a4ca5f2dfa72130b147c0ecb868dc98588d136a9 on issue-478-import-extensions into 3f2a6fd43ab9956c92f40b532527d7923978d956 on master.


fix: make pkce code_verifier spec compliant #125

follow recommendations for code_verifier: https://datatracker.ietf.org/doc/html/rfc7636#section-4.1

Hi @moximoti thanks for the PR. Thats a good catch 🥇
@livio-a IMO this looks fine, what do you think?

sure, no padding definitely makes sense. especially if you want to be able to change uuid for something else in the future.
(although in this case, due to the fact that UUID is always 36 chars and therefore a multiple of 4 the result of both encodings do not include padding characters)


Added documentation for the load test script

The PR for the load test script is here: https://github.com/nephio-project/porch/pull/141

/approve
/lgtm


Add support for AI model selection through CLI or environment variables

Is your feature request related to a problem? Please describe.
AI model support is limited to llama3-8b-8192.
Describe the solution you'd like
Add support for users to specify the AI model to use by:

Providing a --model or -m flag in the command-line interface.
Enabling selection through an environment variable, such as AI_MODEL.

If no model is specified, a default should be set.
Describe alternatives you've considered
N/A
Additional context
N/A

Partially addressed by https://github.com/uday-rana/codeshift/commit/bfa5043cd0d5d16f152377966641ec68510fadfc


add etec

add etec (@etec.sp.gov.br)

add etec (@etec.sp.gov.br)

We opened the same PR with a difference of 1 minute lol kkk

Congratulations on your initiative!
I'm from ETECVAV in Jundiaí/SP and you?
Parabéns pela iniciativa!
Eu sou da ETECVAV em Jundiaí/SP e você?

@ivamzamorano I am sorry, the domain etec.sp.gov.br is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Pack at https://education.github.com/discount_requests/application. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Link fix on home page

Fixed the links to the hardware and firmware. Before they led to a depreciated repo now they lead to this maintained repo.

thank you!


Scheduler

Add a scheduler for ICP and other algorithms need a loop stop condition.

The current implementation is pypose.module.ReduceToPlateau, should we move to pypose.utils.ReduceToPlateau? Note that this is different from pypose.optim.scheduler.StopOnPlateau which can only work for optimizers, this can work for any algorithms that need a loop.

The current implementation is pypose.module.ReduceToPlateau, should we move to pypose.utils.ReduceToPlateau? Note that this is different from pypose.optim.scheduler.StopOnPlateau which can only work for optimizers, this can work for any algorithms that need a loop.

Move pypose.module.ReduceToPlateau to pypose.utils.ReduceToPlateau sounds better to me, and it is a better practice to ensure modularity and prevent circular dependencies.
I had a quick look on pypose.optim.scheduler.StopOnPlateau, it appears to be an essential component of the optimizations. Are we going to merge these two schedulers? If that's not the case, what do you think about renaming the scheduler for non-optimization modules/functions to something else to prevent confusion?


ui is having issues with bodyParser

Sat, 09 Apr 2016 01:17:00 GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at server.js:24:10
ui          | Sat, 09 Apr 2016 01:17:00 GMT body-parser deprecated urlencoded: explicitly specify "extended: true" for extended parsing at node_modules/body-parser/index.js:74:29
ui          | Sat, 09 Apr 2016 01:17:00 GMT express-session deprecated undefined resave option; provide resave option at server.js:25:10
ui          | Sat, 09 Apr 2016 01:17:00 GMT express-session deprecated undefined saveUninitialized option; provide saveUninitialized option at server.js:25:10

Many updates since then.  This error is not longer being seen.


Remove upper limits on dependencies

Remove upper limits on dependencies.

Doc build failure reported as https://github.com/sphinx-gallery/sphinx-gallery/issues/1382


Adding support for the full protected_branches API.

API details can be found at:
Parameters
https://docs.gitlab.com/ce/api/protected_branches.html#protect-repository-branches
Response
https://docs.gitlab.com/ce/api/protected_branches.html#example-with-user--group-level-access-starter

Thanks for the feedback @svanharmelen! I've made the changes as suggested.  Let me know if it looks alright now.


Ramen version tab doesn't update when open and switching between processes.

Solved here
https://github.com/louisVottero/vtool/pull/579


InvalidForeignKey when deleting an image

You cannot delete an image if it is associated with a blog post. If you try, you get the following exception:
PG::ForeignKeyViolation: ERROR:  update or delete on table "images" violates foreign key constraint "blog_articles_image_id_fk" on table "blogs"
DETAIL:  Key (id)=(209) is still referenced from table "blogs".
: DELETE FROM "images" WHERE "images"."id" = $1

Closing as blog is no longer in use


continue to add Unit and Integration tests

Work in progress to improve code test coverage

closing, will regenerate as it seems to not be taking new commits after last merge of main 🤷♂


remove or update test/acceptance project

This was something we had experimented with last year, and the work was left as it is due to priority work.  This is now out of date, and the momentum to improve it as we built it was lost.  The spec work in the aws driver was the direction we are planning on going at the time.  My vote would be get rid of the clutter.

@tyler-ball

Agreed - we can just delete the whole folder.  We always have git history if we want to look at it.  @patrick-wright wanna open a PR for this?


[Feature request] - if PR doesn't exist yet open creation page.

If you run pro on a branch that doesn't have a PR opened, instead of printing this text:
No open pull request found for current branch
Create pull request at [URL]

Just open the [URL].
I'm willing to contribute this feature if you also want it.

I designed it this way, because a user doesn't always know if the branch has a corresponding PR or is even present on the remote. Seeing this message means the PR doesn't exist, so either this is a wrong branch, or the user really wants to create the PR. That's why opening the page is optional and user has to click the link.
But I think it might be a good idea to make the behavior more consistent as you suggest by always opening the url and see if it's not confusing. It would be nice to have this behavior configurable, but I didn't decide yet on how the configuration process should look like.
Of course you're free to contribute if you want 😃


Tokens should be validated

First of all, thank you for creating this strategy.
I was implementing the flow myself, based on the OAuth2 strategy. So I was reading the Twitch docs and saw that tokens should be validated:

Any third-party app that calls the Twitch APIs and maintains an OAuth session must call the /validate endpoint to verify that the access token is still valid. This includes web apps, mobile apps, desktop apps, extensions, and chatbots. Your app must validate the OAuth token when it starts and on an hourly basis thereafter.

I can see that you simply call the Twitch users endpoint without ever validating the token. Is this an oversight?

@Kordonme
I must have missed it, thanks for the report.
Please wait a bit as I will check this weekend.


switch overlayPane and shadowPane in doc

switching mistakenly places overlayPane and shadowPane in documentation. #7564

@answerquest the correct place to change the Doc would be here:
https://github.com/Leaflet/Leaflet/blob/81dc24892a3ffd4b53158bb0b5533ae55c1931c1/src/map/Map.js#L1143-L1148
But this is already fixed: #7349


[Enhancement] improve intersect node statistics estimate

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

improve intersect node statistics estimate, the columns stats is UNKNOW before, and use child stats right now, also consider the ndv of child columns stats for cardinality

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 20 / 20 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
20
20
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 25 / 25 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
25
25
100.00%
[]

run starrocks_admit_test


[New Site] Brightcove backend videos

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Canada
Example URLs
https://www.churchofjesuschrist.org/broadcasts/watch/lethbridge-alberta-member-devotional/2022/10?lang=eng
Provide a description that is worded well enough to be understood
Would like to download this video, but yt-dlp can't seem to find the actual video file.
The debug logs suggest that the existing Brightcove extractor is tried but not working.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
> yt-dlp -vU https://www.churchofjesuschrist.org/broadcasts/watch/lethbridge-alberta-member-devotional/2022/10?lang=eng
[debug] Command-line config: ['-vU', 'https://www.churchofjesuschrist.org/broadcasts/watch/lethbridge-alberta-member-devotional/2022/10?lang=eng']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (pip) API
[debug] Python 3.10.6 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [generic] Extracting URL: https://www.churchofjesuschrist.org/broadcasts/watch/lethbridge-alberta-member-devotional/2022/10?lang=eng
[generic] 10?lang=eng: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 10?lang=eng: Extracting information
[debug] Looking for Brightcove embeds
[download] Downloading playlist: Lethbridge Alberta Member Devotional
[generic] Playlist Lethbridge Alberta Member Devotional: Downloading 1 videos of 1
[download] Downloading video 1 of 1
[debug] [brightcove:legacy] Extracting URL: http://c.brightcove.com/services/viewer/federated_f9/710874264001?isVid=1&isUI=1&playerKey=&videoId=#__youtubedl_smuggle=%7B%22Referer%22%3A+%22https%3A%2F%2Fwww.churchofjesuschrist.org%2Fbroadcasts%2Fwatch%2Flethbridge-alberta-member-devotional%2F2022%2F10%3Flang%3Deng%22%7D
ERROR: Unsupported URL: http://c.brightcove.com/services/viewer/federated_f9/710874264001?isVid=1&isUI=1&playerKey=&%40videoPlayer=
Traceback (most recent call last):
  File "C:\Users\William\.local\pipx\venvs\yt-dlp\lib\site-packages\yt_dlp\YoutubeDL.py", line 1477, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\William\.local\pipx\venvs\yt-dlp\lib\site-packages\yt_dlp\YoutubeDL.py", line 1553, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Users\William\.local\pipx\venvs\yt-dlp\lib\site-packages\yt_dlp\extractor\common.py", line 672, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\William\.local\pipx\venvs\yt-dlp\lib\site-packages\yt_dlp\extractor\brightcove.py", line 336, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: http://c.brightcove.com/services/viewer/federated_f9/710874264001?isVid=1&isUI=1&playerKey=&%40videoPlayer=

[download] Finished downloading playlist: Lethbridge Alberta Member Devotional

I was able to download the video using yt-dlp "http://players.brightcove.net/710857117001/default_default/index.html?videoId=6313308990112"

brightcove video id and other details can be extracted from the website
<script type="text/javascript">
        LDS.mediaList["broadcast"] = {
            "type":"nbc","fallback":"nbc","autoLoad":"true",
            "params": {
                "autoStart":true,"linkBaseURL":"https://www.churchofjesuschrist.org/broadcasts/watch/lethbridge-alberta-member-devotional/2022/10?lang=eng&vid",
                "@videoPlayer":"6313308990112",
                "playerID":"",
                "playerKey":"",
                "player":"default",
                "videoID":6313308990112,"account":"710857117001",
                "secureConnections":"true"
            }
        };

then just a matter of passing off to the brighcove extractor.

Parts of the website have been rebuilt and the link posted by OP is 404 for now.
Here is another example:
Video Collections / Broadcast and Live Event Recordings / General Conference / October 2022 / Saturday Morning Session: https://www.churchofjesuschrist.org/media/video/2022-10-1000-saturday-morning-session

We are able to download mp4 video and vtt subtitle files by clicking links on the webpage. Do we need an extractor for this site?


Merge pull request #3 from Narasimha9592/my-first-branch

this pull request adds  narasimha's file to the _posts folder.

hello


ENH: linalg: Add sy/hetrs LAPACK wrappers

Reference issue
Closes #21239

Eh do you want me to try reviewing this or wait for someone with more experience? I can at least assess the tests.

As you wish, I locally tested them anyways. It's one of the relatively easy ones.


Fix S3 Storage Initialiser downloading additional files when given file path does not include file extension

What this PR does / why we need it:
Which issue(s) this PR fixes :
Fixes #2473
Type of changes

[x] Bug fix (non-breaking change which fixes an issue)

fixed in https://github.com/kserve/kserve/pull/3088


[FR]: Exclude database file by subfolders

Contact Details
No response
Present your request
Hi RafaelGB
How to hide the database files in the subfolders?
when I open my parent database, I don’t want to see the database files in these subfolders.
In my case at different levels have different uses, each level may exist correspondingly
Is it any possible to add a feature when I open my main or parent database not show off rest of databases from subfolders?

Thanks
Waiting for reply
For which platform do you request this request??
Desktop

Hello 👋,
You can add a filter
database-plugin: basic

as is empty

How to enter?I'm having trouble understanding

the option should be:
database-folder | is empty

No such "database-folder" as option because it's not a column

the filters does not check existing columns but all the available fields.
I will investigate why it does not appears

https://user-images.githubusercontent.com/11924043/211110030-fc6cde6d-8ba9-4011-b082-8a50ca03b12e.mov
It was filtered obtaining the possible rows. Will be included with the next version =)


Editor bug

I made a post today. Few seconds before hitting the publish button, I uploaded an image to the post. After publishing the post, the image that I added few seconds before was not there.
Then I went to edit the post. I tried uploading the image over 3 times and submitted edits. It was still not happening. Then I uploaded again and then added few more additional words to the article. This time image was uploaded but some contents of the post were truncated at the bottom of the post. I have been experiencing this behavior for a long time.
https://cdn.discordapp.com/attachments/385448634197737484/580507554174599189/Screenshot_20190522-025515.png

@horpeyloaded It have been tested til this day please re-check this issue if you see it again reopen. Thanks


Didn't get callback from Validate() if there is no token

Hi Flávio Caetano,
We are using reCaptcha invisible v2 in one of our iOS application which is built with swift 5.
I had integrated version 1.5.0 with cocoapods.
My Issue is that, At times I don't get call back from reCaptcha in validate() function. This occurs only when the tokens are not retrieved from reCaptcha
I'm not sure why tokens are not retrieved.
Can you help me with this.
Thanks in advance.

@fjcaetano Can you help me resolving this issue

Hi @Adhith11, I need a bit more info than that to try and figure out what might be going on.
For starters, has the library ever worked? Were you able to retrieve a token, at least once? Were you able to show the challenge so the user can fill the question?

Thanks for responding @fjcaetano
The first point is, we are able to retrieve the token most of the time we attempt, but at some case token is not retrieved. When it is not retrieved, it will not retrieve continuously for a long time.
The second point is that we use invisible challenge so there is no need for the user to verify.
Hope you are clear with the issue now.

It seems there's some misunderstanding on how the invisible challenge works. I advise you to please read Google's documentation thoroughly. If the recaptcha algorithm deems the user not to be a real person then the challenge needs to be shown.
Your issue seems to be because you're either not calling configureWebView or improperly configuring the webview to be displayed.
I'm closing the issue because it doesn't seem to be anything related to the library itself, but feel free to reopen if you think it's a bug and comment any further questions you might have.

From the ReCAPTCHA docs:

The invisible reCAPTCHA badge does not require the user to click on a checkbox, instead it is invoked directly when the user clicks on an existing button on your site or can be invoked via a JavaScript API call (...)  By default only the most suspicious traffic will be prompted to solve a captcha

https://developers.google.com/recaptcha/docs/versions


Fix README

What is it you exactly fixed here? :)

Hah, that's a strange bug :) Thanks @antonyalkmim


Added Forgot Password Unit Test

Description
Added Forgot Password Unit Test for Login Activity in Kotlin
Fixes #2686 Write Unit Test for Login Activity
What changes did you make and why?
Added Unit Test for Forgot Password URL
Tests performed
Tested betaDebug on Xiaomi Mi A1 with API level 28.
Logs
Testing started at 06:36 PM ...
03/23 18:36:24: Launching isForgotPasswordWo...()
No apk changes detected since last installation, skipping installation of C:\Users\madhu\Desktop\apps-android-commons\app\build\outputs\apk\beta\debug\app-commons-v2.10.1-master-beta-debug.apk
No apk changes detected since last installation, skipping installation of C:\Users\madhu\Desktop\apps-android-commons\app\build\outputs\apk\androidTest\beta\debug\app-commons-v2.10.1-master-beta-debug-androidTest.apk
Running tests
$ adb shell am instrument -w -r   -e debug false -e class 'fr.free.nrw.commons.LoginActivityTest#isForgotPasswordWorks' fr.free.nrw.commons.beta.test/androidx.test.runner.AndroidJUnitRunner
Connected to process 21700 on device xiaomi-mi_a1-7af99b9c0404
Started running tests
Tests ran to completion.
Test Passed

Codecov Report

Merging #2723 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #2723   +/-   ##
======================================
  Coverage    2.71%   2.71%
======================================
  Files         267     267
  Lines       12838   12838
  Branches     1141    1141
======================================
  Hits          349     349
  Misses      12463   12463
  Partials       26      26

Continue to review full report at Codecov.

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

@maskaravivek Sorry didn't see that, Closing this PR since the test is already covered #2700


feat(jobs/pingcap/tidb): enable condition triggering on trunk branches

Branches:

trunk branch
feature branches
latest release branch

Depended on: https://github.com/ti-community-infra/configs/pull/812

/hold

/rebase

/approve

/approve


Script list dock inconsistent list

Godot version:
3.2 beta3
OS/device including version:
win7-64
Issue description:
script list in dock are not "update" correctly
Steps to reproduce:
open few scripts, change scene and script position in folders then open again script editor.
Minimal reproduction project:
none

I don't quite understand the issue. Is this somehow related to #27635? Or is it sorting issue?

I'm not sure, However, I switched to linux so I cant check it any-more. Also its a old version,  Ill close this issue. If it happen again Ill open a new issue.


Switch from Macroquad to other render

I definetly feel that if this does turn into a custom engine, it would be best to switch from macroquad to wgpu itself for rendering. While I quite like macroquad, I think that the stuff that's happening in wgpu is super interesting.
However, if we can get GGRS to work with Bevy, I might just switch engines to that instead. This probably depends on if @gschup would be interested in writing bindings for that.
Benfits for going to wgpu itself is that we have more control over doing rendering, but that also means we would have to do a lot of that stuff ourselves, which could be a pain. Switching to Bevy means that we can just piggyback over the great rendering work that is happening for the 0.6 release and "autosupports" 3D as well.

While I think bevy is very interesting, I am currently not aiming to write an example on how to include GGRS into bevy. Due to the similar structure, those would probably look similar to the bevy-backroll plugin.
Making specific systems run when you want and how you want is a bit tricky in bevy currently. I dislike the (apparently only) solution that is used in bevy-backroll (A stage with a separate schedule with an additional internal stage where you then finally add the systems required to run the game), but I don't think there is a simpler, more elegant way currently.

In that case, I will be seriously consider switching to wgpu. However, I'll see if I can port macro quad to it somehow.


Unable to restore wallet.dat

I recently tried re-opening my original QTUM wallet (ver 0.14.0). It reported 0 node connections and was unable to update the blockchain (stuck at 31 weeks behind), so effectively never opens and I am unable to access my QTUM. I therefore downloaded the latest wallet ver 0.14.3 which synchronized successfully but didn't recognize/display the QTUM from the ver. 0.14 wallet. The original wallet, when I attempt to open, now reports "Error loading block database. Do you want to rebuild the block database now?" and then, when I do, gets stuck at 31 weeks behind again with 0 node connections. I tried your instructions for restoring the wallet but no data directory is re-created in Windows: %APPDATA%\Qtum (on my system I have: E:\AppData\qtum)
So now the old wallet won't sync and the new wallet won't recognize any QTUM in my wallet.dat. What am I doing wrong?
Steps to reproduce below:

Start Qtum-Qt.32bit.Windows.exe wallet (ver.  0.14.0)
or start ver 0.14.3 wallet

Expected behaviour
Wallet syncs and QTUM balance (non-zero) displays
Actual behaviour
For 1: stuck at 31 weeks behind
For 2: balance displays zero
What version of Qtum are you using?
Tried both 0.14.0 and 0.14.3
Machine specs:

OS: win 10
CPU: x86 32 bit
RAM: 2GB
Disk size: 28 GB on C: + 28 GB on E: (now configured as D:) USB drive

Hi dotnetspec
I have the same issue right now..Do you already have a sollution for it? i cant find anything :( hope to hear from you!

Hi Dubbledwars,
I have no solution currently. I have posted to the Reddit as well. I have tried the -rescan and -reindex flags as suggested with the cli. Perhaps there is someone out there that can help?

ppff :(... I also dowloaded the new wallet on a other laptop and tried to use my wallet.dat file
but nothing seems to work.


get "No calls to throwing functions occur within 'try' expression" in swift4

No calls to throwing functions occur within 'try' expression

is there an elegant way to solve this ?
May i have to write do try catch?

<- operator doesn't throw an exception. So you should remove try.


feat: Logo and copyright in verify email are same with these in company info

这个 PR 实现什么功能/修复什么问题:

是否需要 backport 到之前的 release 分支:

release/3.2

/area notify
/cc @zexi

Codecov Report

Merging #6699 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #6699   +/-   ##
=======================================
  Coverage    7.15%    7.15%
=======================================
  Files         647      647
  Lines      109351   109351
=======================================
  Hits         7829     7829
  Misses     100923   100923
  Partials      599      599

Flag
Coverage Δ

#aFlag
7.15% <ø> (ø)

Continue to review full report at Codecov.

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


Enable minimal changes with improved template logic

The design of the TypeAdaptor shouldn't need this line changed.
publisher_ = this->create_publisher<std_msgs::msg::typesupport_protobuf_cpp::StringTypeAdapter>("topic", 10);

You should be able to use the
publisher_ = this->create_publisher<std_msgs::msg::String>("topic", 10);

And the compiler template logic should be able to let you publish with either data type if you've included the right headers. So I think that we're slightly off on how we have the headers/templates setup to enable this.

I think the way to do this is using: RCLCPP_USING_CUSTOM_TYPE_AS_ROS_MESSAGE_TYPE.

I hacked a little bit our demo to use RCLCPP_USING_CUSTOM_TYPE_AS_ROS_MESSAGE_TYPE(std_msgs::msg::pb::String, std_msgs::msg::String);, by doing that I was able to construct the publisher with the custom type: publisher_ = this->create_publisher<std_msgs::msg::pb::String>("topic", 10);
I couldn't find a way to construct the publisher with the ROS_Type and make it automatically use the adapter.
Here is the publisher constructor documentation for reference. https://github.com/ros2/rclcpp/blob/3594381e04ae882b073875963c843c656fbf24f3/rclcpp/include/rclcpp/publisher.hpp#L57

Yeah, I think you're right reading: https://github.com/ros2/rclcpp/blob/6f6b5f2e3608eafeadb908aa4f6eded5b38c3043/rclcpp/include/rclcpp/type_adapter.hpp#L86C50-L95
And https://ros.org/reps/rep-2007.html#defining-a-type-adapter
We can change it to allow declaring publish and subscribe on the adapted type if we inject the RCLCPP_USING_CUSTOM_TYPE_AS_ROS_MESSAGE_TYPE into the generated code. But we don't have the template metaprogramming to allow it to accept both types.  Lets add that to the generation to allow people the simpler syntax with just declaring the adapted type and we can call that good enough.

Merged via eclipse-ecal/rosidl_typesupport_protobuf#33


Asyncio support?

Tweepy doesn't support Asyncio so it's blocking and preventing my asyncio applications from integrating it. I was wondering if there is support being worked on for twypthon and asyncio?

have you tried gevent monkey patch? although not ideal and asyncio support would be great

no I haven't, i'll look into it though. Thanks!

Going to close this as

It's coming up on 2 years old
Async support probably makes sense, but I don't have the time to add it (someone is free to do so and pull request)
gevent monkey patching was probably the best approach here given the above


Add Example how to read Ember Tree and Switch Input of a Router e.g.

Could you please add an example how to read the EmberTree from a device to see how many inputs and outputs a router has. After counting the inputs it would be nice to have an example on how to switch inputs to outputs. Thankyou very much

I am trying to connect to a TinyEmberPlusRouter and read all it´s values. with this piece of code
`var root;
var tree = new DeviceTree("localhost", 9092);
tree.connect()
.then(() => {
return tree.getDirectory();
})
.then((r) => {
root = r ;
return tree.expand(r.elements[0]);
})
.then((data) => {
console.log(tree);
})
.catch((err) => {
});`
I would like to read the tree from a device and convert it into xml or json format. How could this be achieved? After I have all the values, I would like to start to change values. I couldn´t find any examples on how to do this. Thankyou

Assuming you are successfully connected.

tree.getDirectory();
Promise {  }
tree.root
Root {
elements: [ QualifiedNode { path: '1', contents: [Object] } ] }
tree.root.elements[0]
QualifiedNode {
path: '1',
contents: NodeContents { isOnline: true, identifier: 'router' } }
tree.expand(tree.root.elements[0])
Promise {  }
tree.root.elements[0]
QualifiedNode {
path: '1',
contents: NodeContents { isOnline: true, identifier: 'router' },
children:
[ QualifiedNode { path: '1.0', contents: [Object], children: [Object] },
QualifiedNode { path: '1.1', contents: [Object], children: [Object] },
QualifiedNode { path: '1.2', contents: [Object], children: [Object] },
QualifiedNode { path: '1.3', contents: [Object], children: [Object] },
QualifiedNode { path: '1.4', contents: [Object], children: [Object] } ] }
tree.root.elements[0].children[3]
QualifiedNode {
path: '1.3',
contents:
NodeContents {
isOnline: true,
identifier: 'dynamic',
description: 'Linear N:N with Dynamic Parameters' },
children:
[ QualifiedNode { path: '1.3.1', contents: [Object], children: [Object] },
QualifiedMatrix { path: '1.3.2', contents: [Object], connections: [Object] } ] }
tree.root.elements[0].children[3].children[1]
QualifiedMatrix {
path: '1.3.2',
contents:
MatrixContents {
type: { [Number: 2] key: 'nToN', value: 2, _options: [Object] },
mode: { [Number: 0] key: 'linear', value: 0, _options: [Object] },
identifier: 'matrix',
targetCount: 2000,
sourceCount: 2000,
labels: [ [Object] ],
parametersLocation: 0,
gainParameterNumber: 1 },
connections:
{ '0': MatrixConnection { target: 0, sources: [Object] },
...

Ok thanks. I get the second promise correctly now. Could you share an example how to set a value, or connect input to output of a matrixswitch.

At the moment I am only using the Client/DeviceTree. What can be done with with the TreeServer? Do I have to use the Server to change a value on a device?  Wouldn´t the normal setup be that devices automatically connect to the Ember+ Server and register it´s deviceproperties using DNS-SD or M-DNS ?
Thanks for your help!

You don’t need the server.
Unless you want to expose your own device via ember.
To change the value of a remote device via the ember-plus client, simply use the setValue function of the DeviceTree.
For example, if you have a tree that looks like this
root
|——> node1
|
|— node 1.0
|— node 1.1
|— parameter[0] = (integer) 17
You can do
parameter_0 = root.elements[0].children[1].children[0]
deviceTree.setValue(parameter_0, 34)
Gilles.

On Oct 14, 2018, at 3:34 PM, Kaliph<EMAIL_ADDRESS>wrote:
At the moment I am only using the Client/DeviceTree. What can be done with with the TreeServer? Do I have to use the Server to change a value on a device? Wouldn´t the normal setup be that devices automatically connect to the Ember+ Server and register it´s deviceproperties using DNS-SD or M-DNS ?
Thanks for your help!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/evs-broadcast/node-emberplus/issues/21#issuecomment-429626926, or mute the thread https://github.com/notifications/unsubscribe-auth/APYz6wSQXHUjgBX1q7o6KCyBcAjgN_WRks5ukz17gaJpZM4Wx7mT.

Ok thankyou. Is there also an automatic Ember+ Device detection?
Or is this something that is not addressed in the ember+ Protocol?

Detection is not part of the protocol.

On Oct 19, 2018, at 1:38 PM, Kaliph<EMAIL_ADDRESS>wrote:
Ok thankyou. Is there also an automatic Ember+ Device detection?
Or is this something that is not addressed in the ember+ Protocol?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/evs-broadcast/node-emberplus/issues/21#issuecomment-431334713, or mute the thread https://github.com/notifications/unsubscribe-auth/APYz6x2XdWGpHwbSfpEEFTVyJWSBb0V2ks5umbm2gaJpZM4Wx7mT.


[docs] Render packages in sidebar as flat nav with tags?

Context
Current side navbar lists packages with scoping to category: action, component, preprocessor, misc.
Some package exports more than one categories. For example one might support both an action & a component. For this reason we should list all packages in a flat list, maybe with tags to indicate if a package support which categories?
Perhaps we should also add a filter on top?

done partly in https://github.com/vnphanquang/svelte-put/commit/31cb1261397d2bd794f23b3f00d872fc398c9161. Let's explore tagging later

seems that tagging would introduce too much details on the UI and make it confusing for readers. Let's keep it as is any come back to this later when necessary


[Optional] React: Screenshots

Optional feature - making screenshots for React app.
The screenshots are available in artifacts page:

puppeteer
The puppeteer is sometimes slow to install, but is a devDependency, so it should be OK as long as we change yarn to yarn install --prod on heroku, netlify, etc.
CI
In order to not impact CI time, it is only run on master and on branches starting with ss-

Awesome idea. Merging to play with it. If helpful would be good to refactor scrennshots.js.
Also could be do for wallet and on all branches.


Direct input causes Oops

Oops! there is a problem with the API, please check again later.
when I use:
http://www.bootlint.com/
with the Direct Input
Try to take the source from:
http://dinnerbooking.com/dk/da-DK/gc5/gavekort-kob
and use the source as input

We don't maintain that site. See https://github.com/twbs/bootlint/blob/master/README.md#third-party-service


Firefox freezes in edit mode

DPUL is having issues when using Firefox as the browser.  It stalls and freezes in edit mode when attempting to change a multi row grid thrumbnail (ex: https://dpul.princeton.edu/marquand/home/edit.marquand-library-of-art-and-archaeology). Its also super slow when editing text at the moment.

Reported by @kelea99.
Was able to replicate this issue. Inspector and web console don't return anything.

This is no longer happening.


MONDO:0010892 and MONDO:0000863

myopathy, lactic acidosis, and sideroblastic anemia (MONDO:0000863)  is a parent of mitochondrial myopathy and sideroblastic anemia (MONDO:0010892) , yet the latter has an exact synonym of myopathy, lactic acidosis and sideroblastic anemia
Are these really two concepts.  Orphanet equates them
https://www.orpha.net/consor/cgi-bin/OC_Exp.php?Expert=2598
As does GARD:
https://rarediseases.info.nih.gov/diseases/3885/index

cc @annieolry @ana-rath-orphanet

looks like this has already been addressed, closing


[OS X] Missing dependencies for itorch: luacrypto

Hey,
I get the following error when I type 'luarocks make ' in terminal:
Missing dependencies for itorch:
luacrypto
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock... switching to 'build' mode
Error: Failed installing dependency: https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock - Could not find expected file openssl/evp.h, or openssl/evp.h for OPENSSL -- you may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example: luarocks install luacrypto OPENSSL_DIR=/usr/local

At first there were more dependencies missing but
luarocks install env
for example fixed it. 'luarocks install luacrypto' results in the following:
Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock...
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock... switching to 'build' mode
Error: Could not find expected file openssl/evp.h, or openssl/evp.h for OPENSSL -- you may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example: luarocks install luacrypto OPENSSL_DIR=/usr/local

I couldn't find a solution in the other issues and I cannot find the package in the torch rocks server(https://github.com/torch/rocks). I installed luarocks via Torch installation and iPython through anaconda.
Any idea where I missteped?

on OSX 10.10, I get no error.
However, it seems like luacrypto cant find your OpenSSL.
Can you try something like:
luarocks install openssl OPENSSL_INCDIR='/usr/include/openssl/'
you could also try to find evp.h on your system and give that directory as the path to the OPENSSL_INCDIR variable...

Okay I'm running OSX 10.10.3.
$ luarocks install openssl OPENSSL_INCDIR='/usr/include/openssl/'
gives:
Error: No results matching query were found.
$ luarocks install luacrypto OPENSSL_INCDIR=/anaconda/pkgs/openssl-1.0.1k-1/include/openssl
gives:
Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock...
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock... switching to 'build' mode
Error: Could not find expected file openssl/evp.h, or openssl/evp.h for OPENSSL -- you may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example: luarocks install luacrypto OPENSSL_DIR=/usr/local
Which seem to be the same problem. Can my anaconda folder be located in the wrong location?
Pretty new to these kind of installations.

It's now working. Thanks!
The output of
itorch.image({image.lena(), image.lena(), image.lena()})
in iTorch notebook is just blank however:
Out[43]:

yaay! :)
what was your solution to install luacrypto? might be useful for others if you post here.

Ah! It had to do with openssl like you said. I think it worked because of this:
brew update
brew install openssl
brew link --force openssl
After that
$ luarocks make
installed iTorch without any problem. Thanks

I had this problem when installing Torch today. The problem occurs when installing luacrypto, which depends on openssl.
Homebrew won't symlink the files into /usr/local as Mac OSX already provides some version of openssl. You should see an error message which includes the following line when you brew install openssl:
brew install openssl

=>  This formula is keg-only, so it was not symlinked into /usr/local.
      Generally there are no consequences of this for you. If you build your own software and it requires this formula, you'll need to add to your build variables:
      LDFLAGS:  -L/usr/local/opt/openssl/lib
      CPPFLAGS: -I/usr/local/opt/openssl/include

From here, you can either force link openssl to /usr/local like tokvokey suggests, but Homebrew recommends against doing as it might interfere with other software. What I did was simply do:
luarocks install luacrypto OPENSSL_DIR=/usr/local/opt/openssl/
I got OPENSSL_DIR from the homebrew error message. This cleared up the error for me.

that looks like a nicer solution @rewonc . I'm adding it to the README. Thanks.

Hello, I am experiencing the same trouble on my mac.
I got the same error:
Missing dependencies for itorch:
luacrypto
uuid
lzmq >= 0.4.2
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock... switching to 'build' mode
Error: Failed installing dependency: https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock - Could not find expected file openssl/evp.h, or openssl/evp.h for OPENSSL -- you may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example: luarocks install luacrypto OPENSSL_DIR=/usr/local
Thusly, I used the command @rewonc recommended, but still failed.(Same error as above appeared)
luarocks install luacrypto OPENSSL_DIR=/usr/local/opt/openssl/
Anyone can help me out?

For more information, I checked out install.log file, and could see that having 209 lines. I am not sure torch has been installed successfully. I tried to access the shell using 'th' command but failed.

Similar issue here. Just following the instructions (http://torch.ch/docs/getting-started.html#installing-torch) and I get the following error when I ran ./install.sh:
Missing dependencies for itorch:
lbase64
luacrypto
uuid
lzmq >= 0.4.2

Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lbase64-20120820-1.src.rock... switching to 'build' mode
Do not use 'module' as a build type. Use 'builtin' instead.
export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/Users/alexk/torch/install/include -c lbase64.c -o lbase64.o
export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -bundle -undefined dynamic_lookup -all_load -o base64.so -L/Users/alexk/torch/install/lib lbase64.o
Updating manifest for /Users/alexk/torch/install/lib/luarocks/rocks
lbase64 20120820-1 is now built and installed in /Users/alexk/torch/install/ (license: Public domain)

Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock... switching to 'build' mode

Error: Failed installing dependency: https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock - Could not find expected file openssl/evp.h, or openssl/evp.h for OPENSSL -- you may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example: luarocks install luacrypto OPENSSL_DIR=/usr/local

Any help? Thanks!

@mongoose54tive I had the same issue, and I was able to solve this installing the luarocks (apt-get install luarocks) and installing the missing dependencies manualy.
luarocks install lbase64 luarocks install luacrypto  luarocks install uuid  luarocks install lzmq
luacrypto requires libssl-dev package, that can be installed using:
apt-get install libssl-dev

For OSX with homebrew this worked (be sure to lookup and replace the version)
luarocks-5.1 install luacrypto OPENSSL_INCDIR=/usr/local/Cellar/openssl/1.0.2h_1/include

For OSX with homebrew this worked (be sure to lookup and replace the version)
luarocks-5.1 install luacrypto OPENSSL_INCDIR=/usr/local/Cellar/openssl/1.0.2h_1/include

Can I install openssl using pip as I don't have the sudo access

For OSX with homebrew this worked (be sure to lookup and replace the version)
luarocks-5.1 install luacrypto OPENSSL_INCDIR=/usr/local/Cellar/openssl/1.0.2h_1/include

I’m a bit late to the party but you should use /usr/local/opt/openssl/include instead; it’ll always point to the latest version. brew --prefix <formula> gives you that path:
luarocks-5.1 install luacrypto OPENSSL_INCDIR=$(brew --prefix openssl)/include


Revert "Revert "[Tests] DayPicker: unit test for getWeekHeaders()""

This reverts commit defb7fd680cab4154d12e9416c9f28e4a47e9e5b.
@v47 @ljharb Unfortunately, due to an accidental describe.only that slipped into master, we weren't running the full test suite on https://github.com/airbnb/react-dates/pull/1798. It seems like the test actually fails on React 15. If you'd like to take another look, we can try to get it merged in.
Thanks!

@majapw Will look on it today or tomorrow.


fix istio prune issues.

Fix:

clean up all istio crds if istioContrplPlane CR is deleted
add domain for the finalizer name
remove unused func parameter

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_operator
f96518763a0ea94f05171540ea24f1170ba1ae84
link
/test gencheck_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Ehancement/1238 no zip np array

This PR changes StellarGraph._transform_edges to return a tuple of np.arrays instead of a list of tuples:
See #1238

yeah that's a fair point about the tupling of sources and targets in .edges(). How about combining these two in a 2D numpy array? I think most methods end up doing this anyway,.
Part of the reason why I went for seperate numpy arrays here is to make the transition to a tensorflow backend smoother. After #1220 im also hesistant to add even more code paths into StellarGraph!
ahh, yeah it is a breaking change. any thoughts on how to handle a change like this? hopefully it won't affect too many people; if people are only interacting with StellarGraph through our generators their code won't break. Also, I think its okay for a 1.0 release to have some breaking changes?

How about combining these two in a 2D numpy array?

I think having named columns would be ideal.. otherwise I'm not sure how obvious it is to infer that the columns are "source" and "target" (I think it's obvious enough for our internal use, but if I'm talking more about some random user just creating a stellargraph and inspecting its edges). Maybe a named tuple if we really don't want to return a dataframe?
Edgelist = namedtuple("Edgelist", ["source", "target"])

Part of the reason why I went for seperate numpy arrays here is to make the transition to a tensorflow backend smoother. After #1220 im also hesistant to add even more code paths into StellarGraph!

Hmm I see! Yeah seems like this PR is also bringing up similar discussion points around the "raw" stellargraph API vs user-facing stellargraph API, so we need to do some kind of middle-ground for now. I think graph.edges although used in stellargraph for internal ML things, it's also quite a basic fundamental method that a "graph" should expose, so I think we would expect people to use it outside of just letting our generators use it?

ahh, yeah it is a breaking change. any thoughts on how to handle a change like this? hopefully it won't affect too many people; if people are only interacting with StellarGraph through our generators their code won't break. Also, I think its okay for a 1.0 release to have some breaking changes?

Yeah I guess we can just include some form of documentation either in the docstring or the release notes a small snippet to allow someone to transform the "new" edges to the shape of the "old" edges?

@kjun9 I'm going to limit this PR to just StellarGraph._transform_edges to get this in for the release. I think this is where most of the performance benefits are anyway because graph.neighbors is called multiple times per batch for many generators/random walks while graph.edges is usually only called once prior to making a generator.

I've made this new PR for _transform_edges https://github.com/stellargraph/stellargraph/pull/1286

A risk with this sort of unconditional change (both here and #1286) is that immediately/automatically break any users of these methods, e.g. https://github.com/Fahimeh1983/celltypes/blob/master/BiasedDirectedWeightedWalk.py, and for these changes in particular, the breakage may be non-obvious. Specifically, basic operations like for x in graph.edges(), len(graph.edges()) and for x in graph.neighbors(...) will still run, but they'll give wildly wrong/unexpected results and lead to either incorrect answers or downstream/non-obvious exceptions.
Is it worth trying to do some sort of migration assistance here?

(Oh, sorry, I didn't read the discussion above that touched on that point. That's a bit embarrassing!)

Good point about breaking the API 😬I went for seperate function approach you suggested
I also added backwards compatibility into FullBatchLinkGenerator and SampledLinkGenerator to hande edges in the old format in case some users are preparing edges in a custom way.
I also found our HinSAGE demo was preparing edges manually in the old format, so I updated this to provide edges in the 2D array format.

Were you going to revert the changes in the tests though?

I was thinking of leaving those ones as is. I changed the generator tests back to use .edges() because that's how they'll most likely be used. But with test_graph.py I think its okay to use  edge_arrays instead of edges in most tests and then just test _to_edges() seperately - what do you think?

@kieranricardo should I review this again?

@kjun9 I reckon its ready for re-review now - thanks! :)


Winds 2.2 Feature Requests

Have a great idea for the next iteration of Winds? We're listening. Drop a line here and we'll take it into consideration.

Import a list of feeds from a CSV files.

Export a list of feeds to a CSV file.

Move the back and forward buttons on top of post content from the navbar.

Features to allow organization by feeds either by folders or tags or both.

I'm sure some of this is already part of Winds, but let's do a quick check over which formats are supported and find a way to add those formats.

[ ] RSS
[ ] ATOM
[ ] RDF
[ ] XML
[ ] JSON

An extension for Chrome and Firefox indicating if a site has a feed and a way to copy or import the feed to Winds.

Allow feeds to be renamed, especially on feeds that use the same name string.

So here's why XML matters, I've been trying to add the RSS Feeds for the National Hurricane Center
However, when I use https://www.nhc.noaa.gov/gtwo.xml to get the Graphical Atlantic forecast, I get an "Oops, something went wrong. Please try again later." error message and I can not add the feed.

I just tried it via the winds rss https://www.nhc.noaa.gov/gtwo.xml
command and it seems to somewhat work. Going to investigate!
On Sun, Jun 24, 2018 at 10:38 AM Jason Charney<EMAIL_ADDRESS>wrote:

So here's why XML matters, I've been trying to add the RSS Feeds for the
National Hurricane Center https://www.nhc.noaa.gov/aboutrss.shtml
However, when I use https://www.nhc.noaa.gov/gtwo.xml to get the
Graphical Atlantic forecast, I get an "Oops, something went wrong. Please
try again later." error message and I can not add the feed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GetStream/Winds/issues/402#issuecomment-399769491,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQMwZXTBoQhy6Hj9fvmcKEXxxNVGkzpks5t_8CegaJpZM4UsZti
.

--
Thierry Schellenbach | Founder/CEO GetStream.io https://getstream.io/ |
Techstars NYC 2015
LinkedIn http://www.linkedin.com/in/thierryschellenbach | E.
<EMAIL_ADDRESS>| Twitter @tschellenbach
http://www.twitter.com/tschellenbach | Github
https://github.com/tschellenbach

(macOS)
Current behavior: when switching between podcasts, playback speed indicator (i.e. 2X) stays the same, but playback speed is reset to normal.
Request: persist playback speed setting when changing podcasts.


[Switch] Added outlined variant

[x] I have followed (at least) the PR section of the contributing guide.

My try to implement the android 12 switch style.
Issue: #25919
This is my first pull request, so I'm appreciating feedback on it. 😅
I have created a new section in the switches documentation and tried orienting on the button/paper variants.
Preview: https://deploy-preview-25920--material-ui.netlify.app/components/switches/#variants

Some pictures how my implementation looks:

Should we add just a customization demo at this moment as suggested in https://github.com/mui-org/material-ui/issues/25919?

I'm closing for #26096. @DanielBretzigheimer thanks for bringing this topic. I'm creating a reminder for the end of the year, as it's about when Android 12 seems to be meant to be released.


Optimized Laravel 6 compatibility

The Illuminate\Support\Debug\Dumper class is no longer available in Laravel 6.
Maybe we should just re-use the global dump function registered by the symfony/var-dumper to be compatible with future changes?
This PR was tested on October 1.1 and 1.0.
It does change the output from the default Laravel light theme, to a dark output.
There is a way to set the styles on the VarDumper but it cannot be specified via the dump helper.
Before:

After:

Thanks for you PR and investigations.
We finally patched this issue and released a new version (1.0.1)


Speedup AGAST nonmax-suppression.

This PR address https://github.com/Itseez/opencv/issues/5278.

Some benchmark posted by @JefferyRPrice now looks like bellow.

We got 2435ms instead of reported 27658ms for same number of points (~3715), also statement "AGAST Corner Detector: faster than FAST and even FAST-ER" is true if we have no SSE2 optimization FAST and no scoring enabled for AGAST (test case 4).

I believe for now this would be fine, some SSE optimizations could be done for AGAST too. I believe AGAST scoring routines has much better quality than FAST.

@JefferyRPrice, Thanks for poing out !
-------------<<<<----------------
(1) $ ./gist
AGAST, 3715, 2435 (+NONMAX)
FAST, 3735, 695 (+NONMAX)(+SSE2)
(2) $ ./gist
AGAST, 3715, 2438 (+NONMAX)
FAST, 3735, 1663 (+NONMAX)(-SSE2)
(3) $ ./gist
AGAST, 16467, 2210 (-NONMAX)
FAST, 16467, 1440 (-NONMAX)(-SSE2)
(4) $ ./gist
AGAST, 16467, 1305 (-NONMAX)(-NOSCORE)
FAST, 16467, 1468 (-NONMAX)(-SSE2)

@cbalint13 Appreciate your work!

:+1:

:+1:  very nice changes! Good job!


Enhanced side bar search widget

Currently, the search widget on the sidebar is the stock widget provided out of the box via docsearch.js. Doing some quick research it seems the idea behind the search widget provided by docsearch.js is primarily to get a site up and going with minimal to zero js/ts hacking required.
That's a great way to bootstrap but it has some limitations. It doesn't appear easy or possible to extend the widget anymore with docsearch v3, though perhaps more research is required.
It may be that we need to "fork" the widget to add the functionality we'd like to see on erlang.org. Below are a few enhancements we'd like to see :
Preview
On agolia's site we can see a nice side preview of a document as can be seen below :

## More results
While it's great to get all the results possible in the widget, it may be a better UX to limit the results and provide a link to the new search page added in #41 . This is also a nice to have as after clicking such a link, someone could bookmark the search. An example of this can be seen on docsearch's own page (show below) :

Update @garazdawi figured out how to do the more search results link, with that more digging is required before forking, as I have feeling the customization can be done with docsearch.js's widget.


Timedelta depreciated on Papertrading demo

`     50         # filter opening time of the New York Stock Exchange (NYSE) (from 9:30 am to 4:00 pm) if time_interval < 1D
51             # from trepan.api import debug;debug()
---> 52         # filter opening time of the New York Stock Exchange (NYSE) (from 9:30 am to 4:00 pm) if time_interval < 1D
53         day_delta =<PHONE_NUMBER>0000  # pd.Timedelta('1D').delta ==<PHONE_NUMBER>0000
54         if pd.to_timedelta(time_interval) < day_delta:
AttributeError: 'Timedelta' object has no attribute 'delta'`
From the code
day_delta =<PHONE_NUMBER>0000  # pd.Timedelta('1D').delta ==<PHONE_NUMBER>0000
if pd.to_timedelta(time_interval) < day_delta:
NYSE_open_hour = "14:30"  # in UTC
NYSE_close_hour = "20:59"  # in UTC
data_df = barset.between_time(NYSE_open_hour, NYSE_close_hour)
else:
data_df = barset

problem has to do with new pandas release,
in requirements it should prob get fixed to version b4 it
pandas==1.5.3

Excuse me, is issue #958 resolved?
I also encountered the same problem today
colab report error
Alpaca successfully connected

AttributeError Traceback (most recent call last)
 in <cell line: 1>()
----> 1 train(start_date = '2022-08-25',
2 end_date = '2022-08-31',
3 ticker_list = ticker_list,
4 data_source = 'alpaca',
5 time_interval='1Min',
2 frames
/usr/local/lib/python3.10/site-packages/finrl/meta/data_processors/processor_alpaca.py in download_data(self, ticker_list, start_date, end_date, time_interval)
50 # filter opening time of the New York Stock Exchange (NYSE) (from 9:30 am to 4:00 pm) if time_interval < 1D
51 day_delta =<PHONE_NUMBER>0000 # pd.Timedelta('1D').delta ==<PHONE_NUMBER>0000
---> 52 if pd.Timedelta(time_interval).delta < day_delta:
53 NYSE_open_hour = "14:30" # in UTC
54 NYSE_close_hour = "20:59" # in UTC
AttributeError: 'Timedelta' object has no attribute 'delta'

chatGPT recommended changes:

GPT4 recommended changes

@XiaoYangLiu-FinRL
please try it now