Incorrect messages when tracking files named with non-ASCII characters

When trying to track files that named with non-ASCII characters, Gitless outputs incorrect messages.
$ gl track 日本語.txt
✘ 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128)

$ gl status
On branch master, repo-directory //

Tracked files with modifications:
  ➜ these will be automatically considered for commit
  ➜ use gl untrack f if you don't want to track changes to file f
  ➜ if file f was committed before, use gl checkout f to discard local changes

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gitless/cli/gl_status.py:98: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if fp == '.':
    日本語.txt (new file)

Untracked files:
  ➜ these won't be considered for commit
  ➜ use gl track f if you want to track changes to file f

    There are no untracked files to list

Commit is looks like worked, but gl history -v does not work.
$ gl commit -m "Added a file named in Japanese."
✔ Commit on branch master succeeded

Commit Id: fe3caf0b86f78a9d47c07ea5b9fc8b2c18438983
Author:    XXXX XXXX <XXXX@XXXX>
Date:      Wed Apr 25 17:53:22 2018 +0900

    Added a file named in Japanese.
$ gl history -v
✘ 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128)

My environment: macOS 10.13.4, Python 2.7.14, Gitless 0.8.6

I am investigating about the issue.
There are many implicit conversion from str to unicode. I think realistic solution would be adding sys.setdefaultencoding('utf-8') to user's site-packages/sitecustomize.py.
Now it works fine in my environment.

Because gitless ships as a end-user app, maybe it should abandon Python 2.7?


ER_KEY_COLUMN_DOES_NOT_EXITS?

It looks like ER_KEY_COLUMN_DOES_NOT_EXITS should be ER_KEY_COLUMN_DOES_NOT_EXIST perhaps in lib/protocol/constants/errors.js

Hi! Thanks for the report. Unfortinately that is not something we can change; those codes come directly from the MySQL server source code. Perhaps report the error to MySQL server itself and when they release a new version, we'll just pull in the updated code name.
MySQL server even documents the code as "ER_KEY_COLUMN_DOES_NOT_EXITS" in their own documentation: https://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html so I can only assume it is intentional. Our code have to match the MySQL documentation to make sense.


Starting two local terminal sessions freezes app

Describe the bug
When I start a (local) terminal session, exit, and try to start another one, the app completly freezes and must be killed.
When I start a local terminal session, start another one, exit the second one and exit the first one,  the app completly freezes and must be killed.
To Reproduce
Steps to reproduce the behavior:

Start lens
Select a Cluster
Click on + button on bottom line, choose "Terminal session"
A windows command prompt appears.
Close the Terminal tab by clicking on X
One more, click on + button on bottom line, choose "Terminal session"

In the tab that appears now, it just says "Connecting ..." and "Closed by "" (code: 1006)" after some time. Lens becomes fully unresponsive.
Or

Click on + button on bottom line, choose "Terminal session"
A windows command prompt appears.
Click on + button on bottom line, choose "Terminal session"
A second tab with windows command prompt appears.
Close the second Terminal tab by clicking on X
Close the first Terminal tab by clicking on X

Expected behavior
Users should be able to open and close as many terminal tabs as they want.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

Lens Version: 3.1.0
OS: Windows 10
Installation method (e.g. snap or AppImage in Linux):  setup.exe

Note: I have the new Windows Terminal (https://github.com/microsoft/terminal) installed.
Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
Nothin special is in the log, just the startup blurb:
info: Checking for update
info: Update for version 3.1.0 is not available (latest version: 3.1.0, downgrade is disallowed).

Does this still happen?

Just checked. This does not happen any more. As both windows terminal as well as lens received a gazillion updates since april, this bug seems to have been vanished somehow.


macos-14 runner cannot play sound because of microphone permission dialog box

Description
The new macos-14 runner seems to have problems playing audio. When attempting to play a sound, a microphone permission dialog would come up, preventing the task from completing. Interestingly this doesn't happen in macos-12 or macos-13. I also couldn't reproduce this issue locally on a MacBook Pro, so I wonder if it has to do with the way the audio device is set up on the GitHub Actions image. Searching this on Google didn't yield much results.
Platforms affected

[ ] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[X] macOS 14
[X] macOS 14 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
GitHub Actions:
  Image: macos-14-arm64
  Version: 20240116.1
  Included Software: https://github.com/actions/runner-images/blob/macOS-14/20240116.1/images/macos/macos-14-arm64-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macOS-14%2F20240116.1

Is it regression?
no
Expected behavior
The task completes after playing a sound.
Actual behavior
The task hangs in macos-14, and then pops up a microphone permission dialog box. Below is dumped from taking a screenshot in the CI environment:

Repro steps
Add the following in a GitHub Actions yaml:
jobs:
  macos:
    runs-on: ${{ matrix.runner }}

    strategy:
      fail-fast: false
      matrix:
        runner: [macos-latest, macos-13, macos-14]

    steps:
      - name: Play a sound
        timeout-minutes: 3
        run: |
          (sleep 10; screencapture debugscreen_${{ matrix.runner }}.png) &
          afplay /System/Library/Sounds/Funk.aiff
          sleep 20

      - name: Publish debug screenshot
        if: success() || failure()
        uses: actions/upload-artifact@v4
        with:
          name: debugscreen_${{ matrix.runner }}.png
          path: debugscreen_${{ matrix.runner }}.png

afplay is supposed to play a sound file and complete. The screencapture is there to take a screenshot only to debug the issue.

Hello @ychin, we will take a look.

Hello @ychin . As workaround you can add step bellow to your workflow for granting access to microphone .
 - name: Grant microphone access
        run: |
          sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);"

I used it with provided repro, and looks like everything finishes without errors.

Oh cool. Thanks, I will give that a try.

Did workaround help so far? :)

Yes, it did! See https://github.com/vim/vim/pull/14032

Good to know! Closing for now as we do not have plans to add this to tccdb by default just yet (might be in the future we will if we see more problems like this), if you have more questions feel free to reach us out again :)

Ok. Thanks. I still find it really curious why macOS requests a microphone permission while we are just playing a sound. It seems like an odd macOS quirk at least because I don't think it happens locally on my MacBook Pro. Either way probably not a big deal as there's a way to just grant the permission.

@ychin it happens to macOS quite naturally between releases, check your local tccdb, most likely it has the kTCCServiceMicrophone permissions set accordingly

@mikhailkoliada I am also running into this issue. Is there any possibility to reconsider fixing this in the base image?

I think it affects all Playwright (end-to-end testing framework which uses) who are using Chromium or Firefox to play audio or video.

This also impacts the Ladybird Browser's Audio tests on macOS 14. We use AudioUnit for setting up Audio output streams. https://github.com/SerenityOS/serenity/commit/a447b9bffd2d0740816c399f3a1f3cc1745c6686

@mikhailkoliada this also affects Electron's test runners - we're working around the issue for now but i'd be happy to open a PR if it'd be considered at this point.

Element is having to employ similar workarounds for Playwright testing of Electron, worked around in https://github.com/element-hq/element-desktop/blob/aa5d8e9e06fcd4e93b6ec736eefcf8027194003b/.github/workflows/build_and_test.yaml#L131-L135


reg-notify-gitlab-plugin - report display is broken

Missing space after smiley mess the render of the markdown
:white_cirle::white_cirle: -> :white_cirle:<SPACE>:white_cirle:

Pull request: https://github.com/reg-viz/reg-suit/pull/121

Thanks! I’ve published your fixes as v0.7.9 :)


Black format the model checkpoint callback

What does this PR do?
Applies black-style formatting to the model checkpoint. I'm splitting this out into its own PR to make later changes easier to review
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[x] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @ananthsub! Thanks for opening this PR.

In the file pytorch_lightning/callbacks/model_checkpoint.py:

Line 134:13: W503 line break before binary operator
Line 135:13: W503 line break before binary operator
Line 136:13: W503 line break before binary operator
Line 357:13: W503 line break before binary operator

Do see the Hitchhiker's guide to code style


Replace success icon within add to campaign modal

This icon isn't using the one specified in designs, also animation is pretty rough. Icon should use SilverStripe icon font class="font-icon-happy" or font-icon-sad

PR https://github.com/silverstripe/silverstripe-framework/pull/6118

End result is improved animation and design matches those provided.

Rebased and ready for review.

Reviewing it now.

Removed legacy styles


Perform multiple simultaneous ajax calls and zip the results is not working

I'm trying to perform multiple simultaneous ajax request to a REST api and get a stream that emits a value with a data structure containing the data retrieved by all the responses altogether. For this I'm using zip but I'm getting the following exception from Bacon.js:
Uncaught Error: At least one EventStream required
As an example, below there is a simplified version of my code:
let profileStreams = [];
let profiles = {
  someURL: {
    href: 'www.google.com'
  },
  someOtherURL: {
    href: 'github.com'
  },
  yetAnotherURL: {
    href: 'twitter.com'
  }
};

