link to pretrained model and datasets

Hi, can't open the link to pretrained model and datasets.
Could you please give a BaiduYun or google cloud link?
Thanks!

Please refer to this Google Drive link for pre-trained model. Could you please provide the error when downloading the pre-trained model? It was hosted on github, shouldn't be any problem if you could visit github.
Please visit the official site for datasets. I guess it's not appropriate for me to provide them here since you need some verification by the dataset authors.

Thanks! May be caused by my network settings.
--2020-06-18 11:12:36--  https://github.com/DeanChan/NAE4PS/releases/download/v0.0.0/logs.tar.gz
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/246596953/f282ca80-ab07-11ea-9110-73b5c35b5188?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200618%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200618T031237Z&X-Amz-Expires=300&X-Amz-Signature=495c6c8ad30cc782b9307f738f46b59604ea69bf0087233238190935490c7cc5&X-Amz-SignedHeaders=host&actor_id=0&repo_id=246596953&response-content-disposition=attachment%3B filename%3Dlogs.tar.gz&response-content-type=application%2Foctet-stream [following]
--2020-06-18 11:12:38--  https://github-production-release-asset-2e65be.s3.amazonaws.com/246596953/f282ca80-ab07-11ea-9110-73b5c35b5188?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200618%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200618T031237Z&X-Amz-Expires=300&X-Amz-Signature=495c6c8ad30cc782b9307f738f46b59604ea69bf0087233238190935490c7cc5&X-Amz-SignedHeaders=host&actor_id=0&repo_id=246596953&response-content-disposition=attachment%3B filename%3Dlogs.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... <IP_ADDRESS>
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|<IP_ADDRESS>|:443... failed: Connection refused.


v0.4.0 Pipestat Release

This PR is for the release of Pipestat v0.4.0.
Milestone Changes and Tracked Issues can be found here:
https://github.com/pepkit/pipestat/milestone/1
Highlights include:

Migrating from SQL Alchemy to SQLModel as the interface to the DB backend.
Splitting backends into separate classes (File vs DB).

Outstanding To-dos:

[ ] Documentation must still be updated.

Do you want to remove codecov or address it? I'm fine either way

Documentation has been updated.

I set codecov to have a threshold of 80% and, for now, be informational only.


Changing the mac address doesn't work

System Information
Linux distribution
Arch
Terraform version
Terraform v0.12.20
Provider and libvirt versions
./terraform-provider-libvirt db587ad14bfb29aa9cbd56482c79f414e2f26409-dirty
Compiled against library: libvirt 5.10.0
Using library: libvirt 5.10.0
Running hypervisor: QEMU 4.2.0
Running against daemon: 5.10.0

Checklist

[ ] Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?

[ ] Make sure you explain why this option is important to you, why it should be important to everyone. Describe your use-case with detail and provide examples where possible.
[ ] If it is a very special case, consider using the XSLT support in the provider to tweak the definition instead of opening an issue
[ ] Maintainers do not have expertise in every libvirt setting, so please, describe the feature and how it is used. Link to the appropriate documentation

[x] Is it a bug or something that does not work as expected? Please make sure you fill the version information below:

Description of Issue/Question
Setup
Ubuntu example from this repo, except manually add the mac address to the network_interface block.
Steps to Reproduce Issue

Add the mac address line: mac = "52:54:00:5a:08:d6"
terraform apply: It works, the mac address takes.
change the mac address to something else: mac = "02:38:60:94:88:cc"
terraform apply: No effect

If you change the the xml manually it works, if you destroy and recreate the domain it also works. Shutting the domain down before applying doesn't help.

@brokenpylons hi. Yeah this is a known issue of the terraform provider.
In fact not only updating the mac doesn't work, but other operations.
This is due to the fact that the update operation in Libvirt is quite complex and for some network or other device, updating is quite disruptive change.
I remember have investigated on this time ago and basically when updating a network, you need to reboot all your domains etc or other complicated intruisive operations.
This is historically why some update operation, mostly all are not supported. for this reason

@MalloZup yes, I figured as much, but I actually just wanted to change the mac address of the domain not in the network. I had a problem where the information in the dhcp block in the network was lost at reboot of the server. I tried to work around this issue by creating the network in virsh and then use terraform for the domains, but not being able to change the mac was limiting, so I had to move back to virsh completely.
A solution from my perspective would be to add a mac option at the top level, which just controls the mac address of the domain and then extend the dhcp section of the network to allow manually adding the entries. For the update maybe you could detach the old interface and attach the new one like described here.

Is it also a problem with latest provider version?


Each Endpoint is responding with 405 error but there are not error logs.

i managed to make it work, it was /api missing at the end of URL.


Switch to Vercel deployment

Good point, I will check this action agian in a next step. For now we used it in all our deployments.


[GAPRINDASHVILI] Update ui-components to 1.0.27 for gaprindashvili

https://github.com/ManageIQ/ui-components/pull/294

(This version was mostly created to illustrate the release process for UI-components. Closing the PR as the change does not affect actual code.)


Build takes 30 mins

bazel test //test/... takes 30 minutes on 16 core 64GB machine. It would be good be able to scope to opt-out of some of the complex build pieces in CI and normal development. We need bazel options to be able to select it out.

See https://github.com/envoyproxy/envoy-wasm/pull/1

Fixed in #1.


Delete profile before creating it in test runner

My tests ended up in a broken state somehow where a
createProfile(testUserName) was stuck in phantomjs
local storage. Calling deleteProfile before createProfile
in the beforeEach ensures that the createProfile call
will be successful.

+1 once Travis becomes agreeable again


What is the Control and Provision service?

In the Apache Beam Fn API, what are the responsibilities of the Control service and Provision service? How do they interact with the SDK Harness Container? Does the Control/Provision service contact the SDK Harness Container (to control, or provision it...?) - or vice versa?
For context, I am building a Dataflow custom container: https://cloud.google.com/dataflow/docs/guides/using-custom-containers#create_and_building_the_container_image and I am trying to understand the boot entrypoint, which has the control and provision service: https://github.com/apache/beam/blob/master/sdks/java/container/boot.go#L49
Also asked here: https://stackoverflow.com/questions/74337565/in-apache-beam-what-is-the-control-service-and-provision-service

Please, address your question on<EMAIL_ADDRESS>Thanks!


[NXP] Fixing Matter over thread support on rw61x platform

Issue:
rw61x Matter over Thread version is broken on the master branch
Fix description:
This PR aims to fix the thread support on NXP rw61x platform and it includes the following updates:

ot-nxp submodule updated to reference the latest NXP released version
using openthread stack version referenced by ot-nxp repo by default for all rw61x matter over Thread applications
CI workflow updated to add thread builds

Can someone help to add the label: "changing-submodules-on-purpose" ?
Darwin Tests and Linux test suites are failing. But changes done in this PR should not affect these tests as only NXP code is affected. Are these failures known issues ? Can someone help to check ?

kicked darwin tests - we are working on improving some flakiness

I added the label for the submodule changes, but the check is based on github.event.pull_request.labels which in turn seems to be based on the labels at pull request creation, not at the time the check is run.  The check script may need to be updated - in the mean time, I asked about this on Slack.  It might be worth trying to close the PR and then re-open it.


[QUESTION] Problem with chunk filter and sync driver

Package version, Laravel version
package: 2.1.24 Laravel: 5.5.31
Expected behaviour
I am using the sync queuing driver for development and expect the following to work
class SomeClass extends \Maatwebsite\Excel\Files\ExcelFile
{
    public function getFile()
    {
        //..

        return $file;
    }

    public function getFilters()
    {
        return [
            'chunk'
        ];
    }
}

Actual behaviour
But it doesn't. I don't see any of the spreadsheet rows in my handler, except for the header row.
This is how I load the the excel sheet:
public function handle($import) {
    $sheet = $import->get()->first();
}

Everything works fine if I remove the "chunk" filter but I would like to use it.
Is there anything I should be aware of when using the sync driver? Thanks :)

I have a problem similar and i got the conclusion that the chunk filter doesnt work correctly.

We are closing all old tickets, because version 2.* is reaching the End-of-Life stage. Our full attention is now allocated to version 3.0. It's still possible to use 2.*, but there will be no active support anymore.


archiver: Improve handling of "file xxx already present" error

What does this PR change? What problem does it solve?
This PR let's restic complete a backup if files with duplicate names exist and issues a warning instead of canceling the whole backup run. A duplicate node is only ignored if it is identical to its counterpart; this was the case in #1866 and serves as a safeguard for completely broken filesystems or internal bugs.
The change relies on a cleanup of the archiver.SaveTree method which now works similarly to the archiver.SaveDir. In particular this means using the TreeSaver, which could improve performance if many backup paths were given on the command line. See the commit message for more details.
Was the change previously discussed in an issue or on the forum?
Fixes #1866
Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[x] I have added tests for all code changes.
[ ] I have added documentation for relevant changes (in the manual).
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[x] I'm done! This pull request is ready for review.

LGTM.


Material Icons: "This demo had a runtime error!"

[ v ] The issue is present in the latest release.
[ ] I have searched the issues of this repository and believe that this is not a duplicate.

  Output from `npx @material-ui/envinfo` goes here.

How can we reproduce? Duplicate of #26117

Duplicate of #26117?

That issue was about an error that wasn't caught by the demo error boundary. The error reported was caught by the demo error boundary. It's unlikely that these are related

it works fine~ i think it was about some kind of network issue. thanks for
checking, friend~~~
[image: image.png]
ᐧ
On Sun, Jun 6, 2021 at 7:40 AM Olivier Tassinari @.***>
wrote:

How can we reproduce? Duplicate of #26117
https://github.com/mui-org/material-ui/issues/26117?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mui-org/material-ui/issues/26606#issuecomment-855385227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLPL43E5UEGB7I7EHM43N3TRNNELANCNFSM46FAJX3A
.

Today I checked it again and it worked fine^^;; Probably it was some kink of network issue.

it works fine~ i think it was about some kind of network issue. thanks for
checking, friend~~~
[image: image.png]
ᐧ
On Mon, Jun 7, 2021 at 4:20 AM Sebastian Silbermann <
@.***> wrote:

Duplicate of #26117 https://github.com/mui-org/material-ui/issues/26117?
That issue was about an error that wasn't caught by the demo error
boundary. The error reported was caught by the demo error boundary. It's
unlikely that these are related
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mui-org/material-ui/issues/26606#issuecomment-855713516,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLPL45PHNHMWTP6QATB4PDTRR6OFANCNFSM46FAJX3A
.


Introduce FirmwareRegistry and FirmwareBinary (with FirmwareConstraints)

