Add u/OldMcGroin Games List

Is your feature request related to a problem? Please describe.
No problem related.
Describe the solution you'd like
Add the games list guide from u/OldMcGroin.
This is the link: https://www.reddit.com/r/SteamDeck/comments/13xo1r5/pc_ports_decompilations_remakes_demakes_fan_games/
Describe alternatives you've considered
/
Additional context
/

Maybe can be a cool addition to make an entire repository for this.

Temporarily closing it since its not related to this kind of repository for now.


Update README.md

Documentation - did some grammar and spelling changes.

@Gyshie could yopu do the same with this repo?
https://github.com/AndrGab/medirepoWeb

Sure :)

Hi Andre, thanks for accepting my contribution.
Sure :) I will check the English documentation part of that repo as well.


Send console text slower to avoid overloading remote keyboard buffer

Description
This PR slows down the console paste text function in the console ever so slightly, adding 25ms between each character. It was found that when large text is pasted, say an SSH key or something over 100 characters, it would stop somewhere in the 100-200 character range, and if the last character was capitalized it would be stuck with left shift held down.
In debugging, I ran noVNC locally with websockify against a Qemu VNC and took the whole console proxy out of the equation and was still able to reproduce it. I traced the websocket packets and we were clearly firing off all of the keypresses just fine, but the ones on the end were getting dropped VNC server side. It seems we are overloading a keyboard buffer, or something along those lines when we send all of the keypress messages at once. It was also observed that we were able to send off all of the messages via websocket in just a few ms but the typing on the guest side took a few seconds, so there is some buffering and processing going on and I think we are just hitting some limit in this.
This sendText function doesn't seem to exist in upstream noVNC, so just patching it here seems reasonable. I suspect we added this for feature parity with whatever noVNC replaced.
In testing it is now much more reliable in sending a few paragraphs of text, and not visibly slower than before, but obviously still too slow to do anything really big with it. It isn't really the goal to be able to paste full documents.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[x] Trivial

Screenshots
Before fix, paste is cut off:

After fix:

How Has This Been Tested?
Hot patched several console proxies in testing environments, and their handling of large pastes improved.

@blueorangutan package

@rohityadavcloud a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6022

Since changes were in novnc js code, only manual testing is necessary. Merging based on review and @nvazquez 's manual testing. Thanks.


fix aws open install env issue

@strangiato can you check?

The previous syntax didn't work with old kustomize version. This PR is not anymore required. Closing


Fix cli tests

These tests wasn't testing what we expected. They were passing because all the rules are enabled by default if you use Config.empty (the default value for Rule). But, in the real scenarios, we never use Config.empty so we weren't testing the expected behaviour.
This issue is related with #6734.

Warnings

:warning:
This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

  Generated by :no_entry_sign: dangerJS against 037e4cc351342af87f006c7f6687ee2ff7a5e544


Reconcile config dirs

[x] Gather up all global const/ENV defs (to client-protocols)
[ ] Default for storage.path (using .local/store and profile etc.)

Current config dirs:
~/.config/dx
~/.dx
~/.kube

Similar to our global config proto, I propose something like below, based on https://wiki.archlinux.org/title/XDG_Base_Directory
For example something like this:
~/.config/
  dx/
    client/
      profile/                        # Selected via DX_PROFILE env.
        default.yml
        test.yml
    kube/
      profile/

Notes:

See https://wiki.archlinux.org/title/XDG_Base_Directory for .cache, .local, etc.

@nferch use XDG_RUNTIME_DIR for sockets, etc.? default to /var/run/dx?

Resolve current ~/.kube conflict with https://devopscube.com/kubernetes-kubeconfig-file/
Note singular form of profile (reconcile for client/kube)
@egorgripasov related, /.well-known in KUBE needs some attention; i.e., should only be used to discover metadata, not be service endpoints; e.g., ./well-knonw/dx/config.

Remove path from CLI config (default to .local/store/dx/store)

I think we need to rewind this one a bit. While I think we should strive to be consistent, un-astonishing, rational, and when possible, comply to existing standards and conventions, I think there's enough confusion and unclarity around the purpose and use case of the paths in question that make it difficult to make intelligent improvements around this sort of thing.
Is there any low-hanging fruit that we know is obviously causing problems or confusions that we need to fix right now?

Is there any low-hanging fruit that we know is obviously causing problems or confusions that we need to fix right now?

it feels like ~/.kube folder collision could cause some issues
Note: it contains not only config, but all other assets that are used by KUBE, e.g. IPFS storage, KV storage used to store app defs, etc
as a starting point, we could just rename / move it to something else
@nferch @richburdon any preferences?


Data Lake Store - can't list files under root directory

Description
Using Data Lake Store's command to list files, I get an exception when passing in "" or "/" as the path to indicate that I want to list files/folders under the account's root directory.
When running az dls fs show --account myaccount --path "/", below is the error output. Other folder paths work just fine.
.
Traceback (most recent call last):
  File "C:\Users\***\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\main.py", line 36, in main
    cmd_result = APPLICATION.execute(args)
  File "C:\Users\***\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\application.py", line 203, in execute
    result = expanded_arg.func(params)
  File "C:\Users\***\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\commands\__init__.py", line 278, in __call__
    return self.handler(*args, **kwargs)
  File "C:\Users\***\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\commands\__init__.py", line 473, in _execute_command
    reraise(*sys.exc_info())
  File "C:\Users\***\AppData\Local\Programs\Python\Python35\lib\site-packages\six.py", line 686, in reraise
    raise value
  File "C:\Users\***\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\commands\__init__.py", line 450, in _execute_command
    result = op(client, **kwargs) if client else op(**kwargs)
  File "C:\Users\***\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\command_modules\dls\custom.py", line 111, in get_adls_item
    return cf_dls_filesystem(account_name).info(path)
  File "C:\Users\***\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\datalake\store\core.py", line 145, in info
    raise FileNotFoundError(path)
FileNotFoundError: .

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here:
pip
CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here:
azure-cli (2.0.6)
acr (2.0.4)
acs (2.0.6)
appservice (0.1.6)
batch (2.0.4)
cdn (0.0.2)
cloud (2.0.2)
cognitiveservices (0.1.2)
command-modules-nspkg (2.0.0)
component (2.0.4)
configure (2.0.6)
container (0.1.4)
core (2.0.6)
cosmosdb (0.1.6)
dla (0.0.6)
dls (0.0.6)
documentdb (0.1.5)
feedback (2.0.2)
find (0.2.2)
interactive (0.3.2)
iot (0.1.5)
keyvault (2.0.4)
lab (0.0.4)
monitor (0.0.4)
network (2.0.6)
nspkg (3.0.0)
profile (2.0.4)
rdbms (0.0.1)
redis (0.2.3)
resource (2.0.6)
role (2.0.4)
sf (1.0.1)
shell (0.2.2)
sql (2.0.3)
storage (2.0.6)
vm (2.0.6)
Python (Windows) 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)]
Python location 'C:\Users***\AppData\Local\Programs\Python\Python35\python.exe'
OS Version: What OS and version are you using?
Answer here:
Microsoft Windows [Version 10.0.15063]
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here:
cmd.exe

I am not able to reproduce this issue. My best guess is that it was fixed a while ago, since the version mentioned in the description is quite old. Please close this.


Error after fresh install at running composer dev:* script

I made a fresh "create-project" but i can't get it running and have no idea why..
composer dev:analyze:all

Executing dev:analyze:phpstan

Fatal error: Uncaught Error: Call to undefined method Symfony\Component\Process\Process::isTtySupported() in /var/www/html/vendor/ramsey/devtools-lib/src/Composer/Command/ProcessCommand.php:68
Stack trace:
#0 /var/www/html/vendor/ramsey/devtools-lib/src/Composer/Command/BaseCommand.php(94): Ramsey\Dev\Tools\Composer\Command\ProcessCommand->doExecute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 phar:///usr/bin/composer/vendor/symfony/console/Command/Command.php(245): Ramsey\Dev\Tools\Composer\Command\BaseCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /var/www/html/vendor/ramsey/devtools-lib/src/Composer/Command/AnalyzeCommand.php(65): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /var/www/html/vendor/ramsey/devtools-lib/src/Composer/Command/BaseCommand.php(94): Ramsey\Dev in /var/www/html/vendor/ramsey/devtools-lib/src/Composer/Command/ProcessCommand.php on line 68

What i don't get is that the symfony process package is installed and of course the static function is available at the process class. I tried making a composer dump-autoload but this changed nothing.
Maybe you have an idea cause i think it's not a (my) client problem cause the github workflows are failing too...
However, cheers and thanks for the lib, it saved me a lot of time using it at one of my libs :)

Hi, @Zerogiven !
I'm sorry you're encountering this. This is because the version of symfony/process that the plugin uses is actually the version bundled with Composer and not the version installed in the vendor/ directory.
See here for more details: https://github.com/ramsey/devtools-lib/issues/90
I'm working on a solution that will fix this.


Test TestStreamConsumerClientGoingDown is flaky

Examples:
https://app.circleci.com/pipelines/github/bacalhau-project/bacalhau/13228/workflows/1a54ca69-849c-4b43-8bb5-5f0ecb22c3ec/jobs/177536/steps
https://app.circleci.com/pipelines/github/bacalhau-project/bacalhau/13228/workflows/1a54ca69-849c-4b43-8bb5-5f0ecb22c3ec/jobs/177537/tests
https://app.circleci.com/pipelines/github/bacalhau-project/bacalhau/13228/workflows/1a54ca69-849c-4b43-8bb5-5f0ecb22c3ec/jobs/177534/steps

Easy to reproduce the test flakines.


Work out error handling when calling R from subprocess.

Is this the only exception we might hit?
Originally posted by @santina in https://github.com/datasnakes/renv/pull/42

What if we actually got an error in the system_r_call? i.e. stdout is not actually the information we want. We should handle that.
Originally posted by @santina in https://github.com/datasnakes/renv/pull/42

I think with the proc.communicate function it's typically best to use the TimeoutExpired exception since that's the main thing that function depends on is a timeout.
However, you could do a bigger catch like...
try:
    recommended_pkgs = sp.Popen([Rcmd], stderr=sp.PIPE, stdout=sp.PIPE,
                                shell=True, encoding='utf-8')
    try:
        stdout, stderr = recommended_pkgs.communicate(timeout=15)
    except TimeoutExpired:
        recommended_pkgs.kill()
        stdout, stderr = recommended_pkgs.communicate()
    return stdout, stderr
