Fix: Can delete attachments in archived workspace

Details
Fixed Issues

$ #16092
PROPOSAL: #16092 (comment)
Tests

Create a new workspace
Send an attachment in the announce section of that workspace
Delete the workspace
Go to the announce section again
Long press the attachment and verify that the delete comment button is not present

[ ] Verify that no errors appear in the JS console

Offline tests

No test offline
QA Steps

No QA tests

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

@beamanator Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

I have read the CLA Document and I hereby sign the CLA

@tylerkaraszewski you were the engineer assigned on the related issue, do you want to review this? I'm OOO till the 20th anyway haha

I redid the merge but for me the main branch still has a problem. ReportActionList has changed a lot so it may be related. Anyway I don't know what I can do more than that, my changes are not creating the problem.
Sorry but I can't test on all platforms right now.

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Good testing I would have never found this bug, but do you think this is in the scope of this issue ? In the video we can see that the whole report is in a wrong state after the refresh, not just the context menu.
Ah I thought my commits were signed :(
For the recordings I will do what I can.

Good testing I would have never found this bug, but do you think this is in the scope of this issue ? In the video we can see that the whole report is in a wrong state after the refresh, not just the context menu.

I tried to reproduce this on new.expensify.com and couldn't. I can't reproduce it reliably, so I'm not sure if it was caused by this PR, but it would be better if we both double-check this.

I can't reproduce this issue on web. What I have is another issue on Android since I merged with main, I also have the problem when I just checkout main without anything to do with my branch. The messages in workspaces are not seen:
https://user-images.githubusercontent.com/19537677/233515922-60bb05cd-d6f1-48d9-92b8-83a9ca792f26.mp4
If it's working for other people I am not sure what I am doing wrong...
My commits are signed even if I couldn't make it the way you asked me (not an expert of git)

@ShogunFire Just FYI we won't be able to merge your PR until all commits are signed... So if the instructions in point 10 here don't work for you, let's figure out how to make the instructions clearer and get them to work for you

@Beamanator Hello, all commits are signed, I just couldn't make it with a rebase method so I forced push and the commits are not the same.
If everything is ok now, I can try to fix the Lint's errors today.

Aah ok thanks @ShogunFire maybe I was a bit confused 😅  That part looks great for now 👍

@eVoloshchak I think I have resolved the Lint's errors, commits are signed, I have done 3 recordings, I tried to create a Mac mini M1 instance on scaleway to do the 2 other recordings but they are currently out of stock:

Concerning the bug you had found I really don't see how that could be induced by the changes I made and I think when the state of the report will be good the context menu will be good.
Do you think, you can approve the merge as it is or do you really need those recordings ?

Concerning the bug you had found I really don't see how that could be induced by the changes I made and I think when the state of the report will be good the context menu will be good.

I can't reproduce with latest sources, so all the platforms work great now, I've uploaded the missing recordings

Do you think, you can approve the merge as it is or do you really need those recordings ?

This is a requirement for all PR's, they have to have recordings for each platform. It's about all platforms being tested by multiple people independently.
I'd suggest you try other services, I've used MacInCloud personally, never had a problem.

@ShogunFire, friendly bump on the missing recordings and merge conflicts
Also, could you please request a review from @tylerkaraszewski?

@tylerkaraszewski Hello, I put the last recordings and merged with main, can you review this PR ?

@eVoloshchak Sorry, I added it

@tylerkaraszewski Hello, can you review this PR soon ?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 1.3.9-12 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Beamanator We dont need to QA this?

Goooood question - @ShogunFire @eVoloshchak it looks like we need QA test steps! Can you add them please?

@Beamanator @mvtglobally I added the QA steps

🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.12-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Left Column window view change

Issue Type: Feature Request
I had hard time to figure out how to change the view in the left column window (must go through the view menu and even there is no self explanatory what those menu items will change)

I would love to see a view change icon on the top in the left  column window directly to easily change the views (between explorer, extensions, etc..)

VS Code version: Code 1.39.2 (6ab598523be7a800d7f3eb4d92d7ab9a66069390, 2019-10-15T15:35:18.241Z)
OS version: Windows_NT x64 10.0.18362

If I understand correctly, what you were looking for is the icons on the left of the sidebar. The icons are in something called the "Activity Bar". It is used to changed the view in the "Sidebar".


Add possibility to pass custom "Search Here..." text to the constructor of dropdown_textfield

For now, it seems that the value "Search Here..." is hardcoded into the widget, which is not ideal in case we would like to pass custom placeholder text to the widget, for example, to support to localized strings.

@ninidhiaeddine You can customize your hint text using searchDecoration.


(feat) Add external:: prefix support for strategy name to load external strategies

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
A bit of context. I have been using Hummingbot for the past 2 years. I developed custom strategies located in the hummingbot/strategy folder. I recently rebased my changes on top of development to use new features, such as the dashboard, and also to be able to contribute back to the upstream project (this one).
Now the issue is that for contributing back to the project, I can't have my private functions in my fork of Hummingbot, since I want to keep it private. So what I'm proposing here is a way to restructure strategies from:
hummingbot/
  hummingbot/
    strategy/
      my_private_strategy/
        start.py
        ...

into
hummingbot/
  ...
my_private_strategy/
  start.py
  ...

In essence, this allows decoupling and removing my strategy files from the main hummingbot repo; allowing me to store it in another, private git repository.
I have arbitrarily chosen external:: as the prefix to the strategy name. I decided to keep this relatively simple and work around the condition that the strategy name must be a string. The PR only modifies the paths and imports required to load a strategy. When the external:: prefix is used, what follows is actually a relative path to the folder containing the strategy files (config map, start.py, etc). For example, I can have a strategy config file such as

strategy: external::../my_private_strategy

To point to my strategy folder as in the example above.
I am open to suggestions, or even alternative ways to achieve the same result. Note that I don't want to use the "scripts" construct to run my strategy, it is written using the old way!
Tests performed by the developer:

I can run my external strategy
I can run a built-in strategy (PMM was tested)
All tests pass (the avellanada tests failed though - number of init_params arguments do not match. I don't think it's related)

Tips for QA testing:

I have actually been using an alternate method for the last couple of days. I create a symlink folder in the hummingbot/strategy folder, and everything works. It hides my code, if I ever accidently push the symlink nothing is shown.
I.e. ln -s ../../../my_private_strategy my_private_strategy is essentially equivalent to this PR, and then your config file can refer to "my_private_strategy" and everything works. Difference is that your git working directory is now constantly polluted with unstaged changes.

Hey @dataroche I'm doing some research into how to move the community scripts and strategies into a separate repo and let users import it via git submodule or something like that, so I'll consider this approach as part of it. Let me know if you have any updates.

Hey @dataroche I'm doing some research into how to move the community scripts and strategies into a separate repo and let users import it via git submodule or something like that, so I'll consider this approach as part of it. Let me know if you have any updates.

Hey Mike,
No updates here - my last comment still stands. Right now I'm adding a single file to the Hummingbot repo: a symlink in the strategy folders that points outside of the Hummingbot repo itself. E.g. in the previous example; my setup is
hummingbot/
  hummingbot/
    strategy/
      my_private_strategy (symlink to: ../../../my_private_strategy)
my_private_strategy/
  start.py
  ...

I therefore only have one unstaged change to the Hummingbot repo: the my_private_strategy symlink file.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/networking-wg-leads
/assign knative-sandbox/networking-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/hack 69a2295...813559c:
  > 813559c [pre-1.0] Use the TAG unmodified when publishing dot releases (# 119)
  > 9f34905 Update community files (# 118)
bumping knative.dev/networking ff0c3ce...2731deb:
  > 2731deb Drop implicit dependencies from go.mod (# 583)
  > cf04ce1 upgrade to latest dependencies (# 582)
  > 0151d6b upgrade to latest dependencies (# 581)
  > b615bc5 upgrade to latest dependencies (# 580)
  > ea794f1 upgrade to latest dependencies (# 579)
  > aa82452 refactor some annotation constants using the kmap utility (# 576)
  > 29ed0ab upgrade to latest dependencies (# 577)
  > 75d86c5 upgrade to latest dependencies (# 574)
  > bab26a8 Update community files (# 573)
bumping knative.dev/pkg 5708c4c...438776b:
  > 438776b Drop unused test/cmd package (# 2366)
  > 754f332 Drop indirect dependencies from go.mod (# 2359)
  > 7f59158 Add ConfigMap parsing for int16 (# 2365)
  > 608fc87 Revert "Drop unnecessary list creation from bucketer (# 2360)" (# 2361)
  > 6352c0c Drop unnecessary list creation from bucketer (# 2360)
  > 787aec5 Remove unused recorder field (# 2358)
  > 0fae0af upgrade to latest dependencies (# 2357)
  > d016976 Update community files (# 2353)
  > b35fcdd kmap changes (# 2355)
  > a99300d kmap (# 2354)

/lgtm
/approve


Use full name and short identifier from SPDX License List

https://spdx.org/licenses/Apache-2.0.html

Thanks!


New-AzDeploymentStack is not on par with New-AzDeployment

Is your feature request related to a problem? Please describe.
I have give this feedback via the previous private preview #46 but seems it was not implemented. So here it is again;

When you use -Verbose switch it does not gives you information which resources are currently deployed and at what state. To be precise even the deployment stack resource itself is not listed there:

PS D:\dev\deployment-stacks\lz-analysis-services-monitoring> New-AzSubscriptionDeploymentStack -Name lz-analysis-services-monitoring -TemplateFile .\main.bicep -TemplateParameterFile .\main.parameters.json -Location 'West Europe' -OutVariable p -Verbose
VERBOSE: Using Bicep v0.13.1
VERBOSE: Performing the operation "Update" on target "lz-analysis-services-monitoring".

Confirm
The DeploymentStack 'lz-analysis-services-monitoring' you're trying to create already exists in the current subscription. Do you want to overwrite it with the following actions?
Detaching: resources, resourceGroups
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y
VERBOSE: 11:24:45 - Checking stack deployment status
VERBOSE: 11:24:50 - Checking stack deployment status
VERBOSE: 11:24:55 - Checking stack deployment status
VERBOSE: 11:25:00 - Checking stack deployment status
VERBOSE: 11:25:05 - Checking stack deployment status
VERBOSE: 11:25:10 - Checking stack deployment status
VERBOSE: 11:25:15 - Checking stack deployment status
VERBOSE: 11:25:21 - Checking stack deployment status

Id                          : /subscriptions/<subscription ID>/providers/Microsoft.Resources/deploymentStacks/lz-analysis-services-monitoring
Name                        : lz-analysis-services-monitoring

Example of what information from Verbose should be surfaced:
VERBOSE: Using Bicep v0.13.1
VERBOSE:
VERBOSE: 11:35:05 - Template is valid.
VERBOSE: 11:35:06 - Create template deployment 'lz-analysis-services-monitoring'
VERBOSE: 11:35:06 - Checking deployment status in 5 seconds
VERBOSE: 11:35:12 - Resource Microsoft.Resources/deployments 'analysisServiceMonResources-cs2xkwqz3lgrm-0' provisioning status is running
VERBOSE: 11:35:12 - Resource Microsoft.Resources/deployments 'analysisServiceAlerts-smowcwptun77s' provisioning status is running
VERBOSE: 11:35:12 - Resource Microsoft.OperationalInsights/workspaces 'ws007' provisioning status is succeeded
VERBOSE: 11:35:12 - Resource Microsoft.Resources/resourceGroups 'test-analysisserv-rg' provisioning status is succeeded
VERBOSE: 11:35:12 - Checking deployment status in 12 seconds
VERBOSE: 11:35:25 - Checking deployment status in 15 seconds
VERBOSE: 11:35:40 - Resource Microsoft.Resources/deployments 'analysisServiceMonResources-cs2xkwqz3lgrm-0' provisioning status is succeeded
VERBOSE: 11:35:40 - Resource Microsoft.Resources/deployments 'analysisServiceAlerts-smowcwptun77s' provisioning status is succeeded

Parameters and Outputs are displayed differently. Only displayed differently, the structure is the same. Not sure if this is a big problem. Here is the difference.

Template spec:

Deployment:

Also  #78 is related to this

@dantedallag yes, proceed to closing. I think I have opened separate issues on what is missing or not working for the latest release available  .


Getting started: next button not needed?

Refs: https://github.com/microsoft/vscode/issues/117313
I do not really see the point for the next button? Since it is the same as pressing down or clicking on the next item.
I suggest to either remove the next, or that clicking on next checks of the current item.

It's mostly there for verbosity as it's not always clear how to proceed. Some might find clicking on the next card helps but having the "next" makes it explicit.

… or that clicking on next checks of the current item.

Related to #116799.


Add data collection script

Add the data collection script [*] that generates output users can paste into a github issue when reporting issues.

[*] - https://github.com/clearcontainers/runtime/blob/master/data/collect-data.sh.in

This is going to involve refactoring cli/Makefile into the top-level Makefile.


added support for dj 1.9.x

This branch works with django 1.8.x and django 1.9.x
For older django versions stick with something different or feel free to commit a patch.
Changes:

added required from_db_value method
slightly refactored code

Thanks for the patch. Looks like a couple tests are failing over at TravisCI, but I haven't investigated why yet. I'll give this a look when I have a moment but you know the key feel free to patch away.

In dj 1.9 they'd drop support for python 3.2 and 3.3 so tests obviously fails with py3.3 + dj1.9 combination.
Although the patch adds support for django 1.9 and works with django 1.8, it breaks compatibility with the older versions. OrdererdDict<>Text conversion completely fails for dj <= 1.7 same as your master branch with dj 1.9
If you know what's the cause I'd be happy to improve....

Django's official documentation says they are dropping support for anything prior to 1.7 so I think we can do the same. I just updated the Travis configuration file in the master branch to drop the old ones and add 1.9 beta. I also added Python 3.5 and dropped 3.2 and 3.3.
Thanks for the prompt on this. It had simply slipped behind. What do you think of this new test matrix? If you like it, maybe try pulling it into your patch and see if we can get those to pass.

This has been handled by #14


Parsed spec replaces standard module operators with true

I'm using Apalache to parse TLA+ specs with the parse command and the --output option to obtain a JSON syntax tree for further processing. However, it seems that built-in standard module operators like Len and Seq all turns into true in the output JSON.
Here's a minimal example:
---- MODULE Spec ----
EXTENDS Sequences

VARIABLE
    state

Init == state = <<>>

Next == Len(state) = 0 /\ state' = <<1>>

Spec == Init /\ [][Next]_state
====

Gets parsed into:
{
  "module": "Spec",
  "declarations": [
    {
      "variable": "state"
    },
    {
		// snip
    },
    {
      "operator": "Next",
      "body": {
        "and": [
          {
            "eq": true,    <---------------!!!
            "arg": 0
          },
          {
            "eq": {
              "prime": "state"
            },
            "arg": {
              "tuple": [
                1
              ]
            }
          }
        ]
      },
      "params": [

      ]
    },
    {
		// snip
    }
  ]
}

My questions are:

Am I abusing the parse command? My goal is to get a syntax tree of a TLA+ spec.
Do you have any suggestions? Should I write my program in a JVM language and integrate directly with SANY?

Hi @yagehu! Thank you for the report. You have a totally valid use case of json, which we also had in mind. That must be a bug in the JSON writer.  We will have a look.

As for integrating with SANY, this is always an option. However, in my experience, dealing with SemanticNode of SANY is not easy. What your use case?

My use case is analyzing TLA+ specs and generate tests for a piece of software. I'm aware of the model-based testing you've done with Apalache. AFAIK it involves writing a test spec in which each TLA+ declaration is a test case.
I'm investigating if it's possible to generate tests without having to write these test cases in a test spec. I'm only interested in testing each state transition as opposed to the integration tests generated from your MBT work.
I just learned from #598 and #125 that there's an Apalache IR. Does Apalache expose an API for working with it? I'm guessing I have to use Scala or some other JVM language?

Cool! We are happy to help, if you like to integrate with Apalache. As you have seen, we are going to reimplement the JSON writer in #598. Feel free to give us feedback on the format.
As for IR, we kept it simple. You can find all the related classes in the package at.forsyte.apalache.tla.lir. The core classes can be found in TlaEx, TlaDecl, TlaValue. The standard operators are defined in at.forsyte.apalache.tla.lir.oper.
If you like to download stable jars from maven central, please let us know. For the moment, you can download one of the release packages. It should be possible to use Scala classes in JVM, though it may require some conversions, e.g., here is a Stackoverflow discussion. So using the JSON output is probably the easiest approach.

FWIW: SANY has an XML exporter that a postdoc spent quality time on and that was meant to replace TLAPS' own TLA+ parser.

Ho @yagehu. We have completely reimplemented the JSON parser and writer. It's documented in https://apalache.informal.systems/docs/adr/005adr-json.html. If it is still relevant to you, give it a try.

There is no progress on this issue. Closing it.


Nullable field

Hello. I cannot find answer of my question. I have next models:
class Block(pydantic.BaseModel):
    block_type: str
    value: typing.Union[str, list, int, float, None]

    class Config(pydantic.BaseConfig):
        extra = "forbid"

class SubmitRequest(pydantic.BaseModel):
    answer: Block

    class Config(pydantic.BaseConfig):
        extra = "forbid"

Then, I want to use value field as not optional field, but I want to use this field as nullable field. Etc. I want validate next model as correct:
{
  "answer": {
    "block_type": "xxx",
    "value": null
  }
}

I want validate next model as INcorrect:
{
  "answer": {
    "block_type": "xxx"
  }
}

Can I do this thing?

Hi @Hedgehogues , you just need to add ... to make it required
value: typing.Union[str, list, int, float, None] = ...


500 Internal Server Error on http://haltalk.herokuapp.com

The example on haltalk.herokuapp.com currently results in a 500 Internal Server Error: http://haltalk.herokuapp.com/explorer/browser.html#/users

Anyone?

@mikekelly ?

the service has been down for some time. It needs resurrecting or something to replace it. I might have something that could fill the void but it's not quite ready yet (it's a couple of months off).
If we want haltalk back on the web we need a collaborative effort to do so because I don't have the time  :(

It's a realy pity this is down; a broken showcase application completely ruins the first impression (it almost made me discard HAL as a whole, as it makes it look unmaintained)
The question is: what needs doing? Would providing static JSON files do?

I would suggest to at least add a note on those pages that it is temporarily not working.


Meta: Add Support unit tests

Is there an existing issue for this?

[X] I have searched the existing issues

Task description
This is a meta-issue that should be broken out into separate issues.
From #914 via @NightOwl888:
I also noticed we don't have tests for the following types in the Support folder:

[ ] IndexableFieldExtensions
[ ] ByteArrayOutputStream - Patch to provide ToString() output for MemoryStream.
[ ] StreamExtensions - These methods were copied from Apache Harmony, and there are tests for them that didn't get ported over. Need to drill down in the code to find the location where these originated from.
[ ] ReferenceContext<T> - We added this to make it possible to use a using block instead of Acquire() with a try finally around Release(). We should convert this to a ref struct, so it doesn't cause a heap allocation to use. Ref structs cannot implement IDisposable, but the compiler allows a using block if Dispose() exists. Note that ReferenceManagerExtensions can be tested along with it.
[ ] LimitedConcurrencyLevelTaskScheduler - We originally grabbed this from MSDN. We might be able to use tests from Apache Harmony to test this.
[ ] ReentrantLock - There are tests in Apache Harmony for this.
[ ] CastTo<T>
[ ] ExceptionExtensions - Apache Harmony should have tests for these.
[ ] ListExtensions
[ ] SystemConsole - .NET should have some tests we can use for this.
[ ] Arrays - Apache Harmony should have tests we can use for this.
[ ] AssemblyUtils
[ ] CollectionExtensions - We can base the tests off of Apache Harmony tests,, but we will need to check ISet<T>, JCG.List<T>, SCG.List<T> and a collection that does not implement ISet<T> or IList<T> (the slow path). All should produce the same result.
[ ] Collections - There should be tests in Apache Harmony for this.
[ ] ConcurrentDictionaryWrapper<TKey, TValue> - This is no longer in use, we can probably eliminate it along with the DictionaryExtensions.AsConcurrent() extension method. It may come in handy for a future version of Lucene, though.
[ ] ConcurrentHashSet<T> - Apache Harmony should have tests for this. Note that not all ISet<T> members are implemented. If they were, we could potentially move this to J2N.
[ ] ConcurrentSet<T> - This is a concurrent wrapper for any ISet<T>. It should pass the same tests as ConcurrentHashSet<T>. It is mainly used for wrapping LinkedHashSet<T>. If we had a ConcurrentLinkedHashSet<T> in J2N, we could eliminate this class.
[ ] DictionaryExtensions

@paulirwin - Perhaps eliminating ConcurrentDictionaryWrapper<TKey, TValue> and friends should be a separate issue. Alternatively, it could be rolled into #259. If there is a need for a "ConcurrentLinkedDictionary" in later versions of Lucene, perhaps the implementation should be tagged or put on its own branch so we can recover it later.


chore(merge-back): 1.138.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 560b23fa81e55cee796fb49ba0bfa26baf33bfa5
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: 560b23fa81e55cee796fb49ba0bfa26baf33bfa5
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Trying to find the choke point

I'm having terrible performance on my Oculus Quest (totally unusable no matter what settings I change) and I'm trying to pinpoint why.
Here's my specs, maybe someone here can point me in the right direction?
i74770k
8gb ddr3 ram
980 TI
Wired Connection (though it only gets a max of about 250mbps out of the 600 my other devices get)
Google Mesh Wifi Routers
any obvious fail points? I know its an old system but I have played vr with a Lenovo Explorer (windows mixed reality) and it handled that very well.

Did you check connection does on the Oculus Quest itself? Maybe it's not connected at 5Ghz network

For debugging network issue, I usually use iperf to measure bandwidth.
Otherwise, see logcat output of client.

Its your google mesh routers. I had them, had same issue. Oculus Quest would randomly connect to 2.4ghz network, even when I had the quest in same room as router. I tried everything, moving them around to different places in the house nothing worked.
Cannot separate 2.4ghz and 5ghz networks, so only way I fixed it was to sell the Google Mesh Network and get a new router (non mesh).
The one I picked up is the Netgear Nighthawk AX3000/RAX40
https://www.netgear.com/home/products/networking/wifi-routers/RAX40.aspx
It allows me to make a separate network for 5ghz and Quest is MUCH better on that.

Thanks all for your help! It is indeed the google mesh unfortunately :(
I was able to get usable results by unplugging all google mesh nodes except the one my computer was hooked up to and was able to play Windlands pretty well.
@abpages how can you tell what wifi frequency your Oculus Quest was on? I havent seen anything to indicate 2.4 or 5ghz but I could totally be missing something obvious.

You can go into google devices and see if it's connected on 2.4 or 5ghz.
Alternatively, go into oculus quest, click on wifi, then click on the access point and it will show up what frequency it's connected to.

And yup, missing something obvious. Story of my life lol. Thanks!


Fix TransporterStack home locations & DM inventory interaction

Fixed Logistical Transporters not sending stuff back to home locations. It looks like this was a bug introduced from a PR in the main branch from a while ago.
Also, fixed Digital Miner's charge slot inventory functionality by trashing ISidedInventory stuff in IAdvancedBoundingBlock

The one thing I am a bit unsure about is what is the point behind the changes to ChargeUtils. Other than that the changes look good.

canBeCharged() and canBeDischarged() are now a little more strict which fixes some transporter functionality. Basically, canBeCharged() will only return true if energy can actually be put inside an item (it's not full), and canBeDischarged() only returns true if energy can be pulled out (it's not empty).

canBeCharged() and canBeDischarged() are now a little more strict which fixes some transporter functionality. Basically, canBeCharged() will only return true if energy can actually be put inside an item (it's not full), and canBeDischarged() only returns true if energy can be pulled out (it's not empty).

Sounds good you may want to modify the JavaDocs slightly to make that fact a bit more clear.


How would I custom add email confirmation and password reset controllers?

Hi!
I've noticed that the guide provides instruction on how to do this with the session and registration controllers, but I can't seem to find any guides to do it for the extensions. Any idea on that?
Sorry if I'm asking for too much!

It's great you're asking, others may have these thoughts too, and will find this issue!
I would just extract the controller actions from the controllers in Pow:
https://github.com/danschultzer/pow/blob/9e0f82d6f8ca1a8b18c6b03cc7c63c3fd4320f7e/lib/extensions/email_confirmation/phoenix/controllers/confirmation_controller.ex
https://github.com/danschultzer/pow/blob/9e0f82d6f8ca1a8b18c6b03cc7c63c3fd4320f7e/lib/extensions/reset_password/phoenix/controllers/reset_password_controller.ex
Pow separates a controller action into two parts, process_ACTION and respond_ACTION, to make it easier to integrating extensions. When you make a custom controller you can just forego that, and put it all into the controller action.
Controller actions in Pow are made as lean as possible, and usually only consists of a single Plug method call. Let me know if this is sufficient.
I wonder why you need them as custom controllers?

Thank you!
I think maybe it's just confusion over how to use the library correctly. Like, reading the guides, I still don't quite understand how to send different email templates depending on the extension, and with the swoosh guide you define one cast/process, and it's like, how can I put my custom templates in, if not through a custom controller?

If you only need to customize templates, then you won't need to create a custom controller at all. The guides are usually for more advanced modifications, while the readme contains most common use cases.
The information for setting up custom templates are right here:
https://github.com/danschultzer/pow#modify-templates
https://github.com/danschultzer/pow#modify-extension-templates
And for e-mail templates it's right here:
https://github.com/danschultzer/pow#modify-mailer-templates

Let me know if this was what you were looking for. If so, I'll update the custom controller guide with a note on custom templates 😄

Oh, thank you very much! It's those email templates I didn't realise they were there! hehe silly me!
I think the primary reason why I wanted to access to those controllers, was so that I could for example, put a login/register form on say, the homepage.
And that's not possible if I don't know what's happening in the controller so I know which data to pass. Although, I suppose that's not relevant to the post requests, just the get requests.

That's great! I'll add a section to the custom controllers guide.
I think I understand what you want to do. To keep things simple I would only add a custom registration form to the front page that posts to Routes.pow_registration_path(conn, :create) and then let Pow take care of the rest (e.g. the user will see the /registration/new page if there is errors in the input, and users can also sign up by going directly to /registration/new).

Very strange but:
params = %{
"id" => "token"
"user" => %{ "password" => "new_password", "password_confirmation" => "new_password" }
}

conn |> PowResetPassword.Plug.update_user_password(params)

raise the error:
Request: PUT /api/password/SFMyNTY.ZTMwNGQzMTgtOTUzZC00OTNiLTkzM2QtYTlkYWQ4OGE1MjA5.GVdVOfuTU6R8adiinWmjINrRMc76t1ZFyx74cpCnhnU
** (exit) an exception was raised:
    ** (FunctionClauseError) no function clause matching in PowResetPassword.Ecto.Context.update_password/3
        (pow 1.0.19) lib/extensions/reset_password/ecto/context.ex:10: PowResetPassword.Ecto.Context.update_password(nil, %{"id" => "SFMyNTY.ZTMwNGQzMTgtOTUzZC00OTNiLTkzM2QtYTlkYWQ4OGE1MjA5.GVdVOfuTU6R8adiinWmjINrRMc76t1ZFyx74cpCnhnU", "user" => %{"password" => "new_password", "password_conformation" => "new_password"}}, [mod: HandshakeWeb.APIAuthPlug, plug: HandshakeWeb.APIAuthPlug, otp_app: :demo])
        (pow 1.0.19) lib/extensions/reset_password/plug.ex:142: PowResetPassword.Plug.update_user_password/2
        (demo 1.0.7) lib/demo_web/controllers/api/password_controller.ex:19: HandshakeWeb.API.PasswordController.update/2
        (demo 1.0.7) lib/demo_web/controllers/api/password_controller.ex:1: HandshakeWeb.API.PasswordController.action/2
        (demo 1.0.7) lib/demo_web/controllers/api/password_controller.ex:1: HandshakeWeb.API.PasswordController.phoenix_controller_pipeline/2
        (phoenix 1.4.16) lib/phoenix/router.ex:288: Phoenix.Router.__call__/2
        (demo 1.0.7) lib/plug/error_handler.ex:65: HandshakeWeb.Router.call/2
        (demo 1.0.7) lib/demo_web/endpoint.ex:1: HandshakeWeb.Endpoint.plug_builder_call/2
        (demo 1.0.7) lib/plug/debugger.ex:132: HandshakeWeb.Endpoint."call (overridable 3)"/2

I generated token for the existing user. Very strange.

It's described in the docs here: https://hexdocs.pm/pow/1.0.19/PowResetPassword.Plug.html#update_user_password/2
You have to assign the user first by loading it. This is how it could look:
params = %{
"id" => "token"
"user" => %{ "password" => "new_password", "password_confirmation" => "new_password" }
}

case PowResetPassword.Plug.load_user_by_token(conn, params["id"]) do
  {:ok, conn} -> PowResetPassword.Plug.update_user_password(conn, params["user"])
  {:error, conn} -> # User not found
end

The next Pow release will have improved flow and better docs: https://github.com/danschultzer/pow/blob/c6161654b9df2dda983d22efbdc68f51bbe4afa3/lib/extensions/reset_password/plug.ex#L134-L143

I see. nil user just confused me. Thanks.

By the way, how I can test this update/2? I am trying to generate reset password:
test "with valid token user", %{conn: conn} do
      {:ok, user} = Accounts.register_user(%{email<EMAIL_ADDRESS>password: "password"})
      token = PowResetPassword.Plug.create_reset_token(conn, %{"email" => user.email})
      conn = put(conn, Routes.api_password_path(conn, :update), %{"id" => token, "user" => @pswd_params })

      assert json = json_response(conn, 200)
      assert json["data"]["message"] == "Password has been successfully updated"
    end

but got the error:
** (Pow.Config.ConfigError) Pow configuration not found in connection. Please use a Pow plug that puts the Pow configuration in the plug connection.
    (pow 1.0.19) lib/pow/config.ex:56: Pow.Config.raise_error/1
    (pow 1.0.19) lib/extensions/reset_password/plug.ex:50: PowResetPassword.Plug.create_reset_token/2

I assume I need somehow pipeline plugs with config?

I recommend that you take a look at the tests.
You could set it up like this:
@pow_config [otp_app: :my_app]

test "with valid token user", %{conn: conn} do
  {:ok, user} = Accounts.register_user(%{email<EMAIL_ADDRESS>password: "password"})
  token = create_reset_token(conn, user.email)
  conn = put(conn, Routes.api_password_path(conn, :update), %{"id" => token, "user" => @pswd_params })

  assert json = json_response(conn, 200)
  assert json["data"]["message"] == "Password has been successfully updated"
end

defp create_reset_token(conn, email) do
  {:ok, %{token: token}, _conn} =
    conn
    |> Pow.Plug.put_config(@pow_config)
    |> PowResetPassword.Plug.create_reset_token(%{"email" => email})

  token
end

If you use the default ETS or Mnesia cache, then you also need to wait (e.g. :timer.sleep(100)) or listen for an insert message, since the write calls are asynchronous in the GenServer.

Thanks, but now I missed something in test.exs ?
 ** (ArgumentError) No conn.secret_key_base set
     code: token = create_reset_token(conn, user.email)
     stacktrace:
       (pow 1.0.19) lib/pow/plug/message_verifier.ex:49: Pow.Plug.MessageVerifier.validate_secret_key_base/1
       (pow 1.0.19) lib/pow/plug/message_verifier.ex:44: Pow.Plug.MessageVerifier.derive/3
       (pow 1.0.19) lib/pow/plug/message_verifier.ex:22: Pow.Plug.MessageVerifier.sign/4
       (pow 1.0.19) lib/extensions/reset_password/plug.ex:65: PowResetPassword.Plug.create_reset_token/2

Oh right, the conn needs a secret key base. AFAIK it's set when the endpoint is called.
For the tests, you can do this:
defp create_reset_token(conn, email) do
  {:ok, %{token: token}, _conn} =
    %{conn | secret_key_base: MyAppWeb.Endpoint.config(:secret_key_base)}
    |> Pow.Plug.put_config(@pow_config)
    |> PowResetPassword.Plug.create_reset_token(%{"email" => email})

  token
end

I'm thinking of maybe refactoring all this so you can just use the endpoint itself when calling these methods, e.g.:
PowResetPassword.Plug.create_reset_token(MyAppWeb.Endpoint, %{"email" => email})

This could be much cleaner, and fits with how a lot of method in Phoenix works though not sure if it fits within the the plug module group.

I think all logic of token generation should be extracted from Plug. Now everything depends on Plug and HTTP connection.


Two AKPickerView in one viewControler, How to set the title for each item?

If there are two AKPickerView in one viewControler, How to set the title for each item?
Can anybody tell me how to resolve it?
Thanks a lot !!

Give each AKPickerView a tag, then in the delegate methods find out with PickerView it is by checking the tag number.

I guess you have to create two different data source objects.


Enforce 2014 certification edition settings in the model

This includes the changes required to get debug_mode working properly when the 2014 certification edition is selected. In the model we now check if the 2014 cert_edition is selected and if it is then we use a before_save hook to force the values to be false for duplicate_records and c4_test.
Submitter:

[x] This pull request describes why these changes were made.
[x] Internal ticket for this PR: Still related to https://jira.mitre.org/browse/CYPRESS-107
[x] Internal ticket links to this PR
[x] Code diff has been done and been reviewed
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

@rbclark May also be worth building some Cucumber tests for the button functionality, if you have time.

@okeefm There should now be additional cucumber tests, let me know if you think they're sufficient.


Add database connection using knex

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


Failed to load the native TensorFlow runtime.

Hi,
I am using GeForce GTX 1660 Ti 6GB GPU on windows and executed following command.
from tensorflow.python.client import device_lib
Error:
Traceback (most recent call last):
File "C:\Users\Sudhakar\anaconda3\envs\keras_tf\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Sudhakar\anaconda3\envs\keras_tf\lib\site-packages\tensorflow_init_.py", line 41, in
from tensorflow.python.tools import module_util as module_util
File "C:\Users\Sudhakar\anaconda3\envs\keras_tf\lib\site-packages\tensorflow\python_init.py", line 39, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "C:\Users\Sudhakar\anaconda3\envs\keras_tf\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 83, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Sudhakar\anaconda3\envs\keras_tf\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

@UniqueSud
What is make/model of your cpu?
I suspect your cpu model does not support AVX instructions sets.See hardware requirements
Make sure to download the latest microsoft visual c++ redistributable from here.
.Also, please follow the instructions from to install from Tensorflow website.
Please, check Your CPU/Python is on 32 bits?Please, refer #36167 and see if it helps you.Please, refer similar issues #36167 #36151 #36138 #36054 #36045 #36020 #36003 #35988 #35903 #35880 #35865 #35805 #35789 #35773 #35772 #35767 #35766 #35749 #35721 #35618 #35204
Thanks!

@UniqueSud
What is make/model of your cpu?
I suspect your cpu model does not support AVX instructions sets.See hardware requirements
Make sure to download the latest microsoft visual c++ redistributable from here.
.Also, please follow the instructions from to install from Tensorflow website.
Please, check Your CPU/Python is on 32 bits?Please, refer #36167 and see if it helps you.Please, refer similar issues #36167 #36151 #36138 #36054 #36045 #36020 #36003 #35988 #35903 #35880 #35865 #35805 #35789 #35773 #35772 #35767 #35766 #35749 #35721 #35618 #35204
Thanks!


[Data] Dropdown display issue

Description: On the website Data is  dropdown display issue when adding a new project.
Browser: Google Chrome.
Note: Video in attachment.
https://user-images.githubusercontent.com/92084528/143271927-ffd3d0bf-02da-4dbe-b9f6-90bb8c1cd4cb.mp4
.

Project creation UI has changed now so this should be possible


Script fails

Script on Step 1.4 when it's run says:
Cannot validate argument on parameter 'Name'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
+ CategoryInfo          : InvalidData: (:) [Install-WindowsFeature], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
+ PSComputerName        : somename
It's on Win server 2016 upd. feb 2018.

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

ID: 34f775f8-fb30-69a2-dc05-ea0cdf807b16
Version Independent ID: e1ed4345-d693-dfb5-35c2-e1e1ec64a383
Content: Deploy Storage Spaces Direct
Content Source: WindowsServerDocs/storage/storage-spaces/deploy-storage-spaces-direct.md
Product: windows-server-threshold
GitHub Login: @StevenEk
Microsoft Alias: stevenek

@zandr14 I am forwarding this issue to our engineering team to help debug the script. I will keep this open until we fix your error.
Best,
Dawn

Fixed! Thanks for letting us know!
Here's the updated section: Step 1.4: Install roles and features


CreateTearsheet Influencer enhancement - 320px

There is a new variation of the Create Tearsheet Wide component where the left side influencer is 320px wide as opposed to the current 256px width.
This will affect the CreateInfluencer component. Perhaps we can add an influencerSize or size prop that defaults to "sm" but has the ability for "lg" (320px)

Adding you @matthewgallo in case you're already working on this component. Otherwise, I can get to it in a bit!

These changes won't need to touch <CreateInfluencer /> at all since we can just pass the influencerWidth prop to the main create components (either CreateFullPage or CreateTearsheet).

Since the influencerWidth prop can just be passed to the Tearsheet component. It will have to be handled slightly differently in CreateFullPage, but you could use the same prop type for that prop
influencerWidth: PropTypes.oneOf(['narrow', 'wide']),

then in CreateFullPage add a class that sets the corresponding width to the element that wraps the influencer.

As a followup -- this enhancement should only be applied to CreateTearsheet.

The influencerWidth prop will be added to the CreateTearsheet component in this PR

This is complete now and the influencerWidth prop can be toggled in storybook to see the narrow or wide versions on the CreateTearsheet. We can repoen this if/when CreateFullPage has this requirement


integration etcd startup is flaky

This should never happen - it seems to imply that etcd is now unreachable, even though for the integration test to succeed it would have to be running.
The command "PATH=$HOME/gopath/bin:$PATH ./hack/test-cmd.sh" exited with 0.
14.75s$ PATH=$HOME/gopath/bin:$PATH ./hack/test-integration.sh
etcd: {"action":"get","node":{"key":"/","dir":true}}
Integration test cases ...
ok  	github.com/GoogleCloudPlatform/kubernetes/test/integration	4.027s	coverage: 83.3% of statements
Integration scenario ...
I0828 17:37:08.591096 08378 integration.go:90] Creating etcd client pointing to [http://localhost:4001]
F0828 17:37:09.596388 08378 integration.go:99] Unable to list root etcd keys: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
etcd still running
The command "PATH=$HOME/gopath/bin:$PATH ./hack/test-integration.sh" exited with 255.
Done. Your build exited with 1.

This issue hasn't been updated in a while - has this still been a problem?

I haven't seen it on travis in a while, it may have been resolved by 2.0.  However, no proof that it has.

On Feb 28, 2015, at 3:27 PM, Jeff Grafton<EMAIL_ADDRESS>wrote:
This issue hasn't been updated in a while - has this still been a problem?
—
Reply to this email directly or view it on GitHub.

Yeah. I tried to reproduce it locally by running multiple (20) times, ale gone through without this bug. I also looked at all travis failures in the last 24 hours. It never happened. I guess we can assume it's fixed.


Check quota

Describe the feature or improvement you're requesting
Is there an api to get result the same as we can see in the https://platform.openai.com/account/usage ?
This can be used to

inform user quota in the UI
check connectivity issue

Additional context
No response

Closing this as it's an API feature request rather than a client library feature request. If you're still interested in this functionality, please post it in community.openai.com


Replace singleton with memo of DataFrame obj

The object returned by get_data() is of type <class 'pandas.core.frame.DataFrame'>. The docs state that we should use st.experimental_memo when the function's return type is a data object, such as a pandas DataFrame.

Thanks for catching that @snehankekre, LGTM! Merging


Swapping two variables like Python style in GDScript

Will Godot have this kind of Python style variable swapping in the future?
Like this, maybe:
	var a = 30
	var b = 20
	print("Before a: ", a, " and b: ", b);
	a, b = b, a;
	print("After a: ", a, " and b: ", b);

Actual behaviour: error(4, 3): Expected end of statement after expression.

Actually I expected GDScript to have at least swap method so it doesn't necessarily have to be like in Python.

Duplicate of #7584?

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Address 3355 bug in OVMS Kserve Template

Closes: https://issues.redhat.com/browse/RHOAIENG-3355
Description

Addresses the bug reported in https://issues.redhat.com/browse/RHOAIENG-3355 . Updated the OVMS KServe template with additional argument.
How Has This Been Tested?

Test Impact

Request review criteria:

Self checklist (all need to be checked):

[ ] The developer has manually tested the changes and verified that the changes work
[ ] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

@Xaenalt and @heyselbi
do we need this command line flag also?
--target_device AUTO

re-opened here https://github.com/opendatahub-io/odh-dashboard/pull/2553


folding scheme with lookup arguments (part 2)

This is the final part of issue #34
Here is a short summary of this PR:

rewrite the evaluation trait and evaluation methods for custom gates and lookup gates
put table expression vector {t_i} into advice columns
add log-derivative relational check in decider
integration tests of multiple round special soundness protocol for NIFS
multiple bug fixing for lookup integration

For final part of work with issue you can use gh syntax like:
Close #34
In that case with merging of PR - issue will be auto-close

For final part of work with issue you can use gh syntax like: Close #34 In that case with merging of PR - issue will be auto-close

I had added "close #34" in the last commit.

I think I'm ripe for adding struct to store indexes instead of tuple for three elements and enum instead of constants. It makes reading the code pretty hard right now. Also isolate taking elements from fixed,selector,other at the index level.
I'll try to do this quickly today (though more likely next weekday morning) and make a PR to this branch


React Semantic UI and phoenix channels contribution

Is your feature request related to a problem? Please describe.
No problem to describe
Describe the solution you'd like
Possibly an option to include phoenix channels and semantic ui
Describe alternatives you've considered
None
Additional context
First of all, I would like to thank the community responsible for this amazing template. We have used extensively but have added a few things to suit our application we are building. We make use of React Semantic UI. I have updated your doc with how it's installed and used. As well as how to remove it.
The second thing we are using is phoenix  channels. This could also easily be an update option for your template. Please give any comments or better options to our approach, as I have not found a way to get a reference to the dispatch function without passing it in all our functions.
Please feel free to use whatever you want from this updated template. I have just updated it to include two features.
Once again. thank you to everyone for making the best react boilerplate template out there.

created a phoenix redux middleware to have access to the dispatch function


Updates TimeSincePrevious and Diff Primitives

fixes #501

fixed issues brought up by @rwedge

@rwedge fixed test cases

@kmax12 fixed the timesinceprevious units and removed the diff date example


ci: change the release please action name to new

https://github.com/google-github-actions/release-please-action is deprecated(more info on the readme) and they suggest using
https://github.com/googleapis/release-please-action.
Also there is no argument called package-name which was showing echoing an error on every action run

I also see 'extra-files' mentioned in the warnings of Actions, so you might also want to remove that.
But honestly not familiar at all with Github Actions and the maintainer might have some kind of custom setup locally, so he knows best.

I also see 'extra-files' mentioned in the warnings of Actions, so you might also want to remove that.
But honestly not familiar at all with Github Actions and the maintainer might have some kind of custom setup locally, so he knows best.

yeah that can be removed as well. Since that option no longer exists on the flags taken by the github action

I don't think it's as simple as this change. If I remember correctly two config files are now also needed.
I've gone through the process for one of my projects, but can't remember which one :)

This one: https://github.com/folke/lovelace-styler
Needs both:

release-please-config.json
https://github.com/folke/lovelace-styler/blob/main/.release-please-manifest.json

Will add them as well. I think the manifest file is only needed when you want to specify next release. And its only used once, this is only used when there is no prior release.
But I will add both of them just in case

Merged. Fingers crossed :)


ISLE: extern extractors required to be listed before rule

Given this input:
(type u64 (primitive u64))

(decl imm (u64) u64)
(rule (imm (classify_imm n)) n)

(decl classify_imm (u64) u64)
(extern extractor classify_imm classify_imm)

I get (running islec):
$ cargo run -p islec -- input.isle
    Finished dev [unoptimized + debuginfo] target(s) in 0.08s
     Running `/home/acrichto/code/wasmtime/target/debug/islec input.isle`
Error:
  × type error: Cannot use term 'classify_imm' that does not have a defined extractor in a left-hand side pattern
   ╭─[input.isle:3:1]
 3 │ (decl imm (u64) u64)
 4 │ (rule (imm (classify_imm n)) n)
   ·            ┬
   ·            ╰── Cannot use term 'classify_imm' that does not have a defined extractor in a left-hand side pattern
 5 │
   ╰────

If, however, I change the input:
(type u64 (primitive u64))

(decl classify_imm (u64) u64)
(extern extractor classify_imm classify_imm)

(decl imm (u64) u64)
(rule (imm (classify_imm n)) n)

the compile succeeds

I suspect what is happening is that we are collecting extern extractor information and checking rule patterns in the same pass over the IR, when we need to collect all extern extractor info in one pass, and then do a second pass where we check rule patterns.

I think this was fixed recently by #4079; closing.


1.3.12 spell slots multiplier not working

updated to 1.3.12 halfway through a play session, game restarted
came back to a city, rested, and found out spell slots across all characters have been reset to default. Toybox settings were not reset on update and it was still at "4x" in the mod window
Version Info:

ToyBox Version: [1.3.12]
OS: [windows 10]
Game version [1.0.2d]

attachment
savegame.zip

The spell slot multiplier was previously squared (e.g. 2x was giving 4x, 4x was giving 16x) and providing far higher bonuses than intended. It still appears to be working currently, at least for the classes I've looked at (Oracle, Sorcerer, Arcanist, Witch, Warpriest, Witch, Bard). If there is some class where the multiplier isn't working, please provide the specific class information.
Also, when providing saves with other mods you MUST provide the list of all mods in use as we can't open the save otherwise.

just tried increasing the multiplier for spell slots again, and now i can see that its working as intended. Thank you for the explanations, i'll keep it in mind


linux-%.bbappend: Add IMA patch fixing unneeded re-appraisal

The patch taken from https://sourceforge.net/p/linux-ima/mailman/message/34894743/
makes IMA not to re-appraise a new file if only its timestamps
have changed during extraction from a tarball.
This is needed to avoid resetting the security.ima attribute for files
extracted from tarballs with software updates.
Signed-off-by: Dmitry Rozhkov<EMAIL_ADDRESS>

Added Upstream-Status tag and force pushed. No patch in Mimi's repo [1] so far.
[1] https://git.kernel.org/cgit/linux/kernel/git/zohar/linux-integrity.git/

@rojkov which kernel did you test this patch with? I'm having problems getting it applied to both 4.4.3 and 4.1.18 (MACHINE=qemu-x86), patch needs to be refreshed.

@pohly I did that with 4.1.15+git0+46bb64d605_788dfc9859 (intel-corei7-64)

@rojkov could there have been some copy-and-paste which broke the patch because it changed tabs into spaces or vice versa? After re-generating the patch I got a slightly different one (see https://github.com/01org/meta-intel-iot-security/commit/ba025e9289683d0cc8e19639bd6cb49ee667699d).

@pohly Yeah, I guess I've finally figured out what's wrong with the tabs: my git removes leading whitespaces automatically from patch files I add to a repo even though git format-patch produces correct patches with leading whitespaces in context lines. And they seem to be required by older version of patch.
I'll re-add the patch and force push.

@rojkov can you fetch https://github.com/01org/meta-intel-iot-security/commit/ba025e9289683d0cc8e19639bd6cb49ee667699d and squash that into your commit?
Besides fixing the patch, I have also added a kernel version check. I want to have the ability to skip the patch when moving to a linux version which already includes it, without having to remove the patch entirely.
I'm also not sure whether the patch works with older OE releases, so I'm simply skipping it there.

And please also rebase to current master.

Sure, after several attempts I managed to --ignore-whitespace...

re-added the patch with leading whitespaces in the context lines
squashed in https://github.com/01org/meta-intel-iot-security/commit/ba025e9289683d0cc8e19639bd6cb49ee667699d
rebased
force pushed

All tests clean now, merging.


replaced when-let with when-let* since when-let is an obsolete macro …

This change can fix issue #6 and #2 (same as #6).

What a quick merge. Thanks.


[Question]: How to do multiple conditions in a pipeline

Describe your question
I am looking to do multiple conditions in my pipeline which includes my parameters file and a value
Here is my paramters at the top of the Page:
parameters:

name: lzFileName
displayName: 'LandingZone file name'
type: string
default: 'ccc_npd_testing.json'
name: serviceConnection
displayName: 'Service connection name'
type: string
name: doWhatIf
displayName: 'Only do What If'
type: boolean
default: false
name: operationType
displayName: 'operationType'
type: string
values: ['Create', 'Update']
default: 'Create'
name: branchName
displayName: 'Branch name of subscription'
type: string

so originally i had one condition which if the update is selected on the pipeline:

${{ if startsWith(parameters.operationType, 'Update')}}:
this works great.

However I want to add it so if its not equal to a 0 value on parameters file for budgetAmount:

${{ if startsWith(parameters.operationType, 'Update'), ne(parameters.budgetAmount.value, '0')}}:

This doesn't work. Any ideas? The parameter for the budget is specified within the code so not right at the top of the page.
Versions
ubuntu-latest
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Operation system
ubuntu-latest
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response

Hi @GBCSIM1, unfortunately, runtime parameters are only available before the job started and not on the agent's side.
What you can do is add a condition to your pipeline. The conditions are evaluated before each step/job on the agent's side, so if you change the value of parameter/variable in some step, it will have an actual state when conditions are evaluated.


Login tab "close" doesn't always work

Sometimes, the "close" link/button doesn't work. I haven't observed a pattern though.

 Just read that only scripts (JS) that opened a tab can actually close it. Since the tab is opened from the Python process this cannot work.


Crashing input on live555

Hi, in order to evaluate my approach i am, in addition to open62541, testing live555 and lightftp.
For live555 i extracted some messages and added them to the corpus.
However, one of my initial inputs crashes the target (or rather it will hang, but aflnet classifies it as a crash).
Can you confirm, that the attached input bricks the server?
If not, then it is probably a configuration error on my part.
crash.tar.gz
PS:
If you are interested in some initial results, i can send them to you.
For open62541 at least it seems like i almost reach the same performance as aflnet, but without having to extract any information out of the responses (meaning you don't have to write an extraction function).

One more issue i am facing is the stability, when running multiple instances of the fuzzer in separate docker containers.
When running one container, the stability looks fine (around 90%).
On my evaluation machine the stability drops to about 2-3% when running 20 instances, each encapsulated in a docker container.
This is only the case for live555. For open62541 the stability is the same, regardless of how many instances are run.
Do you have any idea what might cause this @thuanpv ?
The used docker image is the following: https://data.mgiraud.de/shared/aflnet-live555.docker

Hi Mark,
I have used your input as a seed to fuzz Live555 with the newest version of AFLNet (commit hash: 94bceb8eb94272ab942fde3f0ca721d676f9dace) but it is not classified as a crash. I used the same command as included in the main README.md. Can you please double check and/or share with me your setting in which the input was detected as a crashing one.
If you are interested in some initial results, i can send them to you.
For open62541 at least it seems like i almost reach the same performance as aflnet, but without having to extract any information out of the responses (meaning you don't have to write an extraction function).

That sounds really cool! It would be great if you could share with me the results over email.
One more issue i am facing is the stability, when running multiple instances of the fuzzer in separate docker containers.
When running one container, the stability looks fine (around 90%).
On my evaluation machine the stability drops to about 2-3% when running 20 instances, each encapsulated in a docker container.
This is only the case for live555. For open62541 the stability is the same, regardless of how many instances are run.
Do you have any idea what might cause this @thuanpv ?
The used docker image is the following: https://data.mgiraud.de/shared/aflnet-live555.docker

Interesting! I have no idea why it happens yet. If one fuzzing instance is ran in one container, it is supposed to be isolated from others.

I have used your input as a seed to fuzz Live555 with the newest version of AFLNet (commit hash: 94bceb8) but it is not classified as a crash. I used the same command as included in the main README.md. Can you please double check and/or share with me your setting in which the input was detected as a crashing one.

The setting in which the target crashes is contained in the docker container i linked.
I had to remove the testcase from the corpus, because otherwise the fuzzer would not start, hence it is missing there now.
When sending it to the target application via netcat, the server will simply freeze and not react anymore at all.
I am also using the latest aflnet version, with some additional commits, mainly to implement a new protocol and add timestamps to the output files. You can find the source code here: https://github.com/mlgiraud/aflnet-1/tree/feature/opcua

That sounds really cool! It would be great if you could share with me the results over email.

I will send you an email in the next few days.

Interesting! I have no idea why it happens yet. If one fuzzing instance is ran in one container, it is supposed to be isolated from others.

My initial guess would be that is has something to do with the messages being sent over the network.
These calls go through the kernel (afaik) and there some non determinism might be happening, causing low stability, since the program will run an arbitrary number of times waiting for the message to arrive (i guess?).
This might be why my fuzzer achieves higher stability, since the loops are synchronized.
Nevertheless i also have stability drops, which i am completely unsure of where they originate from, although they are not as significant.


Code is insufficient to reproduce results in paper

Hi,
Thank you for the paper and the code here on GitHub.
Unfortunately, the version of Python and PyTorch, and whether or not the code is designed for Windows or Linux is not stated.
When following the instructions to run the code, this error appears:
Traceback (most recent call last):
  File "S:\PhiResearchV2\bin\Python375\lib\site-packages\IPython\core\interactiveshell.py", line 3331, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-25-70118e451b78>", line 1, in <module>
    for batch, (x, y) in enumerate(train_loader):
  File "S:\\Python375\lib\site-packages\torch\utils\data\dataloader.py", line 278, in __iter__
    return _MultiProcessingDataLoaderIter(self)
  File "S:\\Python375\lib\site-packages\torch\utils\data\dataloader.py", line 682, in __init__
    w.start()
  File "S:\\Python375\lib\multiprocessing\process.py", line 112, in start
    self._popen = self._Popen(self)
  File "S:\\Python375\lib\multiprocessing\context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "S:\\Python375\lib\multiprocessing\context.py", line 322, in _Popen
    return Popen(process_obj)
  File "S:\\Python375\lib\multiprocessing\popen_spawn_win32.py", line 89, in __init__
    reduction.dump(process_obj, to_child)
  File "S:\\Python375\lib\multiprocessing\reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'normalize.<locals>._normalize'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "S:\\bin\Python375\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
  File "S:\\Python375\lib\multiprocessing\spawn.py", line 115, in _main
    self = reduction.pickle.load(from_parent)
EOFError: Ran out of input

To fix, set num_workers=0 in lib.build_loader_cifar_alt.
I am running:

Windows 10 x64
Python v3.7.5
Cuda v10.1

See my closed issue. I provide my setup on Windows. What is your setup?
On Mon, 23 Nov 2020 at 13:56, AMagar95<EMAIL_ADDRESS>wrote:

[image: error]
https://user-images.githubusercontent.com/37174642/99970247-ea30fa00-2dde-11eb-9a8d-bb7f1d7285df.jpg
hi, could you please help to solve this error while executing main.py ?
best regards
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/BayesNAS/BayesNAS/issues/2#issuecomment-732176905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ3FJEXQGOMG4XQGPKLHRLSRJSXRANCNFSM4T2QQYAA
.

Can you provide details of your setup? Use pip freeze to list the package versions.
…
On Mon, 23 Nov 2020 at 13:56, AMagar95 @.***> wrote: [image: error] https://user-images.githubusercontent.com/37174642/99970247-ea30fa00-2dde-11eb-9a8d-bb7f1d7285df.jpg hi, could you please help to solve this error while executing main.py ? best regards — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ3FJEXQGOMG4XQGPKLHRLSRJSXRANCNFSM4T2QQYAA .
Thank you so much for your response.
I am running on : Windows 10 conda env
torch 1.4.0
torchvision 0.5.0
python 3.6
cuda 10.1
nvidia TitanXp

Best regards

I'm trying to reproduce an end-to-run run now. Please let me know if you have any success fixing the error above.

Using my setup above, this is what I get when I run search/main.py for about 12 hours. I havn't tried running anything inside
Modififcations to main.py:
parser.add_argument("--lambda_child", type=float, default=0.01, help="desired lambda value for the child switches")
parser.add_argument("--lambda_origin", type=float, default=0.01, help="desired lambda value for the origin switch")
parser.add_argument("--train_batch_size", type=int, default=12, help="training batch size")  # Uses ~6GB of CUDA memory, increase for more speed.
parser.add_argument("--val_batch_size", type=int, default=12, help="validation batch size")
<snip>
parser.add_argument("--port", type=int, default=-1, help="hack to ignore parameter passed by PyCharm")
parser.add_argument("--mode", type=str, default="client", help="hack to ignore parameter passed by PyCharm.")
<snip>
# Set num_workers=0 to avoid a runtime error.
train_loader_normal, train_loader_switch, val_loader = lib.build_loader_cifar_alt(train_batch_size,
                                                                                val_batch_size, num_workers=0)

Output:
Files already downloaded and verified
Files already downloaded and verified
Files already downloaded and verified
Train Epoch: 0 [0/5000 (0%)]	Loss: 2.352273
Train Epoch: 0 [240/5000 (5%)]	Loss: 4.676351
Train Epoch: 0 [480/5000 (10%)]	Loss: 2.242686
Train Epoch: 0 [720/5000 (14%)]	Loss: 2.439403
Train Epoch: 0 [960/5000 (19%)]	Loss: 2.267264
Train Epoch: 0 [1200/5000 (24%)]	Loss: 2.241351
Train Epoch: 0 [1440/5000 (29%)]	Loss: 2.024991
Train Epoch: 0 [1680/5000 (34%)]	Loss: 2.265240
Train Epoch: 0 [1920/5000 (38%)]	Loss: 1.746074
Train Epoch: 0 [2160/5000 (43%)]	Loss: 2.194800
Train Epoch: 0 [2400/5000 (48%)]	Loss: 2.152959
<snip>
Train Epoch: 0 [4320/5000 (87%)]	Loss: 2.634416
Train Epoch: 0 [4560/5000 (91%)]	Loss: 2.496345
Train Epoch: 0 [4800/5000 (96%)]	Loss: 1.909709
Training elapse:<PHONE_NUMBER>973724s
Test set: Average loss: 0.0002, Accuracy: 2363/10000 (24%)
Validation elapse:<PHONE_NUMBER>8239746s
Best model saved.
Train Epoch: --- [0/45000 (0%)]	Loss: 3.474762 Pred Loss: 2.353345
Train Epoch: --- [240/45000 (1%)]	Loss: 3.002315 Pred Loss: 1.926939
Train Epoch: --- [480/45000 (1%)]	Loss: 3.018287 Pred Loss: 2.015800
Train Epoch: --- [720/45000 (2%)]	Loss: 3.318602 Pred Loss: 2.392923
Train Epoch: --- [960/45000 (2%)]	Loss: 3.213771 Pred Loss: 2.364115
Train Epoch: --- [1200/45000 (3%)]	Loss: 2.719855 Pred Loss: 1.945814
Train Epoch: --- [1440/45000 (3%)]	Loss: 2.980262 Pred Loss: 2.280529
<snip>
Train Epoch: --- [42960/45000 (95%)]	Loss: 1.699873 Pred Loss: 1.246089
Train Epoch: --- [43200/45000 (96%)]	Loss: 1.435894 Pred Loss: 0.987424
Train Epoch: --- [43440/45000 (97%)]	Loss: 2.122393 Pred Loss: 1.674368
Train Epoch: --- [43680/45000 (97%)]	Loss: 1.344568 Pred Loss: 0.907704
Train Epoch: --- [43920/45000 (98%)]	Loss: 1.692965 Pred Loss: 1.264792
Train Epoch: --- [44160/45000 (98%)]	Loss: 2.036033 Pred Loss: 1.611159
Train Epoch: --- [44400/45000 (99%)]	Loss: 1.256250 Pred Loss: 0.840303
Train Epoch: --- [44640/45000 (99%)]	Loss: 1.397086 Pred Loss: 0.985487
Train Epoch: --- [44880/45000 (100%)]	Loss: 1.168355 Pred Loss: 0.768569
norm_cell_5
norm_cell_4
reduct_cell_1
norm_cell_3
norm_cell_2
reduct_cell_0
norm_cell_1
norm_cell_0
Algorithm update elapse: 40896.66292452812s
Test set: Average loss: 0.0000, Accuracy: 5109/10000 (51%)
Validation elapse:<PHONE_NUMBER>526703s
Best model saved.

Quote from readme.md:

Cell Evaluation
In the search, please load the corresponding gamma_norm.pkl and gamma_reduct.pkl for cell selection and building. Then replace the NormalCell and ReductCell in cell.py in CNN manually.
(Unfortunately we don't support automation of this process at the moment.)

The code above produces two files: gamma_norm.pkl and gamma_reduct.pkl.
However, it says replace the NormalCell and ReductCell in cell.py in CNN manually.. These instructions are insufficient to reproduce the findings in this paper.  The file cell.py looks as if it is similar to files within pretrained folder, but there is nothing generated by the code above that seems relevant.
Can anybody else solve this puzzle?


finish consume_client and publish_client, testing, not done

see title, still with bugs;
note: The client occasionally has segmentation errors. After debugging with gdb, it is temporarily speculated that it is a soft link error of the muduo library. Further debugging is required.

see title

see title

It may be that the soft link address is wrong after the username is changed to ffengc

This error can be temporarily ignored and debugged later. This error is currently not estimated to be a problem with code logic.