for (let index in profiles) {
  profileStreams.push(
    b$.ajax({
      url: profiles[index].href
    }).map((profileObject) => {
      return {
        owner: index,
        profile: profileObject
      };
    })
  );
}

let allUrlsRetrievedAsArray = Bacon.zipAsArray(profileStreams);

Use combineAsArray instead.

Using combineAsArray I didn't get the exception. The problem now is that whenever I get a value in the combined stream that value is an Array of EventStreams instead the an Array with the request respondes. On the other hand I tried using directly Bacon.fromPromise with my ajax request and it worked nicely both with combine and with zip.
for (let index in profiles) {
    profileStreams.push(
      Bacon.fromPromise($.ajax({
        url: profiles[index].href
      })).map((profileObject) => {
        return {
          owner: index,
          profile: profileObject
        };
      })
    );
  }


Add support for using symbols instead of strings or dot tags.

;; You can now write
[:tag {:class '[class-name another-class-name]} "content"]
;; As opposed to just
[:tag {:class '["class-name another-class-name"]} "content"]
;; Or
[:tag.class-name.another-class-name "content"]

There's also some refactoring that went into this. Feel free to cherry pick just from lines 61-62 in processor.clj.

Hi @wildwestrom , thank you for the contribution.
As it is now, it is hard for me to accept the PR and just press the green "Merge" button because it contains a lot more changes than just "adding the gathering of the symbols to the preprocessor".
Please avoid refactorings unless it solves a real problem. The same for the re-indentations, unless it is to fix an inconsistency in the code base.
At last, please re-group your commits together.

Ok, let me rescind this and just give the essential change.


Update azureSubscription description

Fix https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-cli?view=azure-devops

Select an Azure Resource Manager subscription for the deployment.

The current description of azureSubscription means a subscription. This contradicts the example on the very same page (https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-cli?view=azure-devops#example), which says "azureSubscription: <Name of the Azure Resource Manager service connection>":

This parameter is shown only when the selected task version is 0.* as Azure CLI task v1.0 supports only Azure Resource Manager (ARM) subscriptions

This parameter is "specified", not "shown".
This sentence is confusing and logically impossible to understand.
There is no document for 0.* and v1.0 anymore.

This PR changes the description of azureSubscription to make it in sync with azureSubscription in Azure PowerShell task (https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-powershell?view=azure-devops#arguments).

@jiasli : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jiasli : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Superseded by 4713fbd3f8450cd8671abea919213068785fb57f.


[LLVM] Fix build breaks with StringRef changes

llvm::StringRef to std::string conversion is explicit now.

Signed-off-by: Wei Pan<EMAIL_ADDRESS>Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

This commit breaks TVM build.
https://github.com/llvm/llvm-project/commit/adcd02683856c30ba6f349279509acecd90063df#diff-497ba4c0c527a125d382b51a34f32542

Thanks @wpan11nv It is merged.


Update messages and docs related to running tests when skipTests is set to true

Fixes #889

@dshimo I will remove the yaml changes for using my branch and skipping the VerifyFeatureTest before merging. Sarah fixed the failing test in a separate PR that I just merged.


Update sdk-connection-string.md

Updated the connection string behavior.

@AaronMaxwell - can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@American-Dipper Noting that Aaron assigned this PR to me.


Invalid signature when using chainId with signTypedData

When debugging #13 I used one of the test cases as a starting point:
const privateKey = '4af1bceebf7f3634ec3cff8a2c38e51178d5d4ce585c52d6043e5e2cc3418bb0';
const json =
  r'''{"types":{"EIP712Domain":[{"type":"string","name":"name"},{"type":"string","name":"version"},{"type":"uint256","name":"chainId"},{"type":"address","name":"verifyingContract"}],"Part":[{"name":"account","type":"address"},{"name":"value","type":"uint96"}],"Mint721":[{"name":"tokenId","type":"uint256"},{"name":"tokenURI","type":"string"},{"name":"creators","type":"Part[]"},{"name":"royalties","type":"Part[]"}]},"domain":{"name":"Mint721","version":"1","chainId":4,"verifyingContract":"0x2547760120aed692eb19d22a5d9ccfe0f7872fce"},"primaryType":"Mint721","message":{"@type":"ERC721","contract":"0x2547760120aed692eb19d22a5d9ccfe0f7872fce","tokenId":"1","uri":"ipfs://ipfs/hash","creators":[{"account":"0xc5eac3488524d577a1495492599e8013b1f91efa","value":10000}],"royalties":[],"tokenURI":"ipfs://ipfs/hash"}}''';
  test('should sign data with custom type which has an array', () {
    final signature = EthSigUtil.signTypedData(privateKey: privateKey, jsonData: json, version: TypedDataVersion.V4);
    expect(signature,'0x2ce14898e255b8d1e5f296a293548607720951e507a5416a0515baef0420984f2e28df8824206db9dbab0e7f5b14eeb834d48ada4444e5f15e7bfd777d2069481c');
  });

This works as expected, but when adding the chainId parameter to the same test, and checking the sigParams:
String signature = EthSigUtil.signTypedData(privateKey: privateKey, jsonData: jsonTest, version: TypedDataVersion.V4, chainId: 280);
var sigParams = SignatureUtil.fromRpcSig(signature);

The result is an invalid signature length: "ArgumentError (Invalid argument(s): Invalid signature length)"
So something seems to be broken with the chainId implementation.
When I try my code in #13 without the chainID, the signature length is correct, but I'm not sure if leaving the chainID out is going to lead to problems? (EDIT: the signature is still invalid, see #16)

hi @danielnordh, let's remove chain id, it has been deprecated


About ControlNeXt-SVD-v2 base model.

Great Work! Can I get the base model weight of ControlNeXt-SVD and ControlNeXt-SVD-v2 after trained on human-related dataset?

+1


Allow tasty 1.3

Builds fine and all tests pass.

Done in https://github.com/haskell-hvr/text-short/pull/22


problems about certification

Can you teach me how to generate a certification more detailed? I use my school to generate it, but I get nothing. (btw I'm new in this era : |)

I would need to see more of your output from the first image, but it looks like you may not have the OpenSSL dependency installed on your system. Let me know if this fixes the issue. If you run into another issue later, please open another seperate issue. The main branch needs some TLC.

Installing OpenSSL on Windows, macOS, and Linux can be done using different methods depending on your operating system. Here are the general steps for each platform:
Windows:

Download OpenSSL:

Visit the OpenSSL website (https://www.openssl.org/) and navigate to the downloads section.
Choose the appropriate version for Windows. You'll typically find precompiled binaries under the "Win64" or "Win32" directory.
Download the installer package.

Install OpenSSL:

Run the downloaded installer package.
Follow the installation wizard instructions.
Choose the installation directory and any additional configuration options you require.

Verify Installation:

Open a command prompt (cmd.exe).
Type openssl version and press Enter. You should see the OpenSSL version number if the installation was successful.

macOS:

Using Homebrew:

If you don't have Homebrew installed, you can install it by following the instructions on the Homebrew website (https://brew.sh/).
Once Homebrew is installed, open Terminal.
Type brew install openssl and press Enter.
Homebrew will download and install OpenSSL on your macOS system.

Verify Installation:

Open Terminal.
Type openssl version and press Enter. You should see the OpenSSL version number if the installation was successful.

Linux (Ubuntu/Debian):

Using apt (Ubuntu/Debian):

Open a terminal.
Update your package index by typing sudo apt update and pressing Enter.
Install OpenSSL by typing sudo apt install openssl and pressing Enter.
Enter your password when prompted.

Verify Installation:

Open a terminal.
Type openssl version and press Enter. You should see the OpenSSL version number if the installation was successful.

Other Linux distributions:

For other Linux distributions, you can use their respective package managers to install OpenSSL. The package name may vary, but it's usually called openssl.
For example, on Fedora, you can use dnf install openssl.
On CentOS/RHEL, you can use yum install openssl.


Fixed bug with resources not being scoped with their parent in the registry

This surfaced in the Kubernetes indexer where resources with the same name but in different clusters and/or namespaces were not being assigned to different resources, so only a single SLX would be generated.
The solution was to have a qualified name for a resource that incorporates the parent cluster/namespace names and then use that as the key for indexing the resource instances in the resource type object.
I also cleaned up some subtle ways where the registry data structures could get messed up if the same resources were scanned multiple times, e.g. if the kubeconfig has multiple contexts for the same cluster.
I disabled the "resources" field for the namespace that collected all of the indexed resources for the namespace. It will take some more work to support that in a correct way. I don't think we're currently using it for anything, so I didn't want to waste cycles fixing up something that wasn't being used.

Unsubscribe
On Nov 6, 2023, at 3:04 AM, Rob Vaterlaus @.***> wrote:

This surfaced in the Kubernetes indexer where resources with the same name but in different clusters and/or namespaces were not being assigned to different resources, so only a single SLX would be generated.
The solution was to have a qualified name for a resource that incorporates the parent cluster/namespace names and then use that as the key for indexing the resource instances in the resource type object.
I also cleaned up some subtle ways where the registry data structures could get messed up if the same resources were scanned multiple times, e.g. if the kubeconfig has multiple contexts for the same cluster.
I disabled the "resources" field for the namespace that collected all of the indexed resources for the namespace. It will take some more work to support that in a correct way. I don't think we're currently using it for anything, so I didn't want to waste cycles fixing up something that wasn't being used.

You can view, comment on, or merge this pull request online at:
https://github.com/runwhen-contrib/runwhen-local/pull/378
Commit Summary

53916fdhttps://github.com/runwhen-contrib/runwhen-local/pull/378/commits/53916fdc81b8928ca8f989d33390cf25235b4f17 Fixed bug with resources not being scoped with their parent in the registry

File Changes
(4 fileshttps://github.com/runwhen-contrib/runwhen-local/pull/378/files)

M src/enrichers/runwhen_default_workspace.pyhttps://github.com/runwhen-contrib/runwhen-local/pull/378/files#diff-c0c0469e2e013fcb94d0d53f0cfea094aa2e41ccb3f2f281be7bf5fe53ac5378 (1)
M src/indexers/kubeapi.pyhttps://github.com/runwhen-contrib/runwhen-local/pull/378/files#diff-7185f7b8b381040982056a7bb4289223f56ff1a523dfaa863750af3ce3a7e766 (126)
M src/resources.pyhttps://github.com/runwhen-contrib/runwhen-local/pull/378/files#diff-0680ae124e7899df3bad55a7ecccb74e24af90c406cf3c44a1104e1b457be7b7 (46)
M src/workspace_builder/tests.pyhttps://github.com/runwhen-contrib/runwhen-local/pull/378/files#diff-3e4c1e168ad32bc1ae43a6e7b622c8b1e2574b57cf347dcb889d8d932930f4cb (43)

Patch Links:

https://github.com/runwhen-contrib/runwhen-local/pull/378.patch
https://github.com/runwhen-contrib/runwhen-local/pull/378.diff

—
Reply to this email directly, view it on GitHubhttps://github.com/runwhen-contrib/runwhen-local/pull/378, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKEU3VCSVS2Z4YXYHDASLALYDC72VAVCNFSM6AAAAAA67KCCOSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TQOBWGMZDKMQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Fixes #377


All docker-compose files should use the same network

Currently, communication between containers from the agent/loadgenerator networks to containers of the dashboard/logging network takes place via localhost of the host. To avoid this, all docker-compose files should use the same network and reference each other using the container names.

@PaulWen Is it still relevant ?

While we are now using the same network for most of the containers, we are still using host.docker.internal instead of the container names in many places like prometheus.yml

https://github.com/My-DIGI-ID/aries-cloudagent-loadgenerator/commit/b184df4ce584138ea14a60ee78d073fca1844e52


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/111603

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113138

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/115857

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/120579


Improve the Footer -(UI/UX)

Description
The footer of the website doesn't go with the content of the webpage . I would like to make it properly placed and add some more options like [Link to GitHub repository] , [©] and [how to contribute in the community] to it .
This enhancement will not affect any of the existing content of the footer , In turn it will have some more css .
If the changes I have proposed need some alteration or any kind of deviation from the option , I will make the necessary changes.
Existing Footer:

Domain
UI/UX
Type of Contribution
Enhancement
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

can you assign me this issue?

@tasneemahmed123 , actually I too am not being able to get the files where we can apply the changes , I am waiting for the maintainer to respond .


Executor failed to create kernel Snapshot, compiled from source using contrib/makefile

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): slightly modified code of label_image/main.cc
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): linux ubuntu 16.04
TensorFlow installed from (source or binary): compiled from source using contrib/makefile just for CPU
TensorFlow version (use command below): the latest r1.7
Python version: N/A
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source):  5.4.0
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: N/A

Describe the problem
I created a c++ project slightly modified from label_image/main.cc, and compiled the code in qtcreator against -ltensorflow_cc -ltensorflow_framework (compiled from source using bazel) with no problems. Then I added all necessary ops to tf_op_files.txt and successfully compiled libtensorflow_core.a using contrib/makefile. Linking this static lib -ltensorflow_core to my code, my code returned at
Div(root, Sub(root, resized, ...), std ) (pseudo code)
with error
2018-04-19 19:12:07.554566: E tensorflow/core/common_runtime/executor.cc:644] Executor failed to create kernel. Not found: No registered 'Snapshot' OpKernel for CPU devices compatible with node Subtract = Snapshot[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"] (ResizeBilinear)
. Registered: < no registered kernels >
[[Node: Subtract = Snapshot[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"] (ResizeBilinear)]]
I found a similar post https://github.com/tensorflow/tensorflow/issues/17752 to this problem, but branch r1.7 with the fix https://github.com/tensorflow/tensorflow/commit/d392b1c9ebf131b9ac64ff289d26e43afea21c10 for windows doesn't solve my problem.
My own PB model file was created a while ago using tools compiled from r1.5, will this be the problem?
Source code / logs

recompiled the code, code crushed at other places. close this ticket for now


Demo: Dependency connectors still visible if dependencies are disabled

The dependency connectors are still visible when hovering over a task even if the dependencies are disabled.

I'll work on angular-gantt in the next few days, will fix this one.

Cool, thx!


Merge refs/heads/clean/unused-cases into alpha

Merge refs/heads/clean/unused-cases into alpha

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


Can you tell me the specific label of the semantic relationship type?

Hi, It's a great job!
In your semantic relationship encoding, you use one-hot encoding in semantic matrix. I wnat to use word embedding to encode the semantic relationships, so can you tell me the specific label of the semantic relationship type? such as, 0: no_relation, 1:wearing, 2:sitting on, 3:standing on, ...., 15: looking at.  Or have you used word embedding to encode and how effective is it?
Thank you very much, I'm looking forward your reply.

Maybe you should look at other issues first……


[patch.crates-io] ignores all features

Problem
I was trying to patch some of my deps, with additional features enabled in my workspace. However, features specified in [patch.crates-io] are all ignored.
Steps
[path.crates-io]
async-tungstenite = { git = "https://github.com/qiujiangkun/async-tungstenite", rev="1a544fb13fe46b22aa6df94e49277f49f8ffa8ca", features=["there-is-no-such-feature-whatsoever", "no-verbose-logging"] }

The features are ignored, no error is given(there-is-no-such-feature-whatsoever), and no feature is actually enabled(no-verbose-logging)
Possible Solution(s)
I think we can simply fix it, gives a hard error saying this is not supported, or gives a warning saying features are currently ignored
Output of cargo version:
cargo 1.54.0-nightly (44456677b 2021-06-12)

IIRC [patch] is used only  for patching sources of dependencies at this moment. For fields related to "conditional compilation", such as features and optional, you still need to specify them in the original [dependencies] section.

I believe this is a duplicate of #3034, so closing in favor of that.  Cargo should at least emit a warning about the unused features.


Logging disappeared after switching from app.run(main) to main()

There are two logging methods in our code:
import logging
logging.info('my logging msg')

or
import logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
logger.info('my logger msg')

When we first used app.run(main), everything is fine. All the log lines are output in absl.logging format.
Then we needed to combine absl.flags with argparse, and used your solution in #27 (Let one parser parse "known flags", and the other parse the rest. Example 2)  It works great except that we need to run main() instead of app.run(main) And all the logging were gone.
So we tried to add absl.logging.use_absl_handler() in __init__.py following #148 Now we are able to see content from logger.xxx in absl.logging format, but not those from logging.xxx no matter it is from python logging or absl logging.
Did I miss anything from app.run() or not using logging correctly?

could you please provide a minimal repro with a full .py file? there are many nuances how and when the library is imported and the functions are called, that can result in different behaviors. so a full minimal example can help here.

# !/bin/env python3

import argparse
import logging
import sys
from absl import app, flags
import absl.logging
absl.logging.use_absl_handler()

logger = logging.getLogger('test')
logger.setLevel(logging.DEBUG)

def main(args=None):
    if args is None:
        args = sys.argv

    unparsed = flags.FLAGS(args, known_only=True)  # Let absl.flags parse known flags first
    parser = argparse.ArgumentParser()
    args = parser.parse_args(unparsed[1:])  # Let argparse parse the rest of flags
    # args = parser.parse_args(args[1:])

    print('print: Finish parsing')
    logging.info('logging: Finish parsing')
    absl.logging.info('absl logging: Finish parsing')
    logger.info('logger: Finish parsing')

if __name__ == "__main__":
    # app.run(main)
    main()

Thanks! This script should be able to reproduce the issue.
print: Finish parsing
I0718 13:39:39.888040<PHONE_NUMBER>77152 main.py:23] logging: Finish parsing
I0718 13:39:39.888194<PHONE_NUMBER>77152 main.py:24] absl logging: Finish parsing
I0718 13:39:39.888281<PHONE_NUMBER>77152 main.py:25] logger: Finish parsing

print: Finish parsing
I0718 13:41:15.937640<PHONE_NUMBER>11520 main.py:25] logger: Finish parsing

I think it is related to verbosity, but thought absl.logging.use_absl_handler() already handled it in _update_logging_levels()?

Yes, this is caused by verbosity.
The default verbosity when not using app.run(main) is WARNING, matching the standard logging behavior. absl sets its own default verbosity to INFO here, which isn't called by your code.
So you can either set the --verbosity flag or the root logger's verbosity explicitly.
That being said, if you only need to run main() instead of app.run(main) because you want to use argparse, you can use the absl.flags.argparse_flags.ArgumentParser drop-in replacement together with app.run like this:
def parse_flags(argv):
  parser = absl.flags.argparse_flags.ArgumentParser(...)
  # Add your own argparse flags, this parser understands the flags defined using `absl.flags`.
  return parser.parse_args(argv[1:])

if __name__ == "__main__":
    app.run(main, flags_parser=parse_flags)

Hope this helps.

Thanks!


Linking to details from the combined achievements

In the combined achievements it would be nice if the name of the segment was linked to the details of the segment, and maybe the "2 days ago" linked to the activity. And maybe the name to the "profile" page of that user.
I understand that this would need to have all those "details" pages on the site, but would make it a more "social" site.
Eventually, the home page could also be turned into a "wall" stava like... just making sure we don't turn into relieve and get banned for duplicating strava features 😄

Profile page is indeed something that is planned (mostly : being able to mark your achievements page to be public), so we can do that
Having a list of activities duplicated seems to add less value, but I can indeed link the '2 days ago' to the strava activity detail page, I think

Has been deployed with #88


Add tests to dialog overlay/data import view

This includes testing of the data import view:

Does it render?
Testing of dialog overlay (validation errors work as expected, redirect+save table metadata when validation is successful)

Closed by #117


Maximum wallet size needs increasing

At least one user seems to be hitting a protobuf size limit:
https://bitcointalk.org/index.php?topic=1303208.new#new
Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol message was too large.  May be malicious.  Use CodedInputStream.setSizeLimit() to increase the size limit.
	at com.google.protobuf.InvalidProtocolBufferException.sizeLimitExceeded(InvalidProtocolBufferException.java:110)

This is already set to 512 MB in bitcoinj-alice (WalletProtobufSerializer, line 550) so nothing to do.
Closing
Documentation of the method used:
https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/CodedInputStream#setSizeLimit(int)

oops - closed the MultiBit Classic issue instead of the HD one.
Reopening.


Getting "Unable to connect to Zulip. Updates may be delayed. Retrying soon..." every few minutes after Zulip 3.0 upgrade

Hello,
On our Zulip install (originally running on Debian Stretch upgraded to Debian Buster via the Zulip upgrade instructions) after running the 3.0 update I am continually getting the "Unable to connect to Zulip. Updates may be delayed. Retrying soon... Try now." message at the top of the Web interface and  the MacOS and Windows client. Both clients are version 5.4.0. If I click "Try Now" or "Reload" from the client's View menu it will reload and be happy for about 30 seconds before the "Unable to connect" message pops back up.
I was getting the "Unable to connect" errors immediately after the 3.0 upgrade, so I did the postgresql upgrade as detailed here.
The server was running fine back on 2.1.7, with no connection issues.

Can you try going through https://zulip.readthedocs.io/en/latest/production/troubleshooting.html#troubleshooting-and-monitoring?
That sounds to me like your Tornado service isn't running properly.

Thank you for the link! Going through that I get the following...
Output of sypervisorctl status:
process-fts-updates                                             RUNNING   pid 785, uptime 0:00:00 zulip-django                                                    RUNNING   pid 783, uptime 0:00:00 zulip-tornado                                                   RUNNING   pid 784, uptime 0:00:00 zulip-workers:zulip_deliver_enqueued_emails                     RUNNING   pid 787, uptime 0:00:00 zulip-workers:zulip_deliver_scheduled_messages                  RUNNING   pid 802, uptime 0:00:00 zulip-workers:zulip_events_deferred_work                        RUNNING   pid 796, uptime 0:00:00 zulip-workers:zulip_events_digest_emails                        RUNNING   pid 800, uptime 0:00:00 zulip-workers:zulip_events_email_mirror                         RUNNING   pid 792, uptime 0:00:00 zulip-workers:zulip_events_email_senders                        RUNNING   pid 801, uptime 0:00:00 zulip-workers:zulip_events_embed_links                          RUNNING   pid 797, uptime 0:00:00 zulip-workers:zulip_events_embedded_bots                        RUNNING   pid 791, uptime 0:00:00 zulip-workers:zulip_events_error_reports                        RUNNING   pid 799, uptime 0:00:00 zulip-workers:zulip_events_invites                              RUNNING   pid 786, uptime 0:00:00 zulip-workers:zulip_events_missedmessage_emails                 RUNNING   pid 794, uptime 0:00:00 zulip-workers:zulip_events_missedmessage_mobile_notifications   RUNNING   pid 798, uptime 0:00:00 zulip-workers:zulip_events_outgoing_webhooks                    RUNNING   pid 789, uptime 0:00:00 zulip-workers:zulip_events_signups                              RUNNING   pid 790, uptime 0:00:00 zulip-workers:zulip_events_user_activity                        RUNNING   pid 795, uptime 0:00:00 zulip-workers:zulip_events_user_activity_interval               RUNNING   pid 793, uptime 0:00:00 zulip-workers:zulip_events_user_presence                        RUNNING   pid 788, uptime 0:00:00
I ran a cat /var/log/zulip/error.log and got:
`2020-07-24 21:04:14.907 ERR  [] Tornado server does not seem to be running, check /var/log/zulip/errors.log and tornado.log for more information.
2020-07-24 21:04:14.944 ERR  [] Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 387, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.5/http/client.py", line 1107, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.5/http/client.py", line 1152, in _send_request
self.endheaders(body)
File "/usr/lib/python3.5/http/client.py", line 1103, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/usr/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connection.py", line 184, in connect
conn = self._new_conn()
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1785d2afd0>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=9993): Max retries exceeded with url: /api/v1/events/internal (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1785d2afd0>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./zerver/tornado/event_queue.py", line 594, in request_event_queue
data=req)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/sessions.py", line 581, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=9993): Max retries exceeded with url: /api/v1/events/internal (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1785d2afd0>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "./zerver/lib/rest.py", line 35, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "./zerver/lib/rest.py", line 172, in rest_dispatch
return target_function(request, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "./zerver/decorator.py", line 627, in _wrapped_func_arguments
raise err
File "./zerver/decorator.py", line 612, in _wrapped_func_arguments
return target_view_func(request, profile, *args, **kwargs)
File "./zerver/decorator.py", line 829, in wrapped_func
return func(request, *args, **kwargs)
File "./zerver/lib/request.py", line 367, in _wrapped_view_func
return view_func(request, *args, **kwargs)
File "./zerver/views/events_register.py", line 56, in events_register_backend
fetch_event_types=fetch_event_types)
File "./zerver/lib/events.py", line 859, in do_events_register
narrow=narrow)
File "./zerver/tornado/event_queue.py", line 601, in request_event_queue
(tornado_uri,))
requests.exceptions.ConnectionError: Django cannot connect to Tornado server (http://<IP_ADDRESS>:9993); try restarting
2020-07-24 21:04:15.397 ERR  [] Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "./zerver/lib/db.py", line 31, in execute
return wrapper_execute(self, super().execute, query, vars)
File "./zerver/lib/db.py", line 18, in wrapper_execute
return action(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "./zerver/lib/rest.py", line 35, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "./zerver/lib/rest.py", line 172, in rest_dispatch
return target_function(request, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "./zerver/decorator.py", line 710, in _wrapped_view_func
return authenticate_log_and_execute_json(request, view_func, *args, **kwargs)
File "./zerver/decorator.py", line 689, in authenticate_log_and_execute_json
return limited_view_func(request, user_profile, *args, **kwargs)
File "./zerver/decorator.py", line 829, in wrapped_func
return func(request, *args, **kwargs)
File "./zerver/decorator.py", line 475, in _wrapped_view_func
return view_func(request, *args, **kwargs)
File "./zerver/lib/request.py", line 367, in _wrapped_view_func
return view_func(request, *args, **kwargs)
File "./zerver/views/presence.py", line 93, in update_active_status_backend
ret = get_status_list(user_profile)
File "./zerver/views/presence.py", line 25, in get_status_list
return {'presences': get_status_dict(requesting_user_profile),
File "./zerver/lib/actions.py", line 4969, in get_status_dict
return UserPresence.get_status_dict_by_realm(requesting_user_profile.realm_id)
File "./zerver/models.py", line 2317, in get_status_dict_by_realm
user_profile_ids = list(user_profile_ids)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/models/query.py", line 250, in iter
self._fetch_all()
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/models/query.py", line 1121, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/models/query.py", line 152, in iter
for row in compiler.results_iter(chunked_fetch=self.chunked_fetch):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/models/sql/compiler.py", line 841, in results_iter
results = self.execute_sql(MULTI, chunked_fetch=chunked_fetch)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/models/sql/compiler.py", line 899, in execute_sql
raise original_exception
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/models/sql/compiler.py", line 889, in execute_sql
cursor.execute(sql, params)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/utils.py", line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "./zerver/lib/db.py", line 31, in execute
return wrapper_execute(self, super().execute, query, vars)
File "./zerver/lib/db.py", line 18, in wrapper_execute
return action(sql, params)
django.db.utils.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
2020-07-24 21:04:17.078 ERR  [] Tornado server does not seem to be running, check /var/log/zulip/errors.log and tornado.log for more information.
2020-07-24 21:04:17.082 ERR  [] Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 387, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.5/http/client.py", line 1107, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.5/http/client.py", line 1152, in _send_request
self.endheaders(body)
File "/usr/lib/python3.5/http/client.py", line 1103, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/usr/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connection.py", line 184, in connect
conn = self._new_conn()
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1785d46080>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=9993): Max retries exceeded with url: /api/v1/events/internal (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1785d46080>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./zerver/tornado/event_queue.py", line 594, in request_event_queue
data=req)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/sessions.py", line 581, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=9993): Max retries exceeded with url: /api/v1/events/internal (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1785d46080>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "./zerver/lib/rest.py", line 35, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "./zerver/lib/rest.py", line 172, in rest_dispatch
return target_function(request, **kwargs)
File "/srv/zulip-venv-cache/6176a52fab8737c09656fc8ad0352547e9801c07/zulip-py3-venv/lib/python3.5/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "./zerver/decorator.py", line 627, in _wrapped_func_arguments
raise err
File "./zerver/decorator.py", line 612, in _wrapped_func_arguments
return target_view_func(request, profile, *args, **kwargs)
File "./zerver/decorator.py", line 829, in wrapped_func
return func(request, *args, **kwargs)
File "./zerver/lib/request.py", line 367, in _wrapped_view_func
return view_func(request, *args, **kwargs)
File "./zerver/views/events_register.py", line 56, in events_register_backend
fetch_event_types=fetch_event_types)
File "./zerver/lib/events.py", line 859, in do_events_register
narrow=narrow)
File "./zerver/tornado/event_queue.py", line 601, in request_event_queue
(tornado_uri,))
requests.exceptions.ConnectionError: Django cannot connect to Tornado server (http://<IP_ADDRESS>:9993); try restarting`
followed by:
2020-07-24 21:06:00.552 ERR  [] Problem handling data on queue error_reports Traceback (most recent call last):   File "/home/zulip/deployments/2020-07-24-16-41-10/zerver/worker/queue_processors.py", line 217, in do_consume     consume_func(events)   File "/home/zulip/deployments/2020-07-24-16-41-10/zerver/worker/queue_processors.py", line 246, in <lambda>     consume_func = lambda events: self.consume(events[0])   File "/home/zulip/deployments/2020-07-24-16-41-10/zerver/worker/queue_processors.py", line 557, in consume     do_report_error(event['report']['host'], event['type'], event['report'])   File "/home/zulip/deployments/2020-07-24-16-41-10/zerver/lib/error_notify.py", line 184, in do_report_error     notify_server_error(report)   File "/home/zulip/deployments/2020-07-24-16-41-10/zerver/lib/error_notify.py", line 97, in notify_server_error     email_server_error(report)   File "/home/zulip/deployments/2020-07-24-16-41-10/zerver/lib/error_notify.py", line 151, in email_server_error     deployment = deployment_repr(report)   File "/home/zulip/deployments/2020-07-24-16-41-10/zerver/lib/error_notify.py", line 36, in deployment_repr     for field, val in report['deployment_data'].items(): AttributeError: 'NoneType' object has no attribute 'items'
repeatedly.

running supervisorctl restart all seems to have made it happy... the uptime isn't sitting at 0:00:00 every time I run supervisorctl status now. Very strange as I had restarted the server twice since the problem started.

Great.  Those errors look to be the result of being unable to connect to the database, which would be consistent with Tornado not having restarted since the database upgrade and thus being offline, which will break the system in a way consistent with what you describe.  I'd expect the system to be stable now that those are resolved.  Glad to hear our troubleshooting docs were helpful!


Is the vbguest plugin required?

I have encountered a lot of issues in the last week when setting up legacy projects on geerlingguy/ubuntu1404 regarding the VirtualBox Guest Additions. It just hangs on the guest additions installation in terminal.
There was a snafu recently that broke the plugin entirely, requiring updating the vagrant plugin to 0.15.2.
I just destroyed the box and changed my config.yml to use the geerlingguy/ubuntu1604 box instead. The box seems to provision, and provision much faster, so I am not sure if these recent changes have impacted the 1404 in some way.

Yeah... so Ubuntu 14.04 is really, really wonky now. I have no idea what happened but I'm hitting a lot of walls when trying to get my box updated!
See: https://github.com/geerlingguy/packer-ubuntu-1404/issues/24

Let's merge this ticket into #1807.


upgrade pulsar dependency to 2.8.0-rc-202105291235

Modification

upgrade pulsar dependency to include the following bug fix

https://github.com/apache/pulsar/pull/10706 : fix load __consumer_offset topic timeout on bundle onLoad stage
https://github.com/apache/pulsar/pull/10341 :  fix create reader failed on bundle onLoad stage

To fix the license check, the kop.yaml should be
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

repository: https://github.com/streamnative/kop


Remaining pubternal APIs in the shared framework

We still have to look at packages but I haven't done that yet: I want to make sure these were intentional and not forgotten. If they were intentional I'd like to understand why they weren't made public APIs

[x] - Microsoft.AspNetCore.Authentication.Internal (@HaoK @Tratcher, @Pilchie)
[ ] - Microsoft.AspNetCore.Builder.Internal (@Tratcher @davidfowl, @anurse)
[ ] - Microsoft.AspNetCore.DataProtection.Internal (@natemcmaster @blowdart)
[ ] - Microsoft.AspNetCore.Hosting.Internal (@Tratcher @davidfowl @anurse )
[ ] - Microsoft.AspNetCore.Http.Internal (@Tratcher @davidfowl @anurse)
[x] - Microsoft.AspNetCore.Mvc.Core.Infrastructure (@rynowak @mkArtakMSFT )
[x] - Microsoft.AspNetCore.Mvc.Razor.Internal (@rynowak @NTaylorMullen @pranavkm @mkArtakMSFT )
[ ] - Microsoft.AspNetCore.Rewrite.Internal (@jkotalik @anurse )
[ ] - Microsoft.AspNetCore.Routing.Internal (@rynowak @JamesNK)
[ ] - Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal (@halter73 @davidfowl  @anurse)
[ ] - Microsoft.AspNetCore.Server.Kestrel.Https.Internal (@anurse , @halter73 @Tratcher )

For DataProtection, see https://github.com/aspnet/AspNetCore/issues/6975#issuecomment-457280598. It's the only context I have on that one.

All of the Razor.Internal ones are runtime compilation specific. We made specific announcements for it.
The Mvc.Core.Infrastructure is rather unfortunate. It's still there in 3.0: https://github.com/aspnet/AspNetCore/blob/master/src/Mvc/Mvc.Core/src/Infrastructure/IAntiforgeryValidationFailedResult.cs

For auth, it looks like we only have one RequestPathBaseCookieBuilder which seems harmless enough to make public and with the rest of the Authentication Core code, its shared between Cookies, OpenIdConnect and the base RemoteAuthentication classes.
@Tratcher any opposition to just making this regular public?  This class hasn't been touched since @natemcmaster added this 2 years ago when he introduced the cookie builder stuff.

The Mvc.Core.Infrastructure is rather unfortunate. It's still there in 3.0: https://github.com/aspnet/AspNetCore/blob/master/src/Mvc/Mvc.Core/src/Infrastructure/IAntiforgeryValidationFailedResult.cs

@pranavkm Why not move it out of the internal namespace?

For DataProtection, see #6975 (comment). It's the only context I have on that one.

@blowdart besides "leave DataProtection alone", do you know if we can make this type internal now or make it properly public? There are 2 types:
public class DataProtectionBuilder : IDataProtectionBuilder {
         public DataProtectionBuilder(IServiceCollection services);
         public IServiceCollection Services { get; }
     }

This could be public or internal.
public interface IActivator {
    object CreateInstance(Type expectedBaseType, string implementationTypeName);
}

This should be internal.

Why should it be internal?
@GrabYourPitchforks can you remember why this was written in this way?

@HaoK Yes, RequestPathBaseCookieBuilder can be public.

For sanity sake, let there only be one breaking change announcement that we add a few comments to.

Why should it be internal?

It's a utility interface that's an internal implementation detail that doesn't need to be exposed to external users. We're doing mass clean up of pubternal types in ASP.NET Core 3.0, data protection is part of that clean up.

@pranavkm All of the Razor.Internal ones are runtime compilation specific. We made specific announcements for it.

Can we move the code gen helpers to a CompilerServices namespace?

Can we move the code gen helpers to a CompilerServices namespace?

Not super sure I follow. Are you talking about CSharpCompiler? For a lot of the others, the actual interface types are still public, as a rule MVC does not expose the actual implementation type.

Not super sure I follow. Are you talking about CSharpCompiler? For a lot of the others, the actual interface types are still public, as a rule MVC does not expose the actual implementation type.

No, the types in Razor.Internal, like RazorInject attribute and the other things you said are required for code generation.

We decided to leave RazorInject in the pubinternal namespace. We wanted to avoid breaking 2.2 RCLs with generated content. We're treating it as part of our public API surface even though it's in the .Internal namespace.

We're making great progress on this!

@Tratcher can you look at Microsoft.AspNetCore.Server.Kestrel.Https.Internal?
@rynowak can you make a call on the types in ** Microsoft.AspNetCore.Routing.Internal** - You can leave make DfaWriter as public API with a comment about the fact it can break (similar to how EF has the warning on pubternal types)
I'll take Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http, this is the http parser we use in the platform benchmark.
@blowdart Microsoft.AspNetCore.DataProtection.Internal - I'm going to look at making things internal.

https://github.com/aspnet/AspNetCore/pull/11752

Spoke to @GrabYourPitchforks and he says make them internal!

EnableRewind is quite useful, why was it removed?

@NicolasDorier because we made a properly public version named EnableBuffering.

Just another feedback:
I was using AnsiLogConsole/WindowsLogConsole/IConsole directly in the past as I did a custom CustomConsoleLogger, which is almost the same as the official one but with little adjustment. I have a bad memory about the initial reason, I think it is because I only wanted [Info] and nothing more in my logs. (No timestamp) and some custom stuff with log padding.
Since Internal namespace is now internal, my code broke.
I don't think it is a big deal really, as I can just copy/paste those classes directly in my project. It is quite corner case and does not require me too much maintenance. Just wanted to share feedback.

@Tratcher @davidfowl Can RequestCookieCollection be public? If implementing a custom IRequestCookieCollection or IRequestCookieFeature, there's not much reason to reimplement this vs inherit or wrap it.
I think you can get an instance of one anyway like this:
(new RequestCookiesFeature(new FeatureCollection())).Cookies;

@Samirat can you file a new issue for API requests like this?
I'm going to close this as we've finished the work on removing pubternal APIs. Feel free to open new issues to discuss particular APIs. We can triage those as appropriate.


Make Live SEO analytics

Is your feature request related to a problem? Please describe.
Collect SEO Data and Website Performance Analytics and ping it to Discord
Describe the solution you'd like
Collect SEO Data and Website Performance Analytics and ping it to Discord

Will look on it!
Possibly using a curl request from an API might help
Though another approach is to make node js env and then run seo analysis
Discord is operating fully as setted!!!

Made performance tab do check out in the latest PR

progress : echo'd the lighthouse performance
The previous performance was inaccurate and slow
Still will integrate Discord and figure out a way to attach the perf to the PR/Commit


feat(tab) jump to next field

TAB to move between fields is a behavior most users will expect.
DEMO

If you find merge conflicts while merging this one, delete this duped line:
api.nvim_buf_set_keymap(bufnr, 'n', 'O', 'ki', map_opt)

Small improvement pushed: By allowing the user to use TAB to move among fields, it s not necessary to leave insert mode to fill fields now.
Note that most people like to map TAB for cmp, and in that case this specific feature will be ignored.

Ok, I tested it. Works great. Accepting.


Fix #15588

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15595/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15595/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15595/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15595/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15595/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15595/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15595/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15595/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15595/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15595/merge/testResults/webgl2playwright/index.html


Add release action

This removes most manual steps for creating a PyPI-release, and means that anyone with write access to this repo can create a pypi-release. The reason this works is because I (as PypI owner/maintainer) has added the workflow as a trusted workflow. For now I have also added my own workflow and have performed tests using it.

Also updating dependencies due to broken dependency between protobuf and grpio-tools
Markdown error is due to error in submodule
See https://github.com/eclipse-kuksa/kuksa-python-sdk/wiki/Release-Process for some notes on how this will affect release process

only commiters could trigger that right?

only commiters could trigger that right?

Yes, thats the same as for all other workflows, if they can be triggered manually then it can only be done by people with write rights for the repo


Remove '' around * in azure-cli 2 command

I was following these instructions and got errors with then '*' in the cmd, rather than just *. With * it works.

@kraigb,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@kraigb : Thanks for your contribution to the Azure documentation! The author, @iainfoulds, has been notified to review your proposed change.

Hi @kraigb. Thanks for the contribution. Curious as to what OS/shell you're running the commands from? I'm testing the commands again, but these previously worked on Bash for Ubuntu 16.04 and macOS.

I was running them under Git Bash on Windows 10.
On first run, with the unmodified script, I got this error: ERROR: Security rule has invalid Port range. Value provided: '*'. Value should be an integer OR integer range with '-' delimiter. Valid range 0-65535.
So I set --source-port-range to 0-65535, which solved that issue, but then got this: ERROR: Security rule /subscriptions/44f7aaf4-97f8-4aa9-a791-245ed34e3bd5/resourceGroups/python-ubuntu/providers/Microsoft.Network/networkSecurityGroups/vsdocs-remotepython-ubuntu-nsg/securityRules/myNetworkSecurityGroupRule has invalid Address prefix. Value provided: '*'
Removing the single quotes around the address-prefix args then worked and I got a JSON response as follows. I could also replace 0-65535 with just * and it would work.
{
"access": "Allow",
"description": null,
"destinationAddressPrefix": "",
"destinationPortRange": "3389",
"direction": "Inbound",
"etag": "W/"7909639b-f7f8-4f5e-b8f4-43021aa0cac9"",
"id": "/subscriptions/44f7aaf4-97f8-4aa9-a791-245ed34e3bd5/resourceGroups/python-ubuntu/providers/Microsoft.Network/networkSecurityGroups/vsdocs-remotepython-ubuntu-nsg/securityRules/myNetworkSecurityGroupRule",
"name": "myNetworkSecurityGroupRule",
"priority": 1010,
"protocol": "Tcp",
"provisioningState": "Succeeded",
"resourceGroup": "python-ubuntu",
"sourceAddressPrefix": "",
"sourcePortRange": "0-65535"
}

Interesting behavior. Leaving out the ' ' works just fine, and the other command samples don't include, so not sure why just that one example does. Sorry you ran in to issues there. I'll try to check other docs for consistency, too.
This can be merged, please.
#sign-off

I don't mind running into trouble if it improves the docs. :) Anyway, I don't have merge privs here, so you or someone else will need to complete the PR.


Add support for debugging e2e tests

See https://github.com/AngularClass/angular2-webpack-starter/issues/416#issuecomment-196012073

closed by a399a50266283fa2a9b162c9ecd5c93b164f223a


Also check for alias in the logger compiler pass

The logger compiler pass only checks the container for a service whose id is 'logger', but for version <=3.0.0 of Monolog, 'logger' is only an alias for 'monolog.logger', not an id (see: https://github.com/symfony/monolog-bundle/blob/804425dfceec0097bf3e5dea3a73d91e055686be/DependencyInjection/MonologExtension.php#L55). Because of this, the logger used by the Gentle Force bundle defaults to NullLogger and logging fails to happen.
With this change, we check both for a service whose id is 'logger' OR for a service whose alias is 'logger'. This makes it compatible with versions of Monolog below 3.1.x.

Thanks!


the format of bed file

i write a bed file, is it correct?
chr12	15239647	15239772
it contains chrome, start and end, is it need other infomations?
is there a example?

Dear weibochen,
Nimbus also requires the strand information, so we only support 6 column BED files. For the BED entry to be usable in Nimbus, you would need to add a name, score and a strand.
For example: chr12\t15239647\t15239772\tsome_name\t.\t+
Also note that the fields should be tab-delimited.
with kind regards,
Rutger


Correction in user/gto.rst

As a first time user of PySCF, but a long-time user of Molpro, CFOUR, MRCC, OpenMolcas, etc.,  I read the documentation and surprisingly got this part wrong.
When I saw the phrase spin "multiplicity", I set spin=2 for the H atom, and got an error.  The "Note" that tells us that spin really refers to the number of unpaired electrons, not the multiplicity,  was so far below, and in a separate box, so unfortunately it escaped me until after I got the error.
For an easier experience for first-time users, I would suggest not to mention "multiplicity" when it's not actually the multiplicity being set here.  The version that I'm requesting to merge, will be interpreted correctly by a larger percentage of users that are familiar with programs.

@susilehtola  I agree, and I considered suggesting something like that. I figured that for my first pull request I should start with a smaller change though :)
Some options that I considered were:

"Charge and number of unpaired electrons can be assigned to..."
"Charge and spin (see note below) can be assigned to..."
"Charge and spin (technically twice the spin) can be assigned to..."
"Charge and spin (technically the number of unpaired electrons) can be assigned to..."

but "Charge and spin" would have been enough for me to get it right, based on experience with other programs (MOLPRO's spin keyword also means number of unpaired electrons, so this would have been enough to make sense to me ... maybe not enough for others).

"Charge and spin (see note below) " looks good.

Hi, I have also been using this functionality (and have been a little confused by it). Technically, I would prefer
"Charge and number of unpaired electrons can be assigned to..."
but I would also be happy with
"Charge and spin (see note below) can be assigned to..."

I agree with @deyanmihaylov. The updated text is not what spin is.


HostPort is not enabled while using partial kube-Proxy replacement

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I have manually installed cilium on a AKS cluster. According to https://docs.cilium.io/en/stable/network/kubernetes/kubeproxy-free/#kube-proxy-hybrid-modes, I can enable hostPort feature in cilium without using a strict kube-proxy replacement.
command used to install cilium:
helm install cilium cilium/cilium --version 1.14.6   --namespace kube-system   --set aksbyocni.enabled=true   --set nodeinit.enabled=true  --set kubeProxyReplacement=false --set hostPort.enabled=true

Cilium status output (HostPort stays disabled)-
KubeProxyReplacement Details:
  Status:                 False
  Socket LB:              Disabled
  Socket LB Tracing:      Disabled
  Socket LB Coverage:     Full
  Devices:                eth0  (Direct Routing)
  Session Affinity:       Disabled
  Graceful Termination:   Enabled
  NAT46/64 Support:       Disabled
  Services:
  - ClusterIP:      Enabled
  - NodePort:       Disabled
  - LoadBalancer:   Disabled
  - externalIPs:    Disabled
  - HostPort:       Disabled

However, If I set another property, like nodePort while installing cilium, HostPort is also enabled along with nodePort.
Command used to install cilium:
 helm install cilium cilium/cilium --version 1.14.6   --namespace kube-system   --set aksbyocni.enabled=true   --set nodeinit.enabled=true  --set kubeProxyReplacement=false --set hostPort.enabled=true  --set nodePort.enabled=true

Cilium status output -
KubeProxyReplacement Details:
  Status:                 False
  Socket LB:              Disabled
  Socket LB Tracing:      Disabled
  Socket LB Coverage:     Full
  Devices:                eth0 <IP_ADDRESS> (Direct Routing)
  Mode:                   SNAT
  Backend Selection:      Random
  Session Affinity:       Disabled
  Graceful Termination:   Enabled
  NAT46/64 Support:       Disabled
  XDP Acceleration:       Disabled
  Services:
  - ClusterIP:      Enabled
  - NodePort:       Enabled (Range: 30000-32767)
  - LoadBalancer:   Enabled
  - externalIPs:    Disabled
  - HostPort:       Enabled

Cilium is unable to only enable HostPort feature on its own.
Cilium Version
1.14.6
Kernel Version
Aks Node
OS-image - Ubuntu 20.04.6 LTS
Kernel Version - 5.4.0-1121-azure-fips
Kubernetes Version
1.28.3
Regression
No response
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Cilium Users Document

[ ] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi, thanks for the report. I can confirm that with the first Helm command above, the Cilium configuration in the ConfigMap enables hostport (and not nodeport), and that if you install/run Cilium, it receives this configuration, but then the cilium status reflects that the hostport feature is not enabled. This seems like a bug.
For now I think the workaround is to either use portmap CNI for hostport, or enable more of Cilium's kube-proxy replacement feature. The vast majority of users will either commit to kube-proxy + portmap or only Cilium to implement services, so you will have the highest chance of success if you follow one of these two patterns.

@joestringer Thanks for a quick response. We are using cni chaining portmap as a workaround, but would like to have hostPort enabled directly. Any timeline on when it will be fixed? Thanks!

The Cilium project relies on contributions from volunteers in the community. I can't give you any timeline on proposals from volunteers. You're welcome to investigate the issue and make proposals about how to fix the issue either here or by filing a PR with a concrete implementation.


[idea] Temporary apps whitelist

Would it be possibe for HidHide to have a temporary allow list that clears itself on a reboot? Instead of apps permanently auto-whitelisting themselves they could just request temporary allowance when starting. This could prevent the list from growing bigger in situations where the user keeps changing the location of the used app.

You can now design/script this yourself with the provided command line client!


[Test] add unit test for /arana/pkg/sequence/... package.

What would you like to be added:
Why is this needed:
add unit test for /arana/pkg/sequence/... package.

use this tools:
go test ./pkg/security/ -v -coverprofile=count.out

go tool cover -html=count.out

需要 mock 内容比较多


Simple Encryption and Decryption

Pull Request Test Coverage Report for Build 299

133 of 192 (69.27%) changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.5%) to 89.68%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/ptman/commons/encrypter/DataEncrypter.java
17
18
94.44%

src/main/java/seedu/ptman/storage/XmlAdaptedTag.java
10
14
71.43%

src/main/java/seedu/ptman/storage/XmlAdaptedEmployee.java
62
88
70.45%

src/main/java/seedu/ptman/storage/XmlAdaptedOutletInformation.java
44
72
61.11%

Totals

Change from base Build 298:
-1.5%

Covered Lines:
2946

Relevant Lines:
3285

💛  - Coveralls


MyVariant.info is giving invalid COSMIC IDs

For EGFR gene, variant E746G, MyVariant.info is giving a COSMIC ID of 1451586. COSMIC says that no such ID exists:

What COSMIC Says:

I am running into many more variants that are like this. One variant I just ran into with this problem was  gene: PDGFRA/ variant: V561A

@KujanL do you know if the other MyVariant.info fields look correct based on the variant? Basically are we matching the correct MyVariant.info record but this particular field is wrong, or are we somehow matching the wrong MyVariant.info record.

So the correct COSMIC ID for that variant should be http://cancer.sanger.ac.uk/cosmic/mutation/overview?id=85787 but COSMIC doesn't provide any chromosome stop/start information.

@KujanL, After some digging with help from @kkrysiak, it looks like this is an issue on MyVariant.info's side of things. I've filed an issue with them here: SuLab/myvariant.info#25 so hopefully we can get to the bottom of it!

This is a licensing problem. They are using the last version that was made publicly available, I do believe.


grammar correction

*stopped instead of stop

Whoops. This got merged to the wrong branch. I'll fix.


Added Instituto Tecnológico de Chalatenango El Salvador

ref: https://www.itcha.edu.sv

@alhe99 First stage of verification passed, official domain is itcha.edu.sv as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@alhe99 Pull request merged. Thank you.


Mod range issue

The is something wrong with the {range:} code which causes the range of every mod being displayed in the All items tab, which basically only happens with rare and unique templates. This also causes the shared items tab to not save those mods properly.
Also, could you perhaps add a search bar for the shared items tab?

There's actually two issues here:

The mod ranges showing in "All items" is caused by a mistake in the tooltip code for the "All items" control, which causing the items to display in "DB mode", which shows ranges instead of the current rolls. This bug was introduced in 1.4.11 when I overhauled the list controls; I'm surprised I haven't noticed it yet, although I have been focusing on other parts of the program since then.
The mod ranges not being saved when copying to the shared item list is caused by a flaw in the drag handler for the shared item list.

Both are fixed in the next update.
Adding a search bar for the shared item list is actually quite tricky since the item order is user-defined, unlike the unique/rare databases, which creates some odd issues if the list is being filtered in some way. That's why all lists in the program are either user sortable (skills, all/shared items, trees, spectres), or searchable/filterable (builds, unique/rare databases), but never both.


Fix config live reload, pop-up config.js parse errors

I was already logging to the console when config.js has parsing errors but I wanted to put the error somewhere the user would actually see it.  I changed the console.log to an alert so it now pops up in the user's face.
While testing this out, I was getting an error in index.tsx that UI.Actions.setConfigValue was not a method.  It turns out the method was actually named setConfigurationValue.  This was introduced in #356.  I changed the method name in ActionCreators.ts to match the expected name used in index.tsx and changes to config.js automatically take effect once again.

Thanks @keforbes  for catching this regression and fixing it! Hopefully with #98 we can have a nicer way to show the errors eventually (this is a general problem not specific to the PR, lots of places where alert is being used), but just tried it out and the functionality is great.

Ajajaj that's my bad. I've been thinking this cast is really annoying:
export const Actions = bindActionCreators(ActionCreators as any, store.dispatch)

And my first commit PR I already get bitten by it... I'll think about how we can keep this typesafe.


plugin: fixes to keep Cordova 8 and 7 support

Adds xcode dependency to use with require.
Reverts cordova-lib to requireCordovaModule, since it's a cordova
module.

Hi @hanieel ,
I've tried the PR with projects created with older Cordova versions and it didn't work because the hooks couldn't find the modules.
The xcode dependency needed by the iOS hooks may not be found by require unless it's a direct dependency of the module or Cordova installs it in the topmost node_modules path. On older versions xcode is installed as a dependency of cordova-ios which means it may fail through require.
According to the cordova-lib 9.0.0 release notes, requireCordovaModule was deprecated for "non-Cordova modules". cordova-lib is a cordova module and is required through requireCordovaModule for the Android plugins.

it crashes in cordova 9 due to deprecation of requireModule.

What crash are you getting with the changes in this PR?

I have tested my PR on these versions:
Cordova 7.0 - Works as expected
Cordova 8.0 - (does require xcode dep.) need to specify a cordova-android 7.1.1 cordova-android
that comes with cordova 8 which is cordova-android 7.0.0 has issues.
Cordova 8.1 - (does require xcode dep.) Works as expected.
Cordova 9.0 - Works as expected.
The error I get in cordova 9 is: Error: requireCordovaModule was deprecated for non-Cordova modules use require instead. everytime I try to build with cordova 9.
Have you ran it using Cordova 9 yet?

I'm getting a Error: Cannot find module 'cordova-lib' when trying to prepare an Android project on Cordova 9 with the main branch from this repo. Here are the commands I'm following:
npm install -g cordova@9
git clone https://github.com/hanieel/nodejs-mobile-cordova
cordova create TestPR
cd TestPR
cordova platform add android
cordova plugin add ../nodejs-mobile-cordova
cordova prepare android

What commands are you running with the changes I've proposed to get the error you mention?
In my case, it works. Here are the commands I'm using to test this PR:
npm install -g cordova@9
git clone https://github.com/hanieel/nodejs-mobile-cordova
cordova create TestPR
cd nodejs-mobile-cordova
git fetch origin pull/1/HEAD:pr1
git checkout pr1
cd ../TestPR
cordova platform add android
cordova plugin add ../nodejs-mobile-cordova
cordova prepare android

Does this fail for you?

Hi, Ended up merging these changes with the fixes needed for keeping support for older versions upstream: https://github.com/JaneaSystems/nodejs-mobile-cordova/commit/72ede371fcf110876f0ddfa176bc161dede0687d


config.py

the config file is in python format but the terminal supports json format.plz provide config.json file too

config.py is not a config file.


Fix paste behaviour

Planning
https://github.com/upfrontIO/livingdocs-planning/issues/1576
To reproduce

Make a very long paragraph that is longer than one viewport height (should have a scrollbar)
Move to the end of that paragraph and copy some content to the end

Observed Behavior
The scroll position scrolls to the top of the paragraph and the place where the content was pasted is not visible anymore.
Expected Behavior
The scroll position should not change.
Video
https://drive.google.com/open?id=0Bya_F0ISZ6F8OUV4TTUwMmxNTU0
Description

The first commit fixes some import issues.
The second commit tackles the main issue from the planning. We now disable the focus if we paste only one paragraph.

@peyerluk it looked to me as the simplest fix for the issue at hand. Can you assess its relevance? I'll look if it needs testing afterward.

Have you seen the comment in the code? The setting of the focus is there for Firefox.
And what is the reasoning behind only disabling the focus when one paragraph is pasted?

It might be easier to just preserve the scroll position when focusing the element. I can help with that if you want.

Have you seen the comment in the code? The setting of the focus is there for Firefox.

In Chrome, the setting of the focus is the issue, it sends you back to the top of the paragraph even if the paragraph is really long.
In Firefox, it does nothing, we stay at the bottom of our long paragraph. In a sense, the issue is not present in Firefox.

It might be easier to just preserve the scroll position when focusing the element. I can help with that if you want.

Good hint, I'll try that, and go back to you if needed, thanks.

As you suggested: I now revert the scroll position when focusing.
Also, when the cursor is not visible anymore it sets the cursor's position at the center of the user's screen. The experience is nice IMHO, but I can remove it.
Before:
https://drive.google.com/open?id=1ApFx90fjKIAFWBct4Y-bK7BC1rIb9gMj
After:
https://drive.google.com/open?id=1gtvX3h_MD5Wa0Eg583i-yShGRYZn_Bzp
@peyerluk

Closed in favor of: https://github.com/upfrontIO/editable.js/pull/151


Allow custom slider values in schedule preferences

Prerequisites

✅ I'm using latest version: v1.0.0
✅ I've checked Known issues
✅ I've checked Open issues

Description
May I suggest a textbox to allow a user to input their own scheduled timeframe for breaks? I found the current implementation especially annoying for long breaks when I want to take a break every hour and a 1/2, but the closest I can set the schedule to is 75 minutes or 100 minutes. Someone may think this is trivial but it can be useful for someone who wishes to work in 90 minute (or other customisable timeframe) stints.
Operating system: MacOS Catalina
Steps to Reproduce

Preferences -> Schedule
Drag sliders for mini breaks and long breaks

Expected behavior:
I would like the timeframes to be more customisable, maybe with a small textbox. When a value is entered into the textbox, the slider can automatically adjust to an appropriate position.
Actual behavior:
Slider positions are fixed and restrictive.
Additional Information
Some validation required for the textbox. Also, when a value is entered, the slider could auto-adjust to an appropriate position. Maximum values may be required (e.g. maximum 105 seconds for mini break every maximum 65 minutes, and a similar rule for long breaks)
Please let me know what you think. I am willing to investigate and complete the work needing done once approved!

Hi @smcveigh941 ,
regarding Mini Breaks: I plan to change it in a way, that there will be few values under 2 minutes and then bigger values like 3 , 5, 10, 15 minutes. Default value is quite small (20 seconds), so it looks confusing if I would have a seconds interval up to let's say 15 minutes.  (That's why I went with 105 seconds as end value)
regarding Long Breaks: there are times show, ie "Every 30 minutes", but in reality, it's "Show Long Break after X Mini Breaks." So for defaults, you have "Show Long Break after 2 Mini Breaks", 10+10+10 minutes.


Publishing an official Docker image?

Thanks for what looks to be a fantastic tool.
There are some cases where having a Docker image to easily run torrenttools might be more convenient / desirable than the existing COPR / launchpad repos.
Would you be willing to consider publishing an official Docker image that is updated as part of releases?

This is certainly a good idea. I will create an image when I have some time.

There is now a docker image available on docker hub.


chore(templates): fix ESLint warnings

Both format & lint workflows are failing since ba5c8486
https://github.com/remix-run/remix/runs/7908428299?check_suite_focus=true
https://github.com/remix-run/remix/runs/7908428662?check_suite_focus=true

@kentcdodds We've always done this since the refactor of the internal ESLint config.
If you want to, I can fix it so we have const + the warnings/errors are fixed

Yep. That's sounds good. Thank you.


Implement Redshift Taggable Resources

Implement create_tags, describe_tags, and delete_tags endpoints
Clusters, Parameter Groups, Security Groups, Snapshots, and Subnet Groups can all be tagged
Test Suite updated
Minor clean-up of restore_from_cluster_snapshot endpoint
Miscellaneous typo fixes

Coverage increased (+0.06%) to 93.099% when pulling a17fbd3c8b9d0dbf5e72200a826ef4df99a709d5 on bpandola:redshift-taggable-resources into ca8ce8705bdaf1b2b3da927eb3715bcaf1799ce9 on spulec:master.

Great work, @bpandola !


How would I be able to send bytes data as a text frame.

THe websocket server I am using is asking for text frames but orjson creates bytes directly.
I want to be able to send these bytes directly as text frames, but the way the library works , it seems not possible maybe I have to change the connection object.
Is there a documented way to do this? regards

Right now you have to use send(your_json_bytestring.decode()).
To avoid the useless decoding and encoding, send() could gain an encode keyword argument, similar to the decode argument of recv() — whose introduction was motivated by orjson.
Marking as a feature request.

Based on your Twitter, I'm afraid that https://websockets.readthedocs.io/en/latest/project/support.html#cryptocurrency-users applies, FYI.

Well I am not going to complain because I totally agree with you. Nevertheless, Thanks Aymeric

NB: I added the feature to the asyncio implementation yesterday. I'm probably going to do the same in the sync implementation soon.

Merci


Add links to PDF.js homepage and API reference in README.md

Just a tiny quality-of-life change. I frequently find myself landing on the repo from search engines with no quick and visible way to go to the project homepage or API docs.

Thank you!