Joe rebase

PR o'clock
Description
Update the aws eks auth command PR to be current against the main branch.
The diff against the main branch that remains are a few version bumps for providers (not sure if those are being locked anywhere) and the expected changes from the PR.
Checklist

[x] CI tests are passing
[x] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

Thank you for merging!


Compile error.  No file digest algorithm specified.

No file digest algorithm specified. Please specify the digest algorithm with the /fd flag. Using /fd SHA256 is recommended and more secure than SHA1. Calling signtool with /fd sha1 is equivalent to the previous behavior. In order to select the hash algorithm used in the signing certificate's signature, use the /fd certHash option.	avshws	E:\Workspace\C++\Driver\VirtualCameraDriver-master\Driver\avshws\SIGNTASK

using Visual Studio 2022 compiled the project, but got this problem, how to fix?

Sorry no idea. I haven't tried to compile the driver with VS2022. But I'm guessing you need to change some signature settings in project settings.

using Visual Studio 2022 compiled the project, but got this problem, how to fix?

@mbshqqb just edit signing method to sha256.( properties->Driver Signing -> File Digest Algorithm )


Security best practices

Are there any security best practices you can recommend related to large email size or attachment size?  For example, if someone wanted to spam your system with a barrage of emails that have 20MB+ attachment sizes, things would get slow.

So, what is the conclusion on this? It's impossible to refuse attachments that large? We could just cut off the smtp connection, right?


Forbid class props in react

In the past, we've had a custom overcommit hook protecting against using
class instead of className as a prop. For React newcomers, this is a
common mistake to make, so it's good to have some protection in place.
Instead of the custom overcommit hook, we can instead just prevent this
through the react/forbid-component-props rule [1].
[1] https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-component-props.md

Awesome, thanks for pointing that out. For some reason, that isn't catching things for me. We'll have to investigate before deciding whether to merge this or not.


exporter problem

See slack message by @clairerye
Can I summarise what we know so far and what next steps.

We had an issue where an old version of the exporter was deployed in prod
When we started exporting we were looking to confirm the files where in one location when they were actually in another. But we might also have some other issue with exporting as @ray's project now has the 'archived' status
We have deployed the correct version of the exporter on production
Marion is going to 'test' export in production a small dataset to check we have fixed the problem
We need to 'reset' the (2 or more?) Ray's and Will's projects to valid so they can be re-exported
We will then export the remaining projects that are ready for the feb data release
We may need to clean up files incorrectly exported to other folders in the staging area
We need to have a retro to dive into why this happened

See related PR by @jacobwindsor : https://github.com/ebi-ait/ingest-core/pull/59

It seems the problem has two parts:

Export taking long because it waiting on something (we don't know on what) and wait times grow exponentially.
project status does not update to "Exporting"

Some more notes:

There was an issue in Ray's exporting (2021-02-11 Thu). Why not all things were exported successfully per the old specification.
a. We lost the logs when we redeployed the new exporter version
b. We can find the logs if we ssh to the cluster… we can check again later if this happens again

We tried reexporting Ray's exporting using the new version of the exporter and we encountered an issue  in checking a custom file object metadata (in Google cloud not HCA) for the project metadata which has already been submitted before
a. This issue will happen only for additions. Ray's submission contains additional data to an existing project which was already previously submitted in Terra.
b. The issue is caused by the migration of the DCP2 MVP  exported metadata and data to be in their own project subdirectory. The custom metadata of the file objects in the bucket were lost.
c. We fixed this by just setting the metadata export_completed
d. Ray's submission was exported successfully. All data files are added in the /data directory inside that project's directory in the Terra bucket (Note that the issue on setting the state is still there, submission is still stuck in Archived)
e. We need to bulk apply this for all the migrated DCP2 MVP metadata/data (we could do this a bit later (post feb release) as we don't have other submissions which are additions as far as we know)

Investigation complete.
work on #194 and #191


Feature/cu n1dbzw wave functionality

Implemented the wave feature, it can be tested in the level 1 scene at the plaza.
PS. You probably wanna enable the OP and invincible modes ^^

Task linked: CU-n1dbzw Update spawn point wave functionality


error response from daemon : Container 9073356edadc... is restarting, wait until the container is running

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce

git clone https://github.com/opencv/cvat
cd cvat
export CVAT_HOST=ip-address
docker compose up -d
docker exec -it cvat_server bash -ic 'python3 ~/manage.py createsuperuser'
Error response from daemon: Container 9073356edadc07b1a37971d6ee28bc2c9441869b1acb249137b6095c8809424c is restarting, wait until the container is running
docker exec -it cvat_server /bin/bash
Error response from daemon: Container 9073356edadc07b1a37971d6ee28bc2c9441869b1acb249137b6095c8809424c is restarting, wait until the container is running

docker_ps.txt
docker-logs-cvat_server.txt
docker-logs-cvat_db.txt
Expected Behavior

I follow the instruction to upgrade postgresql : https://opencv.github.io/cvat/docs/administration/advanced/upgrade_guide/#how-to-upgrade-postgresql-database-base-image
I have not tried to use an old cvat image
I have run docker compose pull

Possible Solution
No response
Context

http://localhost:8088/ expected "404 page not found"
http://localhost:8090/ expected "404 page not found"
no access to cvat

Environment
docker version :
Client: Docker Engine - Community
 Version:           24.0.2
 API version:       1.43
 Go version:        go1.20.4
 Git commit:        cb74dfc
 Built:             Thu May 25 21:51:03 2023
 OS/Arch:           linux/arm64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.2
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.4
  Git commit:       659604f
  Built:            Thu May 25 21:51:03 2023
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.21
  GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
 runc:
  Version:          1.1.7
  GitCommit:        v1.1.7-0-g860f061
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
Are you using Docker Swarm or Kubernetes? No
Operating System and version : Ubuntu 18.04

This seems to happen because my drive is > 90% used. I did see the messages in the logs, but I thought they were just  warnings. Indeed, cleaning up my drive makes cvat work.

This seems to happen because my drive is > 90% used. I did see the messages in the logs, but I thought they were just warnings. Indeed, cleaning up my drive makes cvat work.

Thanks for your answer. I check the drive - 39% free space (close to 20Gb free).

Also I clean up the disk as explained here https://itsfoss.com/free-up-space-ubuntu-linux/

sudo apt-get autoremove : 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
sudo apt-get autoclean
sudo journalctl --vacuum-time=3d

Additional comment : when I close the docker an error is indicated : Network cvat_cvat : failed to remove network cvat_cvat: Error response from daemon: error while removing network: network cvat_cvat id 050332d193a3060ec88e9e54941f041aacc81266c6e184457edbcb7076b7cbfc has active endpoints

docker compose down

[+] Running 18/17
✔ Container cvat_worker_analytics_reports  Removed                                                                         0.9s
✔ Container cvat_utils                     Removed                                                                         1.4s
✔ Container cvat_worker_export             Removed                                                                         0.9s
✔ Container cvat_worker_annotation         Removed                                                                         0.9s
✔ Container cvat_worker_quality_reports    Removed                                                                         0.9s
✔ Container cvat_grafana                   Removed                                                                         3.2s
✔ Container cvat_worker_webhooks           Removed                                                                         0.9s
✔ Container cvat_worker_import             Removed                                                                         0.9s
✔ Container cvat_ui                        Removed                                                                         1.1s
✔ Container traefik                        Removed                                                                         3.6s
✔ Container cvat_vector                    Removed                                                                         3.0s
✔ Container cvat_server                    Removed                                                                         0.8s
✔ Container cvat_redis_inmem               Removed                                                                         1.9s
✔ Container cvat_db                        Removed                                                                         1.9s
✔ Container cvat_opa                       Removed                                                                         0.8s
✔ Container cvat_redis_ondisk              Removed                                                                         1.8s
✔ Container cvat_clickhouse                Removed                                                                         0.2s
✘ Network cvat_cvat                        Error                                                                           0.0s
failed to remove network cvat_cvat: Error response from daemon: error while removing network: network cvat_cvat id 050332d193a3060ec88e9e54941f041aacc81266c6e184457edbcb7076b7cbfc has active endpoints

@jlam29

The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested.

ARM architecture is not supported

@jlam29

The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested.

ARM architecture is not supported

Ok, thanks for your answer

@jlam29 I just removed files from my disk

Oh I am so sorry , my issue is actually https://github.com/opencv/cvat/issues/7396, I somehow mixed them up. So I have no idea if this is related to space

@jlam29 I just removed files from my disk
Oh I am so sorry , my issue is actually https://github.com/opencv/cvat/issues/7396, I somehow mixed them up. So I have no idea if this is related to space

Thanks for this precision.


New Screenshot added and changed the instructions

The Export button to acquire the SAS URL is currently under "Disk Export" of the operating system disk. Changed instructions and added new screenshot for https://docs.microsoft.com/en-us/azure/virtual-machines/windows/download-vhd#generate-sas-url

@Daya-Patil : Thanks for your contribution! The author, @ggailey777, has been notified to review your proposed change.

@Daya-Patil : Thanks for your contribution! The author, @cynthn, has been notified to review your proposed change.

@cynthn - Could you review the proposed update to the article download-vhd.md and the updated image file? Note that file names need to be all lowercase to be merged. Thanks!
@curtand @ggailey777 - The updates in the first two files in the diff view are replicated in https://github.com/MicrosoftDocs/azure-docs/pull/29752 and https://github.com/MicrosoftDocs/azure-docs/pull/29758. Could you provide feedback?
Thanks.

Dirty PR, created new one https://github.com/MicrosoftDocs/azure-docs/pull/29997


Issues/improvements with federated authenticator metadata response

Describe the Issue:

Even though federated authenticator metadata response supports isConfidential parameter, it is not properly configured for the OpenIDConnectAuthenticator's Client Secret paremeter(shows false, instead of  true). This needs to be checked in all available federated authenticator properties.
The same response does not have a meta property to indicate for a URL field. This would be useful to enforce URL validation from the UI.

How To Reproduce:

Invoke https://localhost:9443/t/{{tenant-domain}}/api/server/v1/identity-providers/meta/federated-authenticators, and get the list of authenticators.
Fetch OpenIDConnectAuthenticator metadata with https://localhost:9443/t/carbon.super/api/server/v1/identity-providers/meta/federated-authenticators/{authenticator-id}I.
Observe followings.
3.1 isConfidential is false
3.2 URL fields are considered as text.

Expected behavior:

isConfidential should be true for appropriate fields(ex: Client Id in the aforementioned scenario).
URL fields should have a property to indicate them as URLs.

Device Information (Please complete the following information) :

Device: PC
OS: Ubuntu 18.04
Chrome; Version 80.0.3987.149 (Official Build) (64-bit)

@tharindu-bandara can you please create another issue to track the URL option. It  is an improvement which requires changes to the Property model.

@tharindu-bandara can you please create another issue to track the URL option. It is an improvement that requires changes to the Property model.

+1. Please find the issue: https://github.com/wso2/product-is/issues/7987

@emswbandara
Kindly find the meta-properties below, which need to be marked as confidential.

client secret field in Oauth2, Facebook, Microsoft, Google, Yahoo, Office 365 Federated Authenticators
api secret field in Twitter Federated Authenticator
service principal password field in the Kerberos Federated Authenticator

@tharindu-bandara
Except for facebook and OAuth authenticators for rest of the authenticators you mentioned the confidential property is already there. E.g. https://github.com/wso2-extensions/identity-local-auth-iwa-kerberos/blob/master/components/org.wso2.carbon.identity.application.authenticator.iwa/src/main/java/org/wso2/carbon/identity/application/authenticator/iwa/IWAFederatedAuthenticator.java#L157


fix pr e2e fail

Signed-off-by: bell.guo<EMAIL_ADDRESS>
What type of PR is this?
/kind feature
What this PR does / why we need it:
fix e2e
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm

/approve


add command "ssm -version"

while compiling ssm, run write.main() to write version information in a file named common-version-properties under directory "ssm/".
while enter command "ssm -version" , run read.main() to print version information from the file named common-version-properties.

check, use 'git remote -v' to see your upstream is intel-bigdata. If not, run 'git remote add upstream https://github.com/Intel-bigdata/SSM'
update, 'git fetch upstream'
create a new branch, e.g., 'git checkout -b ssm-version upstream/trunk'. Check the newest commit is consistent the one in trunk branch of github.
use 'git cherry-pick' to pick your new commits to ssm-versiono branch. Or, just copy your new code to this branch.


Support all mongoose types

See #23.

Looks like the MongoError object has a getOperation() method that returns an useful object:
{ name: 'test',
  group: 57b455957b16685d27d40422,
  age: 42,
  date: 2016-08-17T12:16:21.680Z,
  blob:
   Binary {
     _bsontype: 'Binary',
     sub_type: 0,
     position: 3,
     buffer: <Buffer 61 62 63> },
  isVerified: false,
  _id: 57b455967b16685d27d40424,
  list: [ 1, 2, 3 ],
  __v: 0 }

This is documented on the WriteError constructor, here: https://github.com/mongodb/node-mongodb-native/blob/b18ea8c175481261124b7fbed8b44816b1571a55/lib/bulk/common.js#L246

@visageae Does this look okay to you?

@matteodelabre Awesome ! And way more robust than the pseudo JSON parsing !
Are you gonna merge this ?

Yup! Merging this and publishing it as 4.0.0 as it could break some setups.


Getting spammed by giscus bot announcements

Not sure how they are being triggered but wonder if you have any idea how to stop this?
https://github.com/0xPolygon/polygon-docs/discussions/categories/announcements

Looks like settings mean only an admin or a maintainer can do this. I'm wondering if you could forward us the author of these announcements please?


Cloned order don't get a new cart number

When you go to the payment gateway with an order, go back and add a new product and the order is cloned. Then the order doesn't get a new cart number which it should. Some gateways requires unique numbers.

The cloned order doesn't have an id - so when the order is saved it gets an id AND a new cart number


Update _header-nav.scss

Fix https://github.com/paritytech/fether/issues/149
I didn't find it very disturbing to not have the "button" effect.. but I am not 100% convinced... need your feedback @amaurymartiny

Just tried. Not having the button effect on hover doesn't bother me neither.
However, in general these two

I think the current setup is confusing, when I hover on the left corner I'm not sure about whether I'm on the arrow or the header.
I believe the current UX is good enough: it's not pretty, but it's not confusing neither.


SecuredFields take too long to configure on CircleCI

The Problem
I'm currently attempting to update from v5.6.2 to v5.57.0 and running into issues with the secured fields in our automated Playwright tests that run on CircleCI. The tests work without issue on v5.6.2.
Our Setup
We have a relatively vanilla setup with almost no special configuration of the secured fields.
checkout.create("securedfields", {
  styles: {
    base: {
      color: "#111",
      fontSize: "18px",
      fontWeight: "300",
      fontFamily: "Helvetica Neue, Arial, sans-serif, system-ui",
    },
    placeholder: {
      color: "#737373",
    },
  },
  autoFocus: false,
  onFieldValid: handleOnFieldValid,
  onChange: handleOnChange,
  onFocus: handleOnFocused,
  brands: supportedBrands,
}).mount("#customCard-container")

In almost all environments, the fields render properly without issue. However, when running the tests on CircleCI we get the following output in the console. (I've added window._b$dl = true for the extra logging.)
About to set up securedField: JSHandle@node
### SecuredField:::: onIframeLoaded:: created configObj= {fieldType: encryptedCardNumber, extraFieldData: null, uid: null, cvcPolicy: undefined, expiryDatePolicy: undefined}
### createSecuredFields::onIframeLoaded:: this.state.iframeCount= 1
WARNING: securedFields:: the iframe has not configured correctly. Config log= {a_sfInit: true, z_errors: Array(1), b_type: card, c_listenerAdded: true, d_handlingConfig: true}
If the above errors, or the message in the iframe itself, give no insight - then check your clientKey.
Check that the clientKey is created against the right endpoint ("test" | "live") and that the list of "Allowed Origins" contains the domain of your website.
Secured fields setup failure. e= {type: encryptedCardNumber, failReason: sf took too long to config}
Finished setting up securedField: JSHandle@node

I'm at a loss as to what could be causing the secured fields to take too long to configure. (And seemingly only in this one environment.)
I've double checked our client key is correctly configured. And the domain Playwright uses is present in the allowed origins.
What can I look at to figure out why the fields are taking too long?

I believe I've figured out the issue.
For anyone else stumbling across this, the problem was that our Playwright server was running inside of a docker container and being served at a URL that looked like http://appname-testing:3001. Due to the update to have the payment fields use JSON Web Encryption for security (back in v5.20.0), it was no longer recognizing that as a valid domain. Need to either run the test server with HTTPS or append a .localhost to the domain.


RuntimeError: Error(s) in loading state_dict for Net: 	Missing key(s) in state_dict:

Following the readme, the following error is occurred during the test.
RuntimeError: Error(s) in loading state_dict for Net: 	Missing key(s) in state_dict:
anyone knows?
thx

Caan you provide more detail information?
Looks like you have problem loading the pretrained model.


OracleDB tests will be loaded and executed only when oracledb is installed

OracleDB tests will be loaded and executed only when oracledb is installed

Related Issues : #1605

Introduction
OracleDB tests will be loaded and executed only when oracledb is installed, this will prevent the tests to fail locally.
Motivation
In Contributing.md the docs explain only to how run tests using postgre and mysql, there is no reference for oracledb tests, which are executed  in the Travis tests.
But without the oracledb installed it is impossible to run the tests locally because of an "oracledb not found" error.
This PR will help a lot in resolve all tests errors locally before the publish of the PR. This procedure is necessary to prevent PRs that fails on Travis because the code was not tested.

Me? Are you sure? :D My specialty is documentation, but I'll try.


Implement request for database reset

Description
The changes in this pull request allow for the removing of all document data from the database collections on API request.
This pull request is dependent on PR #47 being merged.

Related Issue

Solves #29

Type of change

[x] New feature (enhancement)

How Has This Been Tested?
An automated test has been added specifically for removing all document data from database collections.
Additionally, a database reset has been included in the beforeEach() and after() functions for existing tests that interact with the database.

[x] Automated testing

Checklist:

[x] Does a similar (open or closed) pull request not already exist?
[x] Is the pull request head repository a fork repository?
[x] Is the pull request compare branch a development branch?
[x] Is the code documented, particularly in hard-to-understand areas?
[x] Does the code build without new warnings?
[x] Has testing been performed that proves changes are effective and work?
[x] Has a self- and/or peer-review of the code been performed?
[x] Does all new and existing automated testing pass?
[x] Is the person responsible for the repository assigned to the pull request?
[x] Is the pull request linked to a project?
[x] Is the pull request linked to a milestone?

Would we need unit tests for when forum.deleteMany and user.deleteMany throws an error?

All done, thanks.


bwctl tool tool defaults

From @arlake228 on March 14, 2015 12:22
Original issue 932 created by arlake228 on 2014-06-17T14:50:52.000Z:
Right now, if unspecified, bwctl will try to select tools in this order:
iperf -> nuttcp -> iperf3
It would be good to change this order to something more akin to:
iperf3 -> iperf -> nuttcp
We'll need more testing and verification of iperf3 before making this the new default.
Copied from original issue: perfsonar/project#930

Comment #1 originally posted by arlake228 on 2015-01-27T15:21:59.000Z:
<empty>


feat: add constructServiceURL function

This method can be used by an API to construct a service URL from a parameterized URL.

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

:tada: This PR is included in version 5.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


If you are unable to figure it out please look at a few projects that have done so.
https://github.com/Galilel-Project/galilel/commit/f1c373c7f66e4582ba0ac6cf170e0e3ab23fb9ce

hello guys, it's a pleasure to write to you, you've been warned of this problem for this coin, I'm writing from Venezuela, I hope to help you if necessary, I've been seeing what you've done, but if you update me more I could be more effective.

Thanks! For this repository and current issue, the codebase is an older fork of PIVX. The initial PR that I  did did not work properly as the examples were from a newer fork of PIVX codebase.  It's necessary to code the solution to fix the issue with the appropriate unit test to (a) demonstrate the exploit and (b) demonstrate a successful fix of the exploit in the test.  I'm not sure if you've had a proper orientation from our LPC VZ contact but the statements of work should be pretty clear on what should be done.  DM me if you have questions. Connecting with you now.

if i have spoken in Caracas with representatives of LPC-vzl so i write here, well if i will do a fork of current pivx and try to run this string on that code base in a new protocol, so we use the modifications and pivx support and it is to your liking.

Current PIVX is on 3.2 and you are running 2.3 on LPC you will run into errors and it will not work at all.
They just need to fix their code base and actually show their commits this wouldn't be an issue.

Well, I will make it work.

Its clear this project leader is not willing to fix the issues so im closing this.

@hbastidas has been assigned.

Hey, guys. @MotoAcidic @onestan2
I've been conducting experiments here,
and with good results, I don't know if they can keep an eye on him and maybe we all end up giving him the push he needs.
https://github.com/hbastidas/PIVX/commit/596f435f6faf6d46596b8c294f7af5d142b2e0d5

Cool @hbastidas!  I really do appreciate your help!  When you are ready for the PR, please let me know.


Update documentation to use router.urls attribute

I noticed that the docs were referencing a variable that doesn't exist anymore, so I figured I would update it.
On a side note, I noticed there are references to a /delegate endpoint in other parts of the README and in the tests. Perhaps it would be worthwhile to add that in this section as well? Let me know and I can true that up.

thank you @akosel


Syntax highlights broken with cf deploys

why? no ideas!

https://github.com/nuxt/content/issues/2531

Another reason is that we use custom  components that don't render the highlighting which I will open a PR here soon to support unjs/docs custom component.

Could be related: https://github.com/nuxt/content/issues/2531

I'm trying to know why. Need a little more time to investigate. It's related to a dependency of one of a Nuxt package.

now we only have issues with tabs ~> https://github.com/unjs/undocs/issues/45


Jevan5

Updated the gradient algorithm using the method described here

Allow for three lines of subtitles to be viewable before blocking the play button

Provide the option to allow for media downloads. Controlled with allow-download attribute. Also, tuck the settings menu into the bottom-right corner in LTR and RTL mode

I wiped my node_modules and package-lock.json locally, and am using the same versions of node and npm as the travis-ci build. The linting is passing fine on my local instance, but travis-ci is complaining about failed tests. The linting version in travis-ci expects static methods to come before everything, but that is not the case with my local instance.

I wiped my node_modules and package-lock.json locally, and am using the same versions of node and npm as the travis-ci build. The linting is passing fine on my local instance, but travis-ci is complaining about failed tests. The linting version in travis-ci expects static methods to come before everything, but that is not the case with my local instance.

May have been related to travis-ci  maintaining older versions of node_modules. With @dbatiste's recommendation, adding cache: npm: false to .travis.yml resolved the issue.


0.9.6 tsm1

Hi,
I have just upgraded to 0.9.6, and switched to using tsm1
the database crashes after a very short time:
[wal] 2015/12/10 22:44:35 Flush due to idle. Flushing 7 series with 7 points and 425 bytes from partition 1
[wal] 2015/12/10 22:44:35 write to index of partition 1 took 2.622036ms
[tsm1wal] 2015/12/10 22:44:37 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2015/12/10 22:44:37 tsm1 WAL writing to /var/lib/influxdb/wal/open_access_db/detail/3
[http] 2015/12/10 22:44:38 <IP_ADDRESS> - root [10/Dec/2015:22:44:37 +0000] POST /write?consistency=any&db=open_access_db&p=%5BREDACTED%5D&precision=n&rp=detail&u=root HTTP/1.1 204 0 - okhttp/2.4.0 974cf704-9f8f-11e5-8007-00
0000000000 1.24184768s
panic: runtime error: index out of range
goroutine 36 [running]:
github.com/influxdb/influxdb/tsdb/engine/tsm1.(*WriteWALEntry).Encode(0xc208036050, 0xc22392a000, 0x900000, 0x900000, 0x0, 0x0, 0x0, 0x0, 0x0)
/tmp/tmp.QrWAFdTR6B/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/wal.go:377 +0x1295
github.com/influxdb/influxdb/tsdb/engine/tsm1.(*WAL).writeToLog(0xc20819a400, 0x7f5ad8148410, 0xc208036050, 0x0, 0x0, 0x0)
/tmp/tmp.QrWAFdTR6B/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/wal.go:208 +0xbb
github.com/influxdb/influxdb/tsdb/engine/tsm1.(*WAL).WritePoints(0xc20819a400, 0xc2179ac540, 0x0, 0x0, 0x0)

This was fixed in master a few minutes ago.
Can you build master? It will also be available in tonight's nightly.

Superb work sir!
I'll wait for tonight's nightly

Actually <IP_ADDRESS> has been released with the fix. If you still see an issue
with this release let us know.
On Thursday, December 10, 2015, ivanscattergood<EMAIL_ADDRESS>wrote:

Superb work sir!
I'll wait for tonight's nightly
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/issues/5090#issuecomment-163781174.


Handle minimum CUDA architecture supported [databricks]

Fixes #10430. This PR ensures that Spark RAPIDS jobs are executed on supported GPU architectures without relying on manual configuration.
Changes:

Processes gpu_architectures property from the *version-info.properties file generated by the native builds.
Verifies if the user is running the job on an architecture supported by the cuDF and JNI libraries and throws an exception if the architecture is unsupported.

Testing
Tested on a Dataproc VM running on Nvidia P4 (GPU Architecture 6.1)
24/03/06 17:44:58 WARN RapidsPluginUtils: spark.rapids.sql.explain is set to `NOT_ON_GPU`. Set it to 'NONE' to suppress the diagnostics logging about the query placement on the GPU.
24/03/06 17:45:10 ERROR RapidsExecutorPlugin: Exception in the executor plugin, shutting down!
java.lang.RuntimeException: GPU architecture 61 is unsupported, supported architectures: 70, 75, 80, 86, 90
        at com.nvidia.spark.rapids.RapidsPluginUtils$.checkGpuArchitectureInternal(Plugin.scala:366)
        at com.nvidia.spark.rapids.RapidsPluginUtils$.checkGpuArchitecture(Plugin.scala:375)
        at com.nvidia.spark.rapids.RapidsExecutorPlugin.init(Plugin.scala:461)

Related PR

https://github.com/NVIDIA/spark-rapids-jni/pull/1840

build

Need to wait for a new artefact for spark-rapids-jni

build

CI failed MortgageSparkSuite for spark320 but it does not seem to repro locally

build

build

@parthosa
CI failed https://github.com/NVIDIA/spark-rapids/actions/runs/8211869047/job/22461378070#step:2:12706
on a node with arch=89
java.lang.RuntimeException: GPU architecture 89 is unsupported, supported architectures: 70, 75, 80, 86, 90

Let us print a warning when there is no exact match and fallback on checking just the major architecture version. If there is no match for the major, fail

Thanks @gerashegalov. Refactored checking to warn users if the minor version is not supported.

Let us print a warning when there is no exact match and fallback on checking just the major architecture version

Is that going to work in practice?  V100 (sm_70) and T4 (sm_75) are different architectures with different code generated for them.  The linked document is referring to CUDA minor versions not architecture versions, and I'm not sure we can compile for V100 and expect to run on T4, yet just checking the major version would allow this.

It seems binaries are compatible with same major version and higher minor version.

So it sounds like we need to check for major and minor in the worst-case when it's not directly supported.  Could binary search the list and if we don't get a hit, check the prior version and verify major provided == major requested and minor provided < minor requested

It seems binaries are compatible with same major version and higher minor version.

So it sounds like we need to check for major and minor in the worst-case when it's not directly supported. Could binary search the list and if we don't get a hit, check the prior version and verify major provided == major requested and minor provided < minor requested

Refactored the code for this check. I think binary search might be an overkill here and linear searching 10 numbers should not be an issue.

build

build

Thank you @gerashegalov and @jlowe


automatically get latest pytorch version in docs

@neerajprad
using torch-0.4.0a0+2df578a-cp27-cp27mu-linux_x86_64.whl, im getting this error:
<?xml version="1.0" encoding="UTF-8"?>
<Error>AccessDenied<Message>Access Denied</Message><RequestId>7DB591CA63AE7F14</RequestId><HostId>Pn5mlTh9BW42AmkM78EcL06UVQ5Sic0MNU5ZnCqXGi+m2QmpW97VWfU2c2Txh+9PsjLwR89NxYM=</HostId></Error>Invalid requirement: '.whl'
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyro-ppl/envs/docs-upgrade/local/lib/python2.7/site-packages/pip/req/req_install.py", line 82, in __init__
    req = Requirement(req)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyro-ppl/envs/docs-upgrade/local/lib/python2.7/site-packages/pip/_vendor/packaging/requirements.py", line 96, in __init__
    requirement_string[e.loc:e.loc + 8]))

can i not curl into an output the same way wget downloads it? i checked and they should support the same protocols. any ideas?

@jpchen - curl works fine, I just checked. There is probably something wrong with your url, try to print it out. In any case, I think if curl is the only constraint we should simply modify the install script rather than putting in any hacks here. What do you think?

yes i thought you had a reason for using wget. i will modify the script then that couldve saved me all that history of commits :P

Yeah, I think we should be good as travis should have curl.

yes I know I was just testing something locally earlier and commented the
cleanup out.
In scripts/install_pytorch.sh
https://github.com/uber/pyro/pull/937#discussion_r177537753:

pip install tmp/*
+rm -rf tmp

This is not needed. See the exit trap above - that should handle the
cleanup.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uber/pyro/pull/937#pullrequestreview-107426433, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AByHSW61HZNKT2nx17gRyBqRuPStF9l_ks5tio1cgaJpZM4S8jOd
.

i can finally install torch, but there are errors in Cauchy
AttributeError: type object 'Cauchy' has no attribute 'params'

appears throughout the code base everywhere its imported. @fritzo is this due to a recent change?

AttributeError: type object 'Cauchy' has no attribute 'params' I'm seeing this too.

ready for merge


Add Tri-County Technical College to schools list

Adding Tri-County Technical College to the list for verification purposes.
Official URL: https://tctc.edu/
IT-related course: https://www.tctc.edu/programs/career-programs/computer-technology/
Proof that email is used by college: We only utilize tctc.edu  as our email domain. A valid email address can be found on our application page: https://www.tctc.edu/admissions/apply-now/
Please let me know if anything is missing and I can provide more info. Thank you!

@plusreed Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


refactor!: rename Query and introduce ResolvedQuery type

While we're at making widespread renames, I think we might as well make this change.

@aljazerzen I have renamed Context to RootModule ... what do you think? Yes this currently makes accessing the inner module a bit awkward since we'd have e.g. Resolver.root_mod.root_mod however I think that can be solved in a followup PR at some point in the future by implementing Deref<Target=Module> for RootModule (as well as DerefMut).


Links in footer are clickable even without hover

Description
Describe the bug:
In the footer section, links are clickable even if we don't hover over them.
Expected behavior:
These should work only when we hover over them
Screenshots

pls assign it to me!

I want to work on this issue, kindly assign it to me.


plex.service always coredumps when stopped

Describe the bug
Every time the plex.service systemd service is stopped, it coredumps. It does this because the service is set to send SIGQUIT, which looks like it was changed to do in #24900.
Steps To Reproduce
Steps to reproduce the behavior:

set services.plex.enable = true;
run systemctl stop plex
run systemctl status plex, and check the exit code and logs

Expected behavior
The plex service should be terminated with sigterm and systemd should consider it to have exited successfully.
Additional context
This was originally done to prevent database corruption, but doing my own tests, by running systemctl start plex ; sleep 20 ; systemctl kill --signal=SIGTERM plex repeatedly, it doesn't seem like plex corrupts the database, it still functions as expected, and the logs (jouralctl and plex/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log) don't reveal any unusual errors. I think at this point, it's probably safer to kill plex with SIGTERM than SIGQUIT.
I'd appreciate input from @pjones, if you remember what specifically the original problem was. If we can't switch back to using the default SIGTERM stop signal, maybe we could add a SuccessExitStatus to the service so it doesn't show as failed when it's stopped.
Notify maintainers
@pjones
@thoughtpolice
@Forkk
@MayNiklas
@maxeaubrey
Metadata
[tavi@daemons:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.102, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

In my testing I have come to believe this is due to bubblewrap not forwarding kill signals  to child processes.
Plex additionally has a shutdown service that takes sometime, but quits this process if the parent process is terminated:
Dec 05 11:21:18 DeepThought systemd[1]: Stopping Plex Media Server...
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: Shutting down with signal 15 (Terminated)
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: Ordered to stop server.
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: Stopping server...
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: HttpServer: Stopping server.
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: MetadataItemClusterRequestHandler: a shutdown event has been received
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: TranscodeJobManager: [Running] onServerShutdown
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: TranscodeJobManager: [Running] -> [Shutdown]
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: Server stopped.
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: NetworkService: Stopping advertisement.
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: Network Service: Error in advertiser handle read: 125 (Operation canceled) socket=73
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: Server is already in shutdown mode, ignoring this signal...
Dec 05 11:21:18 DeepThought PlexMediaServer[199099]: Killing plug-ins.
Dec 05 11:21:18 DeepThought PlexMediaServer[199291]: Received SIGTERM: Software termination signal.
Dec 05 11:21:18 DeepThought PlexMediaServer[199291]: Received SIGTERM: Software termination signal.
Dec 05 11:21:18 DeepThought PlexMediaServer[199291]: Parent process no longer present; exiting
Dec 05 11:21:18 DeepThought PlexMediaServer[199291]: [I] device_manager_t::term
Dec 05 11:21:18 DeepThought PlexMediaServer[199291]: [I] device_manager_t::term. Stop all devices
Dec 05 11:21:18 DeepThought PlexMediaServer[199291]: [I] device_manager_t::term.  Web server is stopped
Dec 05 11:21:18 DeepThought PlexMediaServer[199291]: [I] device_manager_t::term
Dec 05 11:21:18 DeepThought PlexMediaServer[199291]: [I] device_manager_t::term. Stop all devices
Dec 05 11:21:18 DeepThought PlexMediaServer[199291]: [I] device_manager_t::term.  Shutdown is completed.
Dec 05 11:21:23 DeepThought systemd[1]: plex.service: State 'final-sigterm' timed out. Killing.
Dec 05 11:21:23 DeepThought systemd[1]: plex.service: Killing process 199217 (Plex Script Hos) with signal SIGKILL.
Dec 05 11:21:23 DeepThought systemd[1]: plex.service: Killing process 199327 (Plex Script Hos) with signal SIGKILL.
Dec 05 11:21:23 DeepThought systemd[1]: plex.service: Killing process 199271 (Plex Script Hos) with signal SIGKILL.
Dec 05 11:21:23 DeepThought systemd[1]: plex.service: Killing process 199332 (Plex Script Hos) with signal SIGKILL.
Dec 05 11:21:23 DeepThought systemd[1]: plex.service: Killing process 199333 (Plex Script Hos) with signal SIGKILL.
Dec 05 11:21:23 DeepThought systemd[1]: plex.service: Killing process 199338 (n/a) with signal SIGKILL.
Dec 05 11:21:23 DeepThought systemd[1]: plex.service: Failed with result 'timeout'.
Dec 05 11:21:23 DeepThought systemd[1]: Stopped Plex Media Server.

I was able to work around these issues by writing a script
{ pkgs, lib, config, ... }:

let
  pidFile = "${config.services.plex.dataDir}/Plex Media Server/plexmediaserver.pid";
in
{
  services.plex = {
    enable = true;
    openFirewall = true;
  };
  systemd.services.plex.serviceConfig = {
    KillSignal = lib.mkForce "SIGKILL";
    Restart = lib.mkForce "no";
    TimeoutStopSec = 10;
    ExecStop = pkgs.writeScript "plex-stop" ''
      #!${pkgs.bash}/bin/bash

      ${pkgs.procps}/bin/pkill --signal 15 --pidfile "${pidFile}"
      ${pkgs.coreutils}/bin/sleep 5
    '';
    PIDFile = lib.mkForce "";
  };
}

I improved @hurricanehrndz solution a bit by actually checking if the plex service has been shutdown. This is achieved by checking the existence of the PID file instead of the flat 5 second sleep:
systemd.services.plex.serviceConfig = let
  pidFile = "${config.services.plex.dataDir}/Plex Media Server/plexmediaserver.pid";
in {
  KillSignal = lib.mkForce "SIGKILL";
  Restart = lib.mkForce "no";
  TimeoutStopSec = 10;
  ExecStop = pkgs.writeShellScript "plex-stop" ''
    ${pkgs.procps}/bin/pkill --signal 15 --pidfile "${pidFile}"

    # Wait until plex service has been shutdown
    # by checking if the PID file is gone
    while [ -e "${pidFile}" ]; do
      sleep 0.1
    done

    ${pkgs.coreutils}/bin/echo "Plex shutdown successful"
  '';
  PIDFile = lib.mkForce "";
};
``


Retry when hitting rate limit, with countdown.

By my reading, the API should be returning how long until rate limit blocking wears off so you should be able to show a loading bar if you hit rate limit.

Is there a place that shows you rate limit timings? Is it on Anthropic's API website?

Closing as duplicate of https://github.com/saoudrizwan/claude-dev/issues/186


[Bug]: Calendear lost in time

What happened?
When a customer wants to book a table he/she sees the calendar with the days of month. At the top is the big button with [Month - Year].
If the user clicks on theses top-button there comes a view with all the month (jan - dec) in this current year. At the top is now a button with only the current year [2022]. If the customer click on this button [2022] he get a new view with a list of buttons for all the years (2019 - 2030). At the top ist now a button called [2020-2029].
If the user click on this button he get a new view again with fields from 1990, 2000, 2010, 2020, ... 2100.
The field 2020 is active.
BUT: I cant click at it!
I can only click at the top-button - now called 2000-2090. On click this button switched to 2000 - 2900. Die view shows now fields for every century  (1900, 2000, 2100, ...). The field 2000 is active. BUT I cant click it, too.
The top-button seems to be clickable, but isnt.
Now, I cant go back to the normal view. The solution is to reload the page. Than I m back.
What did you expect to happen?
I expect that there is a way back from all levels. I want to click at the 2020-field or the 2000-field (depending the view I seen) to come to the previews level.
Perhaps a button for a quick jump to the normal view was useful.
I assume this is not the most important point, but I thing it is better to tell it to you ;)
Version
3.5.x
What browser are you seeing the problem on?
No response
Relevant log output
No response

I'll accept a PR that stops the user from going that far back or a button to take the user to the current month/day


Azure Notebooks

Since Azure Notebooks is no longer available, should this be removed...not just redirected to VSCode support of notebooks?

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

ID: 97abbeb4-6c20-4dfd-8a3f-3b448919679c
Version Independent ID: d979d82d-2e80-5a1e-7928-7f8154ed34f3
Content: Choose a data analytics and reporting technology - Azure Architecture Center
Content Source: docs/data-guide/technology-choices/analysis-visualizations-reporting.md
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @EdPrice-MSFT
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 516672

@bsherwin Thanks for your question. We are checking on this and will respond to you soon.

Yes, we just need to update the text. Even the link is still valid.

#please-close


ValueError: cannot reshape array of size 4607 into shape (18,256,1,1)

I am trying to convert this yolov3 custom model: https://drive.google.com/drive/folders/17jysPykGMkNw66lDMd0kryybCvGOesKi?usp=sharing into tensorflow format
in the load_weights.py I changed line 10 to:
flags.DEFINE_integer('num_classes', 1, 'number of classes in the model')
and in the ./data/labels/coco.names file I changed it to only "mice" (it detects mice for video analysis purposes)
however it begins converting until it produces the error in the title of this issue after this line in the cmd:

please if someone could help that would be much appreciated

So the solution to this would be to erase every variable in line 29 in the utils.py and only leave the "_" variable and change count from 5 to 4:
_ = np.fromfile(wf, dtype=np.int32, count=4)


JetBrains: Continuous loading on clicking Apply button after sending request using same source code file

IDE Information
IntellJ IDEA 2024.1.4 (Community Edition)
Build #PC-233.13763.11, built on January 26, 2024
Runtime version: 17.0.9+7-b1087.11 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Non-Bundled Plugins:
com.sourcegraph.jetbrains (6.0.31)
Bug Description
Platform: Windows
Steps to reproduce:

Have Cody plugin installed in your JB IntelliJ editor
Login to Cody with Enterprise user
Open Chat snippet and search for anything > Insert the search code to source code file
Now start New chat > Make sure current repository and current source file is shown
Send the request using that > Make sure same code is given as response
Now click on 'Apply button'

Observed Behavior:
Continuous loading on clicking Apply button after sending request using same source code file
Expected behavior:
Apply button should work properly and no continuous loading should be shown
Additional context
Video link: https://drive.google.com/file/d/1vvMIEM-WWYVWqIWOZ-Dmlqxwh9DHGQ0R/view

I tried this scenario. It works for me. Possibly it has been fixed already. IMO we can close this one.

Looks Like issue is fixed, hence closing

Looks Like issue is fixed, hence closing

Reopening as issue is again repro in 6.0.35 Nightly

I cannot reproduce it. Are the steps up to date? I admit that I am working on macOS while your example shows Windows. I am going to try it too.

I manage to reproduce some issue (not sure if that exactly what we see in this report). The problem seems to be related to the windows env and the space character in the file name. I would consider this one as a medium prio at most since the conditions are extraordinary. I am going to look into it.


switch to fs.promises vs bluebird for tests

Potentially closes #1791

@marcoscaceres I whipped this up quickly, but I'm not really sure I see the advantage of using the async stuff here when in almost all the cases we're doing things sequentially in a single thread... wouldn't it be easier and simpler to just use the Sync methods?

Such as:
return fs.readdir(markupPath).then((list) => list.forEach(testLanguage));
// vs
return fs.readdirSync(markupPath).forEach(testLanguage);

Looks good. Is there more bluebird around the place?

Probably in build but I plan to redo all that, so not worth the time.


Upgrade to celestia-core v1.6.0-tm-v0.34.20

Context
https://github.com/celestiaorg/celestia-core/releases/tag/v1.6.0-tm-v0.34.20 was released but this repo still uses v1.5.0-tm-v0.34.20. See https://github.com/celestiaorg/celestia-app/blob/778a18e19338832848607c62e895a8910ac33197/go.mod#L185
Proposal
Upgrade to the latest celestia-core release

Would prefer if https://github.com/celestiaorg/celestia-core/pull/888 merged and was included in a release so that we can upgrade directly to that


ADFR Fail to generate PDBQT for a protein.pdb

When I use ADFR to process pocket.pdb of PDBbind dataset, there are four pocket files fail to be processed:
3ijh_mutate2_pocket:B:ALA100C:C and 3ijh_mutate2_pocket:B:ALA100C:C have the same coordinates
Traceback (most recent call last):
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/Utilities24/prepare_receptor4.py", line 216, in <module>
    dict=dictionary)
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 558, in __init__
    version=version, delete_single_nonstd_residues=delete_single_nonstd_residues)
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 124, in __init__
    self.repairMol(mol, self.repair_type_list)
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 174, in repairMol
    self.newHs = self.addHydrogens(mol)
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 187, in addHydrogens
    HB.addHydrogens(mol)
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/MolKit/hydrogenBuilder.py", line 61, in addHydrogens
    babel.assignHybridization(mol.allAtoms)
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/atomTypes.py", line 137, in assignHybridization
    self.valence_two()
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/atomTypes.py", line 266, in valence_two
    angle1 = bond_angle(k.coords, a.coords, l.coords)
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/util.py", line 47, in bond_angle
    raise ZeroDivisionError("Input used:", a, b, c)
ZeroDivisionError: ('Input used:', [-0.504, -7.572, -3.867], [-0.004, -7.796, -2.699], [-0.004, -7.796, -2.699])

Hi @Kerro-junior, One possible cause for this error is there are missing atoms or distorted geometry around the questioned atom. The topology builder was having problem determining the hybridization state for the carbonyl carbon of ALA100 (which used to be a GLY..? if you haven't changed the numbering from PDB). Having distorted angle and bond lengths is common for mutant structures that are generated with in silico method.
Hope this is mildly helpful!

I also have questions when dealing with a pdb protein file(pdbid: 5nee) into pdbqt using ADFR.
$ /ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/bin/prepare_receptor -r 5nee_pocket.pdb -A hydrogens -o 5nee_pocket.pdbqt Traceback (most recent call last):   File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/Utilities24/prepare_receptor4.py", line 216, in <module>     dict=dictionary)       File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 558, in __init__     version=version, delete_single_nonstd_residues=delete_single_nonstd_residues)   File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 124, in __init__     self.repairMol(mol, self.repair_type_list)   File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 174, in repairMol     self.newHs = self.addHydrogens(mol)   File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 187, in addHydrogens     HB.addHydrogens(mol)   File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/MolKit/hydrogenBuilder.py", line 81, in addHydrogens     hat = AddHydrogens().addHydrogens(mol.allAtoms, method=self.method)   File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/addh.py", line 92, in addHydrogens     Hatoms = self.place_hydrogens1(atoms, num_H_to_add)   File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/addh.py", line 156, in place_hydrogens1     Hat = Hat + self.add_vinyl_hydrogens(a ,SP2_C_H_DIST)   File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/addh.py", line 444, in add_vinyl_hydrogens     c3 = c2.bonds[1].atom1   File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/lib/python2.7/UserList.py", line 31, in __getitem__     def __getitem__(self, i): return self.data[i] IndexError: list index out of range

Hi @RJ-Li,
If your input protein structure does not contain hydrogens, preprocessing with a tool to add hydrogens, optimize the H-bonding network, residue orientation and protonation states might be useful. Please consider the following programs:
molprobity: http://molprobity.biochem.duke.edu/
APBS: https://server.poissonboltzmann.org/
H++: http://newbiophysics.cs.vt.edu/H++/
Attached is a processed PDB file for 5NEE:
5neeH.pdb.txt
I was able to use it as an input for prepare_receptor, without the -A option. Here is the generated PDBQT file:
5neeH.pdbqt.txt
With that, you may continue the AutoDockZn tutorial.

Thanks for your advise, but I wonder why ADFR -A "hydrogens" is not good to use?
I encountered error like the following information when processing the *_protein.pdb without any waters or non-polar H, but with ions.
File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 174, in repairMol
    self.newHs = self.addHydrogens(mol)
  File "/data2/rjli/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 187, in addHydrogens
    HB.addHydrogens(mol)
  File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/MolKit/hydrogenBuilder.py", line 61, in addHydrogens
    babel.assignHybridization(mol.allAtoms)
  File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/atomTypes.py", line 136, in assignHybridization
    self.valence_three()
  File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/atomTypes.py", line 236, in valence_three
    elif self.count_free_ox(a) >= 2: a.babel_type="Cac"
  File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/atomTypes.py", line 167, in count_free_ox
    self.count_heavy_atoms(bonded_atom) == 1:
  File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/PyBabel/atomTypes.py", line 157, in count_heavy_atoms
    if bonded_atom.babel_type[0] == 'H': count = count + 1
  File "/ADFRsuite-1.0/ADFRsuite_x86_64Linux_1.0/CCSBpckgs/MolKit/molecule.py", line 409, in __getattr__
    raise AttributeError('member %s not found'%member)

I'd like to use pymol, obabel or rdkit to add  non-polar Hydrogens for a batch of pdbfile, is that possible? Because it takes time to install and learn MOLprobity. Thanks!

Hi @Kerro-junior,
I wonder why ADFR -A "hydrogens" is not good to use?
Your task is out of the scope for which the application was developed for.
I'd like to use pymol, obabel or rdkit to add non-polar Hydrogens for a batch of pdbfile
In my opinion, you need external packages or your own codes to support the command-line preparation of metalloproteins. If you are pursuing such systems, it is your commitment to figure out the protocol. Trying out different tools will definitely help you learn and realize the limitations of each of them.
If you are interested, python package MDAnalysis has some well-documented topology modules. With custom residues and atoms, you might be able to generate the correct topology for your systems:
https://docs.mdanalysis.org/stable/documentation_pages/topology_modules.html
And it has some back/forward compatibilities with RDKit objects.


bumps, support unlimited limiter, exposes limit-enable

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (eac7a53) 34.15% compared to head (10d370b) 33.90%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
- Coverage   34.15%   33.90%   -0.25%
==========================================
  Files          26       26
  Lines        2038     2038
==========================================
- Hits          696      691       -5
- Misses       1242     1246       +4
- Partials      100      101       +1

see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


CPLP-1406 ServiceAgreement Consent

in this PR the tasks CPLP-1407 CPLP-1406 are resolved.
Please also review the database PR

To resolve conflicts I did pull main - please pull before proceeding

SonarCloud Quality Gate failed.
  0 Bugs   0 Vulnerabilities   0 Security Hotspots   0 Code Smells
 74.9% Coverage  0.0% Duplication

not sure why it says 74.9% pretty sure it's above 80. should be something around 90 after my latest changes. sonar somehow didn't recognized it

From my point of view ready to merge. Please double check my changes in respect to AgreementAssignedOffers.


LethalOS doesn't work

Hi, I'm looking to develop a mod to add commands to the terminal. I thought LethalOS looked like a good solution
The problem is that I've developed my mod following the wiki and even your mod TerminalUtils, but despite that nothing works, it doesn't add the menu even though everything is good
I even deleted my mod and added TerminalUtils, but still no menu added when I type the command Menus
I obviously added LethalOS to the plugins folder

It was due to something in the BepInEx config which was fixed a while back


Error generating header file. Make sure project builds

Describe the bug
Right clicking on an idl file in solution explorer and clicking on "Update Header File..." produces the error "Error generating header file. Make sure project builds"
My project builds fine.
Opening the developer command prompt, I can execute cppwinrt. Version displayed in the cmd prompt is : C++/WinRT v2.0.201201.7
Are there any logs perhaps that could help with debugging this issue?

I see this as well, it does have a log file off of AppData but the information it is providing doesn't really help. My best guess is it is making a LOT of assumptions about output locations without using the proper MSBuild macros to locate/find things. In my case I have a Directory.Build.[Props|targets] to customize the entire repository build. That includes re-dierection of ALL build output to a specific location distinct from the rest of the source tree. This keeps the source tree isolated from the build output and it is trivially easy to "clean" the whole repo.


Is An operating system drive (the D:\ drive) are Temporary Disk of the VM?

I understand the Apps run on shared or dedicated Virtual Machine.
As like normal Virtual Machine, is D drive are Temporary Disk by default?
Thanks
Can I use the temporary disk (the D: drive by default) to store data?
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/faq#can-i-use-the-temporary-disk-the-d-drive-by-default-to-store-data
Don’t use the temporary disk to store data. It is only temporary storage, so you would risk losing data that can’t be recovered. Data loss can occur when the virtual machine moves to a different host. Resizing a virtual machine, updating the host, or a hardware failure on the host are some of the reasons a virtual machine might move.
If you have an application that needs to use the D: drive letter, you can reassign drive letters so that the temporary disk uses something other than D:. For instructions, see Change the drive letter of the Windows temporary disk.
About disks storage for Azure Windows VMs
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/about-disks-and-vhds

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

ID: c03c7ed5-ba60-f10c-fbdb-908b9c5264c4
Version Independent ID: ca460531-b89c-94c1-dfb6-509700a010b9
Content: Operating system functionality on Azure App Service
Content Source: articles/app-service/web-sites-available-operating-system-functionality.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@KeiroKamioka0000, It’s different from IAAS VM and PAAS (App Service WebApps) VM. To give you a better insight on this, there are three main types of files that an Azure Web App can deal with:

Persisted files: This is what you can view as your web site's files. They follow a structure described here. They are rooted in d:\home, which can also be found using the %HOME% environment variable. For App Service on Linux and Web app for Containers, persistent storage is rooted in /home.
These files are persistent, meaning that you can rely on them staying there until you do something to change them

Temporary files: A number of common Windows locations are using temporary storage on the local machine. For instance
•	%APPDATA% points to something like D:\local\AppData.
•	%TMP% goes to D:\local\Temp.
Unlike Persisted files, these files are not shared among site instances. Also, you cannot rely on them staying there. For instance, if you restart a web app, you'll find that all of these folders get reset to their original state.

Machine level read-only files
The WebApp is able to access many standard Windows locations like %ProgramFiles% and %windir%. These files can never be modified by the WebApp.
Hope this helps. Let us know if you have any further questions.

@KeiroKamioka0000 ,Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


Play button not click-able or viewable (initially) when using REACT

Issue description
Everything works perfectly when I put the player in index.html but when I use react to render the player in the exact same position where I had it in index.html, the play-pause button is initially invisible only when I press space does it become visible again (but still is unclickable)
Additional details / screenshots

index.html code

Offcut #6

Little People

                :

                3:30

            <progress class="amplitude-song-played-progress" data-amplitude-song-index="0" id="song-played-progress-1"></progress>

React code (theoretically performing the exact same thing)
window.onkeydown = function(e) {
 return !(e.keyCode == 32);
};

Amplitude.init({
  bindings: {
    37: "prev",
    39: "next",
    32: "play_pause"
  },
  "songs": [
    {
      "name": "Offcut #6",
      "artist": "Little People",
      "album": "We Are But Hunks of Wood Remixes",
      "url": "https://521dimensions.com/song/Offcut6-LittlePeople.mp3",
      "cover_art_url": "https://521dimensions.com/img/open-source/amplitudejs/album-art/we-are-but-hunks-of-wood.jpg"
    }
  ]
 });

class Beats extends React.Component {
  constructor(props) {
    super(props);
  }
  state = {
    persons: []
  };

   componentDidMount() {
    axios.get("/api/beats").then(res => {
      this.setState({ persons: res.data });
    });
  }
  render() {
    return (

Offcut #6

Little People

              :

              3:
30

          <progress class="amplitude-song-played-progress" data-amplitude-song-index="0" id="song-played-progress-1"></progress>

    );
  }
}
ReactDOM.render(<Beats />, document.getElementById("beats-data"));
/*
    Handles a click on the song played progress bar.
  */
 document.getElementById('song-played-progress-1').addEventListener('click', function( e ){
    if( Amplitude.getActiveIndex() == 0 ){
      var offset = this.getBoundingClientRect();
      var x = e.pageX - offset.left;

      Amplitude.setSongPlayedPercentage( ( parseFloat( x ) / parseFloat( this.offsetWidth) ) * 100 );
    }
  });

I believe this is because Amplitude tries to bind the elements that don't get rendered yet with React. After React has mounted the parent element and rendered the HTML then run Amplitude.init().


[fix] Heroku re-deploy issue with node-sass

When deploying over an already-deployed app in heroku, binaries in the vendor directory of module node-sass disappear.
This extra post-installation step will force a fetch, for the application to start properly.

👍


Why does iso8601 format not respect absoluteDate?

I've tested the following code:
let now = DateInRegion()
print("now = \(now)\n")

iso8601_string = now.string(format: .iso8601(options: [.withInternetDateTime]))
print("iso8601 string = \(iso8601_string!)\n")

print("absoluteDateTime UTC = \(now.absoluteDate)\n") // UTC format

let absoluteDate = now.absoluteDate
let absoluteDate_iso8601_string = absoluteDate.string(format: .iso8601(options: [.withInternetDateTime]))
print("absoluteDate iso8601 string = \(absoluteDate_iso8601_string)\n")

Which outputs:

now = Mar 21, 2018 at 10:42:16 PM EDT
iso8601 string = 2018-03-21T22:42:16-04:00
absoluteDateTime UTC = 2018-03-22 02:42:16 +0000
absoluteDate iso8601 string = 2018-03-21T22:42:16-04:00

Shouldn't the absoluteDate iso8601 string format be 2018-03-21T02:42:16+00:00 ?
To match the same UTC output of the .absoluteDate variable?

Since SwiftDate 5.x it was fixed; thanks.
let now = DateInRegion()
print("now = \(now)\n")

let iso8601_string = now.toISO([.withInternetDateTime])
print("iso8601 string = \(iso8601_string)\n")
print("absoluteDateTime UTC = \(now.date)\n") // UTC format

let absoluteDate = now.date
let absoluteDate_iso8601_string = absoluteDate.toISO([.withInternetDateTime])
print("absoluteDate iso8601 string = \(absoluteDate_iso8601_string)\n")


PEP8: fix sql.py and test_sql.py

Master is failing due to my PR https://github.com/pydata/pandas/pull/12205
Strange that it did not fail on travis before merging ?

it was failing the linting before but that was turned off until very recently to actually fail Travis
I usually check these before I manually merge but didn't in this case


Replace unstable pop-shell with material-shell

Resolves GH-799

The settings of extension material-shell@papyelgringo had an error:
SyntaxError: import declarations may only appear at top level of a module @ resource:///org/gnome/Shell/Extensions/js/misc/extensionUtils.js:4:0

Stack trace:
  @file:///run/current-system/sw/share/gnome-shell/extensions/material-shell@papyelgringo/prefs.js:269:12
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


support for Open-Assistant.io/gpt4all

Is it possible to adde plugin at https://open-assistant.io/ or gpt4all ?

I haven't had a chance to look into plugin support for those -- will have the chance to take a look in the next 1-2 weeks!


Promotions

The tool works great! Another anomaly I just discovered is with promotions. When an item is purchased with a discount (lightning deal) the promotion comes across separate instead of part of the order.  Think there is a way to address this? See an example below.
From Mint:

From items.csv

From orders.csv

On Amazon:

Another interesting thing to note is the "Prime Savings" do not appear to be capture on any report.

Hi again! Glad to hear you're having success!
This is an interesting example. Honestly, I'm not sure where the "prime savings" went, but it must be represented in the report somehow, as the tagged "promotions" are showing 77.61 (74.61 + 3).
It's true, the type of promotion (and number of promotions) are not represented in the reports (thanks amazon!), so that's the level of granularity.
There's two flags that you can play with. The default behavior:
--verbose_itemize     Default behavior is to not itemize out
shipping/promos/etc if there is only one item per Mint
transaction. Will also remove free shipping. Set this
to itemize everything.
--no_itemize          Do not split Mint transactions into individual items
with attempted categorization.
If the order you referenced in this issue only has 1 item, and you didn't specify --verbose_itemize, then I'm not really sure why you're seeing the mint transaction being itemized as you are (split into different line items). If you'd like to always condense into a single line item per order, then take a look at --no_itemize, which will always merge in Promotions into the line item itself.

Thanks for the quick response.  I looked at two examples and they both have multiple items in the order.  I do not have --verbose_itemize specified.  My preference would be to have the promotions grouped with the item even on multi item orders. It appears that you can isolate and identify by looking at orders.csv.  Let me know your thoughts.

Just checking to see if you had any thoughts on this?

To clarify, the promotions are totaled/associated at the order/charge level. Amazon doesn't split it out any further. So for example, an order with 5 items, one that has 15% off, and the whole order has free same day shipping (shown sometimes as a promo), and you have a primeday discount, all of those would get bunched up into one promotion on the whole order/shipment.
If you don't like the style where the mint transaction splits out the charge into each item, you can do --no_itemize, which will then merge all the items, shipping, and promos all into one mint line item.
Let me know if I'm misunderstanding. If you anonymize a specific example, I'm happy to take a closer look!

@dev415, let me know if my previous reply made sense and if you have any specific examples you can share from your reports (if my response didn't make sense).

@dev415 I haven't heard back from you; I'm going to close this because as far as I can tell, what you're asking is infeasible due to the way Amazon models their data in the export. Please reopen and reply to my above messages if you'd like to dig deeper!


Added anomaly detection documentation and fixed a few typos on text analytics documentation.

Added anomaly detection documentation and fixed a few typos on text analytics documentation.
Please pull ASAP.
Thanks!
-LuisCa

Hi @LuisCabrer, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (luisca). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


x/crypto/acme/autocert: Update local state with new cert on failed renewal

I'm running multiple instance of autocert.Manager in a distributed environment. In some cases I'm experiencing that new certificates are not propagated to all instances and those instances end up serving expired certificates.
I have been reading through the renewal part of the package and I have a theory.
I propose that the local state should be updated in domainrenewal.do if the certificate in the cache is found to be newer than the one in the local state, and not only on successful renewals.
Thus, if any other instance has successfully renewed the certificate, it should be picked up by any other instances when their renewal timer expires.
I'm running go1.9 linux/amd64 and I'm on the master branch of the crypto repository, updated to the latest revision: 94eea52f7b742c7cbe0b03b22f0c4c8631ece122

Sounds reasonable.
/cc @x1ddos

We've been running the code in https://go-review.googlesource.com/c/crypto/+/89995 in prod for a few weeks now if anyone else is running into this.

Sorry, fell off my radar. Reviewed.


Split off Signed/Unsigned modules into a new package

The Signed and Unsigned modules don't depend on the rest of ctypes, and might be useful elsewhere (e.g. for TCP sequence numbers, or for angstrom.)  So splitting them into a separate package could be worthwhile.

What do you think about at least trying to ask the ocaml dev team to upstream  UintX for each existing IntX in the stdlib ? I constantly need these.

I agree that it would be good to have them in the standard library.  If there was some indication of support from the maintainers I'd be happy to send a pull request.

I don't think it is worth working on it without at least an indication that those modules are desirable on principle and would be merged. You should maybe ask on their internal mailing list.

I created an issue on mantis for unsigned 32 and 64 bit integers: http://caml.inria.fr/mantis/view.php?id=7280
The response was somewhat positive... Having a concrete and complete proposal may help push this along.

Here's a new package, ocaml-integers with the Signed and Unsigned modules:
https://github.com/yallop/ocaml-integers

You should maybe ask on their internal mailing list.

I've sent a mail to the list to see whether there's any support for upstreaming the unsigned integer modules.

Hi, just wanted to know if there are plans to add a dependency from ctypes to ocaml-integers and use those types.

Yes, using the types in ocaml-integers is planned.  Is that something you have a need for soon, @emillon?

No, there's nothing immediate on my side, but that would definitely be an improvement.
As a data point, my use case would be splitting code that uses ctypes types (Unsigned.ULong.t & friends) from code that can emit calls. That way, the first part does not need libffi, and depend on way less C code, which can improve portability and reduce attack surface.

@yallop Did anything come out of that email about upstreaming the unsigned modules ?

@dbuenzli: I understand that there was some inconclusive discussion at the developers' meeting, but I haven't heard anything directly.

Maybe it would be better to have a living PR then...

Adding it to OCaml itself would be great, but in the meantime would you be interested in a PR to use ocaml-integers in ctypes?

@emillon: yes, I'd welcome such a PR.

Great! I think @bbc2 has a WIP branch somewhere, let's discuss around some code when we have something working.

I've submitted an ocaml/ocaml PR that adds support for uint32 and uint64: https://github.com/ocaml/ocaml/pull/1201

Fixed by #515.


Use with confluent kafka python library

Hello,
Thank you for this amazing library.
Is it possible to use with confluent kafka python library?
I think kafka-python is not under develop anymore.

Sure, fork it and add your own integration under src/aws-schema-registry/adapter.


Piping into Code fails if data writes delayed

Does this issue occur when all extensions are disabled?: Yes*
*This bug can only appear while using the Remote:SSH extension, as far as I can tell. I have reproduced it having ONLY that extension installed, and no others.

VS Code Version: Version: 1.69.1 (Universal)
I have also reproduced this issue with VSC Insiders Version: 1.70.0-insider (Universal)
OS Version: Darwin x64 20.5.0
OS Version (remote): Linux aero-dev-202204071826 5.17.0-1-amd64 #1 SMP PREEMPT Debian 5.17.3-1 (2022-04-18) x86_64 x86_64 x86_64 GNU/Linux
Steps to Reproduce:

Remote SSH: Connect current window to host...
Select a host and connect
Create new terminal
Shell Command: Install 'code' command in PATH
In the shell: ls -l | code -

What happens
This opens a tab in the current editor window, but the tab stays empty, no output is sent there.
What I expected
The new opened tab contains the text of whatever was written to stdout by ls -l
Additional troubleshooting

this was working with all commands, in the same context, as recently as the previous update.
If I do not connect to a remote and use a terminal on the local machine (a macbook), cmd | code - works fine.
It doesn't fail 100% of the time, more like 90%. Occasionally a command will write some output to the window.
code filename.txt still works as expected
This is not specific to ls, any attempt to pipe stdout to code - with any command has the same behavior.

Hello! I have quite similar issue with:
Version: 1.69.1
Commit: b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a
Date: 2022-07-12T08:28:29.328Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.18.11-200.fc36.x86_64

Its not happen with each executed command. For me its happen when command execution takes about ~1sec. To reproduce it you can try create simple script like (I'm using bash):
#!/bin/bash

sleep $1 ; ls -l

then play with sleep time:
bash test.sh 1 | code -

File in /tmp is created:
[v.prokopenko@vprokopenko-work ~]$ cat /tmp/code-stdin-EJS
total 24
-rw-r--r--. 1 v.prokopenko v.prokopenko  271 Mar 29 13:40 kustomization.yaml
drwxr-xr-x. 1 v.prokopenko v.prokopenko  112 Mar 29 13:40 mysql
-rw-r--r--. 1 v.prokopenko v.prokopenko  533 Mar 29 13:40 patch.yaml
-rw-r--r--. 1 v.prokopenko v.prokopenko 3911 Mar 29 13:40 README.md
-rw-r--r--. 1 v.prokopenko v.prokopenko   65 Jul 18 15:44 test1.yaml
-rw-r--r--. 1 v.prokopenko v.prokopenko   30 Jul 18 15:45 test.sh
-rw-r--r--. 1 v.prokopenko v.prokopenko 2127 Jul 18 15:41 test.yaml
drwxr-xr-x. 1 v.prokopenko v.prokopenko   90 Mar 29 13:40 wordpress

but in VSCode I see a "fresh" one:

Please let me know if I'm facing with another problem and should create new issue.

Sorry guys, I didn't mentioned - my case is on local machine.

Let's keep this issue for running code - from a remote terminal from a window that is connected to the remote.

I'm running into this issue as well.

OS Version: Windows 10
OS Version (remote): Ubuntu 20.04 WSL2

$ ls -l | code -
Reading from stdin via: /tmp/code-stdin-eLG

When the new tab opens up in my window, it's showing the path of \tmp\code-stdin-eLG instead of /tmp/code-stdin-eLG. If I manually open the temp file at that path, I see the output of the command as expected. This seems to indicate that, at least on WSL2, there is some remapping of slashes into backslashes somewhere that makes VS Code unable to open the proper output file.

I'm having the same issue (initially filed as https://github.com/microsoft/vscode/issues/155129).
My case is about remote connections (connecting to a VM on Google Cloud), but have the same condition as @roko99. It rarely happens for echo, cat, etc. which completes immediately, but happens for ones with some delay such as curl, kubectl, etc.
My case is about Windows connecting to Linux as well as @vec4f. Yes, the path showing up on the tab has backslashes instead of slashes.

I cannot reproduce this and the command to install code as shell command seems wrong, that command is meant for installing VS Code on the OS. If you connect remotely to a host with VS Code, you should see code and code-insiders be there by default.
Here is proof:

@bpasero could you please try a command with some delay before sending out EOF?
E.g.
python -c "print 'a';import time;time.sleep(1)" | code-insiders -

shell command seems wrong

My case is using the code binary installed by the remote extension (it's saying 1.68.1 because I'm sticking my installation to the version without an issue except when I'm building the reproduction case).
$ code --version
1.68.1
30d9c6cd9483b2cc586687151bcbcd635f373630
x64
$ which code
/home/takeshi/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/bin/remote-cli/code

Here's a capture

This is likely a regression from my change in https://github.com/microsoft/vscode/commit/bf757ca01e36db9942e18f5babc9c9538eb193b4 then. fs.createWriteStream is creating the file if it does not exist, probably sync (not sure) and after my change we only create the file when data is received.

To repro:

run node --eval "setTimeout(() => console.log('hello world'), 10000)" | code-insiders -
verify hello world appears after those 10 seconds in the editor

This bug has been fixed in the latest release of VS Code Insiders!
@corydodt, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 73fd3f11032e7b83c2ae011b5516e6ddd19e3db2 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

Not the original reporter, but I verified that it's fixed on the following insider version.
Thank you so much!
Version: 1.71.0-insider (user setup)
Commit: b0895f9fcc5b49587a2b187a92bbe6d7efae35fa
Date: 2022-08-08T05:18:03.799Z
Electron: 19.0.11
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: Yes


Remove Learning Outcomes section #82

Fixes #82

I'm not familiar with Address Book Level 1, perhaps @yamgent can help

As discussed, let's put this on hold for now. I'll whittle down the LO description at a later time.


Quite difficult to install

I haven't been able to install Stacey on most servers out there. I was only using it locally.
http://d.pr/V128
I set the permissions as the installation says.

Things have changed a little with version 3.0.
You will need to allow write permissions for PHP for each of the folders inside "/app/_cache" as well as the "/app/_cache" folder itself.

That's what I did, also. Now I get this error:

Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid/gid is 195528/195528 is not allowed to access app/_cache/templates/45/6a owned by uid/gid 25000/25000 in /f5/bandd/public/app/parsers/Twig/Environment.php on line 950

Warning: tempnam() [function.tempnam]: SAFE MODE Restriction in effect. The script whose uid/gid is 195528/195528 is not allowed to access app/_cache/templates/45/6a owned by uid/gid 25000/25000 in /f5/bandd/public/app/parsers/Twig/Environment.php on line 953
Failed to write cache file "app/_cache/templates/45/6a/69052615a663e52659628e6583a8.php".

It looks like your host has some fairly serious file restrictions in place.
Your best bet will be to get in touch with them and ask the best way to allow PHP write access to a series of folders.

Actually. I'm still figuring out which server to use. Which one will you recommend me. I'm only using PHP servers because of Stacey. (I know this is totally off-topic)

I hear MediaTemple are pretty good. I haven't tried them myself though.

I also just pushed up a fix, so if your template cache folder is unwritable, then it will disable template caching.
This may be a short-term answer to your problems.
https://github.com/kolber/stacey/commit/be769773b6ea170da350dba1e2c2ceefcbaf7b3e

Great! This pretty much solved everything. I was about to suggest that flexibility. Thank you!


Allow up local detection by operator

Description of the change:
When operator-sdk up local is called. Set OPERATOR_UP_LOCAL=true
Motivation for the change:
When developing locally, it would be convenient to detect this in
the actual operator code so things like metrics can be bypassed.
With the OPERATOR_UP_LOCAL=true, operators can skip certain
bootstrapping tasks like attempting to register with a metrics service
while still maintaining logic for registering failures in production.
An example can be seen below:
	// detect if operator-sdk up local is run
	detectLocal := os.Getenv("OPERATOR_UP_LOCAL")

	// Configure metrics. If it errors, log the error and exit
	if detectLocal != "true" {
		if err := metrics.ConfigureMetrics(context.TODO(), *metricsServer); err != nil {
			log.Error(err, "Failed to configure Metrics")
			os.Exit(1)
		}
	}

/retest

This is actually already implemented. It's used to disable metrics and leader election on local mode runs, but I suppose it could be used by the user as well, we just don't have it documented. When using up local, we set OSDK_FORCE_RUN_MODE=local: https://github.com/operator-framework/operator-sdk/blob/master/cmd/operator-sdk/up/local.go#L142

Since this is already implemented, I'm going to close this PR.
IMO, we should not document this and should instead advocate that users that need more advanced control of various go commands that are wrapped by operator-sdk should instead use a Makefile and implement their own logic in custom targets. See https://github.com/operator-framework/operator-sdk/pull/1600#issuecomment-506730405 for more background.

@joelanford @AlexNPavel Thank you for taking the time to enlighten me on this.
Seems like this is a suitable thing to document, why hide it? If you are going to advocate users to edit their own Makefile, I would recommend at least adding that to the FAQ: https://github.com/operator-framework/operator-sdk/blob/master/doc/faq.md


partials and shared objects between queries

Hi,
I don't know if it's a bug or optimization feature.
Lets say that I've got a Post entity and User entity.
In one query I do something like this:
    ->select('partial p.{id,slug,title}, partial pu.{id,username}')     ->from('Post', 'p')     ->leftJoin('p.user', 'pu')
and I've got another query in the same action and I do something like this
    ->select('partial u.{id,username,slug}')     ->from('User', 'u')
The problem is that in result list of second query I'm getting a 1 user without slug. This object looks like it was taken from Post query.
I guess that it's caused by some internal doctrine optimization. But I don't know if it's a feature or a bug.
Without using partial queries you will not notice any problem.
Best regards,
Michal

This is normal, since the partial objects that were hydrated stay in memory after the first query, and won't be re-hydrated.
I suggest taking an alternate approach: https://ocramius.github.io/blog/doctrine-orm-optimization-hydration/
Closing as invalid

ok, thanks!


Adding lock mechanism to prevent on_disk_cache downloading twice

Stack from ghstack:

-> #409

Fixes #144
Differential Revision: D36489060

Doing cleanup now, but principle had to remain. The main problem is the fact that we had to put 'promise' files to avoid downloading twice.

Added as hard dependency.

TODOs:
[ ] Remove lambda for full tests coverage
[ ] Add timeout to make sure we exit after waiting promise for two long (default 2 min), as it could happen when filename_fns are different

Had to add promise concept, to make sure that workers waits 'main' worker to finish downloading/unpacking. To avoid DataLoader starvation we also fetch all file names into infinite buffer.

@VitalyFedyunin has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@VitalyFedyunin has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.


When a IpV4 packet is fragmented, sometimes it returns a zero length IpV4Datagram.

sumtec[CodePlex] According to https://en.wikipedia.org/wiki/IPv4, when a ipv4 packet is fragmented, the total length should be the length of the current segment. However, in the real world, I found that the
total length could be zero when there are payload and the ip4v packet is marked quotMore Fragmentationsquot. In this case, the code now will return no data inside ipv4 packet, i.e. no TCP packet, which is not correct.

sumtec[CodePlex] Yes, I will try to capture one, maybe next week.

Brickner[CodePlex] Can you give me a .pcap file example for the case you suggest?

Hi @bricknerb
I've just encountered this same issue and can provide a pcap file for debug purposes. Pcap.net reports an invalid packet yet examining the packet in wireshark shows it reconstructing correctly.
In trying to diagnose the issue I came across http://rtoodtoo.net/generic_segmentation_offload_and_wireshark/ and in turn,
https://en.wikipedia.org/wiki/Large_segment_offload.
I will email a pcap file to<EMAIL_ADDRESS>which you can hopefully use to assist in identifying and debugging the issue.
Grateful if you could get a fix in :)
Thanks very much for your work!
Cheers.

Thanks for the example.
Wireshark indeed reports:
"
Total Length: 1629 bytes (reported as 0, presumed to be because of "TCP segmentation offload" (TSO))
"

I've committed 69c3a1fafb6dd0b644de4a9544ba581543f6a571 that should fix this.


Improve json structure

This is an attempt to adapt the json files to a logic structure that can be consistently interpreted by the documentation pages, so we can make sure that all current and future tokens are displayed in Storybook.
I tried to comply with a set of "rules", but this quite an error prone task, so I would appreciate feedback regarding the whole structure and the changes applied to the files. The rules are:

Root level token branches are shown on an individual sections
Second levels are captured as subpages (nested within the sections) and include an h2 that equals the name of the subpage
Third levels (if they exist) are captured as sections inside the subpages, and introduced by an h3
Further nesting levels are shown below h2 or h3 headlines (depending on the previous number of levels) and in their respective tables
Tokens inside those sections are show in the order they are stored in the source JSON file. Tokens extracted from the global.json file are displayed on top, tokens extracted from the alias.json file are included

An overview of the structure of the pages is also provided in this spreadsheet.

Closing this as its contents moved into #73 which is now merged.