except subprocess.CalledProcessError as err:
  # There was an error - command exited with non-zero code
  logger.error(err)

It may be better to write functions for both.


bug

plt.savefig(os.path.join(save_path, 'cifar40-loss.png'))
NameError: name 'os' is not defined
debug plot.py, add:
import os

I’m sorry for too late response. Thank you for letting me know! I fixed it by adding that line.


Unused use declarations

It would be nice to have functionality that can detect unused use declarations.

@Rican7 feel free to propose a new rule in a Pull Request.


feat(Median of Two Sorted Arrays)

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Module not found: Error: Can't resolve '@xmtp/react-sdk' on react-web 1.3.0-next.5

Describe the bug
Updating from @lens-protocol/react-web 1.3.0-next.4 to 1.3.0-next.5 causes this error when running the app:
Module not found: Error: Can't resolve '@xmtp/react-sdk'
Do I have to explicitly add @xmtp/react-sdk as a dependency?

it's an optional peer dependency... you should not need to have it unless you use the corresponding hooks.
I'll review the import path tomorrow morning... in the meantime if you add the exact XMTP SDK dependency (still in preview from XMTP) it should sort your install.

The XMTP issue is fixed in 1.3.0-next.7 if your are interested to try it.

@moesalih happy to close this issue?


FR: full-sized terminal in a new buffer tab

Currently the integrate terminal only takes up the size of the debug panel. It would be really nice if it can be treated in a buffer tab, i.e. full-sized terminal tabs.
Or maybe even implement split support. so that it can also work as a flexible terminal emulator.
Currently this is the largest terminal size I can get:

Closing in favor of:

Split terminals https://github.com/Microsoft/vscode/issues/7504
Allow to dock editors and panels anywhere in the workbench
https://github.com/Microsoft/vscode/issues/11472

You might also find the toggle maximize panel command useful, eg:
{ "key": "ctrl+shift+q",    "command": "workbench.action.toggleMaximizedPanel" },

Thanks! Indeed my FR is exactly a combination of #7504 and #11472 . I'll subscribe to those two instead.


feat(builder): compress go binaries

closes #176

@arschles no but I can create an image for this task

@aledbf that'd be great. if you'd like to PR it, we're happy to put it into the https://github.com/deis/docker-go-dev image

@arschles https://github.com/deis/docker-go-dev/pull/11

thanks @aledbf !

@aledbf now that deis/docker-go-dev#11 is merged, have you tested this?

@arschles yes

This does produce a much smaller Docker image that seems to work fine:
$ docker images | grep builder
<IP_ADDRESS>:5000/deis/builder git-67c9267  5b8b3b57fe92   15 seconds ago  40.29 MB
deis/builder                   git-4c8ade1  5bd4bff278ba   5 days ago      158.6 MB
quay.io/deisci/builder         v2-beta       d9dd67a38c77  5 weeks ago     168.1 MB
$ kubectl exec -it deis-builder-ivtzp -- ls -alh /usr/bin/boot
-rwxr-xr-x 3 root root 4.0M Feb 17 17:07 /usr/bin/boot
$ kubectl --namespace=deis logs -f deis-builder-ivtzp
[info] Key accepted for user test-81.
[info] Channel type: session
[debug] receiving git repo name: '/test-269375864.git', operation: git-receive-pack, fingerprint: 6f:e3:64:a9:d2:04:c9:e7:a3:9b:1d:44:2f:df:50:7c, user: test-81
[debug] creating repo directory /home/git/test-269375864.git
[info] Creating new directory at /home/git/test-269375864.git
[debug] writing pre-receive hook under /home/git/test-269375864.git
[debug] Writing pre-receive hook to /home/git/test-269375864.git/hooks/pre-receive
[info] git-shell -c git-receive-pack 'test-269375864.git'
[debug] Working Dir: /home/git
...
Waiting for git-receive to run.
Waiting for deploy.
[info] Deploy complete.
$ helm install deis-tests
$ kubectl --namespace=deis logs -f deis-tests
...
Apps
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:204
  with a deployed app
  /go/src/github.com/deis/workflow-e2e/tests/apps_test.go:203
    can transfer the app to another owner
    /go/src/github.com/deis/workflow-e2e/tests/apps_test.go:202
------------------------------

Ran 31 of 57 Specs in 123.605 seconds
SUCCESS! -- 31 Passed | 0 Failed | 26 Pending | 0 Skipped PASS


Run tests using GitHub Actions

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8cf953e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   92.30%
=========================================
  Files             ?        1
  Lines             ?       39
  Branches          ?        0
=========================================
  Hits              ?       36
  Misses            ?        3
  Partials          ?        0

Flag
Coverage Δ

#unittests
92.30% <0.00%> (?)

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 8cf953e...f7da175. Read the comment docs.


Adapt all compute imports to new project structure (examples in the documentation seem to be not adapted yet)

Here pycharm warns that compute is an unresolved reference (similar to the problems that we had in the "normal" part of the code):

Kai, can you take a look at this?

Import in Docu, use the standard way to import a package. This should not be changed. Instead the compute package should be made installable. see #47


Linting issue when calling 'import qrcode'

Steps to cause the bug to occur

just type import qrcode

Actual behavior

this picture shows it did work.

Expected behavior
there shouldn't be wrong.

Your Python environment
Please provide as much info as you readily know

Extension version:                               2020.2.63072
VS Code version:                                1.42.1
Setting python.jediEnabled:               true | false
Python and/or Anaconda version:     3.7.0
OS:                                                     Windows
Virtual environment:                           N/A

Hi @wuyudi , thank you for reaching out.
Which linter do you use? What is the message being displayed when you hover on qrcode?
Are you using a virtual environment? Do you have the qrcode module installed?
Can you also provide the following information:

Python version (& distribution if applicable, e.g. Anaconda): XXX
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): XXX
Value of the python.languageServer setting: XXX

Along with the content of the Python output panel (View→Output, change the drop-down in the upper-right of the Output panel to Python).
Thanks!

It's weird that , I don't know what happened, but this problem vanish.

Since it vanishes, I do'nt need  to care about it.

I only use the Plugin Python , without using others.
I did install the qrcode module.

