impl automated formatting and import sorting

Implementation of isort and Black Formatting
Hi there! 👋 This pr is designed to address issue #42. I manually formatted and sorted each file. I implemented a test to verify.
In short, I added a check if all files are sorted and formatted, and I added a vscode config to suggest any developer with the workspace open to set up isort and black formatting.
Checklist

[x] test if game runs
[x] Implement Github Actions iSort and Black formatting.
[x] Implement Vscode suggestions for black and isort extensions
[x] Format code (done per commit)

Goal
The goal of this branch is to implement two modes of isort and Black formatting.

"Checks"
Traditional

The "checks" mode is administered via the Github action. This action will run Isort and Black formatting on every python file inside the src directory. This will return an error if there are any formatting errors or sorting errors. The badge looks like this:

This could be useful for pull requests from developers who do not have isort and black set up.

The "traditional" mode is the implementation of the VSCode extension suggestions. When the workspace is opened in vs code, the editor will check if the iSort and black formatting extensions are installed. If they are not installed, it will provide a prompt for the developer.

This is what it looks like when everything passes and there are no formatting or sorting errors!

Looks awesome! I'm testing it out right now

Can you resolve the conflicts?

Whoops 🤦, I forgot to mention @R0merol, I updated the ./code directory to ./src. If you would like me to revert it, please let me know. It may help with #9.

Strange, it seems like the linting cannot recognize pygame on my end

Make sure that the python environment you use has the correct requirements installed.
However, pylint was not initially requested in the issue, and is not necessary. Pylint is kinda like a perfectionist format. It opens up the pep rulebook and starts searching for issues. The bottom line is that pylint usually will complain about stuff that won't inhibit the code running, and that if it bugs you, you can turn it off.
I highly recommend developing with pylint, so I included it in the suggestions.
Pylint is not Black formatting nor import sorting.
I hope that helps! :)

Whoops 🤦, I forgot to mention @R0merol, I updated the ./code directory to ./src. If you would like me to revert it, please let me know. It may help with https://github.com/R0merol/Number-Game-v0.1/issues/9.

Oh yea, about that. Does using src instead of code the standard way of doing it? If so, then I'll switch to src. Also, regarding the lining, I might have to move this to a test branch to see how it works first