One can update physical server's firmware, but the firmware has to be accessible somewhere, usually on a HTTP/FTP/SAMBA link. Furthermore, there is usually some metadata associated with the firmware to tell what kind of hardware (manufacturer, model type) is it meant for.
With this commit we introduce a new model, FirmwareRegistry, that supports various kinds of metadata parsing by leveraging STI. User is supposed to create FirmwareRegistry instance via UI feeding it url+authentication and then click "Refresh Relationships" on it. ManageIQ will then invoke
registry.sync_fw_binaries_queue

which in turn will connect to the metadata repository to list available firmwares and store them as FirmwareBinary (no binary data is really stored, only HTTP/FTP/SAMBA link and some metadata).
In followup PRs we will then be able to list available firmware binaries to update physical server's firmware.
Depends on:

[ ] https://github.com/ManageIQ/manageiq-schema/pull/371

@miq-bot add_label enhancement
@miq-bot assign @agrare
/cc @tadeboro @matejart

Hey @agrare not sure if you're aware what we're doing with these firmware thing, so let me recap our current plan: we have a requirement to support operation "update firmware" on physical server (Redfish). We'll be doing it via a (yet not existing) internal state machine.
But MIQ currently has no model for "installable firmware software" that user could pick from a drop-down to update server with. So we need to introduce the new model first.

Provided a bunch of unit tests, VCR ones as well.

/cc @gtanzillo

Sorry for a bit of delay here @agrare I think we're green now. This PR seems huge, but it's mostly due to all the FactoryBot definitions and specs we are providing. In essence we're only delivering the firmware inventory, as simple as it can get... Would you prefer if I try to split the PR in smaller parts?

Kicking travis because rspec only failed for ruby 2.4.6 and I can't reproduce locally on same ruby version

I couldn't figure why Travis won't use VCR for examples marked with :vcr so I'm falling back to the explicit VCR.use_cassette approach..

@agrare this is now green. Had quite some issues with VCR being turned off, not sure why or who does it, so I ended up forcibly turning them on


Where can I found the CHANGELOG?

release notes haven't been updated for a long time.

Which release notes?
This has been updated yesterday: https://github.com/sindresorhus/refined-github/issues/1137

@bfred-it
Thanks. But why not write it into release notes


chore: Update auth cookie name for production

Description
Refactor SUPABASE_AUTH_COOKIE_NAME constant in constants.ts to remove the conditional check for the environment. The constant is now set to sb-${import.meta.env.VITE_OPEN_SAUCED_SUPABASE_ID}-auth-token.
Generated using OpenSauced.
The auth cookie key of https://insights.opensauced.pizza has been updated to sb-ibcwmlhcimymasokhgvn-auth-token.

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[x] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

going to merge to unblock production


feat: ignore vscode dir

@weizman What prompted this?

my vscode

@weizman So, your workspace-specific settings, or launch / task configurations?  If they are useful, we should share them.

not really, i don't use vscode, but i wanted to use it for this one specific thing and then the file was created and not ignored so i though it'll be helpful