Python version 3.7.0 32-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
python.languageServer: default(I didn't set it in setting.json)
python.jediEnabled: false


OpenBLAS on windows substantially slower than other BLAS flavours

In the context of the BLAS variant testing for scipy, I noticed that the OpenBLAS runs were much slower. I did some basic timing comparisons based on what pytest reports as the overall runtime of the scipy test suite (the timing also depends quite a bit on whether the agent has AVX512F/AVX512CD or not, and this is random across Azure's fleet, so I'm taking the average across implementation & CPU type):

Flavour
Avg. (AVX2)
#runs
Avg. (AVX512)
#runs

blis
00:26:10.0
2
00:18:28.2
6

mkl
00:24:35.4
5
00:18:56.4
5

netlib
00:25:44.7
3
00:19:03.0
5

openblas
01:34:15.0
2
01:24:06.8
4

Overall, OpenBLAS ends up being between 3-5x slower than all the other BLAS/LAPACK implementations, which to me is indicative of something going very wrong somewhere.
CC @martin-frbg @rgommers

All these numbers look a little strange to me - why would MKL be only marginally better than the entirely unoptimized reference implementation ? And I'd expect even the baseline OpenBLAS - an MSVC build that can only make use of the generic C sources - to be slightly faster than the reference as well.

why would MKL be only marginally better than the entirely unoptimized reference implementation?

The answer is almost certainly that the cumulated runtime of blas/lapack calls as a portion of the total runtime of the entire scipy test suite gets dominated by random variability of the CI agent (memory and CPU contention, caches etc.).
Under this hypothesis, only when something takes way longer on average in the blas/lapack interface does it actually make a difference.
(The CPU difference may be more important than just the available instructions too - numpy does runtime dispatching, but none of our blas/lapack builds have been compiled to take advantage of avx instructions)

Sounds like the issue in https://github.com/OpenMathLib/OpenBLAS/issues/4582. Was the openblas package in conda-forge rebuilt with the fix included?

Sounds like the issue in OpenMathLib/OpenBLAS#4582. Was the openblas package in conda-forge rebuilt with the fix included?

That issue was fixed in https://github.com/OpenMathLib/OpenBLAS/pull/4587 which landed in 0.3.27 (which is the version we're using across conda-forge already).

Hmm, that needs investigating then. The timings make it almost certain to be a similar deadlock lock contention issue. It's a 10x-100x slowdown for BLAS/LAPACK calls to explain the test suite being that slow.
There was a similar issue at https://github.com/scipy/scipy/pull/20585#issuecomment-2115082519.

There have been no other changes to the Windows thread server code in 0.3.27 since then (as far as I am aware right now), so I think the best option for testing would be to swap in the old version of blas_server_win32.c from  https://github.com/OpenMathLib/OpenBLAS/commit/66904f814853d1d34aed020eebbd826e8466f029    (this will probably need adding back the global declaration of int blas_omp_threads_local = 1; but hopefully no other changes). Unfortunately I do not have local access to a Windows machine where I am right now

(though I would assume that any residual problem in mseminatore's PRs should have come up when testing the fix in PR4587)

The test case from https://github.com/OpenMathLib/OpenBLAS/issues/4582 passes for me without any apparent delays, so I don't think it's that.

Also seems to me the "similar" issue is/was plagued by some kind of infighting between duplicate libraries ?

Also seems to me the "similar" issue is/was plagued by some kind of infighting between duplicate libraries ?

That's an interesting conjecture, though I don't see how that can happen in conda-forge, where we generally take care to unvendor things so there's only one copy. Especially for numpy and scipy, where we keep a close look at the builds

Can you post a link to the logs?

Can you post a link to the logs?

Here you go (plus any other still remaining runs of TEST: 1.13.x + blas variants on the scipy feedstock, before azure deletes them after a month).

First impression is that  it appears to be linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact that is taking unusually long, and several runs with what look like markedly shorter times simply aborted due to some missed dependencies in the python framework.

and several runs with what look like markedly shorter times simply aborted due to some missed dependencies in the python framework.

In those PRs you cannot just look at the overall runtime, because we're trying to forcefully make a distinction between CPUs with/without AVX512F/AVX512CD, and the abort if the CPU architecture expectation isn't met (because some past & present failures had different behaviours, and azure doesn't provide a way to influence that). However, if that happens, then there's zero runtime of the test suite.
On windows, roughly everything over 60min actually ran the tests, everything under 50min didn't, and in between it depends on circumstances (fast or slow agent).

First impression is that it appears to be [...] that is taking unusually long

It's quite unlikely that a single test (or anything less than widespread/systemic) can blow out the test times like that. This is especially the case as many tests are completely unrelated to blas. Tests also have a 20min timeout, and none of them is hit.

umm, did you ever get around to testing with the pre-0.3.26 blas_server_win32.c as per https://github.com/conda-forge/openblas-feedstock/issues/160#issuecomment-2167895657 ?

Thanks for the reminder, I didn't understand the ask at the time, but I've dug a bit into the git history and I think/hope I got it right; currently building an openblas version with this in #162; we might already see a difference in the blas testing on this feedstock (compare "Good news #2" from here), and if that's not conclusive, we can publish those builds to a separate label to test them in SciPy.

thank you - meanwhile it looks like i might have to revert that PR anyway due to the sunpy thread safety issue that came up on numpy :(

FWIW, this pattern is still occurring in a slightly different with current OpenBLAS 0.3.28 -- windows builds have pretty homogeneous times now, but the aarch builds with OpenBLAS are taking substantially longer than with netlib (interestingly; neither implementation is affected on PPC).
Both aarch/ppc get emulated through QEMU. We recently upgraded to the newest QEMU 9.1.2, which could play a role. Just thought I'd mention it here. Taking the median run (out of 5 each; for more details see logs), in hours:

Flavour
aarch
ppc

netlib
01:38:53
01:40:58

openblas
04:14:40
01:33:32

(there's also some failures specific to aarch+openblas, so this might just be an unhappy combination or now).

This could be related to unprofitable forwarding of GEMM calls to GEMV ( https://github.com/OpenMathLib/OpenBLAS/issues/4951 already fixed on the develop branch), though I'd not expect that to be worse than the netlib implementation. It is the only major regression known to affect aarch64 targets - absurdly a lot of time went into chasing down an elusive slowdown on NeoverseV2 that could have been better spent pushing the 0.3.29 release.
I don't quite see where you're getting all the Cholesky errors from - what is your qemu emulating here, ARMV8 or ARMV8SVE ?

what is your qemu emulating here, ARMV8 or ARMV8SVE ?

We take qemu-user-static from Fedora, I'm not aware that we're overriding their defaults (nor what they are). Perhaps @isuruf knows?

Ok, I think qemu-user is providing "generic" emulation only, so probably ARMV8. I'm currently trying to run the scipy 1.14.1 testsuite on an Ampere Altra in the GCC Compile farm to check if I can find any indication of recent slowdown.

Did a few scipy_test runs with a pip-installed scipy 1.14.1 on the 96-core Ampere Altra in the GCC Compile Farm (ARMV8 target, Debian Linux, gcc-14.2), did not see any indication of a marked slowdown with recent builds so far ?

library version

current 0.3.28.dev
2384.5 user
106.41 system
16:49.26 elapsed

Oct 3 0.3.28.dev (624e9...)
2364.01 user
95.90 system
16:42.31 elapsed

0.3.28
2395.74 user
102.25 system
16.47.68 elapsed

stock scipy(0.3.27-a7b41fb3)
2399.01 user
103.98 system
16:49.26 elapsed

0.3.26
2572.36 user
104.86 system
16:48.94 elapsed

0.3.25
2647.09 user
108.65 system
16:53.63 elapsed

Thanks for the testing! Glad to hear that baremetal performance looks much better than the emulated one!
FWIW, this is what numpy CPU feature detection thinks is present in the aarch-on-QEMU emulation:
  "SIMD Extensions": {
    "baseline": [
      "NEON",
      "NEON_FP16",
      "NEON_VFPV4",
      "ASIMD"
    ],
    "found": [
      "ASIMDHP",
      "ASIMDFHM",
      "SVE"
    ]
  }

Interesting that it sees SVE, I did not expect that. Could be that this is what is slowing it down, depending on how good the emulation is - if is it translating into AVX512, or simple serial code. (That is, if you are running the test without forcing OPENBLAS_CORETYPE to ARMV8.)
There is an open ticket for a claimed slowdown in 0.3.28 that the reporter said he bisected to introduction of a separate SVE S/DGEMM kernel for small matrix sizes but no reproducer and no response to further questions

I have now run a series of scipy_test runs for all releases since 0.3.23 plus a number of commit hashes from recent development, using my Pixel8pro with TARGET=NEOVERSEV1 as a low-end SVE machine. Runtime turned out to be fairly stable between them, with considerable jitter between individual runs with the same build (despite having the phone on charger and with no other foreground apps open besides termux)


Clicking link with ampersand gives "Error: Oh no, we broke something"

for example go to https://preview.nuget.org/packages/CommonServiceLocator
click "patterns & practices" author.

"Error: Oh no, we broke something"

From my commit comment:
By default, the following characters are not allowed in the request path:
<,>,*,%,&,:,\,?

Unfortunately, the old gallery allowed any characters in the user name.
It turns out though, that only one existing user account (at least in the
preview site) uses an invalid character, "Patterns & Practices". So I changed
the invalid character list to be the same as the default, but removed just the
&.


Is there a way to store/view predictions | In order to analyze example results

Hi,
Great work!
I'm currently looking at the paper and running experiments on it.
In the codes: Is there a way to store/view predictions, In order to analyze example results?
I wanna see what are the shortcomings of regular techniques and how DART has overcome them,
and lastly, are there still things left for DART to solve or opportunities to improve DART?
Thank you

Hi, thanks for your attention!
The predictions can be produced & stored using inference.py; FYI, visualize.py / visualize_word_emb.py contains some visualization codes of word embedding / last hidden states output.
Currently we've been working on a clean branch for code refraction and apply some more training techniques to improve model performance.

Thank you!
I was wondering if there's an existing implementation code for BERT instead of RoBERTa.
I was also wondering about what are the challenges we might face if we try other pre-trained models.
Do you think DART could be compatible to all the BERT bases models?
Best Regards,
Davidson

Also, is there a good way to reach you via E-mail?
Thank you!

Thank you! I was wondering if there's an existing implementation code for BERT instead of RoBERTa. I was also wondering about what are the challenges we might face if we try other pre-trained models. Do you think DART could be compatible to all the BERT bases models?
Best Regards, Davidson

Hi Davidson, thanks for you attention! In current codes we use AutoModelForMaskedLM which supports multiple BERT-like LMs. If you have any problems using other LMs you may open an issue and we'll see it.

Hi!
Thank you for all the comments.
I had another query.
In codes, I'm trying to find the lambda hyperparameter which was defined in the paper. The Loss1+Lambda*Loss2
I was trying to find where this lambda hyperparameter was coded, and how we could experiment with it.
Additionally,
The selection of the initial prompts like "It was" for SST-2 was hardcoded (of course, to initialize), but I was wondering how you came up with the possibilities of prompts available for Initialization, is it purely from prior papers?
Thank you!

Hi sigadavid96, for your first question, you may check the current version of codes and see the hyper-parameters in config/sample.yml. The lambda refers to mlm_loss_weight in our codes:
https://github.com/zjunlp/DART/blob/0ed51c05be7e0b88e6ce91c224b2889adc61bc28/config/sample.yml#L19
For your second question, we use former papers prompts for initialization and also tried out randomized searching. It turns out the former ones are better in practice, and you can modify the prompts in the data Reader classes in src/data.py.

Oh! Looks like the codes have been refactored! These look great! Thank you!
Also, thank you for the links and the answers to the questions.
It looks like
mlm_loss_weight: 0.0  # weight of auxiliary MLM loss
Lambda has been initialized to 0, is the benchmark DART using this as the lambda too?
Thank you!

Hi, in our experiment we followed LM-BFF and searched optimal hyper parameters on each data split for every GLUE dataset respectively; for most cases, setting mlm loss weight to 0 helps reaching better results, and it depends.
You may search on wandb.ai with the scripts sweep.py for your own experiments.

Hi,
according to your reply, mlm loss weight was set to 0. Does it mean that Fluency Constraint Object mentioned in paper was not used through the entire inplemententation?
And I caould not see visualize.py or visualize_word_emb.py in current repo. Could you please tell me how I can visualize the representation of the masked tokens?
Thanks a LOT!

Hi, in our experiment the auxiliary loss is used and the results won't differ much on GLUE with the fluency object; in our project the weight is set to 0.0 in our sample configuration just for debugging convenience.
In the recent update the visualization codes are removed for simplicity; anyway, I will add them back soon and notify you in this issue when available!

Thanks for your fast reply! I appreciate it.
If the weight is set to 0.0 just for debugging convenience, could I know what is the optimal mlm experiment weight? Because It was not mentioned in your paper's appendix.
And I'm looking forward to your visualization codes. Thanks again for notifying me at that time!

As we mentioned in the paper, the performance is evaluated on each data split and therefore the optimal loss weight varies as other hyper parameters; I suggest 0.05 worth a try and you can perform fine-grained search on different datasets with sweep.py.


when will the website be back

so its still saying Good things are coming soon.  Sign up for the mailing list to get updates.
so when will they new update go live we are still w8ting u know

guess u stopped making this website ?


[DOC] Update image in the readme file

Problem
We have decided our project logo and placed it on the website, still, the image in the readme file is not updated which has to be.
Solution

Head to https://threadify.vercel.app
Take a screenshot
Update readme.md with the screenshot you have taken
Commit changes
Push changes and create a pull request

Can I work on this? @pushkaraj2007

Sure, go ahead.

hey can you pls assign me the task under hacktoberfest lable?

Yeah, I think @rishabhknowss is not working on this!
So you should work on this @tmsagarofficial
I'm going to assign you.

@pushkaraj2007 Hi again, Thanks for assigning this issue to me... Will start working on it right away.

!! This issue has been resolved in #28 PR !!


graajs support jvm.javaagent?

i want run node project and init a java method  without usercall,so  i think javaagent  can help me .
but can i run node project with arg option like jvm javaagent (take a javasdk-jar  )?
/usr/bin/graavm/graalvm-ce-java17-21.3.0/bin/node --jvm --vm.cp=loader.jar  --vm.javaagent=ageent.jar   index2.js

unrecognized option: -javaagent=loader.jar
Creation of the JVM failed!

I guess that you have a typo in the option. It should be followed by : (not by =), i.e., --vm.javaagent:ageent.jar

RROR: Unrecognized argument: '-vm.javaagent:loader.jar'. Use --help for usage instructions.

I guess that you have a typo in the option. It should be followed by : (not by =), i.e., --vm.javaagent:ageent.jar

thx


How to connect to Edge vs version

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

Hi there, can you please tell us more what you mean? You can change the version of edge to debug with (canary, dev, stable) in the settings. Is that it?

Yes i this i will do what you have said


Debugger: Setting variable's value in watch window before debug session should not affect that variable

Environment data
dotnet --info output:
VS Code version:
C# Extension version:
Steps to reproduce

Add expression of cacheKey = "Hello" in watch window before setting breakpoint
Setting breakpoint in  var cacheKey = "topselling "
Press F5 to start debugging
Press F10 twice to step over
Observe the data tip of cacheKey  in local window.

Expected  behavior
CacheKey's data tip shoule be raw data "topselling"
Actual behavior
Local window's data tip of cacheKey is "Hello"

Expressions in the watch window are evaluated after stopping at every breakpoint/step command/async break in VS Code. This is the expected behavior, VS Code has no concept of stale/manual reevaluation for locals or watch expressions.


Changed Settings options to use switches instead of checkboxes.

Fixes #169.

Can you attach a screenshot?

Just a warning, SwitchPreference is API level 14 and higher
http://developer.android.com/reference/android/preference/SwitchPreference.html

Yes, we are still API 8 and up. Check out this post on StackOverflow for a possible solution.

When the app is run on devices pre-APIv14, should the Preferences be Checkboxes, and then v14 and above should show Switches?
Or should Switches be shown on all devices, regardless of the API version they have?

It would be nice to have a consistent app as much as possible. It appears the support library has a Switch in it but not the SwitchPreference.

Added switches to pre-APIv14 using SwitchCompat:

Using SwitchCompact on preAPIv10 seems to have a visual bug, shown below. Does anyone know what might be causing this?

@rhansby wrote:
Using SwitchCompact on pre-APIv14 seems to have a visual bug, shown below (the bottom switch animates when not touched). Does anyone know what might be causing this?

Today I came across the following article:
http://www.androidauthority.com/android-design-support-library-overview-636694/
Is it any helpful?
Also:
The pubkey generation view is also affected. The pubkey generation view has two checkboxes. They should also be changed to switches to adhere to the Google Material Design Guidelines, see following issue for a screenshot:
https://github.com/connectbot/connectbot/issues/208
Regards

Thanks for the article @wp9015362. After quickly glancing over it I unfortunately don't think that will help, but I'm continuing to look into it :)

Regarding your pubkey generation view comment, I think that checkboxes are still appropriate, given their slightly different context. However I want @kruton to give the final say on that. In any case thank you for pointing that out.

@rhansby wrote:
Regarding your pubkey generation view comment, I think that checkboxes are still appropriate, given their slightly different context. However I want @kruton to give the final say on that.

Why is it a different context?
Well, let's see what the Google Material Design Guidelines have to say about it:

https://www.google.com/design/spec/components/selection-controls.html
[...] If you have a single option, avoid using a checkbox and use an on/off switch instead. [...]

:wink:
So, since those two checkboxes on the pubkey generation view also each are for single options, they should be changed to switches as far as I can tell :yum:.
It's the same as with the settings view.
By the way: I simply haven't noticed the two checkboxes on the pubkey generation view earlier because of the following issue:
https://github.com/connectbot/connectbot/issues/212
Otherwise I would have included them in https://github.com/connectbot/connectbot/issues/169 from the beginning.
Regards

The most recent push is a workaround for the visual glitch noted above. See GIF for current (bug-free) behavior on pre API-v14:

@rhansby :
The edit host view is also affected. You can reach the edit host view by tapping and holding on a host in the host list and then selecting "Edit host".
The edit host view has four checkboxes which also should be changed to switches to adhere to the Google Material Design Guidelines.
Regards

@wp9015362 , this PR also affected the host preferences list :)


Independent Eval - Error selecting "Other" on id: select independent evaluations

I tested this and once I click on the 'Other' option, the field to type in the 'Other Evaluation' box comes up. I did not have an error continuing the interview after this. Link works also.

@CWEmrich Oh! It is in the template. I do not think we should show "Other" in the template and whatever user typed for "Other" should appear in line with other bullets. @nonprofittechy can you confirm?

Agreed, we should remove "other" from the template.
Docassemble makes this annoying.
In the for loop, you can specifically check with {%p if not item == "other" %}
Double-check that item and other are the right values


Remove (deprecated) community/ directory

Use the https://devlibrary.withgoogle.com/ project instead.

Thanks for flagging. We have some internal CI issues that we're trying to resolve. We should probably temporarily disable this presubmit.
@angerson Did you already disable the GitHub presubmit as well? Or do we need to do something separate here?

@yyoon I requested review on temporary disabling for the GitHub jobs just now.


upcoming: [M3-7660] - Cleanup files to use profile to get user_type

Description 📝
Now that user_type is returned from the /account/profile endpoint, we can save ourselves some query calls.
Changes  🔄

Updated tests and files that didn't need to call /account/users/

Preview 📷
Shouldn't be any visual changes
How to test 🧪
Prerequisites

Run yarn test ensure all tests pass
Run cyrun cypress/e2e/core/account ensure all tests pass

Verification steps

Verify user menu still works as intended as with MSW
Verify we can see Child Account Access by following steps here

As an Author I have considered 🤔
Check all that apply

[ ] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[ ] ➕ Adding a changeset
[ ] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

Weird that those don't cause tests to fail 🤔

✅  Confirmed E2E tests pass with latest develop changes


Output plan when using CLI with -j option

When using the -j option the tap output did not include the plan. This PR tries to fix this issue.
I look forward to getting some feedback on the correctness of this solution.

It does already output a plan at the end of the output when using buffering for multiple jobs.
Can you please provide a failing test case to demonstrate the problem?  This patch will produce incorrect output (multiple plans), and in fact, can output the wrong plan if one of the command line files encountered is a folder with multiple tests inside of it.

You are correct. My proposed patch is incorrect.
There is however something unexpected happening. I found this issue when running my tests using unix's prove command. It returns non zero when the tap format is not compliant with TAP requirements. One of the requirements are that tap output should contain the plan.
This is what I am running.

./t/unit.t

#!/bin/bash

./node_modules/.bin/tap -j25 ./lib/{**/,}*.spec.js

$ ./t/unit.t | tail
        ok 10000 - expected to not throw
        1..10000
    ok 4 - something # time=688.781ms

    1..4
    # time=8345.392ms
}

1..24
# time=11042.014ms

So it does contain the plan 1..24. So what is prove complaining about?
So why does prove exit with non zero?
$ prove
t/unit.t ..
All 1 subtests passed

Test Summary Report
-------------------
t/unit.t (Wstat: 0 Tests: 1 Failed: 0)
  Parse errors: No plan found in TAP output
Files=1, Tests=1,  8 wallclock secs ( 0.26 usr  0.00 sys +  8.70 cusr  0.38 csys =  9.34 CPU)
Result: FAIL

I should also say that the tests always pass when running them without the prove test harness. I don't think prove is to blame though.
What I think is happening is that node-tap is having a hard time writing to stdout when there is lots to write and when the process that is reading from stdout is taking its time to read from stdin. Somehow node-tap ends up dropping some of the lines it should be writing to stdout.
I can prove this by using a temp file that will allow me to write the stdout quicker than prove might be processing the stdin.

./t/unit.t

#!/bin/bash

./node_modules/.bin/tap -j25 ./lib/index.spec.js > a

cat a

Somehow this works every time I run the tests using prove.
I am concluding that node-tap does not write the complete TAP output when the process that is consuming the stdout does it to slowly.
This is a completely different issue.

Is it possible that prove isn't properly handling the buffered test output style?
Ie, does it work when you don't use the -j argument?

@isaacs, when I run the tests using prove but without tap's the -j option, the tests do pass.
The tests also pass when running the tests with the -j option and writing the stdout to a temp file.

does not work most of the time.

./node_modules/.bin/tap -j25 ./lib/{**/,}*.spec.js

works when using a temp file

tmp="$(mktemp)"

./node_modules/.bin/tap -j25 ./lib/{**/,}*.spec.js > $tmp

cat $tmp

also works without tap's -j option

./node_modules/.bin/tap ./lib/{**/,}*.spec.js

So it's not that prove does not handle the buffered output incorrectly. I say this because the tests pass when writing the stdout to a temp file before using cat to write it to stdout.
You can try the tests yourself. The repository is here: https://github.com/bas080/sumtin.
You can run prove command in the root directory after installing the npm dependencies.


Create LICENSE

Codecov Report

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

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   17.07%   17.07%
=======================================
  Files          19       19
  Lines         164      164
=======================================
  Hits           28       28
  Misses        136      136

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 59491fc...e0db090. Read the comment docs.


bug: Collection-Repeat with Caching and Modals causes app to crash in beta 14

Home tab has a collection-repeat list in it. Each element has a picture.

A second tab has a button to open a modal.

When the modal is shown, it calls ionic.trigger('resize'); (line 2955 of ionic-angular.js)

The collection-repeat on the home tab (which is cached as of b14) listens to this, calls collectionRepeatManager.resize() which then renders all the non-showing elements in the list. If there are pictures, all the pictures are loaded. And when run on device, the app likely crashes with an out of memory error.

Turning off cache for the Home tab eliminates the problem.

Removing collection-repeat eliminates the problem.

Commenting out the call to ionic.trigger('resize') eliminates the problem (for me).

Codepen here: http://codepen.io/rajatrocks/pen/myOYLw
Discussion here: http://forum.ionicframework.com/t/collection-repeat-and-view-cache-weirdness/14651

Greetings, @rajatrocks!
We are now requiring all issues to be submitted through our custom issue form so that we have all of the information necessary to fix them as quickly as possible.
Your progress on this issue has been saved at the following url:
link to Ionic issue form
This issue will be closed if not resubmitted through the form. Please fill out the rest of the form so that we may assist you.
Thank you for allowing me to assist you.

Probably related to #2890

+1

Fixed via bb866da3d7e539c8923bd6914c0a4e44f0f4d400

In short, the modal sends a resize event.
The old collection repeat would recalculate everything on the resize event.
The new collection repeat only recalculates on resize if the collection repeat is in view, and also doesn't recalculate everything anymore. It only recalculates what has to be recalculated on resize - up to the current scroll value.

Or in the case of your codepen, nothing needs to be recalculated anymore since it uses static item heights...

Latest nightly, you don't need item-height and item-width attributes anymore: http://codepen.io/anon/pen/GgdYWp
If you don't supply width/height, it will getComputedStyle() of the first element and use that for the width/height of every element.


Support for tile layers with same CRS but different tile size

Checklist

[X] I've searched through the plugins to make sure this feature isn't already available, or think it shouldn't require a plugin.
[X] I've searched through the current issues to make sure this feature hasn't been requested already.
[X] I agree to follow the Code of Conduct that this project adheres to.

Motivation
My country has a standard projection (EPSG:2193) for which a lot of data is available from many sources. Proj4Leaflet plugin allows these to be used easily. The annoying problem is when tile sources use a different tilesize. (eg 512 instead of 256) . The problem then goes back to GridLayer in calculating the tile queue. Gridlayer currently fetches the critical information for calculating zoom from map crs and gets the tile coordinates wrong.
Suggested solution
If a gridlayer has same projection as the map.CRS but tile size is different, then use a copy of the map.CRS but with the layers actual size instead. I suspect the layer option may need to include the scale array for the layer as well.
I have fiddled with code for a day and bit, but thought I would see if there were other opinions before committing to more effort.
Alternatives considered
I

Do you have an example? In TileLayer there is a zoomOffset option for this purpose ...

When you create a custom CRS for the map, the two layers you want to put on the map have same origin and projection, but different tilesize and different resolution arrays. however, I see that resolutions are a simple offset so I will try it and see what happens. I had missed that property. The TileCorrection plugin attempts to fix this problem too but I dont think overwriting methods in the map object (as opposed to tile object only)  is a good way to do it.


1050, "Table 'user' already exists"

I believe python manage.py create_db creates "user" table, and the following command fails:

sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (1050, "Table 'user' already exists") [SQL: '\nCREATE TABLE user (\n\tid INTEGER NOT NULL AUTO_INCREMENT, \n\temail VARCHAR(255), \n\tpassword VARCHAR(255), \n\tPRIMARY KEY (id), \n\tUNIQUE (email)\n)\n\n']

So I had to manually drop table user, to follow the instruction.

Hello,
You likely already migrated your db, and forgot. Closing for now as I am unable to reproduce.


fix: add copy button in user profile

Fixes Issue
Closes #8930

https://github.com/EddieHubCommunity/BioDrop/assets/127204999/e10dbc7f-7e85-4824-895b-991a29564944
What this PR does-
This PR added a copy button to every social and copies to the user's clipboard.

The issue #8930 isn't labeled as status: ready for dev which means it's not ready for development.
Also you can't send PR without getting the issue assigned to you.
I would recommend you to read our contribution guidelines https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md
You can close this PR.

Thank you @sital002 for pointing this out - I will therefore close this PR.


Create New Note Open Note On Creation (File not found even though File is created successfully on Obsidian)

Hi, I have a problem where every time I create a new note with the create note extension,n it would always say that the file that I just created doesn't exist even though when I made the note, the note was created & Obisidan was launched. But for some reason, it would never open.

This was an issue with Obsidian not recognizing the file fast enough. It would only occur when Obsidian was already open.
Should be fixed with the newest version by adding a short delay before the note is opened in Obsidian.


Jwt issuer is not configured

Bug Description
I have these rules defined in for my ingress gateway:
When my app , which is in it's own namespace, is loading it gets blocked on the gateway with this error "Jwt issuer is not configured".  I clearly have issuer's defined so I'm confused.  Please help.
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: jwt-rule
  namespace: istio-system
spec:
  rules:
  - from:
    - source:
        requestPrincipals:
        - '*'
  selector:
    matchLabels:
      protect: authservice
---
apiVersion: security.istio.io/v1beta1
kind: RequestAuthentication
metadata:
  name: jwt-rule
  namespace: istio-system
spec:
  jwtRules:
  - forwardOriginalToken: true
    issuer: https://keycloak.example.com/auth/realms/test
    jwks: '..removed..'
  - forwardOriginalToken: true
    issuer: https://app.example.com
    jwksUri: https://app.example.com/v1/.well-known/jwks.json
  selector:
    matchLabels:
      protect: authservice

INGRESS ERROR
TIMESTAMP "GET /v1/websoc/info?access_token=<JWTHERE>&t=1661895689934 HTTP/1.1" 401 - jwt_authn_access_denied{Jwt_issuer_is_not_configured} - "-" 0 28 2 - "IP,IP" "<USER AGENT>" "f621212e-4415-459a-a06b-7be252500dd5" "app.example.com" "-" outbound|1003||apigateway.app.svc.cluster.local -IP:8443 IP:45187 app.example.com -

Version
client version: 1.14.3
control plane version: 1.13.5
data plane version: 1.13.4 (1 proxies), 1.13.5 (40 proxies), 1.13.2 (1 proxies)
Client Version: v1.24.3
Kustomize Version: v4.5.4
Server Version: v1.22.10-eks-84b4fe6

Additional Information
No response

I need a known working example of two jwt's in use.

The selector you have used ‘protect:authservice’, is the same selector present in the ingress gateway ? And please share the istiod logs and envoy config dump

And please check if your issue is because of the 1st reason mentioned  here  https://istio.io/latest/docs/ops/common-problems/security-issues/#end-user-authentication-fails

Also, I'm not cycling the gateway's pods because of this error:
Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected
I will post logs and configs shortly.

The authorization name is not fixed and is defined by your request header。
but the prefix must be "Bearer "。
apiVersion: security.istio.io/v1beta1 kind: RequestAuthentication metadata:    name: authentication-jwt-token   namespace:  test spec:    jwtRules:      -        forwardOriginalToken: true       fromHeaders:          -            name: Authorization           prefix: "Bearer "
https://istio.io/latest/docs/reference/config/security/jwt/

The authorization name is not fixed and is defined by your request header。
but the prefix must be "Bearer "。
apiVersion: security.istio.io/v1beta1
kind: RequestAuthentication
metadata:
  name: authentication-jwt-token
  namespace: test
spec:
  jwtRules:
    -
      forwardOriginalToken: true
      fromHeaders:
        -
          name: Authorization
          prefix: "Bearer "

https://istio.io/latest/docs/reference/config/security/jwt/

The issue seems to be related to an Istio 1.15 change made to split the host and port components.
To workaround the issue for now you can explicitly add a port to the jwksUri value. e.g. https://app.example.com:443/v1/.well-known/jwks.json
PR: https://github.com/istio/istio/pull/40997

@icereval - thanks I’ll give this a try!
This is a better work around than my workaround.  My workaround was to merge jwks keys into one.  I’ve ended up generating a key pair from the first jwks uri source - istio /keycloak.  And then I just added the keys for the second issuer inside the jwks of the first one since they were signed by the same ca.
If this method with adding the port works, it will definitely save me some manual steps.


changelog version

Hi, do you have any changelog to see which differences between 1.6.3 and 1.7 ?

https://github.com/softsimon/angular-2-dropdown-multiselect/releases/tag/v1.7

Thanks a lot :)

angular-2-dropdown-multiselect Versio 1.7 continues to work with Bootstrap 3.0 ?


Implement 3Sum problem Using C++

This issue is about 3Sum Problem

[x] I searched or browsed the repo’s other issues to ensure this is not a duplicate

[x] Issue Title is in form [Algo/DS Name] in [Language] (ex:- BubbleSort in Java)

[x] I will send my PR only after I'm assigned to this issue by any maintainer

[x] Assign this issue to me (I want to work on this)

[x] I ensure that I am not already assigned to 2 or more issues

please assign this issue to me @sobhanbera  admin

Hey @Geeks-Arpan,
Assigned this issue to you! You can now start working on this.

Hey @AdarshInDev,
All the issues are FCFS. You can create your own issue if you want.
Thanks for taking interest and contibuting!

please assign this issue to me

@sobhanbera please assign this issue to me, i want to close it asap. I'm really interested.


Weibull fitter has different results for the same data and environment

Weibull fitter and Weibull AFT with no features have different results for the same data #750
#750 is closed, while I am still observing the issue on 0.26.4, even when not changing anything in the environment.
Was it fixed? If not, would you point me to the piece that calls the optimization for the Weibull fitter?

Hi @GergelyMincsovicsPhilips, I don't think anything changed as a result of #750. Are you able to post the parameter estimates (using .print_summary() or something) for the two models.
The optimization code for the Weibull Fitter is here

it turned out that the differences I saw come from the order I called the Weibull, looping over the groups, i.e.
BEFORE (changes in the output observed)
Groups=df['G']
for group in set(Groups):
AFTER (stable output)
Groups=df['G']
for group in sorted(set(Groups)):
the issue can be closed


I would like to ask: Why does the custom car I added slide to the side when it is stationary?

The custom car I added will slide on its own when it is stationary.

Is it on an incline?

Hi,
could you provide more info?
Marcel

Hi,
could you provide more info?
Marcel

okey, I spawn an custom vehicle, the initial yaw I haved set is 0.0, but its yaw is changing when I dont set apply_control to the vehicle.look at this vedio I haved recorded.
https://github.com/carla-simulator/carla/assets/79270109/0dea48bc-3b41-45f7-bf4b-cba4abb48376

Hi,
could you provide more info?
Marcel
can u see the minor changes...

It appears there is some translation too.
This could be a problem with the geometry of the vehicle. Have you checked whether the collision mesh of your vehicle is similar to the defaults in CARLA?

It appears there is some translation too. This could be a problem with the geometry of the vehicle. Have you checked whether the collision mesh of your vehicle is similar to the defaults in CARLA?

How should I check? Is it convenient to provide a detailed step? Thank you very much!

Opening the mesh asset in the editor should expose the necessary options. Here's a video for reference, the first 30s show how to display the collision mesh: Link

Opening the mesh asset in the editor should expose the necessary options. Here's a video for reference, the first 30s show how to display the collision mesh: Link

Thank you! But where should I click to view it?

Opening the mesh asset in the editor should expose the necessary options. Here's a video for reference, the first 30s show how to display the collision mesh: Link

Hi, I checked the collision mesh of my custom vehicle. It looks similar to the defaults in Carla.

Hello, have you followed all the steps from this guide?
https://carla.readthedocs.io/en/latest/tuto_A_add_vehicle/#add-a-4-wheeled-vehicle
It could also help us if you record a new video with a different angle/materials in order to see if the vehicle is actually working or not, since your first video is unclear.
And can you post your screenshots like this? so we can see more info.
Thanks in advance.

And can you post your screenshots like this? so we can see more info.
Thanks in advance.

OK, this is the vedio about the state of my custom car in carla, and the screenshot!Thank you!!!
https://github.com/carla-simulator/carla/assets/79270109/6d917da4-3905-4cb6-ba3b-c65c20516ebd

And can you post your screenshots like this? so we can see more info.
Thanks in advance.

OK, this is the vedio about the state of my custom car in carla, and the screenshot!Thank you!!!
custom_vehicle_vibrate.mp4

In my opinion, it looks like a tiny part of the car got stuck into the ground...but I am not sure....

Hello
I can see that you're not following the documentation correctly, since in the documentation says that you need to put linear damping to 0, but you have it at 0.1.
For this, I can't pinpoint your problem, because if you deviate from documentation, anything can fail.
Fel free to correct the problems, following the documentation, and let me know if something fails then.
Thanks for your time.


Executing unit_tests.py on Windows 11 runs into h5py issue

I'm attempting to run the unit tests before I consider playing with making some changes - gotta at least get those running!
However, when I run I get an issue about h5py:
Traceback (most recent call last):
File "C:\Users\markm\GitHub\deepface\tests\unit_tests.py", line 229, in
test_cases()
File "C:\Users\markm\GitHub\deepface\tests\unit_tests.py", line 68, in test_cases
embedding = DeepFace.represent(img_path)
File "C:\Python310\lib\site-packages\deepface\DeepFace.py", line 746, in represent
model = build_model(model_name)
File "C:\Python310\lib\site-packages\deepface\DeepFace.py", line 63, in build_model
model = model()
File "C:\Python310\lib\site-packages\deepface\basemodels\VGGFace.py", line 85, in loadModel
model.load_weights(output)
File "C:\Python310\lib\site-packages\keras\utils\traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "C:\Python310\lib\site-packages\h5py_hl\files.py", line 533, in init
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "C:\Python310\lib\site-packages\h5py_hl\files.py", line 226, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 106, in h5py.h5f.open
OSError: Unable to open file (file signature not found)
I've tried pip uninstalling and reinstalling h5py to no avail.  It's not a module I'm familiar with and certainly haven't touched it.  I've made no other changes to the repo either so presume it happens for others.
Env: Windows 11

weights are stored in ~/.deepface/weights
maybe weight file is broken while installing. try to delete this folder and re-run deepface.


update nobel-prizes demo to v0.28

Pull Request
What does this PR do?
Update Nobel-prizes Demo to v0.28

This update does not introduce any code-related breaking changes.
Bumped meilisearch-js version to v0.27.0
Bumped instant-meilisearch to 0.8.0
Set keepZeroFacets: true

PR checklist
Please check if your PR fulfills the following requirements:

[ ] Does this PR fix an existing issue?
[ ] Have you read the contributing guidelines?
[ ] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

There is a mis-use of package-lock.json and yarn.lock.
You made the upgrade using npm, instead, could you make it using yarn.lock?
You can delete package-lock.json and just yarn install to update your yarn.lock with the changes you made in package.json


Modify DAP2 tests to no longer use test.opendap.org

At least one test (ncdap_test/test_zero_len_var.sh) is using
the test.opendap.org server.  There might be others.
It might be better if all of these tests
were modified to use our remote test server.
re: https://github.com/Unidata/netcdf-c/issues/1449#event-2529286420

It seems like the test.opendap.org server has been down again for a few days.  We're trying to support more systems for libnetcdf on conda-forge but can't really make headway at the moment.  So we'd be keen to see the move away from test.opendap.org happen.

Have you contacted opendap support?
I hate to remove or tests that use the opendap
server because it checks that our code has not become
specific to our remotetest server. If this continues to'
be a problem, then we will have to talk to the opendap
people about it.

I'm contacting them now.  I saw the previous issue from Aug 2 and got the impression that this might be a frequent issue.

It seems like we (as a community) just need to ping them if we find the server to be down.  OpenDAP staff maybe don't necessarily notice when the server goes down. Here's what I just heard back:

Should be up now.
Please don't hesitate to let us know if you find it down in the future.

My experience has been that their server is pretty reliable
and does not go down often.

Okay, that's very good to hear.

Suggestion.  Make DAP tests adaptive.  If remote opendap.org server is not responding, then fall back and complete the test suite using the Unidata test server.
Also provide an option, probably a configure option, to disable fallback, and require the opendap.org server.
This is because you have two competing objectives.  One is to make it easier for user builds to prove their DAP functionality, and reduce gratuitous test suite failures.  The other is as Dennis said earlier, "check that our code has not become specific to our remote test server".  Users do not usually care about this latter objective, I think.  Thus the default test behavior should be forgiving of single server failures.

Dave makes an excellent point about server failures. I will attempt to
modify our tests so that server failures warn but otherwise pretend
to succeed. This puts a burden on Unidata to detect such cases,
but will hide spurious failures from users.


Fix shape and reformat free tensor handling in the input byte size check

Added support for the is_non_linear_format_io flag in the model configuration to identify whether input/output tensors use a non-linear IO format.
Modified the auto-complete configuration to correctly initialize the is_shape_tensor and is_non_linear_format_io flags.
For tensors using the non-linear IO format (reformat-free tensors), the backend now validates the input byte size.

@tanmayv25, Thank you for the approval. I added a new commit 5b8c263 to improve the error message to match the remaining tensor types error message in the core library. Could you please re-approve? Thank you.


Add test for successful connection registration numerics

And Python version bump so I can use the walrus.

spec: https://github.com/ircdocs/modern-irc/pull/221


win32 console debug

Debugging applications on windows under a debugger/ide can be difficult
because the IDE may use its own 'console' which Prompt Toolkit is unable
to use productively.  This PR makes it possible to set an environment
variable which allows Prompt Toolkit to create a console window and
attach the appropriate handles to allow the program to use the console
productively.

Hi @stephenrauch,
Thank you for this! It looks like you spend on lot of time on this patch.
I need a bit of time to read through all of the code before merging it, and probably I'll have some remarks.
But it sounds definitely useful!
Jonathan

Hi @stephenrauch,
I just review the code. In general it looks good. But I'd like a few changes. (Hopefully you don't mind.)

Most importantly, importing win32_console_debug has a side effect. It executes _check_environment_variables. We should not execute any code during an import. It's better to call this function ourself. (See: https://chrismorgan.info/blog/say-no-to-import-side-effects-in-python.html )
Further, I prefer to avoid introducing new environment variables. I would prefer that users who need this functionality, simple call a function. Something like create_win32_console(debug=False). If they like to expose this API through an environment variable, then they can still do it themself.

If you don't have the time to fix any of this, then I'll do it.
I just tested this change in my Windows machine with Pycharm, and it works wonderful!
Thanks,
Jonathan

I will gladly make the changes.  Give me a few days.
Cheers,
-- Stephen
On Nov 20, 2016 9:24 AM, "Jonathan Slenders"<EMAIL_ADDRESS>wrote:

Hi @stephenrauch https://github.com/stephenrauch,
I just review the code. In general it looks good. But I'd like a few
changes. (Hopefully you don't mind.)

Most importantly, importing win32_console_debug has a side effect.
It executes _check_environment_variables. We should not execute any
code during an import. It's better to call this function ourself. (See:
https://chrismorgan.info/blog/say-no-to-import-side-effects-
in-python.html
https://chrismorgan.info/blog/say-no-to-import-side-effects-in-python.html
)
Further, I prefer to avoid introducing new environment variables. I
would prefer that users who need this functionality, simple call a
function. Something like create_win32_console(debug=False). If they
like to expose this API through an environment variable, then they can
still do it themself.

If you don't have the time to fix any of this, then I'll do it.
I just tested this change in my Windows machine with Pycharm, and it works
wonderful!
Thanks,
Jonathan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jonathanslenders/python-prompt-toolkit/pull/396#issuecomment-261791654,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ7NekY0hJKPOY3wMpwd-2mrZDfANZCEks5rAIJOgaJpZM4KL5GG
.

@jonathanslenders
So I have finally updated the pull request.  I wanted to use it for a while to help make sure it was working ok.  I am glad I did, as it needed a ^C handler.  There are now no side effects of the import.  I did however leave the Environment Variable as an option for invoking the functionality, for this reason:  Editing the source code of my program between actually running it in the console, and running it under the debugger is rather a PITA.  This way I can assign the environment variable in my debug environment, and it is largely a NOP when not debugging.  The use of the environment variable is optional, as discussed in the docs, the functionality can be invoked without it.
Hopefully this meets with your desires.  If not, or you need anything else, please LMK.
I have also added (a needed) ^C handler.

@stephenrauch
Could you give me a hint on how to get your console to work?
I invoke it by
from prompt_toolkit.terminal.win32_console_debug import ensure_console
ensure_console()

On the invoking side, I get
Found debug console pid 5468,  pipe name: 'FIND_CONSOLE: ipy_repl.py'`

A console window opens up which outputs
debug window pipe name: \\.\pipe\FIND_CONSOLE: ipy_repl.py
Connected at 2017-07-02 22:24:27.539
Error in sys.excepthook:

Original exception was:

So there is a connection followed by an exception.
The exception seems to occur when h_pipe = win32pipe.ConnectNamedPipe(pipe) is called the 2nd time in the final while-loop of your stub program.
I'm on Python 3.6, 64bit.

@pe224 So I am reading right that there is no exception information printed?  Also, what windows version?

@stephenrauch Correct. It's Windows 10.

Hi @stephenrauch,
Excuse me for coming back just now.
Regarding this pull request, I'm not sure what to do. I still think it's definitely valuable, but I'm not sure I have the resources and knowledge to maintain this piece as part of prompt_toolkit while it is evolving. I also think that it's perfectly feasible to implement all of this on top of prompt_toolkit, like it is right now. What about creating a prompt_toolkit_win32_debugger package or something like that?
Probably this requires also a couple of changes in order to be compatible with the 2.0 release.

This pull request was never merged. Is there another solution for debugging while using an IDE?

@Spectrem12,
PyCharm has now a built-in console emulator. It's not enable by default, but you can do this in the settings:

I'm not sure, but VS Code probably has a similar option. Since Windows now has ConPTY (see https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/ ), any IDE can render a console.
So, I don't think there's a need for this anymore.
@stephenrauch : hope you're fine too if we close this?

I should have added more detail to my initial question.
I have the emulator option checked but it limits the debugging and output capabilities or maybe I just don't know about pycharm.
All the output is monochrome. The output buffer is limited. And you are not able to type inline python syntax within the emulator.
I appreciate any solutions or work around you may have to offer.

I'm not sure about the debugging capabilities, because something is broken in my PyCharm right now, but colors are definitely working fine (notice I run it from the PyCharm run button, it's not the "terminal" pane).

Yes, I am also using the run button.
Are those colors defined within the IDE itself or with an extension?
I am using Grep Console and it no longer functions using the emulated window (not exactly prompt-toolkit issue) , but it causes other setbacks such as being able to pause debugging and input python commands inline.
As well, as I am not able to have PyCharm open up my separate log files that have streams going to with Grep Console working on those either.
Is there a workaround to not force the terminal emulator?


Build 0.32.9 breaks Charts

Hi!
I just discovered that build 0.32.9 breaks the diagram functionality.

SQL Operations Studio Version: 0.32.9

If you have this query (demo for a pie chart):
Select 'Text 1' as test, 0.3  as Num
UNION
Select 'Text 2' as test, 0.7  as Num

Execute it and display it as Chart

In 0.32.8 it is possible to select numberous chart types

if you are using the exact same query in 0.32.9 the default chart looks strange and you can not select many charts:

@Frank-Geisler sorry for the inconvenience.  We're working on a fix today.  The 0.32.8 build is available at https://github.com/Microsoft/sqlopsstudio/releases/tag/0.32.8 if you need to downgrade while we prepare a fix.

Hi Karl!
Thank you for the Link to the old versiön. I will present on SQL Operations Studio at SQL Saturday Lisbon and so I can demo the Charts as well 😊
Thank you and have a nice day
Frank

Issue has been fixed by PR: https://github.com/Microsoft/sqlopsstudio/pull/2651


Bootstrap failure in EMR

EMR bootstrap fails when running the emr-install_autoscale.sh script.
Tested on EMR version 6.9.0 and 6.11.0.
EMR Error log:
chmod: cannot access ‘/emr/metricscollector/isbusy’: No such file or directory
Created symlink from /etc/systemd/system/multi-user.target.wants/trino-autoscale.service to /etc/systemd/system/trino-autoscale.service.
Job for trino-autoscale.service failed because the control process exited with error code. See "systemctl status trino-autoscale.service" and "journalctl -xe" for details.

What is this "/emr/metricscollector/isbusy" ? Any idea on how to fix this issue?
UPDATE:

When commenting out that one line. Bootstrap still fails, but with a slightly different error log:

Created symlink from /etc/systemd/system/multi-user.target.wants/trino-autoscale.service to /etc/systemd/system/trino-autoscale.service.
Job for trino-autoscale.service failed because the control process exited with error code. See "systemctl status trino-autoscale.service" and "journalctl -xe" for details.

When spinning up the EMR cluster without the bootstrap script, and then run it once the cluster is available, the script runs fine. see log below:

[hadoop@ip-xxx-xx-xx-xxx ~]$ ./test.sh xx-xx-emr-trino-autoscale
download: s3://xx-xx-emr-trino-autoscale/artifacts/aws-emr-trino-autoscaling/trino-autoscale.jar to ../../opt/trino-autoscale/trino-autoscale.jar
chmod: cannot access '/emr/metricscollector/isbusy': No such file or directory
Created symlink from /etc/systemd/system/multi-user.target.wants/trino-autoscale.service to /etc/systemd/system/trino-autoscale.service.
[hadoop@ip-xxx-xx-xx-xxx ~]$ systemctl status trino-autoscale.service
● trino-autoscale.service - Trino-Autoscale
   Loaded: loaded (/etc/systemd/system/trino-autoscale.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2023-07-18 13:28:54 UTC; 12s ago
  Process: 9077 ExecStart=/usr/bin/trino-autoscale (code=exited, status=0/SUCCESS)
 Main PID: 9121 (java)
    Tasks: 26
   Memory: 240.4M
   CGroup: /system.slice/trino-autoscale.service
           └─9121 /etc/alternatives/jre/bin/java -Xmx1024m -XX:+ExitOnOutOfMemoryError -XX:MinHeapFreeRatio=10 -server -cp /opt/trino-autoscale/trino-autoscale.jar com.ama...

Ahh ok! I will try it out, thanks!


Stop managing linters with gex

WHY
WHAT
REF

Codecov Report

Merging #196 into master will decrease coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
- Coverage   60.91%   60.77%   -0.15%
==========================================
  Files          39       39
  Lines        1420     1420
==========================================
- Hits          865      863       -2
- Misses        495      496       +1
- Partials       60       61       +1

Impacted Files
Coverage Δ

pkg/grapiserver/gateway.go
75% <0%> (-3.58%)
:arrow_down:

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 8f98337...4a74c18. Read the comment docs.


fix(io): default the IO process to use testnet

This will avoid issues with clients using the newest AO implementation and unintentionally using the devnet process.

:tada: This PR is included in version 1.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Stream Elasticsearch: add support for Kafka source

Likely implement this using Kafka Connect.

migrated to snowplow/snowplow-elasticsearch-loader#18


Add private key as an output

what

Add output for private key pem

why

There are times when you need the private key to be programmatically accessible

@ekristen Thank you for the submission.
Unfortunately, exporting the private key as an output would cause it to be stored unencrypted in the Terraform state, which is a significant security problem. Even if it were stored encrypted, it would still make it programmatically accessible (which is your intent) without sufficient access controls to be considered secure. For that reason, I am closing this PR as unacceptable.
If you want to create an SSH Key Pair with programmatic access, you can use the Terraform resource directly
resource "tls_private_key" "default" {
  algorithm = var.ssh_key_algorithm
}

or you can use the fork you have already created.

@ekristen My apologies, you are right, I am/was wrong. I will reopen the PR.

The fact that the private key is managed as a terraform resource means that the private key is already in the terraform state file unencrypted. Simply adding it as an output means it'll be in two places in the terraform state instead of one.

Please make the following changes:

Add a boolean variable private_key_output_enabled defaulted to false
When private_key_output_enabled is false, set the private_key output to null.

@Nuru It's all good. Thank you for re-opening this. Requested changes have been made.

Please make the following changes:
Add a boolean variable private_key_output_enabled defaulted to false
When private_key_output_enabled is false, set the private_key output to null.

@Nuru Why just not make it sensitive as it already done in  https://github.com/cloudposse/terraform-aws-key-pair/blob/master/outputs.tf#L16 ?

/test all
@SweetOps wrote

Why just not make it sensitive as it already done in https://github.com/cloudposse/terraform-aws-key-pair/blob/master/outputs.tf#L16 ?

Just making it sensitive will still put it in the output state where other Terraform modules can easily access it via remote state. Because of the security implications, that is a change that I do not want to happen automatically when users upgrade to the latest version of this module.

@ekristen Sorry, not your fault, but this module is a bit out of date. Please run the following commands from the repo root:
make init
make github/init

and check in and push the changes

/test all


regression: * deps no longer parsed

On cargo 0.13.0-nightly (c205132 2016-08-09), deps like 0.2* no longer parse.
I'm not sure if these are valid, but they used to work, e.g on stable (cargo 0.11.0-nightly (259324c 2016-05-20))
Minimal example:
[package]

name = "foo"
version = "0.3.0"

[lib]
name = "foo"
path = "src/lib.rs"

[dependencies]
plugin = "0.2*"

works fine on stable, gives the following on nightly:
$ cargo build --verbose
error: failed to parse manifest at `/Users/manishearth/sand/bar/tempcrate/Cargo.toml`

Caused by:
  you have already provided an operation, such as =, ~, or ^; only use one

They are not valid per semver, you need the .

Can we then phase them out slowly? This is a breaking change that affects people pinning to iron 3 (e.g. rust-playpen).

We could always revert cargo back to a previous semver version as a quick fix.

So, thinking more: I could backport a warning to the 2.x series of semver, we could make cargo use that instead. That probably wouldn't be too bad, though part of the reason why I re-wrote all that code was because it is a giant mess...

Yeah, I don't want to muck up semver's code too much. But I'm not sure how this can be done on the pure-cargo side either.
Perhaps a crater run would help us gauge the full impact and determine if this is necessary? @brson

So, another thing:
I currently do a regression test across all of crates.io: https://github.com/steveklabnik/semver/blob/master/tests/regression.rs
But note that's just for the version, not for dependencies. it looks like that's supported https://frewsxcv.github.io/rust-crates-index/crates_index/struct.Dependency.html
So I could also figure it out that way, and probably should add that regardless.

So, uh https://travis-ci.org/steveklabnik/semver/jobs/152783177
That is, this seemgly passed on semver master for every crate on crates.io.
@Manishearth I can't actually find a released iron that has this dep. v3.0: https://github.com/iron/iron/commit/16c858ec2901e2992fe5e529780f59fa8ed12903
Shows them actually fixing this. And it looks like 2.6 wasn't tagged?

I used cargo-clone to grab iron 2.6, and it does have 0.2*
So, now I'm confused about my tests :(

okay so https://travis-ci.org/steveklabnik/semver/jobs/152791793
testing crate iron at version: 0.2.6

testing dependency: ^0.1

testing dependency: ^0.2

testing dependency: ^0.7

testing dependency: ^0.3

testing dependency: 0.2.*

testing dependency: ^0.3

testing dependency: ^0.1

testing dependency: ^0.5

testing dependency: ^0.1

testing dependency: ^0.7

apparently, the crates-index crate is not returning the same contents as the actual cargo.toml.
Looking at https://github.com/rust-lang/crates.io-index/blob/master/ir/on/iron#L47
{"name":"iron","vers":"0.2.6","deps":[{"name":"modifier","req":"^0.1","features":[],"optional":false,"default_features":true,"target":null,"kind":"normal"},{"name":"num_cpus","req":"^0.2","features":[],"optional":false,"default_features":true,"target":null,"kind":"normal"},{"name":"conduit-mime-types","req":"^0.7","features":[],"optional":false,"default_features":true,"target":null,"kind":"normal"},{"name":"log","req":"^0.3","features":[],"optional":false,"default_features":true,"target":null,"kind":"normal"},{"name":"plugin","req":"0.2.*","features":[],"optional":false,"default_features":true,"target":null,"kind":"normal"},{"name":"typemap","req":"^0.3","features":[],"optional":false,"default_features":true,"target":null,"kind":"normal"},{"name":"error","req":"^0.1","features":[],"optional":false,"default_features":true,"target":null,"kind":"normal"},{"name":"url","req":"^0.5","features":[],"optional":false,"default_features":true,"target":null,"kind":"normal"},{"name":"lazy_static","req":"^0.1","features":[],"optional":false,"default_features":true,"target":null,"kind":"normal"},{"name":"hyper","req":"^0.7","features":[],"optional":false,"default_features":false,"target":null,"kind":"normal"},{"name":"time","req":"*","features":[],"optional":false,"default_features":true,"target":null,"kind":"dev"}],"cksum":"6d02706746b2d95c50f463fc619de64efe10682adfa17fa18dc95e0a92b10237","features":{"default":["ssl"],"ssl":["hyper/ssl"]},"yanked":false}

This also has 0.2.*.
@alexcrichton do you have any idea what's going on here?

From IRC:
20:43 <~acrichto> steveklabnik: I think we round trip
20:43 <~acrichto> in the sense of we parse the requirement
20:43 <~acrichto> and then when we emit the json we emit that requirement to a string
20:43 < steveklabnik> would that be in cargo or in crates.io?
20:45 <~acrichto> steveklabnik: oh probably both actually
20:45 <~acrichto> as in, Cargo's sending requests to crates.io
20:45 <~acrichto> but crates.io is then re-parsing and re-encoding

So yeah, @brson a crater run to check this out might be a good idea. idk. uuuugh

That said, this change has been in nightly for a while, and we also haven't seen it break. So maybe things are okay? I dunno :frowning:

Hm ok, so I think we'll want to revert this for now and go back to the old semver version. @steveklabnik could you send a PR for that? Otherwise I can do so later tonight.
A similar situation here is that I fixed a parsing bug in TOML but Cargo's still issuing warnings about it. From time to time I still see that url's 0.5.* manifest doesn't parse correctly, so it'll take awhile to flesh all this out.

@steveklabnik
So to clarify what happened with TOML, awhile ago the parser was discovered to have a bug where it accepted invalid syntax. This was found in the wild as part of url-0.5.9. To enable a smooth transition, I implemented an option in the TOML parser to accept the old, broken, syntax.
When toml was updated I added some logic which basically does:

Attempt to parse TOML with the "real" parser. If that succeeds, we're good.
Attempt to parse TOML with the old/broken parser. In this case flip a flag in the parser. If that succeeds, issue a warning but we're otherwise good.
Otherwise, return the first error.

Could something like that be done for the semver crate as well? E.g. have a temporary option (off by default) to accept the old syntax?

Conceptually, we can. It might make the crate's deps heavier, but I imagine most non-trivial programs will already have a regex dep...
On Aug 17, 2016, 13:55 -0400, Alex Crichton<EMAIL_ADDRESS>wrote:

@steveklabnik (https://github.com/steveklabnik)
So to clarify what happened with TOML, awhile ago the parser was discovered to have a bug (https://github.com/alexcrichton/toml-rs/pull/94) where it accepted invalid syntax. This was found in the wild as part of url-0.5.9. To enable a smooth transition, I implemented an option in the TOML parser (https://github.com/alexcrichton/toml-rs/commit/1ed6801137ede253844a6d798d5f9f8327dc0090) to accept the old, broken, syntax.
When toml was updated (https://github.com/rust-lang/cargo/pull/2680/files) I added some logic (https://github.com/rust-lang/cargo/blob/5593045ddef2744c1042dee0c0037c2ebcc1834e/src/cargo/util/toml.rs#L167-L185) which basically does:
Attempt to parse TOML with the "real" parser. If that succeeds, we're good.
Attempt to parse TOML with the old/broken parser. In this case flip a flag in the parser. If that succeeds, issue a warning but we're otherwise good.
Otherwise, return the first error.
Could something like that be done for the semver crate as well? E.g. have a temporary option (off by default) to accept the old syntax?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/rust-lang/cargo/issues/3001#issuecomment-240492852), or mute the thread (https://github.com/notifications/unsubscribe-auth/AABsilqpK2NCy8iieMKI49YxREdabNKAks5qg0rvgaJpZM4JlvM5).

(and this would need coordination with cargo)

@Manishearth note that we've pushed an upgrade of the semver dependency in https://github.com/rust-lang/cargo/pull/3154. I believe we've provided a transition path for any crates with these sorts of bad version requirements, but an extra pair of eyes is always helpful!
If you see any breakage, please be sure to let us know!

cc @nox, our resident overlord of versioning

I think iron was the only broken one for us, but that should have been fixed since then. Hopefully nothing breaks now.
Thanks!


[Question] How to enable speech input in WebChat control?

I have been able to do this interface normally, but when the bot links, link does not include voice service is not normal, I filled out the key has a problem, the red circle of things should be filled in what specific, can explain in detail

@zxy66481 Can you post what error you get when you do F12 debugging in the web browser?

No error prompts, just now the microphone can be used, just I do not know how to put my deployment to the cloud of robots and custom web Chat controls linked up, hope to get help as soon as possible, thank you

@zxy66481 what browser are you using?

My browser is Google Chrome, my custom web chat control of the voice recognition has been turned on, now is unable to link deployment in the cloud of the robot, please give you help, extremely grateful!

@zxy66481 What happens if you do this:

Put the DirectLine secret in the s parameter in the URL in the browser?
For example:
https://myexamplebot.com/my-web-chat.html?s=Y4UhItuBISJ.cwA.RlY.fj5FJ8K_9yK6J4LB-dZVqQJaaJAP9DB_jP6ysYn6DIo

Then change the code in the script back to this:

BotChat.App({
--
  | directLine: {
  | secret: params['s'],
  | token: params['t'],
  | domain: params['domain'],
  | webSocket: params['webSocket'] && params['webSocket'] === "true" // defaults to true
  | },
  | user: user,
  | bot: bot,
  | locale: params['locale'],
  | resize: 'detect',
  | speechOptions: speechOptions,
  | // sendTyping: true,    // defaults to false. set to true to send 'typing' activities to bot (and other users) when user is typing
  | }

@zxy66481 What kind of error are you getting that indicates that you can't link to the cloud deployment of your bot?  Also, if you have your microphone working now, can you explain how you got it working?

My web page is jump by pressing the button, can't set to add keys, my microphone is click can identify the content of the talk, identification can be sent, mistake is to send the news has been unable to send，thank you

My web page is jump by pressing the button, can't set to add keys, my microphone is click can identify the content of the talk, identification can be sent, mistake is to send the news has been unable to send

I have changed what you said, but the browser prompts for domain name resolution errors, can you give me an example of where the URL in addition to the password need to be replaced, and the script in addition to the key to add what

What happens you run it locally? For example:
https://localhost:8080/index.html?s=Y4UhItuBISJ.cwA.RlY.fj5FJ8K_9yK6J4LB-dZVqQJaaJAP9DB_jP6ysYn6DIo

Closing the issue assuming it as resolved. Feel free to reopen if you any questions or comments.

Hi, here was same problem. big issue is that.. i got an error in generating token.
https://directline.botframework.com/v3/directline/conversations
{ "message": "The requested resource does not support http method 'GET'." }

Webchat does not currently support Cognitive Speech keys, but only with Bing Speech keys. Work is in progress to support both.
Please direct your issue to the WebChat repository: https://github.com/Microsoft/BotFramework-WebChat


Expanding multiple levels not working

In my environment, I have (everything on the default VRF)
A reservation like <IP_ADDRESS>/12
Another reservation like <IP_ADDRESS>/16 (and others next to it)
An assignment like <IP_ADDRESS>/24 (and a few others next to it)
When trying to browse through this, it seems I am not able to get to the <IP_ADDRESS>/24 assignment from the GUI. Expanding <IP_ADDRESS>/12 works, but there is no expand button next to <IP_ADDRESS>/16. From my limited testing I have been able to ascertain the following:
The showPrefix in nipap.js method is called to draw an entry in the prefix list. It determines whether to draw in a "+" or not based on the number of children of the prefix. However, inspecting the results of the API call, the prefixes are incorrectly returned as having 0 children. I wasn't able to grok the code that does the search itself to figure out to fix it.
As a temporary workarond in my environment until there's a proper fix, I have replaced if (prefix.children == 0) with if (false && prefix.children == 0) , effectively forcing the javascript to always display a collapse button no matter if is thinks there are children or not. This causes navigation to work properly, at the expense of expand buttons showing up where there are no children.

I just attempted to reproduce this on http://nipap-demo.spritelink.net/ which according to @plajjan is running the same version as I'm running in my environment (latest stable v0.29.6). Despite adding the exact same data to both systems, the demo system will not let me reproduce this issue, while I do reproduce it on my production machine.
Because this might be environment-related, I'll put it out there that I've installed this on an Ubuntu 16.04 LTS machine from the Debian repository.

I just tried reproducing this on an Amazon EC2 image, following the same steps as I (believe) I followed on my production box where this issue occurred. I failed reproducing it there too. There's an issue here, but there's more to this problem than described.

I just dug into this a bit more, and it seems that the row for <IP_ADDRESS>/16 has an incorrect "children" count of 0 in the database. Not sure exactly how that happened, but clearly something happened in the course of me working on populating the database which caused an incorrect children count to appear in the database. I've been populating it both with nipap-cli and nipap-www, and I don't have a way to reproduce it right now.
Creating another assignment seems to have caused the children to recalculate, solving the problem
So, at this point, my understanding of the issue is that some action that I performed at some point left the "children" count on the row to incorrectly be 0, which in turn caused the problem in the UI. I do not have reliable steps to reproduce this at this time.


Add MAPE metric

Closes #5965. This PR adds MAPE as a built-in evaluation metric. It is able to use GPUs. Since MAPE is an element-wise metric, there should be no obstacle in using it in distributed training.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #6119   +/-   ##
=======================================
  Coverage   78.52%   78.52%
=======================================
  Files          12       12
  Lines        3069     3069
=======================================
  Hits         2410     2410
  Misses        659      659

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 1453bee...39ba95e. Read the comment docs.


audio call started but no sound

Issue Type: Bug
In a live collaboration, I tried to start an audio call. It connected and showed the other 1 participant, but we were both talking, and couldn't hear each other (we communicated over the chat). Didn't hear anything (no static or other sounds). I tried to configure the audio to use different mic/speaker (I had external Apple headphones plugged in), but it still didn't work.
Extension version: 0.1.85
VS Code version: Code - Insiders 1.48.0-insider (15e798e081984a17eae00de91adf4479190d5ed2, 2020-07-28T10:40:03.139Z)
OS version: Darwin x64 19.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 4, 4

Memory (System)
32.00GB (1.94GB free)

Process Argv
-psn_0_3687300 --crash-reporter-id f4f975e5-e217-4e77-bf51-0a2b40eaa906

Screen Reader
no

VM
0%

Untitled.zip
Please find attached the exported logs zip file.

Thanks for reaching out and attaching your logs . cc: @jramsay

Also there is a conversation going on in #3254 . There might be some helpful information there.

We released an update to the audio extension that should address this issue, so I’m going to close it as resolved. Please re-open this issue if you’re still running into problems. Thanks!