From my experience, using src is pretty standard. Although it's really up to you, I used it in my code because it stands for source.
The pylint won't actually affect the game running, but I agree with testing it! Pylint works wonders for pythonistas! I'll check up on the pr in ~8 hrs. (Unless it's ready 😄) I think we may have a time zone difference.

Can you resolve the conflicts first? Thank you

Sure! I'll revert to 'code' instead of 'src'. That seemed to be the only conflict.

Actually, you can keep it as src. I'm planning on converting it to that name anyways

Ok. I think that is the conflict. Your branch is 'code' but my branch is 'src'.

I think i fixed the readme thing. It’s just the directory thing. Are you going to change the directory name on your branch?

Yes, go ahead and change it

I don’t have access to your branch. For the merge conflict to go away, I either have to change my branch to code or you have to change your branch to src. ( I think ) 😅 It’s a little confusing.

Okay, just change it to code for now. Just make sure the conflict is resolved so I can merge it

Awesome work my friend! I love your game! 😄


Cross-region remediation

Security Hub introduced cross-region aggregation of findings: https://aws.amazon.com/about-aws/whats-new/2021/10/aws-security-hub-cross-region-security-posture/
It would be nice, if we could trigger remediations from the aggregation region to other regions. This could be implemented by an early step in the state machine, which forwards the action event to a cross-region event bus, so that it can be picked up by the deployed SHARR solution in the target target region.

This is currently under development.

Now supported in v1.4.0. See the Implementation Guide. http://docs.aws.amazon.com/solutions/latest/aws-security-hub-automated-response-and-remediation/welcome.html
v1.4.0 will be available within the hour.


Fill in tracers from db

Summary Change Description
Added existing tracers to the tracers sheet for every tracer based on a compound in the compounds sheet.
Affected Issues/Pull Requests

Partially addresses #829
Merges into PR #1027
Next PR: #1029

Review Notes

See comments in-line.
Checklist

This pull request will be merged once the following requirements are met.  The
author and/or reviewers should uncheck any unmet requirements:

Review requirements

Minimum approvals: 1
No changes requested
All blocking issues resolved by reviewers
Specific reviewers: @add_username_here

Review period: 2 days

Associated issue/pull request requirements:

[x] All requirements in affected issues marked "resolved" are satisfied
[x] All required pull requests are merged (or none)

Basic requirements

[x] All linters pass
[x] All tests pass
[x] All conflicts resolved

Overhead requirements

[x] New/changed method tests implemented/updated (or no change)
[ ] Updated Unreleased section of changelog.md (or no change)
[x] Migrations created & committed (or no change)

Merged via #1076


Outlook 2016 action card can not toggle to email content

When i first started using the action card, below the card there was a "more" that allowed you to toggle to the email that is behind the card and you could switch back and forth between the two items. Now with the current version of outlook you cannot see the email that is behind the card.  Removing the hideoriginalbody (setting to false) allows the email to show but its not as clean as the more toggle as the email is a continuation at the bottom of the card. Starting to wonder was I dreaming the old function since nobody is saying anything changed anywhere.

@hollytrull is this legacy MessageCard format or AdaptiveCard? I see the "Show original message" for MessageCard but not for AdaptiveCard.

I confirmed with the product team that the "Show original message" button was removed. For a lot of users, this was causing confusion, implying that the card wasn't somehow the "real" or "original" message.

Maybe a rename of the button would have been nicer!!!  some thing like See Accompanied Message.
We only went to using the cards because of that feature.

I've passed along the feedback, but if you want to provide it more directly, you can leave feedback at https://officespdev.uservoice.com/.


JSON parser breaks when parsing ids of locations within photo tags

(lldb) po error
▿ DecodingError
  ▿ dataCorrupted : Context
    ▿ codingPath : 4 elements
      - 0 : CodingKeys(stringValue: "data", intValue: nil)
      ▿ 1 : _JSONKey(stringValue: "Index 4", intValue: 4)
        - stringValue : "Index 4"
        ▿ intValue : Optional<Int>
          - some : 4
      - 2 : CodingKeys(stringValue: "location", intValue: nil)
      - 3 : CodingKeys(stringValue: "id", intValue: nil)
    - debugDescription : "Parsed JSON number <531383683876521> does not fit in Int."
    - underlyingError : nil

Instagram sends strings for ids for pretty much everything, but it seems it sends ints for locations. Huge ints at that. They don't fit in 64 bits and the swift parser doesn't like that at all.
Edited/censored offending JSON. The data within the location node hasn't been altered:
{
	"pagination": {
		"next_max_id": "censored",
		"next_url": "censored"
	},
	"data": [{
		"id": "123123123_123123123",
		"user": {
			"id": "12345678",
			"full_name": "Censored",
			"profile_picture": "censored",
			"username": "censored"
		},
		"images": {
			"thumbnail": {
				"width": 150,
				"height": 150,
				"url": "censored"
			},
			"low_resolution": {
				"width": 320,
				"height": 320,
				"url": "censored"
			},
			"standard_resolution": {
				"width": 640,
				"height": 640,
				"url": "censored"
			}
		},
		"created_time": "1515524886",
		"caption": {
			"id": "12345678",
			"text": "censored",
			"created_time": "1515524886",
			"from": {
				"id": "1297516609",
				"full_name": "Censored",
				"profile_picture": "censored",
				"username": "censored"
			}
		},
		"user_has_liked": false,
		"likes": {
			"count": 17
		},
		"tags": [],
		"filter": "Normal",
		"comments": {
			"count": 0
		},
		"type": "image",
		"link": "censored",
		"location": {
			"latitude": -22.951586524616,
			"longitude": -43.210792243481,
			"name": "Cristo Redentor Rio de Janeiro",
			"id":<PHONE_NUMBER>76521
		},
		"attribution": null,
		"users_in_photo": []
	}],
	"meta": {
		"code": 200
	}
}

It can be resolved by using InstagramLocation instead of InstagramLocation in 2 relevant places.

Hi @fer662, I'm afraid I don't understand your solution. Could you give me more details?

I meant to say InstagramLocation to  but i might have hit some kind of markup


[vite-react] NPM RUN BUILD ERROR:  EACCES: permission denied, stat '/root/.node_modules/vite/preload-helper'

Describe the bug
I encounter this bug when building for  production using react,
i successfully build the project in my local environment. However when I tried to deploy the app in our testing server, npm run build is not working
Reproduction
npm run build working on local environment but not on test server
System Info
Test Server:
System:
    OS: Linux 4.15 Ubuntu 18.04.3 LTS (Bionic Beaver)
    CPU: (8) x64 AMD EPYC Processor (with IBPB)
    Memory: 399.60 MB / 15.29 GB
    Container: Yes
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 14.16.0 - /usr/local/bin/node
    npm: 7.21.1 - /usr/local/bin/npm
  npmPackages:
    @vitejs/plugin-legacy: ^1.6.2 => 1.7.1
    @vitejs/plugin-react: ^1.0.7 => 1.2.0
    vite: ^2.8.0 => 2.8.4

Used Package Manager
npm
Logs
[vite:resolve] EACCES: permission denied, stat '/root/.node_modules/vite/preload-helper'
error during build:
Error: EACCES: permission denied, stat '/root/.node_modules/vite/preload-helper'
    at Object.statSync (fs.js:1086:3)
    at isDirectory (/var/www/vhosts/jjwc-hris.bentacos.com/dev.jjwc-hris.bentacos.com/jjwc-frontend/node_modules/resolve/lib/sync.js:31:23)
    at loadNodeModulesSync (/var/www/vhosts/jjwc-hris.bentacos.com/dev.jjwc-hris.bentacos.com/jjwc-frontend/node_modules/resolve/lib/sync.js:200:17)
    at Function.resolveSync [as sync] (/var/www/vhosts/jjwc-hris.bentacos.com/dev.jjwc-hris.bentacos.com/jjwc-frontend/node_modules/resolve/lib/sync.js:107:17)
    at resolveFrom (/var/www/vhosts/jjwc-hris.bentacos.com/dev.jjwc-hris.bentacos.com/jjwc-frontend/node_modules/vite/dist/node/chunks/dep-971d9e33.js:2077:29)
    at resolvePackageData (/var/www/vhosts/jjwc-hris.bentacos.com/dev.jjwc-hris.bentacos.com/jjwc-frontend/node_modules/vite/dist/node/chunks/dep-971d9e33.js:28938:19)
    at /var/www/vhosts/jjwc-hris.bentacos.com/dev.jjwc-hris.bentacos.com/jjwc-frontend/node_modules/vite/dist/node/chunks/dep-971d9e33.js:29319:15
    at Array.find (<anonymous>)
    at tryNodeResolve (/var/www/vhosts/jjwc-hris.bentacos.com/dev.jjwc-hris.bentacos.com/jjwc-frontend/node_modules/vite/dist/node/chunks/dep-971d9e33.js:29318:44)
    at Object.resolveId (/var/www/vhosts/jjwc-hris.bentacos.com/dev.jjwc-hris.bentacos.com/jjwc-frontend/node_modules/vite/dist/node/chunks/dep-971d9e33.js:29150:28)

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

May be related to #6767

Should have been fixed by https://github.com/vitejs/vite/pull/7612, shipped in Vite 2.9.2.


Cleanup resources to shutdown goroutines

Need to shutdown http peerstore and graphsync.  Otherwise, they will leak goroutines.

Codecov Report

Merging #87 (8aaba55) into main (36b1633) will decrease coverage by 0.21%.
The diff coverage is 54.54%.

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
- Coverage   66.22%   66.00%   -0.22%
==========================================
  Files          21       21
  Lines        1818     1827       +9
==========================================
+ Hits         1204     1206       +2
- Misses        452      460       +8
+ Partials      162      161       -1

Impacted Files
Coverage Δ

dtsync/util.go
46.75% <37.50%> (-1.14%)
:arrow_down:

subscriber.go
79.38% <100.00%> (+0.15%)
:arrow_up:

test/util.go
80.87% <0.00%> (-1.64%)
:arrow_down:

Continue to review full report at Codecov.

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


Re-export often-used symbols

e.g.

ExtXYZ.load or ExtXYZ or a new load_xyz
@u_str
ACEfit

(I will keep adding to this list)

I think I can't export load because of how FileIO.jl works

I may write a wrapper load_xyz or export ExtXYZ or something else. Just want to do something so I don't have to add 20 packages for a quick script to try out something.

Is there an AtomsBase-type command that would work well here? I’m thinking of load_system from here: https://juliamolsim.github.io/AtomsBase.jl/dev/tutorial/
But not very familiar with AtomsIO yet.

I've only ever used ExtXYZ, but it would be good if we generalize

I was wondering mainly if there is an established command in that ecosystem for loading a bunch of frames. After looking more closely, it seems like AtomsIO offers load_system for single frames, as well as load_trajectory, but neither seems appropriate here.
So I'm happy with any of these options:

I may write a wrapper load_xyz or export ExtXYZ or something else


apoc.load.graphml does not create relationships named RELATED

 Issue by ElaineRosenberg
Friday Jan 10, 2020 at 22:29 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1377

Guidelines
Please note that GitHub issues are only meant for bug reports/feature requests. If you have questions on how to use APOC, please ask on the Neo4j Discussion Forum instead of creating an issue here.
Expected Behavior (Mandatory)
According to the doc, the default relationship that this procedure creates should be RELATED.
Actual Behavior (Mandatory)
It is creating relationships : 1,2,3,4....
Even if I specify defaultRelationshipType: 'RELATED' it does not create the RELATED relationship in the graph
How to Reproduce the Problem
Simply run the Cypher statement below.
Simple Dataset (where it's possibile)
//Insert here a set of Cypher statements that helps us to reproduce the problem

Here is the code to reproduce:
CALL apoc.import.graphml(
  "http://sonetlab.fbk.eu/data/social_networks_of_wikipedia/vecwiki_social_network_extraction/vecwiki-20091230-manual-coding.graphml",
  { batchSize: 5000, readLabels: true , defaultRelationshipType: 'RELATED'}
)

### Steps (Mandatory)

  1. Start with an empty graph.
   2. Run the above Cypher

## Screenshots (where it's possibile)
After the load:

<img width="1866" alt="Screen Shot 2020-01-10 at 2 28 01 PM" src="https://user-images.githubusercontent.com/41334110/72190868-40af6880-33c6-11ea-9640-ff75e7e3089f.png">

## Specifications (Mandatory)

Currently used versions

### Versions

  - OS: OS X Catalina
  - Neo4j: 4.0.RC01
  - Neo4j-Apoc: apoc-4.0.0-rc01-all.jar

 Comment by vga91
Tuesday May 11, 2021 at 08:58 GMT

@ElaineRosenberg The website provided is unreachable, so I can't replicate the anomaly.
Could you, provide a .graphml that has the reported anomaly, if possible?


[WIP] security/acme-client: next release

New features

allow to configure acme.sh's log level (advanced option)
write import events to the system log (#256)

Bugfixes

fix log file display in GUI (https://github.com/opnsense/plugins/issues/69)
switch default log level for acme.sh from 2 to 1

BTW, acme.sh is at 2.7.4 now

@fraenki 17.7.2 is due on Wednesday, so this needs to go in today to be considered for the release.

@fichtner Not sure if I can make the required changes timely, but I'll try later today.

@fichtner Please add/merge acme.sh 2.7.4 for 17.7.2. It only contains many fixes and no functional change, AFAICT.

ok, will do

@fraenki thank you!


Update server

Zap Log
Prometheus
Custom Config

Codecov Report
Patch coverage: 76.19% and project coverage change: +0.22% :tada:

Comparison is base (c4793fe) 43.09% compared to head (44ba1fc) 43.32%.

:exclamation: Current head 44ba1fc differs from pull request most recent head f25deba. Consider uploading reports for the commit f25deba to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
+ Coverage   43.09%   43.32%   +0.22%
==========================================
  Files           4        4
  Lines         297      307      +10
==========================================
+ Hits          128      133       +5
- Misses        152      157       +5
  Partials       17       17

Files Changed
Coverage Δ

internal/handler/engine.go
58.19% <76.19%> (-0.74%)
:arrow_down:

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


Recent commit broke function isRedeemAddress

The explorer uses the function isRedeemAddress and some time in the last week, that function stopped working correctly.
I am currently working on this.

Was my mistake. Did end up adding bunch of tests in #689 .


Carthage support

Thanks @Anders123fr - very much appreciated. Will try to take a look tomorrow and get it merged.

It's been some time since tomorrow :P


Cleanup

Since we're probably gonna have a reference to this in the paper, it would be nice to make a nicer README with docs on how to use the CLI, along with a markdown table containing the results. I'm also wondering whether it would be nice to run GMM and KeyNMF too just for completeness's sake so we can include them in Turftopic's docs and in the table in the readme.

Addressed #12


Can't get tue resourceUri when using Get-PCUsage

Can we get the “instanceData” property ,which the resourceUri information includes, using the Get-PCUsage cmdlt ?
When we use the utilization API (REST API), we can get it.
Get a customer's utilization records for Azure
https://msdn.microsoft.com/en-us/library/partnercenter/mt791774.aspx
However, when we use Get-PCUsage cmdlt, the "instanceData" property is lacking.

This does appear in the latest version for most of the resources. Is there a specific resource type that you aren't seeing show up?

Hi @yoshimasak, I am going to close this issue due to inactivity. Please feel free to reopen it or create new issue if you need any help.


Conflicts with Drush over nikic/php-parser (locked at v3.1.5)

Example output:
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for nikic/php-parser (locked at v3.1.5) -> satisfiable by nikic/php-parser[v3.1.5].
    - drupal/upgrade_status 1.x-dev requires mglaman/phpstan-drupal 0.11.3 -> satisfiable by mglaman/phpstan-drupal[0.11.3].
    - drupal/upgrade_status 1.0.0-alpha1 requires mglaman/phpstan-drupal 0.11.3 -> satisfiable by mglaman/phpstan-drupal[0.11.3].
    - Conclusion: don't install mglaman/phpstan-drupal 0.11.3
    - Installation request for drupal/upgrade_status ^1.0 -> satisfiable by drupal/upgrade_status[1.x-dev, 1.0.0-alpha1].

PHPStan requires nikic/php-parser v4.
Drush requires "psy/psysh": "~0.6",. This allows for ^2 || ^3 || ^4. Composer installs v3. While ^4 is valid, Composer dies over the jump to a major version.

Technically this could be fixed by:
composer remove drush/drush
composer require mglaman/phpstan-drupal
composer require drush/drush

Explicitly requesting the proper parser version works, Composer just freaks out when the dependency tries to do it (ie: "nikic/php-parser": "^4.2")

I am also dealing with a similar issue with Drupal 8 Rector. I think maybe these utility tools should not be installed as project dependencies rather global dependencies to prevent conflict like this.
Back in the days, I used a composer plugin that could install libs to its dedicated namespace when it is installed with composer global require. This could be also useful to resolve conflicts in the global namespace.
Another option is generating PHAR from these libraries.
https://packagist.org/packages/consolidation/cgr

This should be fixed with PHPStan 0.12 as it namespaces its dependencies in a bundled Phar.


Evaluation Metric

Hi. Thanks for the great paper.
While reviewing your paper and code, I have a question. In the paper, you mentioned, "we sample 10 hard candidate answers with the same type of the truth for prediction on KBQA." I'm curious about the calculation method of the Exact Match (EM) that you showed in the main results.
Does it mean that if the correct answer is among the 10 candidate samples, it is considered True? In other words, does EM become Hits@10? Or, is it that we only consider the top 10 candidate samples, and if the top-1 with the highest score matches the ground truth, it is considered True?
In addition, how can you extract the 10 hard candidates?
Could you please clarify this for me?
Thank you for your time and assistance.

Well, there might be some misunderstandings in our evaluation. We convert the qa evaluation into the choice question form. We sample 10 candidates as the options (candidates = ground truth + sampled negatives), and evaluate the models by selecting the correct answers from the options (the candidates).
EM is used in multi-choice setting (the number of the ground truth may be greater than 1, e.g., ComplexWebQuestions). The model selects one option if the predicted matching score is greater than the threshold. If the model selects all ground truth options and no negative option from the candidates (i.e., exactly match the ground truth), the EM score is 1; Otherwise (the model misses any truth or selects negative option), the EM score is 0.
In the single-choice setting (e.g., FreebaseQA), EM degrades to the ACC. The model only selects one option with the highest score, and evaluates whether it matches the only ground truth.
The hard negatives are sampled from entities with the same type as the ground truth. For example, if the ground truth is a height entity (e.g., "100 m"), we will sample other height entities as negatives (e.g., "120 m", "1 km", "1.8 m"). We determine the type of one entitiy by the relation in the triple. If exists an triple (A, "height", B), then the type of B is height. For more details, you can refer to our code in sample_negatives.py.

Hi.
Thank you so much for your detailed and clear explanation. It really helped me understand the evaluation process better. I appreciate the effort you put into breaking it down in a simpler way. Thank you again for your support!


Hide entry, list-item from Netlify CMS

I am using Gatsby. Gatsby generates Graphql queries based on the data in my markdown files. If a client goes and clears out a specific field in all entries in a collection, that will not be included in the generated query and break the site because I am referencing these fields in my queries. (gatsbyjs/gatsby#2392)
It seems like a workaround for now is to create a ghost entry and/or ghost item in a list input with all fields filled so that those fields are included in generated queries even though they may not exist at any given time.
Feels a little hacky but I am okay with doing this. I just need a way to hide the ghost entry from Netlify CMS so that clients do not delete it thinking that it is clutter or useless.
Maybe there is a different solution to the larger problem, but regardless it might still be beneficial to be able to hide entries and items in a list that you do not want to be editable/deletable.
So I propose there be different statuses for entries and list items: editable, editable but not deletable, hidden. You would manually add this in the markdown file of the entries or list items that you want to apply this status to.
Thoughts?

I’m currently solving this through manually defining the schema types. This solves the issue, however, it requires a lot of duplicate data (the types are in the config.yml and have to be repeated in the Gatsby type def).
I can imagine this being a more elegant solution—solving it on the CMS’s end.
I’d be willing to take a stab at this if the maintainers point me in the right direction :) Regarding your proposal I don’t see a need for this field to be in the file as it’s only Netlify CMS that needs to know about this. The only need I can think of is preventing Gatsby from publishing this “demo” page which can be achieved through different means.

I don't see us going this route, but the solution discussed in the comments of https://github.com/gatsbyjs/gatsby/issues/15707 would be viable. Closing in favor of that.


update code checks to only run mgmt yml generator if there is a mgmt …

…library in current service directory
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

We should also consider updating https://github.com/Azure/azure-sdk-for-net/blob/main/eng/checkenforcer.md with a note about this script and when to run it.

Closing in favor of https://github.com/Azure/azure-sdk-for-net/pull/31361


Error running the fraud_detection.py file

There is a similar codebase located in the below GIT link. People are leaving issues and someone mentioned the code was "leverage/stolen." Is this repo the correct location to ask questions and/or issues for the codebase? Should people move/copy their issues to this location? Any clarification would be appreciated? Thanks.
******similar codebase location:
https://github.com/llSourcell/The-Neural-Qubit/issues

Hi @sidsidsidsid, this is the correct place to ask questions regarding the quantum neural network fraud detection code. The code in this repository is used to generate the results shown in our paper "Continuous-variable quantum neural networks".

Ok thanks.
I'm getting an error when running the fraud_detection.py file
**Env:

Colab
!pip install strawberryfields==0.10.0 tensorflow==1.6.0

**************** ERROR*********************************
Traceback (most recent call last):
File "fraud_detection.py", line 194, in
prog = sf.Program(mode_number)
AttributeError: module 'strawberryfields' has no attribute 'Program'

Note that you'll have to make sure your environment is also compatible with tensorflow 1.3

The settings changes worked. thanks.
Another issue. Colab times-out before the training is completed. Sometimes it goes beyond 13 hours. So I reduce the below "reps", tb_reps", and savr_reps" variables.
Has anybody ever attempted to run the code on Colab? Is there something I'm doing wrong?
ENV:**
Colab
!pip install strawberryfields==0.11.0 tensorflow==1.3.0
set to GPU
VARIABLE CHANGED**********************
reps = 1000 ##############################30000
tb_reps = 10 ######################################100
savr_reps = 100 ##################################1000
ERROR***
2019-10-03 17:34:35.174945: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2019-10-03 17:34:35.175022: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2019-10-03 17:34:35.175051: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2019-10-03 17:34:35.175068: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2019-10-03 17:34:35.175078: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.

@trbromley any advice here?

Hey @sidsidsidsid, it definitely takes a bit of compute power for training - to put into context we trained for a few hours running on 20 cores + 2 GPUs.
You'll probably want at least 10,000+ for the reps value to get a decent quality of training. The best way to see how training is progressing is to view on TensorBoard.
The tb_reps and savr_reps are how often the code outputs to TensorBoard and how often it saves the model. Making these values too small will slow things down because more time will be spent outputting rather than in training.
We've never run the script on Colab, so you'd have to get into contact with them for support. One question, the errors you give - are you sure that they are not just warnings and that the code is still running?

@trbromley those errors are common from that version of TensorFlow. No cause for concern that the model is not training

@sidsidsidsid Those are just warnings as explained in this comment at the official tensorflow repo.


Warning: Failed prop type: Invalid props.style key fontSize supplied to View

Warning: Failed prop type: Invalid props.style key fontSize supplied to View

[x] bug report
[ ] feature request

Issue description
After:
react-native run-android

If I'm going to Auth section and select any item I obtain this warning:
13:10:25: Warning: Failed prop type: Invalid props.style key `fontSize` supplied to `View`.
Bad object: {
  "flexDirection": "row",
  "borderBottomWidth": 1,
  "borderBottomColor": "#0000003B",
  "marginVertical": 9,
  "backgroundColor": "#ffffff",
  "borderRadius": 100,
  "borderWidth": 1,
  "borderColor": "#0000003B",
  "fontSize": 17.63265306122449,
  "opacity": 1
}
Valid keys: [
  "display",
  "width",
  "height",
  "start",
  "end",
  "top",
  "left",
  "right",
  "bottom",
  "minWidth",
  "maxWidth",
  "minHeight",
  "maxHeight",
  "margin",
  "marginVertical",
  "marginHorizontal",
  "marginTop",
  "marginBottom",
  "marginLeft",
  "marginRight",
  "marginStart",
  "marginEnd",
  "padding",
  "paddingVertical",
  "paddingHorizontal",
  "paddingTop",
  "paddingBottom",
  "paddingLeft",
  "paddingRight",
  "paddingStart",
  "paddingEnd",
  "borderWidth",
  "borderTopWidth",
  "borderStartWidth",
  "borderEndWidth",
  "borderRightWidth",
  "borderBottomWidth",
  "borderLeftWidth",
  "position",
  "flexDirection",
  "flexWrap",
  "justifyContent",
  "alignItems",
  "alignSelf",
  "alignContent",
  "overflow",
  "flex",
  "flexGrow",
  "flexShrink",
  "flexBasis",
  "aspectRatio",
  "zIndex",
  "direction",
  "shadowColor",
  "shadowOffset",
  "shadowOpacity",
  "shadowRadius",
  "transform",
  "transformMatrix",
  "decomposedMatrix",
  "scaleX",
  "scaleY",
  "rotation",
  "translateX",
  "translateY",
  "backfaceVisibility",
  "backgroundColor",
  "borderColor",
  "borderTopColor",
  "borderRightColor",
  "borderBottomColor",
  "borderLeftColor",
  "borderStartColor",
  "borderEndColor",
  "borderRadius",
  "borderTopLeftRadius",
  "borderTopRightRadius",
  "borderTopStartRadius",
  "borderTopEndRadius",
  "borderBottomLeftRadius",
  "borderBottomRightRadius",
  "borderBottomStartRadius",
  "borderBottomEndRadius",
  "borderStyle",
  "opacity",
  "elevation"
]
    in View (at createAnimatedComponent.js:134)
    in AnimatedComponent (at TouchableOpacity.js:245)
    in TouchableOpacity (at rkTextInput.js:184)
    in RkTextInput (at login1.js:64)
    in RCTView (at View.js:112)
    in View (at login1.js:52)
...

Other information:
**OS, device, application version **
Android.

I've been waiting for this fix quite while. Do you have any workarounds for this in the meantime?

@zoozalp, this warning is showin only in debug mode. So it shouldn’t be a blocker for you.
At the moment we don’t have enough time to implement this feature. But it would be nice if you will submit PR for this!

Only workaround I could think of was to make the yellow box ignore this particular warning. I've just created a pull request for that in the sample app.
If you could direct me a little more, I would gladly contribute to fix it for good in the code.

@zoozalp That would be great!
One of option I could think - reuse already existed validation process in react-native.
As long as it can detect that we are passing some incorrect style options - we should be able to use same checks in order to prevent passing inapplicable styles to the component.
https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/StyleSheet/StyleSheetValidation.js
Probably code here should help.
Ideally, before setting styles, we should check what styles component can apply. And then pass only acceptable styles. That means we need somehow autodetect (idk how) or just declare in each component what style properties are acceptable.

Thank you guys for the great work.
This issue is really annoying while on development as it comes, again and again, making console debugging a pain :(
@malashkevich When do you guys plan some workaround? unfortunately, I am new to React Native so... I couldn't help on PR :(

Any progress on this?

Hello @gatesyp.
We are now working on a completely new version of react-native-ui-kitten, where this issue also will be fixed. So as for today, we don't have a fix for this bug.
As temporary "fix" you can disable this warning:
console.ignoredYellowBox = ['Failed prop type: Invalid props.style'];

2 years and still no progress???

i feel you bro

2 years and still no progress???

Getting this bug deep into 2020... maybe we oughta reopen this one?

I may have found a workaround. This is working for me:
import {ViewPropTypes} from 'react-native';

const stylePropType = shape({
  ...ViewPropTypes.style,
  fontSize: number,
});


On confirmations, put positive action on the right, negative on the left

I'd expect the "Yes, delete it" to be on the right, and the "No, thank you" to be on the left.

Depends therefore if you think deleting is a positive action..? I think this came up a while ago.
@paulevansblanc thoughts?

I'd argue it's not so much a reflection on the action being performed, but more that the "OK" button should always be on the right, and "Cancel" on the left.

[Cancel] [OK ]

Hmm you see there is no correct order on this for example Windows puts OK
first and the  Apple puts OK last.

I vote to switch the order, but make the text red.. needs the nod from @paulevansblanc though

I vote swap too (confirm on the right, cancel on the left)


【Hackathon 7th No 51】MixTeX 论文复现

在 PaddleOCR 中复现 MixTeX 模型的设计文档

 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.


Allow historical waveforms to be displayed in the plot, used as filter inputs, etc.

For some applications (e.g. differential power analysis) it's helpful to be able to do math between past states of a given channel.

This also depends on #283: historical waveforms used in math have to be pinned automatically so they can't be deleted when history rolls off the end.

Is this still needed now that we have memory filters? Would we ever need to be able to do math on "the past 10 waveforms of channel X" without explicitly snapshotting them?

@602p

Closing as I think the memory feature enables all of the relevant use cases.


[Fix] Release workflow configuration

Closes #54
Description

As-is

Manually extract the version from package.json to create and push a git tag

To-be

Utilize well-structured workflows from the GitHub Action Marketplace:

EndBug/version-check@v2: Extract the version from package.json
mindsers/changelog-reader-action@v2: Applicable only if the changelog is written according to the Keep a Changelog format.
ncipollo/release-action@v1: Updates the release notes.

ETC

지난 배포 때 의도치 않게 포함된 .vscode/settings.json 파일 변경사항 복구
개인 테스트 레포지토리 생성해서 테스트한 결과입니다! Changelog 내용도 한 줄일 때와 여러 줄일 때 테스트 모두 통과했습니다.

Checklist (Merge should only be performed once all of the following conditions are checked.)

[x] I have completed the necessary tests and verified that the functionality works as intended.
[x] I have written the code according to the code style guide.
[x] I have confirmed that only the intended files and changes have been committed.
[x] I have discussed these changes with my team members in advance, and all team members are aware of this PR.

linked #54


feat(event): add crown scroll event.

add crown scroll event.

 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.liuhongchao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Please sign CLA first.


Couldn't find record start within last 5 lines

Hi @thackl,
As the proovread paper suggests, I first download the long reads of Ecoli from
http://files.pacb.com/datasets/secondary-analysis/e-coli-k12-resequencing/1.3.0/e-coli-k12-resequencing-1.3.0.tgz
Then I choose /e-coli-k12-resequencing-1.3.0/data/filtered_subreads.fastq as the LR of Ecoli.
When running proovread using the following command
proovread -l ecoli-pb-001.fq -s ecoli-illumina.fq --pre pb-001
(ecoli-pb-001.fq is the chunked long read file of filtered_subreads.fastq)
A problem occured:
[Tue Oct 27 11:08:59 2015] Running proovread-2.13.10
[Tue Oct 27 11:08:59 2015] Reading core config
[Tue Oct 27 11:08:59 2015] Reading command line options
[Tue Oct 27 11:08:59 2015] Logging parameter to pb-001/pb-001.parameter.log
[Tue Oct 27 11:08:59 2015] Checking short read files
ecoli-illumina.fq
Detected FASTQ format
Estimated short read length: 200 +-0
Etimated short read quality offset: 33
Estimating approximate number of short reads: 14.2M
[Tue Oct 27 11:08:59 2015] Checking required binaries
[ok] samtools-1.1    /homec/liweilong/app/samtools
[ok] bwa-proovread   /homec/liweilong/proovread/bin/../util/bwa
[ok] blastn-2.2.31   /homec/liweilong/app/blast/bin
[Tue Oct 27 11:08:59 2015] Running mode: mr
[Tue Oct 27 11:08:59 2015] Preparing long reads
Fastq::Parser::next_seq: ecoli-pb-001.fq, line 10, Couldn't find record start within last 5 lines, possibly corrupted file or wrong format at /homec/liweilong/proovread/bin/../lib//Fastq/Parser.pm line 316, <$fh> line 10.
However, I checked  ecoli-pb-001.fq, which is correct and complete in format:
head ecoli-pb-001.fq
@m120131_103014_sidney_c100278822550000001523007907041295_s1_p0/9/10724_13548
CTTGTGGTGATCTTTAACAAAGGGGCATTGTTCTGAGCTTTACGCTTGTA
CTGTGTGATCTACATGCTGTTCGGCAGCCATTGTTCCGAGAGAAACTATA
GAAAGAGTAAGCCGAGATCTTCTCGCAAAGTCCGCGGGCATGCGACAGCC
GACCATTTCGCTCCTTGGCGACGGCATGCGTGGCACTGATTGTTGATGCT
CCGCCTGCAGGCGATAAACCCGCGAACACGGTATGGCGAACCCGCCGCCT
GATAGTAAAAGGTACAATATGACCGGTATGACGGAAGTTAACAAGCTGGC
CAGCGAGCCGTCAGGTCAGGAATTTCTGGTAATTTACCCTTGGTGATGAA
ATACGGTATTGATACCTGAAAGTGCAGGAATCCGTGGCTAACATCAGGTA
CACACGGATTGCGAACACGTCACAGCCGTTTATCAGCGCACGAATCTGCG
Is the long read fq file of Ecoli correct?
How can I solve the problem this problem?
Best
Weilong

Your FASTQ file seems to use multiple lines per sequence (multiline FASTQ). This format is not recommend, it will break most FASTQ based tools including proovread. Proper FASTQ only uses 4 lines per entry, a single line for the sequence info..

You can use the filtered_subreads.fasta file instead of the filtered_subreads.fastq which is also part of the data package.

I used seqtk to solve this problem successfully, thanks:)


URDF to GAMMA Format Conversion

Hi, thank you so much for your contribution to joint estimation! I was wondering – do you have a script that will convert the Sapien dataset in URDF form to the Gamma .npz format?

i wanna ask this question too, so that i can try more type of object, thanks!

Thank you for your attention. The data conversion has been updated in our code. Please refer to the "data_generation" section.


Add chopper parameters

Checks

[x] Debugging completed
[ ] Please debug me

Related Issue
This PR closes #273.

Codecov Report
Base: 91.66% // Head: 91.66% // No change to project coverage :thumbsup:

Coverage data is based on head (a6fca5f) compared to base (a4def1b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #274   +/-   ##
=======================================
  Coverage   91.66%   91.66%
=======================================
  Files          98       98
  Lines        4176     4176
=======================================
  Hits         3828     3828
  Misses        348      348

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Move output .float() to loss fn and compile it if compiling

Stack from ghstack (oldest at bottom):

#643
#645
-> #642

cc: @tianyu-l I checked that TP=2, DP=4 with compile looks okay:
[rank0]:2024-10-22 08:04:37,873 - root - INFO - Training starts at step 1, with local batch size 1, global batch size 4, sequence length 8192, total steps 1000 (warmup 200)
[rank0]:/data/users/andgu/pytorch/torch/_inductor/lowering.py:1759: UserWarning: Torchinductor does not support code generation for complex operators. Performance may be worse than eager.
[rank0]:  warnings.warn(
[rank0]:/data/users/andgu/pytorch/torch/autograd/graph.py:825: UserWarning: cuDNN SDPA backward got grad_output.strides() != output.strides(), attempting to materialize a grad_output with matching strides... (Triggered internally at /data/users/andgu/pytorch/aten/src/ATen/native/cudnn/MHA.cpp:674.)
[rank0]:  return Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
[rank0]:2024-10-22 08:04:53,798 - root - INFO - step:  1  loss: 12.2442  memory: 36.95GiB(38.89%)  wps: 257  mfu: 1.51%
[rank0]:2024-10-22 08:04:53,799 - root - INFO - Synchronizing and adjusting timeout for all ProcessGroups to 0:01:40
[rank0]:[rank0]:[W1022 08:04:53.745741040 ProcessGroupNCCL.cpp:4268] [PG ID 0 PG GUID 0 Rank 0]  using GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect. Specify device_ids in barrier() to force use of a particular device, or call init_process_group() with a device_id.
[rank0]:2024-10-22 08:05:01,119 - root - INFO - step:  2  loss: 12.0802  memory: 44.53GiB(46.87%)  wps: 560  mfu: 3.28%
[rank0]:2024-10-22 08:05:01,824 - root - INFO - step:  3  loss: 11.7657  memory: 44.53GiB(46.87%)  wps: 5,807  mfu: 34.01%
[rank0]:2024-10-22 08:05:02,529 - root - INFO - step:  4  loss: 11.2496  memory: 44.53GiB(46.87%)  wps: 5,822  mfu: 34.09%
[rank0]:2024-10-22 08:05:03,237 - root - INFO - step:  5  loss: 10.8570  memory: 44.53GiB(46.87%)  wps: 5,788  mfu: 33.89%
[rank0]:2024-10-22 08:05:03,943 - root - INFO - step:  6  loss: 10.6067  memory: 44.53GiB(46.87%)  wps: 5,804  mfu: 33.99%
[rank0]:2024-10-22 08:05:04,648 - root - INFO - step:  7  loss: 10.2545  memory: 44.53GiB(46.87%)  wps: 5,811  mfu: 34.03%
[rank0]:2024-10-22 08:05:05,357 - root - INFO - step:  8  loss: 10.4116  memory: 44.53GiB(46.87%)  wps: 5,785  mfu: 33.88%
[rank0]:2024-10-22 08:05:06,063 - root - INFO - step:  9  loss: 10.0731  memory: 44.53GiB(46.87%)  wps: 5,807  mfu: 34.01%
[rank0]:2024-10-22 08:05:06,770 - root - INFO - step: 10  loss:  9.9586  memory: 44.53GiB(46.87%)  wps: 5,795  mfu: 33.94%
[rank0]:2024-10-22 08:05:07,477 - root - INFO - step: 11  loss:  9.8314  memory: 44.53GiB(46.87%)  wps: 5,803  mfu: 33.98%
[rank0]:2024-10-22 08:05:08,184 - root - INFO - step: 12  loss:  9.4902  memory: 44.53GiB(46.87%)  wps: 5,794  mfu: 33.93%
[rank0]:2024-10-22 08:05:08,894 - root - INFO - step: 13  loss:  9.2467  memory: 44.53GiB(46.87%)  wps: 5,772  mfu: 33.80%
[rank0]:2024-10-22 08:05:09,599 - root - INFO - step: 14  loss:  9.0352  memory: 44.53GiB(46.87%)  wps: 5,818  mfu: 34.07%
[rank0]:2024-10-22 08:05:10,311 - root - INFO - step: 15  loss:  9.0176  memory: 44.53GiB(46.87%)  wps: 5,754  mfu: 33.69%
[rank0]:2024-10-22 08:05:11,017 - root - INFO - step: 16  loss:  8.9939  memory: 44.53GiB(46.87%)  wps: 5,807  mfu: 34.00%
[rank0]:2024-10-22 08:05:11,724 - root - INFO - step: 17  loss:  8.7929  memory: 44.53GiB(46.87%)  wps: 5,805  mfu: 33.99%
[rank0]:2024-10-22 08:05:12,432 - root - INFO - step: 18  loss:  8.7480  memory: 44.53GiB(46.87%)  wps: 5,786  mfu: 33.88%
[rank0]:2024-10-22 08:05:13,139 - root - INFO - step: 19  loss:  8.7208  memory: 44.53GiB(46.87%)  wps: 5,799  mfu: 33.96%
[rank0]:2024-10-22 08:05:13,845 - root - INFO - step: 20  loss:  8.5405  memory: 44.53GiB(46.87%)  wps: 5,806  mfu: 34.00%
[rank0]:2024-10-22 08:05:14,550 - root - INFO - step: 21  loss:  8.5574  memory: 44.53GiB(46.87%)  wps: 5,810  mfu: 34.02%
[rank0]:2024-10-22 08:05:15,256 - root - INFO - step: 22  loss:  8.2595  memory: 44.53GiB(46.87%)  wps: 5,809  mfu: 34.02%
[rank0]:2024-10-22 08:05:15,965 - root - INFO - step: 23  loss:  8.5042  memory: 44.53GiB(46.87%)  wps: 5,784  mfu: 33.87%
[rank0]:2024-10-22 08:05:16,670 - root - INFO - step: 24  loss:  8.0777  memory: 44.53GiB(46.87%)  wps: 5,818  mfu: 34.07%
[rank0]:2024-10-22 08:05:17,378 - root - INFO - step: 25  loss:  8.0765  memory: 44.53GiB(46.87%)  wps: 5,787  mfu: 33.89%
[rank0]:2024-10-22 08:05:18,086 - root - INFO - step: 26  loss:  7.9639  memory: 44.53GiB(46.87%)  wps: 5,790  mfu: 33.90%
[rank0]:2024-10-22 08:05:18,791 - root - INFO - step: 27  loss:  8.0070  memory: 44.53GiB(46.87%)  wps: 5,816  mfu: 34.06%
[rank0]:2024-10-22 08:05:19,497 - root - INFO - step: 28  loss:  7.9313  memory: 44.53GiB(46.87%)  wps: 5,807  mfu: 34.01%
[rank0]:2024-10-22 08:05:20,202 - root - INFO - step: 29  loss:  7.6236  memory: 44.53GiB(46.87%)  wps: 5,807  mfu: 34.01%
[rank0]:2024-10-22 08:05:20,207 - root - WARNING - Dataset c4_test is being re-looped

not sure who else to tag to review

@tianyu-l added a short blurb in composability.md

@carmocca yea we should
do you want to submit a fix?


Image processing using Matlab

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
This closes #2994.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.
[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

@vitalisodhis
Good afternoon and thank you for submitting your article for publishing.
Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀
Thank you.

@mercymeave requested changes made

Hello, @vitalisodhis
You just copied a new document and pasted not knowing that the current index.md file had all the chnages we  had done since we began the review.
Would you please revert the chnages and rename the images and image paths in the file that had my corrections?

plagiarism check done

@mercymeave Changes made.

Revert the changes to this commit 351cbe5
Ping me if you have any issues.

@mercymeave changes made.


Removed authors list

Relevant issue: https://github.com/rust-cloud-native/rust-cloud-native.github.io/issues/4


Won't work on Azure

There a couple of problems that keep dpdk-ans form working on Azure.
First the current CPU on bigger machine types is reported as core-avx2 by install-deps.sh.
Even if I just link in the haswell binaries, it still doesn't start because.
Second, the network interface on Azure is using failsafe PMD and MLX as a hidden device.
Even if you get the portmask right, it fails when I start it as:
ans -w a8f0:00:02.0 -l 4,5 -n 4 -- -p 0xf --config='(1,4,5)'
USER1: rte_ip_frag_table_create: allocated 25165952 bytes at socket 0
add veth1 device, kni id 0
USER8: LCORE[4] Interface veth1 if_capabilities: 0x800e
USER8: LCORE[4] Interface (veth1) isnt' added
Of course since this is all in your non open source code :-( No outside party can fix it.

You may try below command.
ans -w a8f0:00:02.0 -l 4,5 -n 4 -- -p 0x1 --config='(0,0,5)'


Feat/global scaled l2normpooling

closing #29
adds the layer ScaledGlobalL2NormPooling2D

commit 629a1a58721e9208664eab0722a07501ad15fea3
has wrong coefs, you should update the push request by incorporing the last commits you have done
class ScaledGlobalL2NormPooling2D(
method call: I would have precalculate axes out of this function in order to avoid any string comparison
if self.data_format == "channels_last":
axes = [1, 2]
else:
axes = [2, 3]


Imperial units

System Health details
ommited
Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
I have found an issue that you might or might not have any control over.
I am in the US and have setup the oven to use imperial units (F) for temp
The integration uses metric temp units (C).
When I call the start_cook service and attempt to use sous vide mode, I get an unknown error for any temp value above 100.
When I sous vide mode and set the temp below 100, the service succeeds.
However,the oven temp is set to 100 (F), not 100 (C), due to my units setting on the oven.
So, as a result of this I can never get sous vide above 100 (F).
Are there settings in the python files or yaml files that I can change to allow for imperial units?
Reproduction steps

...
Debug logs
ommited

Diagnostics dump
No response

@jamesjhfadler the support in the master branch. If you can test it before release would appreciate.

I will not be able to test for a month or so.
On Sat, Jun 22, 2024 at 12:27 PM Andrei Tupitcyn @.***>
wrote:

@jamesjhfadler https://github.com/jamesjhfadler the support in the
master branch. If you can test it before release would appreciate.
—
Reply to this email directly, view it on GitHub
https://github.com/andr83/hacs-anova-oven/issues/29#issuecomment-2184089702,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVZPMXH4ZTEBRN2F3PTJZVTZIWQXVAVCNFSM6AAAAABG6OXSY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGA4DSNZQGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Duplicated the images reference link in the bottom of Next steps section.

Duplicated the images reference link in the bottom of Next steps section.

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

ID: 57882c35-3894-f871-bea2-470e74f63c57
Version Independent ID: 75dada9d-a6a5-c343-e3af-8dab59ad00cb
Content: Deploy a .NET app in a container to Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-host-app-in-a-container.md
Service: service-fabric
GitHub Login: @athinanthny
Microsoft Alias: atsenthi

@rockboyfor
Thanks for the feedback! I will submit a PR


Fix testsuite

fix download method

Codecov Report

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

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   52.37%   52.34%   -0.04%
==========================================
  Files         269      269
  Lines       42151    42151
==========================================
- Hits        22076    22063      -13
- Misses      18140    18150      +10
- Partials     1935     1938       +3

Impacted Files
Coverage Δ

cmd/posix-list-dir_unix.go
72.36% <0%> (-2.64%)
:arrow_down:

cmd/fs-v1-helpers.go
68.19% <0%> (-1.84%)
:arrow_down:

cmd/fs-v1-multipart.go
65.94% <0%> (-0.9%)
:arrow_down:

cmd/fs-v1.go
63.2% <0%> (-0.34%)
:arrow_down:

cmd/xl-v1-multipart.go
75.08% <0%> (+0.48%)
:arrow_up:

Continue to review full report at Codecov.

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


Overhaul user and group app role assignment cmdlets

Changes parameter ordering to a logical order, fixes examples for New-AzureADUserAppRoleAssignemnt, adds equivalent examples for New-AzureADGroupAppRoleAssignment.

@psignoret,
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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Azure AD Cmdlets/AzureAD/v2/New-AzureADGroupAppRoleAssignment.md
:white_check_mark:Succeeded

Azure AD Cmdlets/AzureAD/v2/New-AzureADUserAppRoleAssignment.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@RobdeJong, @VinceSmith  - is this pr ok to merge?  There are syntax changes and I will need your dign off before merging.  Thanks!

@RobdeJong - is this pr ok to merge?

This pr looks good.

@RobdeJong  thank you- merging to master now.


Support showing video URLs

th01-th05 do not support .rpy files, so users provide video URLs instead. These should be supported in the front-end.

This was done awhile ago. We even have a pane to view the video inline.


ValueError: invalid literal for int() with base 10: '-2.34575'

I've followed all instructions with a corpus size of around 300,000 (vocab 25,000) and keep on running into this issues (have tried multiple times, same problem). I've completed all pre-processing, model training etc successfully but the library just errors upon a specific entry in the source.vocab (below)

Do you have any idea how I can resolve my issue?

Hello!
It seems that you are using the vocab file created by SentencePiece. You should rather use the vocab file created by OpenNMT onmt_build_vocab
Alternatively, you can use the script spm_to_vocab.py to convert a SentencePiece vocab file to OpenNMT-py compilable format. If you rather use OpenNMT-tf, there is a command for this vocab conversion process.
I hope this helps.
Kind regards,
Yasmin


Guard against empty pip install

This avoids calling pip install without a distribution to install (which is an error in pip 10).
Fixes #40.

@vstinner Would you merge this and make a new release?

Issue #40 has been fixed differently. This PR is no longer needed.


Display past 20 images

I have ported your fantastic app over to Joomla! CMS and added the Fancybox3 lightbox. Everything is working perfectly except for the 'Infinite loading' feature. Using my Instagram access token it stops loading images at 20. When I use your access token (from your demo page) it continues to load images past 20 as I scroll down the page. What Instagram API settings are you using (e.g. Sandbox vs. Live, oAuth code, etc.) that may be different than mine? FYI: My Instagram Client app is currently in Sandbox.
I have two working links using my access token;
Joomla website (w/Fancybox3):
http://edhathaway.com/instagram-masonry
Demo page:
http://edhathaway.com/Masonry/
Any assistance or feedback you can provide would be most welcomed. Thank you!
Ed

Please disregard my question, figured out how to show past the sandbox limitation of 20 pics. Thanks again for your great app!
Ed

Can you please close this issue, and explain how you made it work - it could be helpful for other users of this plugin.
Thanks!

The only way I was able to show past the Sandbox limitation of the latest 20 Instagram images was to request from Instagram to convert my Client App to the 'LIVE' mode. This request took several days to be approved and I'm told an approval has a 50/50 percent chance of being approved or not.


confusing with pretrained model finetune tutorial

In the following part of code.
deep_dog_net = models.squeezenet1_1(prefix='deep_dog_', classes=2)
deep_dog_net.collect_params().initialize()
deep_dog_net._children[0] = net.features
print(deep_dog_net)

What is the _children here? It's a little confusing.
what if i use?
deep_dog_net.features = net.features

@zhreshold

Paging primary contributor for this chapter: @szha can you take this one?

@Godricly The way you described should be the right way to do it.

I'm making a PR to clean up usage of hacks like this.

There will be some code changes needed in mxnet first.

Good point.

Can you check this code please?
The length of _children is increased by one using doc_net.features = net.features. I haven't finished my code so I'm not sure if this could a issue. But it looks like that I append sth here other than replacing the one I want.
net = models.inception_v3(pretrained=True)
doc_net = models.Inception3(classes=2)
print(len(doc_net._children))
doc_net._children[0] = net.features
print(len(doc_net._children))
doc_net.features = net.features
print(len(doc_net._children))

This behavior is being fixed in apache/incubator-mxnet#7667, and after that change is merged, you should be able to simply change the net.features attribute.

cool. Thank you.


synonyms: GO:0008479  queuine tRNA-ribosyltransferase activity

Please add exact synonyms:
tRNA guanine transglycosylase
eTGT
also , most of the currently "related" seem to be "exact":
guanine, queuine-tRNA transglycosylase activity
tRNA-guanine transglycosylase activity
tRNA guanine transglycosidase activity
queuine transfer ribonucleate ribosyltransferase activity
or broad:
tRNA transglycosylase activity
or odd
guanine insertion enzyme activity?

done


Is it possible to choose which GPU to use in a multi-GPU system?

Since vina-GPU is designed to use a Single GPU at a time, would it be possible to set vina-GPU command or config file to use a specific GPU on the system?
My goal is to split my ligand library into 4 and then run each quarter using one of the system's 4GPUs at a time.

Hi, we can not provide multi-GPU running in the current version but we will.
A possible workaround is to alter the GPU device which is fixed to be 0 (aka the first device) at OpenCL/src/wrapcl.cpp: line 338 for each Vina-GPU run and run multiple Vina-GPU at the same time.

A simple solution is to set enviroment variable CUDA_VISIBLE_DEVICES to the device you want to use, e.g. export CUDA_VISIBLE_DEVICES=0 and then run Vina-GPU


OpenEBS on NixOS with K3S

Description
On NixOS I made a cluster of k3s, and installed using the defaults: helm install openebs --namespace openebs openebs/openebs --create-namespace
First the csi-nodes failed without nvme_tcp, modprob'ing that in, I now get these logs:
Defaulted container "csi-node" out of: csi-node, csi-driver-registrar, nvme-tcp-probe (init)
CSI Driver (csi-node) revision ae1819b7737c (v2.6.1+0)
["csi-node", "--csi-socket=/csi/csi.sock", "--node-name=hunter", "--rest-endpoint=http://openebs-api-rest:8081", "--enable-registration", "--grpc-endpoint=<IP_ADDRESS>:10199", "--nvme-io-timeout=110s10s", "--nvme-core-io-timeout=110s10s", "--nvme-ctrl-loss-tmo=1980", "--nvme-nr-io-queues=2", "--node-selector=openebs.io/csi-node=mayastor", "--fmt-style=pretty", "--ansi-colors=true"]
  2024-05-29T19:32:08.653212Z ERROR kube_client::client::builder: failed with status 500 Internal Server Error
    at /build/cargo-vendor-dir/kube-client-0.85.0/src/client/builder.rs:151

  2024-05-29T19:32:08.653374Z ERROR csi_node: Terminated with error, error: Failed to patch node: hunter with patch: {"apiVersion":"v1","kind":"Node","metadata":{"labels":{"openebs.io/csi-node.nvme-ana":"true"}}}. ApiError: failed to create manager for existing fields: failed to convert new object (/hunter; /v1, Kind=Node) to smd typed: .status.addresses: duplicate entries for key [type="InternalIP"]:  (ErrorResponse { status: "Failure", message: "failed to create manager for existing fields: failed to convert new object (/hunter; /v1, Kind=Node) to smd typed: .status.addresses: duplicate entries for key [type=\"InternalIP\"]", reason: "", code: 500 })
    at control-plane/csi-driver/src/bin/node/main.rs:51

Error: Failed to patch node: hunter with patch: {"apiVersion":"v1","kind":"Node","metadata":{"labels":{"openebs.io/csi-node.nvme-ana":"true"}}}. ApiError: failed to create manager for existing fields: failed to convert new object (/hunter; /v1, Kind=Node) to smd typed: .status.addresses: duplicate entries for key [type="InternalIP"]:  (ErrorResponse { status: "Failure", message: "failed to create manager for existing fields: failed to convert new object (/hunter; /v1, Kind=Node) to smd typed: .status.addresses: duplicate entries for key [type=\"InternalIP\"]", reason: "", code: 500 })

I'm not certain where this InternalIP is coming from?
Expected Behavior
csi-nodes should initialize.
 A user on slack hit this and fixed by updating k8s IIRC? @Abhinandan-Purkait ?
Could you please do:

kubectl get node m7 -o json | jq .status.addresses

Yes, I remember someone having this issue, because of a kube-apiserver bug, the way it was fixed was upgrading to v1.29.4+k3s1.
It might be worth a shot if it's feasible to upgrade.

luckily 24.05 just released so I didn't have to figure out this stuff manually, I upgraded to v1.30.0+k3s1  with no luck, I will downgrade and test 1.29.4
Name:          csi-zfspv
Namespace:     default
StorageClass:  openebs-zfspv
Status:        Pending
Volume:
Labels:        <none>
Annotations:   volume.beta.kubernetes.io/storage-provisioner: zfs.csi.openebs.io
               volume.kubernetes.io/storage-provisioner: zfs.csi.openebs.io
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode:    Filesystem
Used By:       hello-local-csi-zfspv-pod
Events:
  Type     Reason                Age                From                                                                                Message
  ----     ------                ----               ----                                                                                -------
  Warning  ProvisioningFailed    59s                persistentvolume-controller                                                                             storageclass.storage.k8s.io "openebs-zfspv" not found
  Warning  ProvisioningFailed    28s (x2 over 42s)  zfs.csi.openebs.io_openebs-zfs-localpv-controller-7fdcd7f65-f8mbg_c40679f7-4a29-42c2-b210-ee29ae369c1c  failed to provision volume with StorageClass "openebs-zfspv": rpc error: code = Internal desc = not able to provision the volume, nodes [academius aqua eskimo hunter markiiisystems nickers saruman trinity], err : zfs: volume creation failed
  Normal   Provisioning          12s (x5 over 51s)  zfs.csi.openebs.io_openebs-zfs-localpv-controller-7fdcd7f65-f8mbg_c40679f7-4a29-42c2-b210-ee29ae369c1c  External provisioner is provisioning volume for claim "default/csi-zfspv"
  Warning  ProvisioningFailed    9s (x3 over 38s)   zfs.csi.openebs.io_openebs-zfs-localpv-controller-7fdcd7f65-f8mbg_c40679f7-4a29-42c2-b210-ee29ae369c1c  failed to provision volume with StorageClass "openebs-zfspv": rpc error: code = Internal desc = not able to provision the volume, nodes [academius aqua nickers], err : zfs: volume creation failed
  Normal   ExternalProvisioning  6s (x4 over 51s)   persistentvolume-controller                                                                             Waiting for a volume to be created either by the external provisioner 'zfs.csi.openebs.io' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.

same thing on v1.29.4+k3s1
Name:          csi-zfspv
Namespace:     default
StorageClass:  openebs-zfspv
Status:        Pending
Volume:
Labels:        <none>
Annotations:   volume.beta.kubernetes.io/storage-provisioner: zfs.csi.openebs.io
               volume.kubernetes.io/storage-provisioner: zfs.csi.openebs.io
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode:    Filesystem
Used By:       hello-local-csi-zfspv-pod
Events:
  Type     Reason                Age                    From                                                                                Message
  ----     ------                ----                   ----                                                                                -------
  Warning  ProvisioningFailed    5m3s                   persistentvolume-controller                                                                             storageclass.storage.k8s.io "openebs-zfspv" not found
  Warning  ProvisioningFailed    4m14s (x3 over 4m52s)  zfs.csi.openebs.io_openebs-zfs-localpv-controller-6f879b95b-zmbcg_8a7359fa-584e-482f-8cbb-980cfc22ffcf  failed to provision volume with StorageClass "openebs-zfspv": rpc error: code = Internal desc = not able to provision the volume, nodes [academius aqua eskimo hunter markiiisystems nickers saruman trinity], err : zfs: volume creation failed
  Normal   Provisioning          5s (x9 over 5m1s)      zfs.csi.openebs.io_openebs-zfs-localpv-controller-6f879b95b-zmbcg_8a7359fa-584e-482f-8cbb-980cfc22ffcf  External provisioner is provisioning volume for claim "default/csi-zfspv"
  Warning  ProvisioningFailed    2s (x6 over 4m48s)     zfs.csi.openebs.io_openebs-zfs-localpv-controller-6f879b95b-zmbcg_8a7359fa-584e-482f-8cbb-980cfc22ffcf  failed to provision volume with StorageClass "openebs-zfspv": rpc error: code = Internal desc = not able to provision the volume, nodes [academius aqua nickers], err : zfs: volume creation failed
  Normal   ExternalProvisioning  1s (x22 over 5m1s)     persistentvolume-controller                                                                             Waiting for a volume to be created either by the external provisioner 'zfs.csi.openebs.io' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.

Thanks for trying this @joshuacox :+1:
Do you have a dual stack ipv4 and ipv6?
https://github.com/kubernetes/kubernetes/issues/101029

I guess so?
kubectl get node deadbeef -o json | jq .status.addresses
[
  {
    "address": "<IP_ADDRESS>",
    "type": "InternalIP"
  },
  {
    "address": "dead:beef:beef:dead::beef",
    "type": "InternalIP"
  },
  {
    "address": "deadbeef",
    "type": "Hostname"
  }
]

should I be disabling IPv6? the more I learn about it the less useful it seems to me inside a kubernetes cluster, I only want the ingress to have an ipv6 address imho.

Yeah perhaps as seems like kubernetes itself struggles with it?
Though seems there may be a potential workaround? If we use replace rather than patch?
Btw you mentioned nixos (I also use nixos :)) with k3s, do you have a set of files to build a cluster like yours? That would allow me to test fixes, otherwise need to figure out how to setup dual stack on my clusters as well.

@tiagolobocastro yes I do, here  is my k3s.nix at the moment
and then I'm using colmena with a host block like this for the initial master:
      this_host = { pkgs, name, nodes, ... }: {
        #services.etcd.enable = true;
        imports = [
          ../../bootstrap/this_host/configuration.nix
        ];
        nixpkgs = {
          system = "x86_64-linux";
        };
        deployment = {
          targetHost = "<IP_ADDRESS>";
          targetPort = 22;
          targetUser = "root";
          buildOnTarget = true;
          tags = [ "kvm" ];
        };
        services.k3s = {
          role = "server";
          clusterInit = true;
          extraFlags = toString [
            " --kubelet-arg=node-ip=<IP_ADDRESS>"
            "--cluster-cidr=<IP_ADDRESS>/16"
            "--service-cidr=<IP_ADDRESS>/16"
            "--flannel-backend=wireguard-native"
            "--container-runtime-endpoint"
            "unix:///run/containerd/containerd.sock"
          ];
        };
      };

I don't need the mayastor as I am testing out zfspv here.

Thanks for raising this on mayastor nonetheless @joshuacox!
I'll try out your config when I get a chance, hopefully I can repro it on my end as well.

@tiagolobocastro was this over at https://github.com/openebs/mayastor ?   I thought I opened this here in the openebs repo.  Anyhow, I intend on testing mayastor and lvmpv as well, but trying to isolate this issue at the moment.

hmm you mean the ticket? It's showing up on openebs/openebs/issues/3727 atm for me
Though perhaps we should move it to mayastor since it seems mayastor specific. I can do that using github IIRC

wherever you deem appropriate, I can certainly change the install parameters if someone want to see what mayastor is doing as well.

Hi all, I had the same issue, zfs: volume creation failed. However, I found that adding this in the nixos configuration appears to fix it.
  # Found on github.com/longhorn/longhorn/issues/2166
  systemd.tmpfiles.rules = [
    "L+ /usr/local/bin - - - - /run/current-system/sw/bin/"
  ];

With this, the datasets associated to PersistentVolumeClaims are created and deleted successfully, but if I try to mount them in a pod, it does not start and kubectl describe shows this error: MountVolume.SetUp failed for volume "<pvc-identifier>" : rpc error: code = Internal desc = rpc error: code = Internal desc = not able to format and mount the zvol.
My setup on runs:

linux kernel 6.6.52
zfs 2.2.6-1
zfs-kmod 2.2.6-1zfs
k3s v1.31.0+k3s1
openebs v4.1.0

I was able to get our e2e zfs tests running on my NixOS under kind.
IIRC I had to mount the path of zfs binary to the kind worker, and specify it's path on .Values.zfs.bin
Seems FormatAndMountZvol is failing, and it's trying to format with zfs fstype?
@Abhinandan-Purkait can we get more logs out of this?


[Bug]: Configuring Github and gitlab as OAuth provider is swapped

Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the Issue Tracker for a bug that matches the one I want to file, without success.
[X] This issue is not related to Conduit Admin Panel.
[X] This issue is not related to Conduit CLI.

Conduit version
0.15.15
Describe the Bug
If you try to configure github as OAuth provider in authentication/signIn and hit save, the configuration is applied to gitlab instead of github and vice versa.
Expected Behavior
Configuring github as OAuth provider should be applied to github and not gitlab and vice versa.
How to Reproduce

spin up your docker environment
sign in your app and goto Auth Providers
try to configure github
you will see, if you hit save, your configuration will be applied to gitlab

Additional Information
No response
Environment
No response

Hello and thanks for taking the time to report this.
We recently discovered this and have pushed a fix in Conduit-UI.
We simply forgot to release a new UI version for it, but we'll do it now.
Once again, thanks for letting us know about this!

Hi @haexhub new release v0.15.15 for the UI is being built, should work correctly once you pull the new UI image

thank you for your quick response. I checked the new release and it works now :)


Support Keras add layers

Add support for the keras "Add" layer (https://keras.io/api/layers/merging_layers/add/)
This came up while trying to convert an ONNX  model to lwtnn for preservation in Rivet, and after a brief discussion with @dguest and @matthewfeickert .
I've implemented this locally on my machine (including amending the converter script kerasfunc2json.py). Given the layer has many similarities to concatenate, I basically used that as the guide for what to do. I'm happy to start a pull request or share a git diff or similar to share the changes - I would have just attached the main files here but github doesn't support .hh, .tcc files etc.
I haven't yet tried to write a unit test, but I'm happy to have a go at this too, if you'd like me to.

Yeah by all means just make a pull request.
If you want to add a unit test that would also be awesome. You can probably base it on one of the more recently edited tests in the tests/ directory. We have a pretty unsophisticated way to deal with the binaries that the tests need as inputs: you also make a MR to the lwtnn-test-data repo and add the weights and architecture there, and then use wget to download them in the unit test.


Have brew doctor check availability of Bintray CDN

Provide a detailed description of the proposed feature
Brew doctor could attempt a HTTPS request to the Bintray CDN as part of its sequence of checks.
What is the motivation for the feature?
Outages are not currently detected, as per https://github.com/Homebrew/brew/issues/10739#issue-818229396
How will the feature be relevant to at least 90% of Homebrew users?
Users caught within a CDN outage can stop further investigation if brew doctor alerts them to this.
What alternatives to the feature have been considered?
Manually check Twitter, Issues of this Github repo.

$ curl https://homebrew.bintray.com/
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number

I'm not sure what the benefit of having a check is. What would the brew doctor message say? This particular issue seems to be a one-off occurrence. Plus, we'll be moving away from Bintray soon, anyway. It's just going to tell users that things are broken (which should already be obvious). We can't provide a solution in that message, so it's not really anymore satisfying to users, right? brew doctor issues should be things that the user can do to fix their installation rather than a way to report issues that are out of their control.

which should already be obvious

It wasn't obvious in this case. Anecdotally (Twitter etc), some users began trying to reinstall or otherwise mess with openssl, curl, and other stuff.

We can't provide a solution in that message

"Please wait." -- i.e. this isn't a local fault; please do nothing -- would be a more useful solution than inspiring random hacking (for those so inclined).
Having said that, I understand the rationale to not try to add detection if the chance of outages is very rare.

It makes sense, but the issue is we then need to have another remote server that reports whether there is another known outage or not (and such a status update would be done manually). As you say: it's impossible to 100% detect locally whether the issue was a global outage or a local fault.
There's something which is supposed to do that already: Bintray Status. Though on this occasion, that page remained showing "operational" during the outage.

One other thing I'd add (although other maintainers might disagree): I think it is helpful to receive (respectful and considerate) bug reports when something like this happens. Yesterday's incident happened on a Sunday where not nearly as many maintainers were active. Plus, it only affected a subset of the maintainers. Having users report the issues let us know how widespread the issue was so we could better judge what our reaction needed to be. In this case, we realized that it was widespread enough to warrant pushing a change and creating a new release (although Bintray fixed the issue before we actually made the release), whereas if it affected a smaller group of people we could have just recommended a smaller fix for just the affected group.
I do understand where you're coming from, though, as it's not immediately obvious what the problem is and whether it's an issue for just you or for everyone.

Agreed with the above, passing on this, sorry.


kubeval example docs doesn't work

https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/examples/validators/kubeval
Package has been moved.
AI(s):

Audit all example package documentation
Consider how to test documentation is correct

Per our offline discussion, don't use categories for subdirectory organization

Also, what's the status for using semver in docs instead of unstable?

Also, why does kubeval require network? We should make it work hermatically so it can be used declaratively. Eventually, this function should use the OpenAPI document provided by orchestrator to validate schemas.

Also, what's the status for using semver in docs instead of unstable?

semver is being used in the release branch which is where the doc will be generated from.
e.g. https://github.com/GoogleContainerTools/kpt-functions-catalog/blob/set-namespace/v0.1/examples/mutators/set-namespace/v0.1.1/advanced/fn-config.yaml#L8
We plan to use unstable in the master branch.


Use Starlark version of http_archive

To fix https://github.com/google/glog/issues/376

@sergiud

Thanks @meteorcloudy!


Uncaught TypeError: Cannot read property 'levelIsPractice' of undefined

The page currently just gets stuck at "Loading..."
Initially I had similar errors with google analytics (blocked in my hosts file) but  I unblocked it (temporarily, but that is a separate issue) and https://codecombat.com/play still won't load
It seems to be related to this commit isssued within the last 24 hours, so perhaps it should not have been checked in yet.
The following errors are generated:
 Uncaught TypeError: Cannot read property 'levelIsPractice' of undefined
     at CampaignView.module.exports.CampaignView.annotateLevels (<anonymous>:1766:24)
     at CampaignView.module.exports.CampaignView.countLevels (<anonymous>:1808:14)
     at CampaignView.module.exports.CampaignView.getRenderData (<anonymous>:1571:24)
     at CampaignView.module.exports.CocoView.render (https://codecombat.com/javascripts/app.js:9660:38)
     at CampaignView.module.exports.CampaignView.onCampaignsLoaded (<anonymous>:2124:17)
     at CampaignView.<anonymous> (https://codecombat.com/javascripts/vendor.js:4293:18)
     at CampaignView.<anonymous> (https://codecombat.com/javascripts/vendor.js:3013:23)
     at triggerEvents (https://codecombat.com/javascripts/vendor.js:4402:57)
     at CampaignsCollection.trigger (https://codecombat.com/javascripts/vendor.js:4341:19)
     at Object.options.success (https://codecombat.com/javascripts/vendor.js:5057:20)
     at fire (https://codecombat.com/javascripts/vendor.js:182:299)
     at Object.fireWith [as resolveWith] (https://codecombat.com/javascripts/vendor.js:187:198)
     at done (https://codecombat.com/javascripts/vendor.js:509:95)
     at XMLHttpRequest.<anonymous> (https://codecombat.com/javascripts/vendor.js:526:215)

And
Uncaught TypeError: Cannot read property 'levelIsPractice' of undefined
    at CampaignView.module.exports.CampaignView.annotateLevels (<anonymous>:1766:24)
    at CampaignView.module.exports.CampaignView.countLevels (<anonymous>:1808:14)
    at CampaignView.module.exports.CampaignView.getRenderData (<anonymous>:1571:24)
    at CampaignView.module.exports.CocoView.render (https://codecombat.com/javascripts/app.js:9660:38)
    at CampaignView.module.exports.CampaignView.onLoaded (<anonymous>:1459:10)
    at triggerEvents (https://codecombat.com/javascripts/vendor.js:4399:57)
    at SuperModel.trigger (https://codecombat.com/javascripts/vendor.js:4341:19)
    at SuperModel.module.exports.SuperModel.updateProgress (https://codecombat.com/javascripts/app.js:324:101)
    at https://codecombat.com/javascripts/app.js:285:254
    at https://codecombat.com/javascripts/vendor.js:2904:43

This looks like a duplicate of #4033 which should be fixed from this commit. Try clearing your cache?

@sderickson Seems to be working now, thanks.  BTW your link has .../commits/... replaced with .../issues/...

Whoops, fixed. Thanks for pointing that out!


Question about the library

@joemoceri
What exactly should be the final functionality of the library? I looked at the code and tests, but I didn't understand. Why not write a more general solution and support nesting and other things if you need to store a key/value in a string or just a lot of values in a string? I once implemented something similar in my library, although it probably doesn't work very well there (more in terms of performance)

@Daerius-rs I'll finish the documentation, update the tests, and explain more, but until then you can think of this as a tool that will parse form data as a string, if given key-value pairs (such as {"First Name:": "First Name", "Last Name:": "Last Name"}), form data ("First Name: Joe Last Name: Moceri"), and output a dictionary with the following key-value pairs. Essentially this maps fields using the keys as markers to identify which values belong to which.
{
"First Name": "Joe",
"Last Name": "Moceri"
}

form data ("First Name: Joe Last Name: Moceri")

This string should have this format? i.e. keys and values separated by a space? It is not yet clear to me what to do if the keys/values themselves have spaces, etc. (I believe that there will be escaping)
I just thought that maybe this is not some specific format of external data (i.e. "custom")
Again, as I said, I once faced a similar problem, to be more precise - I needed to have nesting support (store elements, arrays of elements and the same collections of elements) and the ability to create a string representation of the collection and restore the state from it
A few days later, I implemented the dictionary through the same "scheme".
So, it seemed to me that you can use something similar (although this is probably an overhead in some sense). If we talk about the code, it would be something like this:
`
var dictionary1 = new NestableDictionaryL("Data")
{
{"First Name", "Joe"},
{"Last Name", "Moceri"}
};
var represent = dictionary1.ToStringRepresent();
Console.WriteLine(represent);
// {Data::NestableDictionaryL||"First Name::Joe","Last Name::Moceri"}
var dictionary2 = new NestableDictionaryL();
dictionary2.FromStringRepresent(represent);
Console.WriteLine(dictionary2["First Name"].GetElement());
// Joe
Console.WriteLine(dictionary2["Last Name"].GetElement());
// Moceri
`
The average execution time is 52 ms. Of course, this is in my environment, but still it is not a normal benchmark, so the result is very approximate.
But the API, of course, is not so friendly.
Okay, I'll wait for new commits. Perhaps, if I understand the situation in more detail, I can even help in something and try to make a couple of pull requests.
However, thank you for your answer.

@Daerius-rs I appreciate the feedback, thank you. I'll update the documentation soon with more details.

@Daerius-rs Thanks again for the feedback, I updated the project overall, here's a link to the FieldMapperTests.cs file which outlines the usage for the library. The string data I was referring to comes from the body of an email, there are multiple email form providers that send plain-text / html form submission emails, and this library is built to handle that. For the future, the plan is to add more tests for different contact form submissions, and update the project as needed. Documentation is there, and more details to come.


Create proxy endpoint accessible by outside crates

The outside crate will need to add this to a .cargo/config.toml file located at the top level of the crate:
[source.crates-io]
replace-with = "seedwing"

[source.seedwing]
registry = "http://localhost:8181/crates-io"

This is basically done, but is undergoing some changes and requires documentation.


[FEATURE] Expose other ports

Is your feature request related to a problem? Please describe.
Expose MQTT ports.
Describe the solution you'd like
Possibility to create also other tunnels for other ports.

I realized that it can be done with
nginxproxymanager

I just recently release v0.2.x with exactly that feature. You can now configure additional hosts with individual ports.


[BUG Bash]

Describe the bug
A clear and concise description of what the bug is.
Exception or Stack Trace
Add the exception log and stack trace if available
To Reproduce
Steps to reproduce the behavior:
Code Snippet
Add the code snippet that causes the issue.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

Python Version: [e.g. Python 3.8]
SDK Version: [e.g. azure-mgmt-resource-15.0.0b1]

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Bug Description Added
[ ] Repro Steps Added
[ ] Setup information Added

@GranamyrBR Sorry. Seems like this is empty and no actions we can take.
Closing the issue and feel free to open a new one with more details.


Stuck at Fill in Information - IP

Hey all.
Working through this i realised i needed to delete the older nonslepper integration. So i added the repo from fuatakgun. :) Now i get the popup for IP address and not sure what i should be doing here...?
I originally had the homebase2 connected via an old hub, but it changes the IP address :(. I have now switched it to 2.4Gz WIFI. I have got the IP address from about device.
When i add the integration i type in the local ip address it doesn't accept and defaults to <IP_ADDRESS>?
If i try to rerun docker, i get this:
➜  eufy-security-ws git:(master) docker run -it -e<EMAIL_ADDRESS>-e PASSWORD=******* -v "$(pwd)"/data:/data -p 3000:3000 bropat/eufy-security-ws :latest
docker: Error response from daemon: error while creating mount source path '/root/eufy-security-ws/data': mkdir /root/eufy-security-ws: read-only file system.
Also noticed this from log:
Log Details (ERROR)
This error originated from a custom integration.
Logger: custom_components.eufy_security.config_flow
Source: custom_components/eufy_security/config_flow.py:69
Integration: Eufy Security (documentation, issues)
First occurred: 11:31:11 AM (4 occurrences)
Last logged: 11:45:58 AM
eufy_security Exception in login : Cannot connect to host <IP_ADDRESS>:3000 ssl:default [Connect call failed ('<IP_ADDRESS>', 3000)] - traceback: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 969, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1056, in create_connection raise exceptions[0] File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection sock = await self._connect_sock( File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock await self.sock_connect(sock, address) File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect return await fut File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}') ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 3000) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/eufy_security/config_flow.py", line 64, in _test_credentials await eufy_ws.set_ws() File "/config/custom_components/eufy_security/websocket.py", line 40, in set_ws self.ws: aiohttp.ClientWebSocketResponse = await self.session.ws_connect( File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 754, in _ws_connect resp = await self.request( File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 520, in _request conn = await self._connector.connect( File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 535, in connect proto = await self._create_connection(req, traces, timeout) File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 892, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1051, in _create_direct_connection raise last_exc File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1020, in _create_direct_connection transp, proto = await self._wrap_create_connection( File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 975, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host <IP_ADDRESS>:3000 ssl:default [Connect call failed ('<IP_ADDRESS>', 3000)]
eufy_security Exception in login : Cannot connect to host <IP_ADDRESS>:3000 ssl:default [Connect call failed ('<IP_ADDRESS>', 3000)] - traceback: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 969, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1056, in create_connection raise exceptions[0] File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection sock = await self._connect_sock( File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock await self.sock_connect(sock, address) File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect return await fut File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}') TimeoutError: [Errno 110] Connect call failed ('<IP_ADDRESS>', 3000) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/eufy_security/config_flow.py", line 64, in _test_credentials await eufy_ws.set_ws() File "/config/custom_components/eufy_security/websocket.py", line 40, in set_ws self.ws: aiohttp.ClientWebSocketResponse = await self.session.ws_connect( File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 754, in _ws_connect resp = await self.request( File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 520, in _request conn = await self._connector.connect( File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 535, in connect proto = await self._create_connection(req, traces, timeout) File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 892, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1051, in _create_direct_connection raise last_exc File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1020, in _create_direct_connection transp, proto = await self._wrap_create_connection( File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 975, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host <IP_ADDRESS>:3000 ssl:default [Connect call failed ('<IP_ADDRESS>', 3000)]

Default ip address is just a placeholder, nothing useful.
It is asking you to enter ip address and port of your docker instance, it can be localhost: 3000 in your case but not sure.
More importantly, your docker instance is not able to run because of Nov writable file system error, or it can be a permission problem but it should be resolved first.

Ok, so i have tried this with 2 different sd cards and fresh HA install.
I still get the same issue and wondering if there is something wrong with the code or files? Or docker?
I have tried uninstalling Node.js and chnaging from Latest LTS Version: 14.17.3 to Latest Current Version: 16.5.0
I found this command docker ps --quiet --all | xargs docker inspect --format '{{ .Id }}: ReadonlyRootfs={{ .HostConfig.ReadonlyRootfs }}'
All files show within eufy-security-ws show this: 6d762b1ada03519e679445833c0801e806dbe1b729c5173dbee8392031feadaa: ReadonlyRootfs=false
Indicating there are False which  means the container’s root filesystem is writeable
https://docs.datadoghq.com/security_platform/default_rules/cis-docker-1.2.0-5.12/

can you try like this?
docker run -it -e<EMAIL_ADDRESS>-e PASSWORD=PUTYOURPASSWORDHERE -p 3000:3000 bropat/eufy-security-ws :latest

Great.
I had SSHed into HA and run this and get the following, so looks like it is working.
2021-07-17 03:07:21.320  INFO Eufy Security server listening on port 3000
2021-07-17 03:07:23.148  INFO Switching to another API_BASE (https://security-app.eufylife.com/v1) and get new token.
2021-07-17 03:07:29.376  INFO Connected to station T8010P1320192143 on host <IP_ADDRESS> and port 27492
2021-07-17 03:07:31.547  INFO Push notification connection successfully established
Via Hacs, i had added to custom repository from here. I've then run added the integration Eufy Security and it pops up with the
Enter IP address and port of web socket.
I leave these as the set defaults (<IP_ADDRESS>, 3000), It thinks for a minute then but get a message Host/Port is wrong?
If i try <IP_ADDRESS>, 3000. It automatically comes up with Host/Port is wrong?
I ran docker ps and noticed the following.
b97380ddb1b1   bropat/eufy-security-ws:latest                                  "docker-entrypoint.s…"   12 minutes ago   Up 12 minutes   <IP_ADDRESS>:3000->3000/tcp,                                                                             :::3000->3000/tcp             optimistic_mclaren
I tried again to install the integration and selection <IP_ADDRESS>, 3000 and it connected? Weird but good yeah?

So that ip <IP_ADDRESS> is the ip of your running docker container. That ip is exposed so like HA can connect to it. If you went with the npm install of bropat/eufy-security-ws, you would use ip <IP_ADDRESS> (assuming HA is installed on the same device) or the ip of that device.