Fix content width background (#374)

closes #374

I have changed only the background for all the pages. It is not passing the code climate because of previous issues.

patch-for-tests.diff.zip

@kevinashworth @JafarIronclad have approved and @Olivia-Chiong has merged.
Kevin will create an update to the test to reduce the test coverage error.


setting fzf_preview_filelist_postprocess_command causes plugin to perform much slower

Hi,
I have a codebase of about 230,000 files. With a setup including bat, ripgrep and no filelist_postprocess command it performs relatively good. Once I execute the FzfPreviewDirectoryFiles command from the root of my project the floating window appears in just under 2 seconds, not ideal but good enough.
I have since decided to add a bit of colour to the filelist by installing exa and changing the filelist_postprocess command to the one you provided. When I execute the same command it then takes ~10 seconds for it to appear, thinking that maybe it is just due to exa being slower to ls I tried using dircolors but that also had a delay of 5 seconds.
Is there any way to speed this up?

I think it is difficult to solve the slow execution of the command.
You may need to find a command to do the colorize faster.


Implemented npm version check

Implemented npm version check so new contributors can get started easier and avoid issues like on #310

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

Thanks for this pull request. I agree that it's hard to discover the node and npm version requirements right now and this would definitely fix that problem.
However, versions other than the officially documented ones have been known to work, and I would hate to break anyone's build workflow. Maybe we should show a warning instead of completely blocking the user from building with an unsupported version? If so the warning should probably come at the end of the script so that the user sees it even if there's a lot of error output.
@anthonydresser and @kburtram any thoughts on the best way to do this?

@MattIrv good point. Now it just print warning using yellow text so it is easy to notice but it does not stop build workflow.

I don't see any problems with this, however this diverges from vscode's build script, where as before it was minor changes. @kburtram might have a stronger opinion.

@anthonydresser I'm fine with this change once all the code review issues are addressed.  @MattIrv could you please work through any remaining issues, sign-off and merge once ready.  Thanks!

@olljanat This is almost ready to merge. Can you take a look at my code review comments and address them when you get a chance? After that I'll merge it. Specifically:

Please revert the commented line that you changed, since it looks like you didn't mean to
Let's remove the warning coloring, otherwise it might cause problems

Thanks!

In order to get this merged in, I'm going to merge it now and make those minor changes myself. Thanks again for your contribution, this will be very helpful!


Publish qr package

There are currently two published Typst packages for generating QR codes, to my knowledge. One is native Typst (probably not the fastest) and one calls a whole JavaScript runtime. Your implementation using Rust and wasm looks very reasonable and nicely done to me so I'd love to see it in the official package repository!

You're right that this package is probably more efficient than the other two, but a new package has just been created, which I think is even better suited than this. It contains many more types of codes, though it seems to lack color customization as of now:
https://github.com/typst/packages/pull/263


www: new fenced code block design

This extracts the design bits out of #1623 so that this can be merged in advance. The language switcher in #1623 itself needs a bit more work.

Merging myself, since this PR is only a minor UX change for the docs site.


Add projection info for lambert_azimuthal_equal_area

Has 4 parameters, e.g.,:
longitude_of_projection_origin: -120.0
latitude_of_projection_origin: 37.0
false_easting: 0.0
false_northing: 0.0

resolved by 69682bad71dddd9e29eaea5bbbefe24d7d039821


Only track subscribed resources in Delta subscription state

Signed-off-by: Xin Zhuang<EMAIL_ADDRESS>Commit Message: Only track a resource in delta subscriptionState when there are subscriptions interested in it.
Additional Description:
Risk Level: LOW ( the extra tracked resources will be removed, but they are "invisible" to non-wildcard xDSes anyway.
Testing: unit tests added.
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue] https://github.com/envoyproxy/envoy/issues/18292
[Optional Deprecated:]
[Optional API Considerations:]

/retest

/retest

/assign @adisuissa

/retest

/assign @dmitri-d
Can you please take a look at this?

/assign @yanavlasov
Yan pls give your owner blessing when it's good to go.

/retest

/retest

@adisuissa created https://github.com/envoyproxy/envoy/issues/18361 to track the xdstp issue.


fix metrics, add 3 MongoDB nodes for staging external access

Elastic's metricbeat is working again, am grateful the Elastic team fixed it
Fix scheduled for 7.13 release, but 7.13 not officiall out yet, so unfortunately Elasticsearch uses a non-official version (repo snapshots), docker image "docker.elastic.co/beats/metricbeat:7.13.0-SNAPSHOT". Need to update in the future when it comes out
Related:
"Refactor use of system.hostfs to fix cgroup metrics"
https://github.com/elastic/beats/pull/24334
"Monitoring: allow specifying /proc or hostfs path."
https://github.com/elastic/beats/issues/23267
home page should redirect to full overview dashboard

Add 3 MongoDB instances for replica set so that it can support transactions similar to any relational database, and make it externally accessible outside the cluster
mongo mongodb://<USERNAME>:<PASSWORD>@berkeleytime.com:27017,berkeleytime.com:27018,berkeleytime.com:27019/?replicaset=rs0

😍😍😍


Fix integration tests

Right now our integration test does not fail if one of the "wait for deployments" steps fails. This PR fixes that.

Codecov Report

Merging #1628 into master will decrease coverage by 1.70%.
The diff coverage is 1.63%.

@@            Coverage Diff             @@
##           master    #1628      +/-   ##
==========================================
- Coverage   28.48%   26.77%   -1.71%
==========================================
  Files          78       72       -6
  Lines        5547     4661     -886
==========================================
- Hits         1580     1248     -332
+ Misses       3759     3238     -521
+ Partials      208      175      -33

Impacted Files
Coverage Δ

configuration-service/common/git.go
0.00% <0.00%> (ø)

gatekeeper-service/main.go
0.00% <0.00%> (ø)

remediation-service/actions/aborter.go
42.85% <0.00%> (ø)

remediation-service/actions/blacklister.go
21.73% <0.00%> (ø)

remediation-service/actions/featuretoggler.go
0.00% <ø> (ø)

remediation-service/actions/scaler.go
35.95% <0.00%> (ø)

remediation-service/actions/slower.go
38.23% <0.00%> (ø)

remediation-service/main.go
8.57% <0.00%> (ø)

wait-service/main.go
0.00% <0.00%> (ø)

jmeter-service/main.go
6.71% <5.00%> (ø)

... and 5 more

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 39d361f...7098fef. Read the comment docs.


The code in the Default options section does not work (its giving runtime error) and there is no place to get to know anything about it.

The code in the Default options section does not work (its giving runtime error) and there is no place to get to know anything about it.
I am developing C# desktop application, and wanted to use default MAS processing in speech translation recognizer, but I was unable to make it work, as it is throwing a Runtime exception.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 06e5aa96-da34-d12d-9903-73e2f1ae832b
Version Independent ID: b2a1082f-239d-4763-1bb9-e0b03e74b02d
Content: Use the Microsoft Audio Stack (MAS) - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/audio-processing-speech-sdk.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @hasyashah
Microsoft Alias: hasshah

@simonvaros, Thanks for the feedback! We are taking a look into this and will get back to you soon.

Thanks for the question. Here are the samples for Speech Recognition with MAS enabled.
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/Program.cs#L654

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


User cannot start   'Get-CimInstance -className win32_process | select Name,ProcessId,ParentProcessId,CommandLine,ExecutablePath' terminated with code: 1

Path in windows has powershell and looks ok. User cannot also start mod organiser from launcher either. He's running windows 10.
Log below
https://cdn.discordapp.com/attachments/953789402587496478/953789557940314192/main.log
User Dean#5920 on discord

User EinQuantumTwo#7819 reported same issue today

Potentially replace the find-process library with this to see if it sorts it

This can temporarily be fixed with:
Run net stop winmgmt (and y if prompted), Winmgmt /resetrepository and then Winmgmt /verifyrepository should say it's consistent.
The issue is caused by users having a corrupt Windows management repository. Apparently this can happen when migrating from Windows 7 to 10.
The launcher could potentially automatically repair this in the background if required.

We should still swap to https://www.npmjs.com/package/ps-list as the creator has made other solid libraries


[Request] Add a procedure that executes the concat KDF

Description
For DIDComm communication, the identity team requires the use of ECDH-ES in combination with some key wrapping algorithm like A256KW. The latter was requested in #338, while the former requires #339 as well as the concat KDF, defined in NIST SP 800-56A section 5.8.1. As an example context, this will be used according to RFC 7518: JSON Web Algorithms.
An implementation, that should be copyable, can be found here: https://github.com/iotaledger/identity.rs/blob/4287c9834de8dc42fd4ff0c0e8b3a2bc822d0ec4/libjose/src/utils/crypto/concat_kdf.rs.
This needs to be a stronghold procedure, because this KDF works on secrets which were previously created through diffie hellman or concatenation (#339).
Motivation
Implementing DIDComm encryption in identity.rs.
Requirements
Write a list of what you want this feature to do.

Expose a procedure that implements the concat KDF.

Are you planning to do it yourself in a pull request?
I'm open to it, just let me know.

Implemented in #347.


support ~1.20

1.2.0 is starting with 1.20 but not produce JFR with events
Can't enter world

Fixed in bdd8f6e2e547c5b9faef8e8994f2379018f92230 and 49724722f82a3677a25225b4ab385d0814902ff7.


Ensure that id field of application and deployment models should be indexed

What this PR does / why we need it:
Which issue(s) this PR fixes:
Follow PR #1892
Does this PR introduce a user-facing change?:

NONE

/approve


Weak TLS Cipher Finding For Rancher ETCD

What kind of request is this (question/bug/enhancement/feature request): Enhancement
Steps to reproduce (least amount of steps as possible): This finding was produced during our regular vulnerability scan.  Additionally there was no option to limit the TLS ciphers for ETCD in the cluster.yaml, as the TLS-CIPHERS option was not available on your implemented version (schreenshot attached).
Result:
Vulnerability Scan - Weak TLS cipher that are not approved.
Testing Hardening Ciphers on Rancher ETCD - Resulted in a broken/restarting ETCD container.
Other details that may be helpful:  If the cipher issue has been fixed in a newer version, please let me know and I will make the effort to upgrade our cluster to a compliant version.  Thanks.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): Rancher 2.3.6
Installation option (single install/HA): Single Install of rancher/rancher

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Custom
Machine type (cloud/VM/metal) and specifications (CPU/memory): Cloud/EC2
Kubernetes version (use kubectl version):

kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.1", GitCommit:"d647ddbd755faf07169599a625faf302ffc34458", GitTreeState:"clean", BuildDate:"2019-10-02T17:01:15Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.9", GitCommit:"2e808b7cb054ee242b68e62455323aa783991f03", GitTreeState:"clean", BuildDate:"2020-01-18T23:24:23Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

[root@prod-t3 ~]# docker version
Client: Docker Engine - Community
Version:           19.03.8
API version:       1.40
Go version:        go1.12.17
Git commit:        afacb8b
Built:             Wed Mar 11 01:27:04 2020
OS/Arch:           linux/amd64
Experimental:      false
Server: Docker Engine - Community
Engine:
Version:          19.03.8
API version:      1.40 (minimum version 1.12)
Go version:       go1.12.17
Git commit:       afacb8b
Built:            Wed Mar 11 01:25:42 2020
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          1.2.13
GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version:          1.0.0-rc10
GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version:          0.18.0
GitCommit:        fec3683

So turns out there is away to set the TLS ciphers on ETCD, you need to add the following key to your ETCDs > extra_args:
cipher-suites: "TLS_CIPHER_SUITE1, TLS_CIPHER_SUITE2"
Found this from the IBM k8s documentation:
https://www.ibm.com/support/knowledgecenter/SSBS6K_3.1.1/installing/tls.html


Support for setting redirect-url in token-fetch portion of confidential-app authentication code flow

Changes

Correcting some broken links in README
Support for adding RedirectURI in token-fetch portion of confidential-app authentication code flow.

See also this comment elsewhere for context https://github.com/Azure/azure-sdk-for-go/pull/13565#issuecomment-739461185
The change retains the ability to have a default RedirectURI while still allowing the caller to set one if available.
@jhendrixMSFT

@harikb I've asked an MSAL expert to review this change.

Superseded by https://github.com/AzureAD/microsoft-authentication-library-for-go/pull/188


Flashing firmware 0.3.2 stuck at empty settings

I flashed the latest firmware 0.3.2 on my Keyplus Rev03 and it appears to flash fine but the info states "Warning: Empty settings!"  Every time I've flashed the firmware I end up with a device ID set to 255.  So I go to Device and RF, pick a layout file and set Device id to 0 and generate a new RF settings, then program.  This time I get an error "'encoding' is an invalid keyword argument for this function".  I am able to flash back to firmware 0.3.1 without any issues and get it back working again.

The device settings resetting every time you flash is an unfortunate side effect of keyplus storing its settings in the flash section of the xmega instead of eeprom.
The 'encoding' is an invalid keyword argument for this function error is likely because Python 2 (which the Windows version of the flasher is built with) version of open() doesn't support the encoding argument introduced in this commit.

Try using this build.

Hmm. You should be able to download it from here

This appears to be a bug with Keyplus Flasher's port to PyQt5. It seems to be fixed in the latest build from Keyplus CI.

Thanks, that did it.  I was able to flash the 3.3 firmware without issue.  And now my volume keys are working.  Thanks for the hard work.


Problem With Multi-GPU Training

Hello,
I have been training the c-vivit encoder and have encountered an issue when attempting to use multiple GPUs. While the encoder works well with a single GPU, I receive a RuntimeError when attempting to use multiple GPUs. Specifically, the error message is: "The size of tensor a (64) must match the size of tensor b (0) at non-singleton dimension 2." I have noticed that changing the dim_head parameter causes the size of tensor a to change as well.  Could you please provide some insights into what might be causing this issue?

You are getting tensor size mismatch error because batch size is not divisible by the number of gpu you are using. You can either change the batch size or number of gpu such that it is divisible by each other. Please let me know if the issue persists.

Hello @varunponda ,
Thank you very much for your reply. Despite implementing your suggestions, I continue to face the division by 0 error when using batch_size=3 with 3 GPUs. I suspect the issue might lie within my custom dataloader, as it groups batches based on their number of slices, and my input images possess varying layers. Therefore, I employed the dataloader from this repository after slicing input images to a uniform size, but the error persisted. The error also occurs prior to data loading. I know this because I am working in a ~10TB of data and dataset initialization takes ~1 hour but error happens after couple of seconds. Also code works when I don't wrap the model.
To further investigate the problem, I attempted the following:
-Utilized PyTorch's DistributedDataParallel (DDP) to wrap the model rather than huggingface accelerator, but the issue remained unresolved.
-Tested PyTorch 2.0 on an 8-GPU node within an HPC to eliminate the possibility of issues with my local SSH, but the problem remained.
-Employing Fully Sharded Data Parallel (FSDP) in the Accelerate launch seems to resolve the issue. For now I am using this for my training. Though I needed the change the code a little to make it work. The dataloader is wrapped before the cycle is called, causing the dataloader does not load images after 1 iteration with FSDP. I simply put cycle(dl) before wrapping the dataloader.
I believe that the discriminator model may not be wrapped correctly with DDP. I would sincerely appreciate any further guidance or recommendations you might have to help me address this issue.
Thank you once again for your assistance.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3460

Questions ?
Please refer to the Backport tool documentation


fix e2 editor crashing when unexpected values are put in function definition

A players game would crash if they put an invalid value into a function definition such as function name(1) or function name(".

Could you post an example where this crashes? I can type function name(1)  into my editor without it crashing.

typing function f(1 crashes me as soon as I type the 1

i just discovered this issue doesnt seem to exist on the workshop version

Ah, I'm on an older version, this is caused by what I changed in #1717.

It'd be good to get this fixed before we make an October workshop release.


Database connection is not correctly destroyed after knex 0.12.2

Hey 👋
I have recently updated knex from 0.12.2 to 0.12.7 and noticed that the database connection is not closed when calling connection.destroy. The result is, that a process doesn't exit.
Here is a snippet:
....
this.connection = knex(...);

return this.connection.transaction(function(txn) {
   return doSomething(txn)
       .finally(function() {
           return self.connection.destroy()
                .then(function () {
                    debug('Destroyed connection');
                });
       });
})

NOTE: debug('Destroyed connection') get's called.
I have tested all knex versions and it starts in 0.12.3.
The code works for me with 0.12.2, but does not with 0.12.3.
Is there anything i can change in my code to get it working with > 0.12.2?
Otherwise, I went through the changes, maybe related to the pool update https://github.com/tgriesser/knex/pull/1702?
Thank you so much!
Kate

Based on the changelog I would guess #1731 causes this in some way. Some changes to acquireConnection was done so that connections are properly returned to the pool.

I have tested with MySQL only. Tested multiple mysql versions.

@kirrg001 Ah yes, makes sense the timeout would cause the process not to exit, but it also makes sense why @tgriesser added it. In order to properly release connections back to the pool, the two handlers must be seperate for TimeoutError and pool.acquire, and so a timeout check is inevitable.
I agree clearTimeout should be called when an error occurs as well.
Does your app's process "eventually" exit, or does it idle beyond acquireConnectionTimeout with its default value of 60000 ms?
Unfortunately I don't have an answer to this problem right now. Will try look into this some more.

Does your app's process "eventually" exit, or does it idle beyond acquireConnectionTimeout with its default value of 60000 ms?

It exits after the timeout.
My use case is a bit complex and 3 database connections are created, one of these connections can throw an error at the moment if the database does not exist, knex tries to acquire a connection to this target database and fails. That's why clearing the timeout solves this issue for me. Thanks for your fast support here.

@kirrg001 I see, I thought your app remained idle eventhough all attempts of acquiring connections were successful, but I understand now that's not the case.
I'll merge this in right now, definitely a bug. Thanks for the report!

@kirrg001 FYI: Pushed 0.12.8

Thanks so much 🐩


https://schema.org/MedicalBusiness is not present in JSON-LD format releases

Transferred from schemaorg issue (#2343) as problem is in code now in this repo.
Problem symptoms: In dump files, some enumeration values do not appear in output.

Not a defect


Use  cz-conventional-changelog via commitizen and husky automations

Place a husky webhook in order to use conventional-changelog using commitizen and husky.

Aborted I will use hussky only and somehow make an interactive Version bumping.


Promises based API

Can you provide a Promises API.
End users like me are wrapping the cbs in Promises, but might as well have the lib provide that

Take a look at the API docs, you will notice most functions do indeed
return promises as well as calling the callback function, so you could use
either.
https://jsforce.github.io/jsforce/doc/Connection.html#query
On May 4, 2017 7:45 AM, "Edgar (Algebr)"<EMAIL_ADDRESS>wrote:

Can you provide a Promises API.
End users like me are wrapping the cbs in Promises, but might as well have
the lib provide that
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jsforce/jsforce/issues/639, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFNWkX6CwIhKAGoqUvKMQJarOchb8ZrJks5r2ch1gaJpZM4NQnqe
.

@paustint nice, thanks!


Feat #15: Add google oauth

🚧 DRAFT - still needs terms & privacy policy
This adds Google as an OAuth provider, similar to how Twitch and GitHub are handled. Powered by nuxt-auth-utils ofcourse. Fixes #15 .
💚

I have added a terms and a privacy. I will ask to Google to validate the OAuth application.

Just you know:
Google is reviewing the app 😴


Refactor container/array.d

Main changes:
RemoveAt, InsertAt - Private API.
Capacity - It can now shrink and enlarge - however there is no public API to enlarge.
Most internals re-factored to use RemoveAt, InsertAt - avoids a lot
of duplication and ensures proper clean-up when objects were being removed.
Fix issue:
13619
13642

#2631 made it in

@damianday Ping

#2631 was merged, rebase?

Sorry for leaving this out for so long.
I like this as it consolidates all of array's code into basically 2-3 functions. It removes known bugs, and I've noticed it also fixes not yet filed bugs, such as how removeBack doesn't 0-out its removed elements.
@damianday it's been a while, but are you willing to return to this one?

@burner, @monarchdodra I'll try and get to this at weekend.
Thanks


GitMate breaks down

Hi,
I'm one of the GitMate maintainers and I saw in our logs that you're using it because we got an error there.
Apparently coala times out, seems to be taking longer than 10 minutes - does it take that long locally?
CC @nkprince007 @fneu from GitMate as well, hope we can fix it

It seems you've just enabled the issue triaging. I'm just scraping all issues from your repository and will give you some more information about this in a few minutes or so.
Because of the rate limit we can't scrape all information (including all comments and authors) right now - our system is already set up to scrape this in the next days over which the predictions will become more precise every day.
Sit tight!

The contributors most likely able to help are:
@singhpratyush

ok this is an issue on our side, we think we've found it and deploying a fix within the next minutes

We've released our hotfix, sorry for the disturbance; do let us know if we can do anything else to make GitMate better for you!


Initial support for units

at the moment, the support is integrated with each kinetic model, so not all functions all supported. testing for units was added in the test_vector_models function in runtests.jl

Codecov Report

Merging #49 (55eeed6) into main (149da25) will increase coverage by 1.01%.
The diff coverage is 68.57%.

@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   53.37%   54.38%   +1.01%
==========================================
  Files          14       15       +1
  Lines         356      388      +32
==========================================
+ Hits          190      211      +21
- Misses        166      177      +11

Impacted Files
Coverage Δ

src/kinetic_models/MarcusHushChidseyDOS.jl
41.66% <33.33%> (-2.78%)
:arrow_down:

src/kinetic_models/unitful.jl
62.50% <62.50%> (ø)

src/kinetic_models/AsymptoticMarcusHushChidsey.jl
100.00% <100.00%> (ø)

src/kinetic_models/ButlerVolmer.jl
100.00% <100.00%> (ø)

src/kinetic_models/Marcus.jl
100.00% <100.00%> (ø)

src/kinetic_models/MarcusHushChidsey.jl
84.61% <100.00%> (+2.79%)
:arrow_up:

src/kinetic_models/kinetic_models.jl
75.00% <100.00%> (+2.27%)
:arrow_up:

src/utils/misc.jl
100.00% <100.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 149da25...55eeed6. Read the comment docs.

This is okay CI-wise, but I'd be more interested in energy units, e.g. specifying λ in Marcus-like models in eV or kcal/mol or whatever, or being able to feed kT instead of just T...the latter is probably more kwarg-engineering than dealing with units, per se, though...I don't think there are too many alternate voltage scales out there... ;)


MMDet-free Version

Hi CO-DETR team, thank you for your great work!
I would like to ask if exists and you are in possession of a version of your code that does not use the mmdet framework, so that I can implement your novelty to the original DINO code that only uses pytorch without any other external framework.
Thanks!

We have no plans to add another version of Co-DETR for the time being.


Workaround errors in Visual Studio project system

Alternative to #590 which doesn't require editing every .csproj, but has the same effect. This should solve the issue with project system error prompts which were popping up dozens of times when VS launched. Tested in VS 2017 15.9.
FYI @ajcvickers

Hmm, github <-> Azure Pipelines is not playing nice today.
/AzurePipelines run Extensions-ci

/AzurePipelines run all


[Feature]: Add high priority documentation for Workflow Lifecyle transitioning

Contact Details
<EMAIL_ADDRESS>What should we build?
Please create reference documentation for the following topics on https://workfloworchestrator.org/orchestrator-core/ using the "how to write docs" information located in https://docs.google.com/document/d/10Fz98moy-pMyyk__PTR8xg4aeHuIv5VegJa99ZpzvkI/edit

[ ] Input Steps
[ ] Callback Steps
[ ] Waiting Steps
[ ] Standard Steps
[ ] Initial Input Form
[ ] Inject Args - Type hinting and autocasting

Relevant pseudo code
No response

https://workfloworchestrator.org/orchestrator-core/architecture/application/workflow/#default-workflows


Fix lots of small issues reported by staticcheck

What is the purpose of this change? What does it change?
Cleanup a few code style issues found by staticcheck.
There are a few noteworthy changes though:

archiver_test: Only skip symlinks on windows The test contained one continue too much and skip too much on windows
dump: Fix error check
backend.gs/rclone: Replace deprecated functions
"restic/file: Use FileType for all File constants"

Was the change discussed in an issue or in the forum before?
No.
Checklist

[x] I have read the Contribution Guidelines
[x] I have enabled maintainer edits for this PR
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
No user facing changes [ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Rebased to fix the conflict with the random reader cleanup.
@greatroar I didn't test the last change, but since the test seems to run successfully on AppVeyor is assume it to be fine. And otherwise this would be a bug that needed fixing as the previous behavior of skipping everything was clearly not intended.


[BUG] Minified React error when deploy production mode

Describe the bug
Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful
To Reproduce
Python version set to 2.7
Now using node v16.19.0 (npm v8.19.3)
Using ruby version 2.7.2
Using PHP version 8.0
Steps to reproduce the behaviour below:

We are using the default package: npm init @shopify/hydrogen -- --template demo-store
After pushing the code to github.
We use netlify to deploy.
After deploy success. Don't any error in deploy log
Check site empty. An error appeared under console.log.
Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful
Expected behaviour
Error on console.log is gone
Screenshots

Additional context
Under local works fine
Package.json
{ "name": "tempabc", "description": "Demo store template for @shopify/hydrogen", "version": "0.0.0", "license": "MIT", "private": true, "engines": {  "node": ">=16.14.0" }, "scripts": {  "dev": "shopify hydrogen dev",  "build": "shopify hydrogen build",  "preview": "shopify hydrogen preview",  "lint": "eslint --ext .js,.jsx,.ts,.tsx src",  "lint-ts": "tsc --noEmit",  "test": "WATCH=true vitest",  "test:ci": "yarn build -t node && vitest run" }, "devDependencies": {  "@shopify/cli": "3.13.0",  "@shopify/cli-hydrogen": "3.13.0",  "@shopify/prettier-config": "^1.1.2",  "@tailwindcss/forms": "^0.5.2",  "@tailwindcss/typography": "^0.5.2",  "eslint": "^8.18.0",  "eslint-plugin-hydrogen": "^0.12.3",  "playwright": "^1.22.2",  "postcss": "^8.4.14",  "postcss-import": "^14.1.0",  "postcss-preset-env": "^7.6.0",  "prettier": "^2.3.2",  "tailwindcss": "^3.0.24",  "vite": "^2.9.13",  "vitest": "^0.15.2" }, "prettier": "@shopify/prettier-config", "dependencies": {  "@headlessui/react": "^1.7.0",  "@shopify/hydrogen": "^1.6.5",  "clsx": "^1.1.1",  "graphql-tag": "^2.12.6",  "react": "^18.2.0",  "react-dom": "^18.2.0",  "react-use": "^17.4.0",  "typographic-base": "^1.0.4" }, "author": "apac" }

Hi! Unfortunately, hydration errors are really hard to debug in SSR React.
The latest version of the demo-store is deployed to https://hydrogen.shop/ and it doesn't show any error there so I'm not sure why you're getting this in your deployment.
I'd recommend commenting out portions of the code until the error is gone. Then, add back a few components at a time and try to find which element introduces it.

Hi! Unfortunately, hydration errors are really hard to debug in SSR React. The latest version of the demo-store is deployed to https://hydrogen.shop/ and it doesn't show any error there so I'm not sure why you're getting this in your deployment.
I'd recommend commenting out portions of the code until the error is gone. Then, add back a few components at a time and try to find which element introduces it.

We use the Hydrogen app to deploy (https://apps.shopify.com/hydrogen). It works well.
However, when uploading to netlify (https://shopify.dev/custom-storefronts/hydrogen/deployment#deploy-to-netlify) to deploy it shows an error

Hey @haunguyenlxag, have you enabled password protection on the site in Netlify? I get this error if I enable it, but not if it's disabled. Hope this helps you, even though it doesn't answer why the error happens.

No, I don't enabled password on Netlify.


Do not create GRPCServer when grpc is not enabled

What this PR does / why we need it: set self._grpc_server in ModelServer to None if enable_grpc=False. This fixes #2870 that an exception is thrown when self._grpc_server.stop is called during termination because server.start was not called.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2870
Type of changes

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

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.
This is difficult to reproduce because I cannot see any exception from the logs for some reason. It seems that nobody is awaiting on this async task.
I had to add asyncio.get_event_loop().set_exception_handler(print) to https://github.com/kserve/kserve/blob/47bd3cc89f8509d4afbabf2a30be94d61277a3b6/python/kserve/kserve/model_server.py#L172
Then I got the exception in the logs.
2023-05-04 16:56:15.534 50190 root INFO [register_model():189] Registering model: custom-model
2023-05-04 16:56:15.534 50190 root INFO [start():130] Setting max asyncio worker threads as 14
2023-05-04 16:56:15.534 50190 root INFO [serve():140] Starting uvicorn with 1 workers
2023-05-04 16:56:15.550 50190 uvicorn.error INFO [serve():84] Started server process [50190]
2023-05-04 16:56:15.550 50190 uvicorn.error INFO [startup():45] Waiting for application startup.
2023-05-04 16:56:15 DEBUG [timing_asgi.middleware:40] ASGI scope of type lifespan is not supported yet
2023-05-04 16:56:15.550 50190 uvicorn.error INFO [startup():59] Application startup complete.
^C2023-05-04 16:56:19.618 50190 root INFO [stop():172] Stopping the model server
2023-05-04 16:56:19.618 50190 root INFO [stop():174] Stopping the rest server
2023-05-04 16:56:19.618 50190 root INFO [stop():177] Stopping the grpc server
2023-05-04 16:56:19.619 50190 root INFO [stop():67] Waiting for gRPC server shutdown
<_UnixSelectorEventLoop running=True closed=False debug=False> {'message': 'Task exception was never retrieved', 'exception': AttributeError("'NoneType' object has no attribute 'stop'"), 'future': <Task finished name='Task-4' coro=<ModelServer.stop() done, defined at /Users/jdong183/Projects/kserve/python/kserve/kserve/model_server.py:170> exception=AttributeError("'NoneType' object has no attribute 'stop'")>}
2023-05-04 16:56:19.709 50190 uvicorn.error INFO [shutdown():263] Shutting down
2023-05-04 16:56:19.811 50190 uvicorn.error INFO [shutdown():64] Waiting for application shutdown.
2023-05-04 16:56:19.812 50190 uvicorn.error INFO [shutdown():75] Application shutdown complete.
2023-05-04 16:56:19.812 50190 uvicorn.error INFO [serve():94] Finished server process [50190]

This exception is not thrown after fixing it.
I also ran pytest -q test_server.py locally to test related code.

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Resolve conflicts.

@greenmoon55 can you add a small release note do describe this fix?

@greenmoon55 can you add a small release note do describe this fix?

Added.

/assign @yuzisun
Waiting for some E2E test runs.

Congrats on your inception PR!
/lgtm
/approve


Current Ubuntu 14.04 uses kernel with degraded disk performance in SMP environment

Not sure if this can be considered as a bug per se, but here's a heads up anyway.
I discovered that the Ubuntu Server 14.04 amd64 ISO image currently used by the template ( https://github.com/jedi4ever/veewee/blob/8a4323471a6a4705799b3920ab01519c65dd55b7/templates/ubuntu-14.04-server-amd64/definition.rb#L9 ) uses a kernel which is compiled with the CONFIG_CONTEXT_TRACKING_FORCE set to y.
This leads to the following disk performance degraded in SMP environments (i.e. more than one CPU):
vagrant@ubuntu-14:~$ dd if=/dev/zero of=bigfile bs=1024 count=5000000
5000000+0 records in
5000000+0 records out
5120000000 bytes (5.1 GB) copied, 46.6511 s, 110 MB/s

For comparison, a kernel which has this flag disabled/removed (and uses multiple CPUs):
vagrant@ubuntu-14:~$ dd if=/dev/zero of=bigfile bs=1024 count=5000000
5000000+0 records in
5000000+0 records out
5120000000 bytes (5.1 GB) copied, 10.4548 s, 490 MB/s

Took me a while to figure this out, here are the resources I used to figure thus out:

My Superuser Question, answered with my solution
Post in virtualbox forum,  self-answered
Ubuntu bug report, again self-answered
Information about the CONFIG_CONTEXT_TRACKING_FORCE flag
Another Ubuntu report which indicates this flag has been changed in recent kernel and is fixed/soon to be released

YMMV

Would sudo apt-get dist-upgrade resolve this?

¯\_(ツ)_/¯
I moved on and am now using https://github.com/chef/bento . Over the past two years, in my experience, this was the most reliable (and easiest) way to build generic as well as specialized boxes.

Closing, as this issue isn't relevant to me anymore (not using 14.04)


85% faster YouTube embeds with iframe srcdoc!

slug: faster-youtube-embeds
cover_image: https://user-images.githubusercontent.com/6764957/173108977-ac7f5f0f-dc70-4982-bd48-9871885136ed.png
description: It turns out you can massively improve load times and lighthouse scores by moving the src embed into srcdoc and requiring an extra click to load the JS!
TLDR

The Problem
When I ran a PageSpeed Insights test on https://www.swyx.io/new-mac-setup-2021 I was surprised to find really poor performance:

screenshot

This was an obvious result of me loading the YouTube embed by YouTube's recommended method:

This loads some JavaScript eagerly that is unused during first render, which is obviously inefficient.
The Solution
It turns out you can massively improve load times and lighthouse scores by moving the src embed into srcdoc (StackOverflow answer) and requiring an extra click to load the JS:

This one change (diff) causes much better performance.

screenshot

The new embed code is here:

	<svg
version='1.1'
viewBox='0 0 68 48'
width='68px'
style='position: relative;'
	>
	<path d='M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z' fill='#f00'></path>
	<path d='M 45,24 27,14 27,34' fill='#fff'></path>
		  </svg>

This works without JavaScript; if you use a framework it's up to you to figure out how to adapt it to your framework.

This reader adapted it to work with Hugo!

Alternative
I haven't tried this yet but probably should - https://github.com/paulirish/lite-youtube-embed I just have a wariness around web components and dont know the JS overhead.

note that paul irish’s solution may have some issues in mobile browsers https://github.com/paulirish/lite-youtube-embed/issues/6


vagrant: bump all Vagrant box versions

Mostly to pick up Go 1.17

test-me-please

/mlh new-flake Cilium-PR-K8s-1.19-kernel-5.4

test-1.16-netnext

test-1.19-5.4

Does the branch name need to be different? The docs say:

Once you change the image versions locally, create a branch named pr/update-packer-ci-build and open a PR github.com/cilium/cilium. It is important that you use that branch name so the VM images are cached into packet.net before the branch is merged.

cc @gandro

Does the branch name need to be different? The docs say:

Once you change the image versions locally, create a branch named pr/update-packer-ci-build and open a PR github.com/cilium/cilium. It is important that you use that branch name so the VM images are cached into packet.net before the branch is merged.

Indeed, thanks for reminding me. This also explains why the netnext jenkins jobs failed during VM provisioning. I'll reopen the PR from a branch with the correct name.

Superseded

Does the branch name need to be different? The docs say:

Once you change the image versions locally, create a branch named pr/update-packer-ci-build and open a PR github.com/cilium/cilium. It is important that you use that branch name so the VM images are cached into packet.net before the branch is merged.

Indeed, thanks for reminding me. This also explains why the netnext jenkins jobs failed during VM provisioning. I'll reopen the PR from a branch with the correct name.

Done: #17394 Closing this PR.


Shadow Update Mode 'Once' acting different after 1.61.3

About previous issue #5273, VSM shadows seems fixed.
Shadow update mode 'Once' fires while models loading I assume.
This issue is happening with VSM shadows.
Also VSM blur seems acting weird / not working.
Screenshots
Editor Screenshot at initialize

Editor Screenshot (Shadows updated by clicking Light Mapper UI button)

Launch Screenshot 1.62.2

Launch Screenshot 1.61.3 (With SS applied. Sorry about that, it's built project.)

We've made this further VSM fix to actually apply blur few days ago, but this has been not released yet - which will fix some (all?) of the problems here.
https://github.com/playcanvas/engine/pull/5288

Thanks for reply. Did not see #5286 . Some shadow problem besides blur is present. Will wait for changes to check that. Sphere has that visible bug too.

1.62.2

1.61.3

Sphere 1.62.2

Sphere 1.61.3

Can you try against https://code.playcanvas.com/playcanvas-latest.min.js which is the main branch of the engine and would include the fix #5286

Tested it. Problem persists still. The project you provided in #5286 has same bug too.

I've created a new project to try to showcase this:
https://playcanvas.com/project/1071416/overview/vsm-bug-162-shadow-once
1.61.3: https://launch.playcanvas.com/1737145?use_local_engine=https://code.playcanvas.com/playcanvas-1.61.3.js

1.63.0: https://launch.playcanvas.com/1737145?use_local_engine=https://code.playcanvas.com/playcanvas-1.63.0.js

Noticed the shadow around the ball is different
This only occurs if the shadow is set to 'Once'. 'Realtime' looks the same on both engine versions


Images do not render properly in the feed

Need some translation from MD image tags to HTML.

Fixed in commit https://github.com/steemrss/steemRSS/commit/3cf959b2e9a188784e20fac851b47a34f6e95d71


Update metasploit.vm.nuspec

Doc update for f4ee2a9f5276759d365f46cc4f43a29bf15536e4 to fix SHA256 hash, sorry for not including in other PR

Superseded by https://github.com/mandiant/VM-Packages/pull/612


support: Use delivery_email instead of email.

I think this should be correct, but I didn't manually test.

Merged as 9fc791926ba7ff44410f8f2bd3ce43500e1ebf13, after adding a few more similar migrations.
@hackerkid random sidenote: We should probably split out from analytics/views.py an analytics/stats_views.py (basically the stuff powering stats/) since that piece has ~100% test coverage.  And maybe also an analytics/support_views.py.


Configure watch

Codecov Report

Merging #169 into master will not change coverage.
The diff coverage is 50%.

@@           Coverage Diff           @@
##           master     #169   +/-   ##
=======================================
  Coverage   95.48%   95.48%
=======================================
  Files          25       25
  Lines         266      266
  Branches       36       37    +1
=======================================
  Hits          254      254
  Misses         11       11
  Partials        1        1

Impacted Files
Coverage Δ

packages/haste-core/src/haste.js
80.76% <50%> (ø)
:arrow_up:

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 3ef8fa7...34733d8. Read the comment docs.


Localization

Did anybody think/experiment/work with Localized texts using ory editor? While the format data is stored in is a serializable tree structure (according to docs) I don't see an easy way to maintain layout while making the texts translatable. (obviously I could just keep copies of the whole state with different texts in different languages but that sort of beats the purpose of having reusable layout in the first place). Are there any recommendations for this?

There are currently no recommendations for translating content. You could maybe write a plugin that shows content based on browser language.

Thanks for getting back to me. That's what I was afraid of. Custom plugin is probably the only way then. Would be complicated though. Doesn't make much sense to keep content from all languages in the state I guess so it would have to be returned from back-end conditionally based on some ID. Something to think about.

Typically translations aren't 1:1 so layouts aren't 1:1 either. That's probably why no one has come up with this requirement before.

IMO, translating content is out of scope for this repository. Closing - feel free to add ideas though if you see this differently.


GOROOT or something is incorrect when opening terminal

After using TinyGo extension, GOROOT or something is incorrect when opening terminal.

Probably due to the environment variables set below.
https://github.com/tinygo-org/vscode-tinygo/blob/96d460ad5e3b8480e85c5bd6a8b9e9061e338972/src/extension.ts#L96-L99

This is intentional. Why is this a problem?

In my case, for example, I write udp server and usbcdc apps in go.
And these applications are often managed along with microcontroller-side sources written in tinygo.
In such a case, I would want to build from the vscode terminal.


Add "propagateCreateError" and "createRetryIntervalMillis" parameters to PoolConfig

Here is a Knex  issue that can be solved by setting  propagateCreateError to "false":
https://github.com/knex/knex/issues/2820

care to send a PR? 😉

Sure, I'll make it on this weekend.

I reviewed the issue you linked and it seems like this is not suggested by knex team and should not be publicly configurable.
No plans to add configuration that is not publicly exposed by knex (especially when its discouraged by their maintainers, see https://github.com/knex/knex/issues/3455), but if its just about the typings, you can always get around that via type casting.

Here is a Knex issue that can be solved by setting propagateCreateError to "false":

No it cannot. That should never be set to false with knex. It just hides the errors and increases delay when client notices that something is wrong. Knex is designed a way that it should be set true.


Blurrish Effect on Photo after Upload to Marzipano Tool

Hey, the entire photo is from camera Insta360 One X. Photo resolution | 6080 x 3040 in JPEG or DNG raw.
Also, I tried to use Adobe Lightroom for little adjustments before uploading to Marzipano Tool - but that's not the right way
Any solution for this blurish effect on each side?

The tool uses the Lanczos interpolation algorithm when resizing the original image to generate resolution levels. No algorithm is perfect for all images, and some images may perform better with other algorithms.
My suggestion is to try processing your panorama with some other tool, such as Hugin. Most cubemaps can be displayed using the code generated by the tool, as long as the filenames conform to the expected format and you edit the generated data.js file with the appropriate level and tile sizes.


cmd/go: will the proxy.golang.org be the default value for the GOPROXY?

Hi Go team, I'm the author of goproxy/goproxy.cn. I started this project with China's well-trusted cloud service provider Qiniu Cloud mainly to solve the problem that we can't go get modules like golang.org/x/... through Go modules in the mainland of China. But now I'm starting to have some concerns that it makes no sense to develop this project.
Note that I'm here not talking about proxy.goalng.org shouldn't be blocked in China (of course it shouldn't be), so if anyone wants to talk/argue about it, please head to #31755. I'm here talking about a dangerous thing that @rsc mentioned in Go Modules in 2019:

...
We are aiming to have the Google-run module mirror ready to be used by default in the go command starting in Go 1.13. Using an alternate mirror, or no mirror at all, will be trivial to configure.
...

If I have understood correctly, starting with Go 1.13 the proxy.goalng.org will become the default value for the GOPROXY. Is that really a right thing to do?
As @davecheney mentioned in https://github.com/golang/go/issues/25530#issuecomment-469583362, now the proxy.golang.org is definitely not only blocked in the mainland of China. So when the proxy.golang.org becomes the default, does it mean that Go beginners in these countries will not be able to use their brand new Go 1.13 to run ANY project that imports third-party packages? Of course, if they don't know how to break through the network blockade, and don't know that there is a GOPROXY needs to be manually modified by them (after all, they are beginners, how can they know).

Moreover, as you mentioned in FAQ:

...
In order to improve our services caching and serving latencies, new versions may not show up immediately. Try again in an hour or two, and if it still isn't showing up, file an issue.
...

I think one or two hours is not good enough at all. I mean, if a module has just fixed a vulnerability and released a new version, we will not be able to get this new version immediately with the default GOPROXY, right?
In summary, due to the above two problems, I think it is dangerous to make the proxy.golang.org the default value of the GOPROXY. So, have you really decided to do this?

You should never do that. Think about our Chinese college students. Many of us are Go beginners (even programming beginners) and don't even know anything like the GOPROXY at first. If we can't use Go smoothly in the first place, why should we learn Go instead of learning Python/Ruby/C/C++?

This is a duplicate of #31755. Let's consolidate discussion on that earlier bug.

Hi @bradfitz, I don't think this one is a duplicate of #31755. I'm talking about there should be no default GOPROXY.

Do I make myself clear? The most dangerous thing I mentioned was to have a Go beginner use a service they would never reach without any knowledge of it and without making any changes...
Imagine how disappointing they would be if they couldn't run a simple "hello, world" with the gin framework or something else. Please don't think that this is a minority problem (in fact it is not) and ignore it.

@aofei  If you are finding a proxy, try goproxy.io.

The Go Team can't help you across the wall. Just find your own way.

@oiooj I'm not finding a proxy... have you ever read what I wrote? And I never asked the Go team to help me across anything.

Feel free to repeat any missing concerns or information on #31755. They're related enough that it's not worth having two open.


mkdir - Permission denied in apify/actor-node-playwright-chrome docker container

Hello,
When I try to run my scraper inside of apify/actor-node-playwright-chrome container i get the following error:
Error: EACCES: permission denied, mkdir '/home/myuser/app/scraper/storage/key_value_stores/__CRAWLEE_MIGRATING_KEY_VALUE_STORE__'
    at Object.mkdirSync (node:fs:1382:3)
    at module.exports.makeDirSync (/home/myuser/app/scraper/node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/mkdirs/make-dir.js:23:13)
    at MemoryStorage.handleDefaultKeyValueStore (/home/myuser/app/scraper/node_modules/.pnpm/@crawlee+memory-storage@3.3.1/node_modules/@crawlee/memory-storage/memory-storage.js:193:42)
    at MemoryStorage.purge (/home/myuser/app/scraper/node_modules/.pnpm/@crawlee+memory-storage@3.3.1/node_modules/@crawlee/memory-storage/memory-storage.js:151:49)
    at async purgeDefaultStorages (/home/myuser/app/scraper/node_modules/.pnpm/@crawlee+core@3.3.1/node_modules/@crawlee/core/storages/utils.js:23:9)
    at async PlaywrightCrawler.run (/home/myuser/app/scraper/node_modules/.pnpm/@crawlee+basic@3.3.1/node_modules/@crawlee/basic/internals/basic-crawler.js:419:9)
    at async main (file:///home/myuser/app/scraper/dist/main.js:134:25)
    at async file:///home/myuser/app/scraper/dist/main.js:272:1 {
  errno: -13,
  syscall: 'mkdir',
  code: 'EACCES',
  path: '/home/myuser/app/scraper/storage/key_value_stores/__CRAWLEE_MIGRATING_KEY_VALUE_STORE__'
}

Dockerfile can be found here: https://github.com/pluget/services/blob/main/Dockerfile
Best regards, and thanks in advance for help.
mble
Originally posted by @mbledkowski in https://github.com/apify/crawlee/discussions/1887

Solved by using USER root


Livy Example for Python

Hi,
I am having a hard time getting livy running on my local machine. I have Windows 10, Python 3.6, and pyspark 2.4.1, and livy 0.5.0. I have a csv file that I want to read in with pyspark. Can someone show me simple steps of using livy to do this? I'm trying to see if livy is a good option to be able to run spark code from web applications.

Hi Daniel,
I've unfortunately not got any experience with setting up Spark or Livy on Windows - I've mainly used with it through vendor-configured distributions like Amazon EMR or Cloudera. For support with setup, I suggest asking on the Livy users mailing list (see https://livy.apache.org/community/).
If you're looking for an example on building a web application interfacing with Spark through Livy, I've given a talk on this that you can watch here (the app stuff is at the end):
https://www.youtube.com/watch?v=iHg0NwEjbxk
However, if you're writing a web application in Javascript (and not a Python tool like Plotly Dash in my talk), you might want to cut out the middle man and call the Livy HTTP API directly from Javascript.

Sounds good. Thanks for the helpful response.


dynamic scaling of images

This one was already merged separately as part of the large staging/20210820 merge


Produce errors for bad modifiers in .js files

We should produce an error for this JavaScript code:
function f() {
    export const x = 0;
}

Probably the same "Modifiers cannot appear here." error as for the same code in a .ts file.

Track at #29213


⚠ Bofrost.at has degraded performance

In 44813a4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 943 ms

Resolved: Bofrost.at performance has improved in 24c5215 after 6 minutes.


Question regarding SRRF parameters w.r.t NanoJ-SRRF

Hello!
I just wanted to ask some questions regarding some parameters for SRRF that are currently not present in NanoPyx but are present in NanoJ-SRRF.
I noticed that the parameters "Axes in Ring" and "Max temporal analysis block size" found in NanoJ-SRRF are currently not present in NanoPyx's SRRF function.
I wanted to kindly ask whether these parameters are currently being set automatically or are yet to be implemented.
Thank you for your help!

Hello!
Yes, those parameters are no longer used in the NanoPyx version. "Axes in Ring" now has a fixed value (the recommended to be used in all cases). "Max temporal analysis block size" is no longer a parameter because in NanoPyx you can manually change the block size (as a slider) for the temporal analysis (so there was no need for a maximum value as an extra parameter).
I hope this answered your question! SRRF in NanoPyx is completely ready to be used :)
Thanks and all the best!
Inês

Hello Inês,
I really appreciate the quick and detailed reply, thanks!
I am currently using NanoJ in Java and got really excited when NanoPyx was released as Python is more flexible in terms of adaptation and support.
I understand that NanoPyx is still in development and wanted to say major kudos for the team’s dedication in developing NanoPyx.
One more question, I also realized that the parameters I am using in NanoJ-SRRF's advanced options, “Gradient Smoothing” and “Gradient Weighting”, are missing from NanoPyx. can you please pinpoint me to the Java version of the code? I am trying to use these advanced option parameters in my analysis.
Thanks again!

Hello,
Sorry for the late reply! Here you will find the java code for the NanoJ-SRRF: https://github.com/HenriquesLab/NanoJ-SRRF/blob/master/SRRF/src/nanoj/srrf/java/SRRF.java The parameters "doGradWeight" and "doGradSmooth" refer to the gradient weighting and gradient smoothing.
All the best,
Inês


Print help with no args

Also formatted with autopep8 unintentionally ¯_(ツ)_/¯

Should we use https://github.com/psf/black?

Yes, well, I hadn't been, but just remembered it existed. I was manually copying and pasting from Biblegateway.


Merge refs/heads/feature/find-as-cursor into alpha

Merge refs/heads/feature/find-as-cursor into alpha

This PR has been merged into alpha and tagged as 1.6.0-alpha-202304120814. Thanks for your contribution!


Move SLS Password onto homepage (Old 46)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:10
Move the SLS password onto the homepage of SSO if a cookie is set.

In gitlab by @A-Lawrence on Aug 31, 2015, 01:17
Not required with introduction of VATSIM SSO.
ALawrence66 - 2014-06-07T01:04:27.206578+00:00

In gitlab by @A-Lawrence on Aug 31, 2015, 01:17
Removing milestone: DEVELOPMENT - NO SET RELEASE (automated comment)
ALawrence66 - 2013-11-02T20:56:14.342255+00:00

In gitlab by @A-Lawrence on Aug 31, 2015, 01:17
Not sure this is required with the increased session time.
ALawrence66 - 2013-09-02T01:45:50.958822+00:00


Add an option for a terminal only dock or lock a dock

Check for existing issues

[X] Completed

Describe the feature
Hi,
Love the work you're doing with the editor but there is one little thing that's really annoying.
My workflow is usually:
| File tree | Main pane with all files | Terminal dock |
But when I focus on the terminal to do something and then open a file it'll open it in dock where the terminal is.
I would've assumed it would open it in the main pane/dock where all the files are like it's the case in VS Code.
If applicable, add mockups / screenshots to help present your vision of the feature
No response

Hey @gawlk, we actually just landed a change to this in our preview build (v0.75.0) that forces all new items to open up in the center pane - nothing will be opened up in the dock.  We know that users will still want to move items to the dock, so we added a command to make it super easy to bring a focused item from the center pane -> dock, and from dock -> center pane.
This change should go out in the next week or so.
Here's the original issue:

https://github.com/zed-industries/community/issues/533

Closing this one out.  Appreciate the feedback, keep it coming :).

Hi @JosephTLyons,
I'm glad to hear this ! Sorry I missed this issue

No worries at all!  Appreciate you taking the time to fill issues out for us :)


⚠ Bofrost.be has degraded performance

In 900d12e, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1225 ms

Resolved: Bofrost.be performance has improved in baa2af2.


Semantic exploration

Description
This branch ports the following paper to the code base:
Object Goal Navigation using Goal-Oriented Semantic Exploration
It introduces a new command MOVE_TO_OBJECT <object_category> that triggers semantic exploration of the environment to navigate to an instance of an object not yet in memory.
This PR is intended as a draft to gather feedback about the best way to integrate this functionality in the repo.
Screenshots
The orange dots are the high-level goals picked by the exploration policy.
In Habitat:

On Hello Robot in Fremont office:

Instructions to reproduce
Start the robot and server in Habitat with:
# In first terminal
LOCOBOT_IP=<IP_ADDRESS> ./launch_pyro_habitat.sh --scene_path Replica-Dataset/apartment_0/habitat/mesh_semantic.ply

# In second terminal
python teleop.py

Then start a MOVE_TO_OBJECT toilet command in the dashboard:

Snapshots of execution will be saved in droidlet/lowlevel/locobot/remote/images/apartment_0/toilet.
The final snapshot should look something like:

(The policy struggled to find the toilets)

Codecov Report

Merging #1158 (78b2ff2) into main (0b07562) will decrease coverage by 0.42%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1158      +/-   ##
==========================================
- Coverage   34.47%   34.04%   -0.43%
==========================================
  Files         345      347       +2
  Lines       33939    34299     +360
==========================================
- Hits        11700    11677      -23
- Misses      22239    22622     +383

Impacted Files
Coverage Δ

agents/locobot/teleop.py
0.00% <0.00%> (ø)

agents/droidlet_agent.py
41.17% <0.00%> (-10.20%)
:arrow_down:

interpreter/robot/tests/world.py
74.45% <0.00%> (-0.73%)
:arrow_down:

lowlevel/locobot/remote/slam_service.py
0.00% <0.00%> (ø)

lowlevel/locobot/remote/habitat_utils.py
0.00% <0.00%> (ø)

lowlevel/locobot/remote/remote_locobot.py
0.00% <0.00%> (ø)

lowlevel/locobot/remote/planning_service.py
0.00% <0.00%> (ø)

lowlevel/locobot/remote/navigation_service.py
0.00% <0.00%> (ø)

...wlevel/locobot/remote/slam_pkg/utils/depth_util.py
0.00% <0.00%> (ø)

...level/locobot/remote/slam_pkg/utils/fmm_planner.py
0.00% <0.00%> (ø)

... and 4 more

@theophilee @soumith can y'all ok the high-level approach in my commits?  there are a few things left to do before its mergeable- for example the model weights for the policy shouldn't be stored in the repo, they should be treated as other artifacts.  but want to get your opinion before I do more.


Missing documentation

This will serve as a list over the documentation that's missing, feel free to mention more and I'll add it to the list.
To help contribute to the docs, look at docs. This issue can also be used for coordination.

[ ] Installing Drago

[ ] Overview - Add go generate
[ ] Quickstart - Docker/makefile?

[ ] Configuration

[ ] Add new page for "top-level" configurations; data-dir, ports, name etc. (config)
[ ] ACL - Explain what the ACL system is for or link to HTTP API - Overview?
[ ] Client - Add missing options (config)

[ ] HTTP API

[ ] ACL Policies
[ ] ACL Tokens
[ ] Connections
[ ] Interfaces
[ ] Networks - Missing example
[ ] Nodes
[ ] Status
[ ] UI

[ ] Running Drago

[ ] Running in Docker

Comment any issues with the list.

Docks for running in Docker should be improved because the current version is unable to interact with system WireGuard
For reference: https://github.com/gravitl/netmaker/blob/master/compose/docker-compose.reference.yml#L15
Previously #71

@0x1a8510f2 Already added this to the TODO list.


fix: bump missing dependencies version

This PR fixes a blocker in the docker file where the source openssl libs are no longer available.

Thanks @ericvergnaud !
Could you fix the DCO issue? It should be quite straightforward to do:

To add your Signed-off-by line to every commit in this branch:
Ensure you have a local copy of your branch by checking out the pull request locally via command line.
In your local branch, run: git rebase HEAD~3 --signoff
Force push your changes to overwrite the branch: git push --force-with-lease origin fix-cryptic-logs

Done


Missing back button

Continuing off the discussion in #412
Using version 3.0.1 (up to date as of the posting of this issue) on Mac OS X 10.11.2: I don't see the back button for navigation. Steps to reproduce: go to the apple store, purchase computer, install this app.
The same is actually true of version 3.0.1-1 on Ubuntu 14.04.4.
So either there's a bug in the software that prevents the back button showing up. Or there's a design flaw that's making it hard for me to find.

The back button only appears if there is something to go "back" to.  I.e. it won't appear when you open the app, you have to navigate somewhere for it to appear.

P.S. Those steps to reproduce are shocking :cactus:

I understand. It doesn't show up after I navigate away from the initial screen.

Just testing on my mac that is also on 10.11.2 and it pops up just fine.  Can you do a screencast or something to show what you are doing?

I also can not confirm it for Ubuntu 14.04.4 and 3.0.1. Works fine for me (see screenshot below).

Don't know what else to say: using version 3.0.1 downloaded as a release from the website I don't see the back button. Not on the Mac, not on Ubuntu.

Did you clean install it in 3.0.1 or updated it from an older version?

Both, in fact. On the Mac, that is. On Ubuntu I updated.

That is REALLY strange, I'm going to keep testing my devices to see if I can get one to break

I just realise that this affects me aswell. On eOS 0.3.2. (Ubuntu 14.04)

I don't understand how this can affect some people and not others....
Until I get access to a device / account that has this issue there isn't much I can do to diagnose it

I would also propose using backspace and/or ctrl+left arrow to trigger back navigation

Confirming that this is also a problem for me on my Windows 7 PC at work running v3.0.1. I can't post a screencast from this machine either but suffice to say:

Upgraded originally, but still no back arrow after uninstall/reinstall
Backspace does nothing
Cntrl-left arrow goes to the start of the song, not 'Back'

I don't get why people keep mentioning the fact that backspace and Ctrl+Left don't work.  They have not been implemented and have never been implemented.  Do people think they will just suddenly start working or something????
In other news I still can't replicate the back button not appearing :cry: If anyone can replicate this in a dev enivironment and can figure out why I'll give the 3 :cactus: emoji :+1:

It was a long road but I finally managed to replicate the bug :cactus:
I think it's fixed, if anyone is running betas / master they can check it out otherwise hold out till the next release

Glad to hear it is likely fixed, I'll watch for the next release.
Just FYI on the backspace/control-left mention, someone else mentioned in the thread that it might work so I was just confirming that it doesn't. Backspace works in the web browser of course, so it might be nice to consider as a shortcut in your app as well.

@MarshallOfSound re: backspace, ctrl/cmd-left — nobody said it was broken, or a bug. Given the lack of browser back button (and the fact that this is how browsers behave), I thought it was a reasonable proposal. But hey, it's your software.

@blehn I have since implemented the backspace button but my point was that people were reporting things as "not working" as if it was a bug, when it shouldn't be working  in the first place.  I was trying to explain the difference between a bug and a feature request :+1: :cactus:
TLDR: backspace is implemented

Just got the next release... back button shows up (on the Mac). Thanks!

Fixed (ubuntu)


fix caret jumps to end of field on edit/delete

This resolution is continuity of what was started by @viict, some adjustments were made to finally solve the problem that causes the cursor to jump to the end of the field when trying to edit or delete its value in the middle. This solution was tested only with BR masks.

Coverage decreased (-1.8%) to 97.281% when pulling 7fd9313606c75485e54ef8ff929c2a396b378125 on albinojunior:master into 595240a651a327aea7702dcdd17663e0711ff187 on assisrafael:master.

Closing this PR because it is not providing tests.


Design what we do section

Description

Design the what we do section for PDA website
Objective

what we do section should contain

activites that pda conducts
some icons (related to events)
add some animations and effects

Files to be edited

whatwedo.ejs (in views folder)
and public files (js/css/img  if Neccessary)

Any updates @SurendarSingh @asjawahar @Harshitha-246


Crash with non-text files

In the function clean_file if there is a non-text file in the targeted directory, I get a UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 3131: invalid start byte (in my case it's for a .DS_Store OSX file). I also had the issue with image files.
I don't get what this function is supposed to do and if this issue is actually critical.

I don't understand this.  What targeted directory are we talking about here can you show me an example?

The targeted directory is an addon directory, in OSX, the OS creates a .DS_Store binary file. Maybe the issue could be the same with a binary file like an executable.

Are you saying there is a file in the addon directory, .DS_Store, that is a binary file, and it causes a crash?
I don't have access to a osx machine, I'll try and replicate on linux.

Exactly. Maybe you can reproduce it with any compiled file or an image.

I got this as well - if I have a non-Unicode or binary file in the addon and the tester tries to read it, it crashes due to the Unicode error. My case is an *.odp file

I modified the code to skip this check. Maybe we could have an option to skip it.


Blackfire and proxy support with dedicated server

ISSUE TYPE

Bug Report

Checklist

[ ] .env file is attached
[ ] docker-compose.override.yml is attached (if it exists)
[ ] Custom configs from cfg/ dir are attached (if customized)
[ ] docker-compose logs and log/ output is added
[X] I've looked through the docs: https://devilbox.readthedocs.io/en/latest/
[X] I've looked through existing issues: https://github.com/cytopia/devilbox/issues
[X] I've read troubleshooting: https://devilbox.readthedocs.io/en/latest/support/troubleshooting.html

OS / ENVIRONMENT

Host operating system and version: Linux Ubuntu 16.04 LTS
Docker version: Docker version 18.09.5, build e8ff056
Docker Compose version: docker-compose version 1.18.0, build 8dd22a9
(Linux) Is SELinux enabled?:
What git commit hash are you on?:  6bc99d02b2e3239a3cd185ef531d6d52938256cc

SUMMARY

Be able to use Blackfire on dedicated server with proxy support !
STEPS TO REPRODUCE

I've recently try to profile an application (Symfony 3.4 / PHP 7.1) with Firefox Companion 1.18.2 for my current Customer that have a Blackfire Enterprise Edition
The collector is located on a dedicated server (private) rather than http://blackfire.io, and it's reachable via a proxy.
EXPECTED BEHAVIOUR

Profile requests and see profile generated (graph and more ... )
ACTUAL BEHAVIOUR

Cannot access to dedicated server (collector)
Message Are You Authorized to Profile this Page? Probe Not Found or Invalid signature is displayed
OTHER INFORMATION
I suggest to upgrade https://github.com/cytopia/devilbox/blob/master/autostart/configure-blackfire-cli.sh-example to be able to support custom collector ( see BF_COLLECTOR ) and http-proxy ( see BF_PROXY )
Here is my version autostart/configure-blackfire-cli.sh
#!/usr/bin/env bash

set -e
set -u
set -o pipefail

###
### Pre-flight check
###
if ! command -v blackfire >/dev/null 2>&1; then
	echo "No blackfire cli found, skipping configuration."
	exit 0
fi

###
### Blackfire Client (cli) Variables
###
# Blackfire Client ID via env: BLACKFIRE_SERVER_ID
BF_CLIENT_ID=
# Blackfire Client Token via env: BLACKFIRE_SERVER_TOKEN
BF_CLIENT_TOKEN=
# Blackfire client configuration file
BF_CLIENT_INI="/home/devilbox/.blackfire.ini"
# Blackfire Data Collector
BF_COLLECTOR="https://blackfire.io"
# Blackfire Proxy
BF_PROXY=

###
### Get Client ID and Client Token
###
if BF_CLIENT_ID="$( env | grep -Eo '^BLACKFIRE_CLIENT_ID=.*$' )"; then
	BF_CLIENT_ID="${BF_CLIENT_ID#*=}"
fi

if BF_CLIENT_TOKEN="$( env | grep -Eo '^BLACKFIRE_CLIENT_TOKEN=.*$' )"; then
	BF_CLIENT_TOKEN="${BF_CLIENT_TOKEN#*=}"
fi

if BF_COLLECTOR="$( env | grep -Eo '^BLACKFIRE_COLLECTOR=.*$' )"; then
	BF_COLLECTOR="${BF_COLLECTOR#*=}"
fi

if BF_PROXY="$( env | grep -Eo '^HTTP_PROXY=.*$' )"; then
	BF_PROXY="${BF_PROXY#*=}"
fi

###
### Create Client (cli) Config
###
{
	echo "[blackfire]";
	echo ";";
	echo "; This is a configuration file for Blackfire.";
	echo ";";
	echo "";
	echo ";";
	echo "; setting: ca-cert";
	echo "; desc   : Sets the PEM encoded certificates to use";
	echo "; default:";
	echo "ca-cert=";
	echo "";
	echo ";";
	echo "; setting: client-id";
	echo "; desc   : Sets the Client ID used for API authentication";
	echo "; default:";
	echo "client-id=${BF_CLIENT_ID}";
	echo "";
	echo ";";
	echo "; setting: client-token";
	echo "; desc   : Sets the Client Token used for API authentication";
	echo "; default:";
	echo "client-token=${BF_CLIENT_TOKEN}";
	echo "";
	echo ";";
	echo "; setting: endpoint";
	echo "; desc   : Sets the API endpoint";
	echo "; default: https://blackfire.io";
	echo "endpoint=${BF_COLLECTOR}";
	echo "";
	echo ";";
	echo "; setting: http-proxy";
	echo "; desc   : Sets the HTTP proxy to use";
	echo "; default:";
	echo "http-proxy=${BF_PROXY}";
	echo "";
	echo ";";
	echo "; setting: https-proxy";
	echo "; desc   : Sets the HTTPS proxy to use";
	echo "; default:";
	echo "https-proxy=${BF_PROXY}";
	echo "";
	echo ";";
	echo "; setting: timeout";
	echo "; desc   : Sets the Blackfire API connection timeout";
	echo "; default: 15s";
	echo "timeout=30s";
} > "${BF_CLIENT_INI}"

chown devilbox:devilbox "${BF_CLIENT_INI}"
chmod 0600 "${BF_CLIENT_INI}"

It will produce a /home/devilbox/.blackfire.ini file
The ISSUE is related to contents of /etc/blackfire/agent that is not updated as expected
Following contents are not changed
;
; setting: collector
; desc   : Sets the URL of Blackfire's data collector
; default: https://blackfire.io
collector=https://blackfire.io

;
; setting: http-proxy
; desc   : Sets the HTTP proxy to use
; default:
http-proxy=

;
; setting: https-proxy
; desc   : Sets the HTTPS proxy to use
; default:
https-proxy=

When I  EDIT the /etc/blackfire/agent and change collector (with BLACKFIRE_COLLECTOR env var value) and proxy http/https (with HTTP_PROXY env var value) See .env file
All run FINES
Blackfire Agent
./shell.sh
<EMAIL_ADDRESS>in /shared/httpd $ blackfire-agent -v
blackfire-agent 1.25.0 linux amd64 gc 2019-04-17T08:24:07+0000

<EMAIL_ADDRESS>in /shared/httpd $ php --ri blackfire

blackfire

Blackfire => enabled
Blackfire => 1.24.4~linux-x64-non_zts71
Timing measurement => cgt
Sessions support => enabled
Num of CPU => 4
Profiling heap memory => 0 Kb
Main instance trigger mode => HTTP header triggered
Main instance => disabled

Directive => Local Value => Master Value
blackfire.agent_socket => unix:///var/run/blackfire/agent.sock => unix:///var/run/blackfire/agent.sock
blackfire.agent_timeout => 0.25 => 0.25
blackfire.env_id => no value => no value
blackfire.env_token => no value => no value
blackfire.log_level => 1 => 1
blackfire.log_file => no value => no value
blackfire.server_id => no value => no value
blackfire.server_token => no value => no value

Blackfire developed by Blackfire

.env part of file
BLACKFIRE_SERVER=latest
BLACKFIRE_COLLECTOR=http://blackfire.vpod1.carrefour.com

BLACKFIRE_CLIENT_ID=<OFFUSCATED>
BLACKFIRE_CLIENT_TOKEN=<OFFUSCATED>

BLACKFIRE_SERVER_ID=<OFFUSCATED>
BLACKFIRE_SERVER_TOKEN=<OFFUSCATED>

HTTP_PROXY=http://<IP_ADDRESS>:8080
HTTPS_PROXY=http://<IP_ADDRESS>:8080

Docker Compose Override
  blackfire:
    image: blackfire/blackfire:${BLACKFIRE:-latest}
    hostname: blackfire
    environment:
      - BLACKFIRE_SERVER_ID=${BLACKFIRE_SERVER_ID:-id}
      - BLACKFIRE_SERVER_TOKEN=${BLACKFIRE_SERVER_TOKEN:-token}
      - BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID:-id}
      - BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN:-token}
    networks:
      app_net:
        ipv4_address: <IP_ADDRESS>
    depends_on:
      - bind
      - php
      - httpd

Start command

$ docker-compose up -d

Hope my report is enough.
I'm at your disposal to help you as always !

When I EDIT the /etc/blackfire/agent and change collector (with BLACKFIRE_COLLECTOR env var value) and proxy http/https (with HTTP_PROXY env var value) See .env file

Afaik the agent runs within its own Docker container (blackfire/blackfire, if started) and doesn't need to be configured within the PHP container or am I missing something here?

Afaik the agent runs within its own Docker container (blackfire/blackfire, if started) and doesn't need to be configured within the PHP container or am I missing something here?

I've investigated yesterday at my office, and I think I've a good feeling (to solve it easily).
I'll come back to you after a last test on monday (I need to be at my office to be able to access private blackfire dedicated server).

I've let down usage of Blackfire at my Office, because nobody seems interrested to use it ! I'm sad to see such professional attitude :(
So I've decided to close this issue.


Add distance-based selections

For example "within( 3, 12:A )" to select all atoms with 3 angstrom of residue number 12 in chain A. Depends on fast distance calculations (#76).

We would love to be able to use this selection option - any progress on this, or idea of timelines please?

Cheeky additional request: would it also be possible to reference other components? within(3.0, some_other_component_id).
The use case would be things like showing protein binding site surfaces for docking results / designed ligands etc., where the ligand and protein are in different files.

Cheeky additional request: would it also be possible to reference other components? within(3.0, some_other_component_id).

this would be nice indeed, related #23

sub-feature: option to update distance-based selection when playing trajectories

Still looking forward to this so that distance-based selection can be used with the gui interface (http://nglviewer.org/ngl/) not just by using getAtomSetWithinSelection from JS side


Blueprint Reader does the right thing for uniform coords + unstructured topos

Description
Resolves #19057

Fix two bugs:

handle the uniform coords + unstructured topo case
prevent values leaf from being added to uniform coordsets by accident, causing 1D curves built off uniform coordsets to be unusable

Type of change

[x] Bug fix~~
[ ] New feature
[ ] Documentation update
[ ] Other

How Has This Been Tested?

Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

[x] I have commented my code where applicable.~~
[x] I have updated the release notes.~~
[ ] I have made corresponding changes to the documentation.
[ ] I have added debugging support to my changes.
[x] I have added tests that prove my fix is effective or that my feature works.~~
[x] I have confirmed new and existing unit tests pass locally with my changes.~~
[x] I have added new baselines for any new tests to the repo.~~
[x] I have NOT made any changes to protocol or public interfaces in an RC branch.~~

Merge w/ develop in #19541


Add python Support

This is actually something I'd love to work on! So I will try my hand at adding python support for this project!
Also  unrelated but the naming of the repo is a bit inconsistent?
Currently it's https://github.com/inch-ci/inch_ci-web
Please change to https://github.com/inch-ci/inch-ci-web
(petty I know, but I thought I'd mention it.)

:+1: regarding python!
The name stems from a naming schema in Ruby. The namespace InchCI::Web converts to inch_ci-web when following it. Although I mistype it regularly myself :wink:

:+1:

:+1:

Alright guys I don't even remember why I thought I had the time to do this in 2015, and I definitely don't have time to do it now.


cirq.M and cirq.R as aliases for measure and reset

Is your design idea/issue related to a use case or problem? Please describe.
I was watching someone construct a cirq Circuit, and they tried to type cirq.M and cirq.R for measure and reset, which didn't work. However, this seems like it might be a reasonable thing to support, since M and R are often in used in Circuit diagrams in similar manner as H and X?
Describe your design idea/issue
Make cirq.M and cirq.R aliases for cirq.measure and cirq.reset.

I feel seen

I see you @kjsatz