Privkey

Description
Describe the changes or additions included in this PR.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

what'a context here to open a new pr?

@robert2687 I think you did not want to make a PR but simply to pull in the branch into your own fork.

I'm going to close this PR, as it seems like it wasn't intentional, but @robert2687, if I have that wrong, please feel free to re-open it and update the PR description with what you're trying to achieve.

@robert2687 I think you did not want to make a PR but simply to pull in the branch into your own fork.

Yes that's right

I'm going to close this PR, as it seems like it wasn't intentional, but @robert2687, if I have that wrong, please feel free to re-open it and update the PR description with what you're trying to achieve.

No It wasn't intentional. I was tired and ill and try learning. Now I working on different projects ,but maybe i will check it again when I finish.


Can support save file to local storage?

Can support save file to local storage?
Hi , will Monod will support save file to local storage?  I  have tried Monod , however did not found it .

Hi! What do you mean exactly? The choice of the client-side persistence layer is left to localForage, which decides the best storage to use depending on the browser.

Thanks for you reply, what I want to know is that whether Monod will  supply a "save" button, which user can open a directory to save the document where he or she want to save.

Hey @swinghu, do you want to save the Markdown content of a Monod document?

Should be linked to #195

no answer for 6 months, closing. You can save markdown content with the [cmd] + s shortcut on the left panel 😉


Presented views with Bindings used within Forms / Lists introduces a retain cycle.

Description
When presenting a view that contains a Form or List, and within that form a binding is used to the view’s ObservedObject. The ObservedObject is not released when the view is dismissed. If the view is presented again, and dismissed again, the first ObservedObject is then finally released.
Checklist

[X] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[X] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
The ObservedObject is released when the view is dismissed.
Actual behavior
The ObservedObject is not released. Subsequent presentation / dismissal cycles shows that the "deinit" is being run as expected.
Steps to reproduce
Sample project here:
https://github.com/timbueno/RetainApp
The apps 'WindowGroup' contains two views.

ContentView: This view works as expected and is vanilla SwiftUI
BuggedContentView: This view uses the library and exhibits the bugged behavior.

Run the app with the BuggedContentView enabled. Press the button and dismiss the view. The presented views ViewModel should deinitialize and print to the console. It does not. Presenting and dismissing the view again will show that the deinitilization runs on subsequent attempts.
Commenting out the TextField with the binding in the BuggedSheetView and redoing the steps above will show that the retain cycle no longer happens.
SwiftUI Navigation version information
0.7.1
Destination operating system
iOS 16.4
Xcode version information
14.3
Swift Compiler version information
swift-driver version: 1.75.2 Apple Swift version 5.8 (swiftlang-<IP_ADDRESS>.2 clang-14<IP_ADDRESS>.100)
Target: arm64-apple-macosx13.0

Hey @timbueno. Running the app on iOS behaves as you describe, but running the app on macOS shows all models being released. Because the code is the same on our side, we can deduce that the behavior arises from SwiftUI's side.
Furthermore, if we snapshot the memory graph hierarchy, we can see that the model in question is singly referenced by a environmental PresentationMode (through the Binding that this type holds apparently).
So this is not a leak per-se, but rather SwiftUI that holds the value for reasons that are out of our reach (and likely a bug). We should probably file a FB.

@timbueno I believe we saw the first model eventually release after presenting and dismissing over and over, but we're not sure the condition for this to happen. At the very least it is not a memory leak that balloons memory over time, though we agree it's not a very nice bug.
Here's a version of "bugged content view" that you can drop into your project that shows how the bug manifests in vanilla SwiftUI: https://gist.github.com/stephencelis/28924ef5100a377718271696402fc1a7#file-buggedcontentview-swift-L54-L70
Basically, the act of capturing the original binding in a new binding via a transformation operation causes the model to be retained too long.
Here's a simpler feedback we just filed if you want to dupe:
https://gist.github.com/stephencelis/5d39ccb1cfb38b0f779bec43751df979
In the meantime, you can work around the bug if you depend on the object being deinitialized by creating a binding from scratch and avoiding binding transformations.
I'm going to convert this to a discussion since it's not really a bug with the library.


fix: correct is_ci value in metrics from APIC

Description:
Earlier metrics from the APIC wouldn't get the right value for is_ci as they would look for the CI environment(TF_BUILD, CIRCLE_CI...) variables which our docker container wouldn't contain;
Now

CLI figures out if we are running in CI
CLI passes the information down to Engine
Engine Passes the information down to APIC

So if someone is running in Circle/GitHub actions - wherever the kurtosis engine restart happens we get the valid IS_CI value for that CLI

https://github.com/kurtosis-tech/kurtosis/assets/6670312/d477729e-86c5-4819-a6a9-1e5399ab3bad
@leoporoli demo of the feature that reads from env variables on where engine restart is run


BGDIINF_SB-2380: Make sure that the created timestamp is consistent

By default datetime.isoformat() uses an automatic time specification and the
result might be with milliseconds or with microseconds or simply with seconds.
This is an issue on the DB side to do query from a given date where we can
do only simple text comparison. So in order to have a query to retrieve all
items from a specific timestamps all timestamps need to be exactly formatted.

@hansmannj good point I'll change service-kml as well.


Rename TraceConfig & CensoredSpan

Current naming:
class _CensoredSpan(wrapt.ObjectProxy):  ...

class ConfigTracer(wrapt.ObjectProxy):  ...

Alternatives for _CensoredSpan:

_CuratedSpan
_RedactedSpan
_ConfigSpan
_MaskedSpan
_FilteredSpan
_HiddenSpan
_ObscuredSpan

I don't personally have suggestions for ConfigTracer other than OpenInferenceTracer
Thoughts @mikeldking @RogerHYang @anticorrelator ?


Wrong URLs on the site

When you call one of the api URLs using curl you get page: 301 Moved Permanently because there is no slash at the end. The same is in readme.

thanks, committed docs with "/" trailing slash.


AttributeError: 'tuple' object has no attribute 'backward'

Hi,
Thank you for my inspiration for the BERT QA.
I'm trying custom training at # 307.
The following error occurs when the "reader.fit (X = (train_examples, train_features))" statement is executed.
/cdqa/reader/bertqa_sklearn.py in fit(self, X, y)
1394                     optimizer.backward(loss)
1395                 else:
-> 1396                     loss.backward()
1397                 if (step + 1) % self.gradient_accumulation_steps == 0:
1398                     if self.fp16:
AttributeError: 'tuple' object has no attribute 'backward'

Hi,
I just merged the branch with the fix for the training.
Could you please try with the latest version of cdQA?
Thanks!

Hi,
I just merged the branch with the fix for the training.
Could you please try with the latest version of cdQA?
Thanks!

Pytorch has problems when installing with "torch> = 1.2.0" listed in "requirements.txt".
Installing Pytorch separately solved the problem.
Thanks a lot for fast replying.


feat(testing): expose all types for util mocked

Summary

Expose typings for util mocked
Closes #2086
Test plan

Green CI
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
N.A.

Pull Request Test Coverage Report for Build 6404

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.661%

Totals

Change from base Build 6403:
0.0%

Covered Lines:
1020

Relevant Lines:
1049

💛  - Coveralls


Provide a comment preview button on the description page

On GitHub there is a Preview button that lets you view your message in it's fully formatted form before sending.

There is currently no Preview button in the VS Code extension. This makes it more difficult to review what you have written before submitting your comment.

Closing, as we have no plans to address this feature request. For the full description experience, github.com is always going to have more features :).


use portals when standing in them

Might be considered a feature to stand in portals without going through.
Further protocol research needed.

Didn't seem to work before because the client didn't stand in the portal correctly.
Fixed by handling negative positions correctly, which works in Spock.


[BUG] Very strange error with "_id" lookup on different PCs and Windows 10 versions

Version
.NET Core 3.1, Windows 10 1909, LiteDB 5.0.9, 5.0.10
Describe the bug
It is very strange error. We have a developer who create DB file on his PC and it works fine on his PC, but when anybody tries to load this file on Windows 1909 (with LiteDB.Studio) and run the query SELECT $ FROM index where _id = 'vo'; then it returns no records. If you run SELECT $ FROM index then you will see this record in results ('vo', 'Votes').
But the strangest thing if you have Windows 2020H2 then this query works just fine and returns expected record. All other developers who produce the DB with same application on their PC produces correct .db files which works fine on Windows 10 1909. So this problem only happens when DB file created on specific PC.
Another strange thing that it only happens for few records: Vote, WaterweedSpecies and one which I don't remember. All other successfully returns results with query like SELECT $ FROM index WHERE _id = 'tg';
If you select all records from DB and then Upsert them then it creates duplicate records for Vote etc.
His OS installation is Swedish, but English(US) display language selected.
Database file: Game.zip
Code to Reproduce
We are using this code:
public struct ShortNameEntry
{
   [BsonId] public string ShortName { get; set; } //Shortnames must always be lowercase
   public string LongName { get; set; }
}

// inserts all entries in one pass with DB sync
db.GetCollection<ShortNameEntry>("index").Upsert(new[] { new ShortNameEntry { LongName = "Vote", ShortName = "vo" } /*, ...*/ });

Expected behavior
Expect the DB to correctly function on Windows 10 1909.
SELECT $ FROM index where _id = 'vo'; should return record as well as Upsert shouldn't make duplicate record.
Screenshots/Stacktrace
What he has and we have on Windows 2020H2:

What Windows 1909 users have:

DB file:
Game.zip

I have the same issue. Some objects can't be found on Windows Server 2012, but they are found when using Windows 10. I try to lookup using _id
The objects shows when selecting all, using LiteDB Studio, but when using WHERE _id=".." the object is not found. Only some objects are not found, others are found.


microbenchmarks_ios velocity_tracker_iteration and rrect_contains_iteration possible regression...

The results look bimodal, but they've climbed at https://github.com/flutter/flutter/pull/51986.

Looks like this is noisy but no longer blocks the roll.

This is now well below baseline, albeit noisy. Closing.


Missing inference rule : @ivar = @@cvar

class Obj
  @@count = 0

  def initialize
    @obj_no = @@count
    @@count += 1
  end
end

Obj.new

gives me with Crystal 0.20.3 :
# ... rules explanation ...

Can't infer the type of instance variable '@obj_no' of Obj

    @obj_no = @@count
    ^~~~~~~

I was expecting @obj_no to take the type of @@count (Int32)

The type of instance/class variables is never inferred from other instance/class variables, because that can lead to long chains and even recursive chains. In this case you need need to be explicit with the type of @obj_no.
I could mark this as an enhancement, but I don't know if it will ever happen and I'd like to leave the issue tracker clutter-free.

@asterite but class variables can infer type from instance variables:
class Obj
  def x
    @@x
  end

  def initialize(@count = 0)
    @@x = @count
  end
end

o1 = Obj.new
pp o1.x
o2 = Obj.new(1)
pp o2.x
pp o1.x

@faustinoaq You are totally right! I thought it was applying another rule. I'll fix this :-)


Make identification and salvage more user friendly

Is it possible to add a feature like one of this:

Allow activating kit via a custom "hotkey use item"
If the user press a specific key while a kit is active, keep it active when used. So for example, the user double click on a kit and keep "Shift" pressed then he can click on the items he wants to identify without having to double click on the kit between each item

I found about a similar feature discussed in #164. But compared to #164 we don't do everything automatically it's still the user who does the work.

An option that stops the user having to re-click the ID kit for each item would be better IMO, i.e. keeps the identification icon active if the kit still has uses when identifying an item. Won't need a hotkey that way

What @3vcloud said is very likely what we would do. Maybe as long as a key is holded.

Adding context menu to kits has made identification and salvage more user friendly, and after spending a good few hours trying to hook into the function that "primes" the identification or salvage kit (i.e. changes the icon ready for you to identify something) I didn't get very far. Using context menu though, I don't use the original method


Efficient Pedersen Hash

In order to verify the blocks and transactions we need to have an efficient algorithm to calculate Pedersen Hash.
Golang's Benchmarking package should be used to compare the performance of the following:

Old Crypto Package implementation
StarkWare C++ implementation, which requires some go binding
Creating a new implementation written in Go

StarkWare C++ implementation, which requires some go binding

I was working on this, I think it should be enough for our basic crypto needs for a good while. I bet we can upstream the changes in that fork as well.

closed #436


Clicking to the left and right of NP card

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
2282
Describe the bug
FGA properly goes through the skills but when it's supposed to hit Cu Caster's NP it hits to the left and right of the NP card. I considered it might be the placement of the play button but the button is in the bottom left like it usually was before I had this issue.
Tried seeing skill confirmation within the FGA app that I downloaded in GitHub and i don't have the option in the more options tab.
First time sending a report so I apologize if I didn't send enough info. Thanks!
Video
https://youtu.be/gtqZvmgWfXM
Device model
LDPlayer
Android version
9
Screen size
1280x720
RAM
4GB

I can't explain the click behavior right now, need to debug it myself.

is there a previous release that work? Checked the releases page and the last release was 3 years ago.


Passing temporal data forward within the script

+ (*) = (*)
- ^setTerm(<cap1>,<cap2>)
	+ ~yes *~3
	% ^setTerm(<cap1>,<cap2>)
	- ^process(<p1cap1>,<p1cap2>)

Where pN = Previous Captured input going back in the message history.
The workaround for this now is to store the data (serialized) in this.user.slot1 and thaw it in process()

So this has now landed in "nightly" it allows you to reference and star variable captured in the last 15 messages using  where PX is the Previous index starting at 1 and capX is the star offset again starting at 1.

Couple questions here:

are * wildcards now getting captured?
with PX, if it is p1cap1, will that only look for it in the most recent reply, or does it look through all previous 15?


Improved score distribution I/O

This PR adds support for score distribution I/O in the ontolib-io module and adds the ability to read from/write to H2 databases for score distributions.

This will fix #8.
@julesjacobsen Note that score distribution takes quite long so I would do it on a HPC system...


updated macos $HOME folder to /Users/

macOS does not use /home
Linux uses /home/

New updates resolve this issue


Set-up with extensions: json, but json_decode still not available

Describe the bug

I'm adding CI for https://github.com/php-geospatial/geospatial and two of the tests use json_decode. I have added extensions: json to the workflow, but it doesn't seem loaded.
Version

[ ] I have checked releases, and the bug exists in the latest patch version of v1 or v2.
[X] v2
[ ] v1

Runners

[X] GitHub Hosted
[ ] Self Hosted

Operating systems
The default, so I guess Linux?
PHP versions
PHP 7.0 - 7.4 show the problem, PHP 8.0/8.1 do not.
To Reproduce
            -   name: Setup PHP
                uses: shivammathur/setup-php@v2
                with:
                    php-version: "${{ matrix.php }}"
                    coverage: none
                    ini-values: "session.save_path=/tmp"
                    extensions: json
                    tools: pecl

Expected behavior
json_decode() should be available
Screenshots/Logs
https://github.com/php-geospatial/geospatial/runs/1783964741?check_suite_focus=true#step:6:1
Additional context
The wiki says that json should have been loaded by default, so I am wondering what's going on.
Are you willing to submit a PR?
Sure, if I know what the problem is and how to fix it (I don't).

@derickr I ran a test, json_decode should be available.
https://github.com/shivammathur/test-setup-php/actions/runs/517978850/workflow

@derickr I ran a test, json_decode should be available.
https://github.com/shivammathur/test-setup-php/actions/runs/517978850/workflow

Ugh, turns out that "make test" for PHP runs "php -n" and hence wipes out the INI file that you write. Sorry.

Ugh, turns out that "make test" for PHP runs "php -n" and hence wipes out the INI file that you write. Sorry.


propagate EAGAIN in forking

In conventional shells such as bash, propagate EAGAIN from fokr()

fix in commit 6b774009e8be19c5be2a6a3764dfc5b5b8aaf7f5.
but need more work


java rt.jar not found

When I opened Atom today, I got a message warning: autocomplete-java: java rt.jar not found
But I didn't change any setting of my PC recently(i.e. JDK, JVM), that confuses me and I hate a red warning keeps showing up at the top right corner when I start up Atom every time.
Does anyone come across to this message before?

Did you already figure this one out? Maybe you have updated your JDK and your JAVA_HOME points to an old location. See #49.

Sir i am using java 12  and getting this error please help
autocomplete-java: java rt.jar not found

I have the same problem and don't know what's going on... I downloaded autocomplete-java just a few minutes ago but every other package does work, so maybe I have to install an additional package?
I'm even using a .classpath file ../project and the packages I installed so far are:

atom-java-decompiler
autocomplete-java
character-table
click-link
color-picker
exec-in-cmd
file-icons
google-java-format
intentions
java-importer
linter
linter-javac
linter-ui-default
local-history
mcfunction-lang
minimap
minimap-pigments
pigments
teletype
todo
and 81 Core Packages

So maybe there is anything hinder autocomplete-java?


Create and run e2e test plan for content viewing

Epic:
https://github.com/SNDjango/server/labels/Content item
https://github.com/SNDjango/server/labels/Filtering views
https://github.com/SNDjango/server/labels/Main page
Specification:
https://github.com/SNDjango/server/wiki/Specifications
Test environments:
https://github.com/SNDjango/server/wiki/Testing#supported-configurations
Major test scenarios:

if no content, empty rooms displayed
main page shows all content
content is sorted by applied sorting method
favorite page shows content starred by current user
favorite page doesn't show content starred by other users
my content page shows uploaded by me posts
my content page doesn't show uploaded by other users posts
all content item have layout as defined in spec

Tests run on Windows and Mac, for checking responsiveness chrome emulators were used.


Update Dockerfile

Motivation and Context

The use of nvidia/cuda:11.0-devel-ubuntu20.04 was also tested too, but is blocked by https://github.com/facebookresearch/habitat-api/issues/411 .
How Has This Been Tested
$ docker build -t habitat-api .
...
$ docker run -it --gpus all habitat-api python examples/example.py
2020-08-04 09:06:22,715 Initializing dataset PointNav-v1
2020-08-04 09:06:22,934 initializing sim Sim-v0
2020-08-04 09:06:24,076 Initializing task Nav-v0
Environment creation successful
Agent stepping around inside environment.
Episode finished after 3 steps.

Types of changes

Docs change / refactoring / dependency upgrade
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@ruffsl thank you for the PR. Can reveal some details behind changing Docker file from ubuntu16.04 to ubuntu18.04?
Does that makes a reason to have several Dockerfiles?

Can reveal some details behind changing Docker file from ubuntu16.04 to ubuntu18.04?

I just wanted to update the base image for project to a more recent LTS release to better integrate with other OSS and leverage upstream bug fixes; ideally with 20.04 LTS, but that resulted in segfaults.
See the commit history for details on each change.

Does that makes a reason to have several Dockerfiles?

We could rebase this to start a seperate Dockerfile, e.g.bionic.Dockerfile. It's just that it's getting harder to build active OSS libraries on a base images that's getting rather long in the tooth.


[Scheduled Maintenance] Vaultwarden down for Maintenance

Additional context
This maintenance is due to an on-going restore job for Vaultwarden.

Resolved: Vaultwarden is back up in 9bf1ac7 after 22 minutes.


Small cleanup, moving code, remove unused unsafe block

I felt the code order:
struct Mutex {...}
impl serde::Traits for Mutex {...}
impl Mutex {...}

was strange/not optimal. The first thing I want to read after seeing the struct are the main methods. Constructors and similar. The fact that it implements serde feature is more of a niche thing that can come much later. I personally think third party trait impls basically always should come after the main impl block and impls for standard library traits.
Then I also noticed not needed unsafe block around UnsafeCell::into_inner. These lines of code has not been changed for a very long time. So I guess they were still there since before that method became safe in Rust 1.25.

bors r+


Warning: dart pub outdated --mode=null-safety exited with exit code 69 and stderr:, My framework&dart path already detected androidSDK

Warning: dart pub outdated --mode=null-safety exited with exit code 69 and stderr:
Package doesn't exist (the Flutter SDK is not available).
Migrating E:\development\project\Gubuk_Bonsai
Analyzing project...
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]14 analysis issues found:
error • The named parameter 'providers' isn't defined at lib\main.dart:38:9 • (undefined_named_parameter)
error • The named parameter 'create' isn't defined at lib\main.dart:39:34 • (undefined_named_parameter)
error • The named parameter 'create' isn't defined at lib\main.dart:41:13 • (undefined_named_parameter)
error • The named parameter 'update' isn't defined at lib\main.dart:42:13 • (undefined_named_parameter)
error • The named parameter 'child' isn't defined at lib\main.dart:48:9 • (undefined_named_parameter)
error • The named parameter 'source' isn't defined at lib\screens\profile_screen.dart:27:9 • (undefined_named_parameter)
error • The named parameter 'imageQuality' isn't defined at lib\screens\profile_screen.dart:28:9 • (undefined_named_parameter)
error • The named parameter 'sourcePath' isn't defined at lib\screens\profile_screen.dart:69:7 • (undefined_named_parameter)
error • The named parameter 'aspectRatioPresets' isn't defined at lib\screens\profile_screen.dart:70:7 • (undefined_named_parameter)
error • The named parameter 'androidUiSettings' isn't defined at lib\screens\profile_screen.dart:73:7 • (undefined_named_parameter)
error • The named parameter 'cropStyle' isn't defined at lib\screens\profile_screen.dart:80:7 • (undefined_named_parameter)
error • The named parameter 'child' isn't defined at lib\screens\video_screen.dart:79:7 • (undefined_named_parameter)
error • The named parameter 'value' isn't defined at lib\widgets\products_grid.dart:27:9 • (undefined_named_parameter)
error • The named parameter 'child' isn't defined at lib\widgets\products_grid.dart:28:9 • (undefined_named_parameter)
Note: analysis errors will result in erroneous migration suggestions.
Please fix the analysis issues (or, force generation of migration suggestions by re-running with --ignore-errors).
PS E:\development\project\Gubuk_Bonsai> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.19042.804], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.54.1)
[√] Connected device (3 available)
• No issues found!

I got the same error, due to an old "dart" version (from nix profile in my case) used instead of the one provided by flutter.
Try to check if the dart executable is from flutter distribution command -v dart & command -v flutter, and then maybe fix your $PATH.

As of 1c7fe7196dd7a542f7f91cd6ea2ac81e1a13146c, the null safety migration tool has been removed from active development and retired. No further work on the tool is planned.
If you still need help, or you believe this issue has been closed in error, please feel free to reopen.


Issue Sept. 3rd 2022

Script failed to scan birthdays.
Error message: eyJ0eXBlIjoiU0NBTl9FUlJPUl9USU1FT1VUIn0=

Adding custom birthdates added in https://github.com/zagushka/birthday-calendar-extractor/pull/94


Fix epochs modules tests

Part of: #1834
What is the purpose of the change
Update the epochs modules tests to be readable, make sense & cover more relevant cases.
As part of this, we remove the prior SetEpochInfo API, and solely use a safer AddEpochInfo api, that includes relevant entries if they're left blank, and errors if its an invalid configuration
Brief Changelog

Remove epochskeeper.SetEpochInfo API, in favor of epochskeeper.AddEpochInfo

Testing and Verifying
This change added tests and can be verified as follows:

Added unit test that validates expected epoch behavior on begin block

Open to any other test cases we can think of for edge cases / etc.

Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? yes
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? yes
How is the feature or change documented? not applicable

All comments resolved I believe!


SceneTfBroadcasterSystem mis-named

We usually don't tack on "System" to our system classnames, unless there is a particular reason to distinguish a "Foo" from its wrapper "FooSystem".  I think it should be SceneTfBroadcaster not SceneTfBroadcasterSystem.
As it stands, we have these names (which are inconsistent):

RvizVisualizerParams
RvizVisualizer
SceneTfBroadcasterParams
SceneTfBroadcasterSystem

I don't anticipate anyone will attend to this issue, so I'll close it as "not planned".


Transition to the ui5 element breaks is incorrect using interaction idSuffix: treeicon

Describe the bug
Transition to the ui5 element breaks is incorrect using interaction idSuffix: treeicon
It is a tree table and I'm trying to access the expand icon, however looking at the _domId, it is not pointing to treeicon.
Expected behavior
It should point to the treetable's expand icon.
Screenshots

Runtime Env :

wdi5/wdio-ui5-service-version: v1.0.2
UI5 version: v2.14.1
wdio-version (output of wdio --version): v7.27.0
node-version (output of node --version): v18.12.1
Browser + Version : Chrome Version 108.0.5359.125

Internal Function: getUI5CtlForWebObj

Hi @melissaxd96 the controlSelector does not have an interaction property. https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.test.RecordReplay.ControlSelector
Anyways, you already receive the row for your selector.
You can expand the row using the expand method on the UI5 row control. https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.table.TreeTable%23methods/expand
const row = await browser.asControl(<your row selector>)
// expand
await row.expand()

maybe @hmanchev can say something about the issue with the interaction selector.

Hi all,
I am not sure that this can be related as an issue to the interaction selector. However I will forward this to our experts and will provide feedback as soon as they have any opinion.
Please note that it is still vacations period and you can expect some delays.

Hi @melissaxd96,
I checked that the selected icon (with idSuffix "treeicon") is only an element and not a UI5 control.
(The table may not always create UI5 controls for its internal elements if it does not need to).
The closest control containing the icon element is the parent row.
I tested the proposal of @dominikfeininger to use the table's expand method, so I can also confirm that it is a possible alternative solution, see e.g. https://jsbin.com/duwaxuqohe/edit?html,js,output

Did you manage to look at the answer from the OPA expert (kineticjs)?

This issue has the same root cause as #355. For more explanation have a look at following comment.

Hello @melissaxd96,
Which version of UI5 are you using?
Thanks and best regards,
Jordan


Enable to specify UID that Piped runs as

What this PR does / why we need it:
Once https://github.com/pipe-cd/pipe/pull/1871 got merged, I will open up this one after populating the image digest.
Which issue(s) this PR fixes:
Fixes https://github.com/pipe-cd/pipe/issues/1870
Does this PR introduce a user-facing change?:

Enable to specify UID that Piped runs as

No wonder 👍
/lgtm

/approve


unable to read prefix from socket: No error information

No duplicates 🥲.

[X] I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?
Hello,
I'm having a problem with goridge-php, I'm getting an error when I run the demo code you gave, this is the exception thrown by PHP:
PHP Fatal error:  Uncaught Spiral\Goridge\Exceptions\PrefixException: unable to read prefix from socket: No error information in /project/GoAndPhp/goridge/vendor/spiral/goridge/src/SocketRelay.php:305
Stack trace:
#0 /project/GoAndPhp/goridge/vendor/spiral/goridge/src/SocketRelay.php(184): Spiral\Goridge\SocketRelay->fetchPrefix()
#1 /project/GoAndPhp/goridge/vendor/spiral/goridge/src/RPC.php(82): Spiral\Goridge\SocketRelay->receiveSync()
#2 /project/GoAndPhp/goridge/run.php(20): Spiral\Goridge\RPC->call()
#3 {main}
  thrown in /project/GoAndPhp/goridge/vendor/spiral/goridge/src/SocketRelay.php on line 305

Golang log is as follows:
2023/01/06 14:40:37 rpc: rpc: server cannot decode request: goridge_frame_receive: validation failed on the message sent to STDOUT, see: https://roadrunner.dev/docs/known-issues-stdout-crc/2.x/en, invalid message: App.Hi"Hello"

PHP Code:
<?php

declare (strict_types=1);

use Spiral\Goridge\Relay;
use Spiral\Goridge\RPC;

require_once __DIR__ . '/vendor/autoload.php';

$rpc = new RPC(
    Relay::create('tcp://<IP_ADDRESS>:6001')
);

var_dump($rpc->call('App.Hi', 'Hello'));

Golang code:
package main

import (
	"fmt"
	"net"
	"net/rpc"

	goridgeRpc "github.com/roadrunner-server/goridge/v3/pkg/rpc"
)

type App struct{}

func (s *App) Hi(name string, r *string) error {
	*r = fmt.Sprintf("Hello, %s!", name)
	return nil
}

func main() {
	ln, err := net.Listen("tcp", ":6001")
	if err != nil {
		panic(err)
	}

	_ = rpc.Register(new(App))

	fmt.Println("RPC server started on :6001")

	for {
		conn, err := ln.Accept()
		if err != nil {
			continue
		}
		_ = conn

		fmt.Printf("New connection from %s\n", conn.RemoteAddr().String())

		go rpc.ServeCodec(goridgeRpc.NewCodec(conn))
	}
}

Version
goridge  v3.6.2
goridge-php v3.2.0
php 8.0
golang 1.19
Relevant log output
No response

Hey @imlinfly 👋🏻
I double checked your case, but it seems that somewhere in your app you're pushing this message (or log) App.Hi"Hello" to the stdout instead of stderr. Stdout is designed for the communication between processed, while stderr for the logs and diagnostic info.
I've added an additional test here: https://github.com/roadrunner-server/goridge/blob/master/test/issues/issue_185_test.go


[Bug] Local time skipping test server throws Event set unexpectedly empty

What are you really trying to do?
Use local test server with time skipping to unit test workflows.
Describe the bug
When attempting to run tests using the local test server the workflow throws System.InvalidOperationException : Event set unexpectedly empty on calling GetResultAsync() on the WorkflowHandle.  Additionally calls to WorkflowEnvironment.DelayAsync() wait real time which I would expect to finish immediately and advance worfklow time.
Minimal Reproduction
public class WorkflowTests
{
    private static TemporalWorker GetWorker(IWorkerClient client)
    {
        return new TemporalWorker(client, new()
        {
            TaskQueue = $"tq-{Guid.NewGuid()}",
            Activities = { },
            Workflows = { typeof(ExampleWorkflow) },
        });
    }
    [Fact]
    public async Task It_Dedups_Inside_Window()
    {
        await using var env = await WorkflowEnvironment.StartTimeSkippingAsync();

        using var worker = GetWorker(env.Client);

        var id = "unit-test";

        await worker.ExecuteAsync(async () =>
        {
            var wfA = await StartWorkflow("A");

            // this waits real time, not skipped,
            // I have tried combinations of time skipping or WithAutoTimeSkippingDisabled for the call but always get a real wait
            await env.DelayAsync(TimeSpan.FromSeconds(10));

            var wfB = await StartWorkflow("B");

            var rA = await wfA.GetResultAsync(); // this throws `System.InvalidOperationException : Event set unexpectedly empty`
            var rB = await wfB.GetResultAsync();

            Assert.Equal(rA, rB);
        });

        async Task<WorkflowHandle<string>> StartWorkflow(string req)
        {
            return await env!.Client.StartWorkflowAsync(
                ExampleWorkflow.Ref.RunAsync,
                (string?)null,
                new WorkflowOptions
                {
                    ID = "dedup:" + id,
                    TaskQueue = "demo-tasks",
                    StartSignal = "AddValue",
                    StartSignalArgs = new List<object> { req }
                });
        }
    }
}

[Workflow]
public class ExampleWorkflow
{
    private static TimeSpan DedupDelay = TimeSpan.FromSeconds(15);
    private static TimeSpan MaxDelay = TimeSpan.FromSeconds(30);
    public static readonly ExampleWorkflow Ref = WorkflowRefs.Create<ExampleWorkflow>();

    private string? value = null;
    private DateTime lastMessage;

    [WorkflowRun]
    public async Task<string> RunAsync(string? trigger)
    {
        var firstTime = lastMessage = Workflow.UtcNow;
        value = trigger;

        var max = Workflow.DelayAsync(MaxDelay);

        while (true)
        {
            var initial = lastMessage;
            var waitWindow = DedupDelay - (Workflow.UtcNow - lastMessage);
            Workflow.Logger.LogInformation("[{EventName}] {Seconds} seconds", "DedupWait", waitWindow.TotalSeconds);
            var window = Workflow.DelayAsync(waitWindow);
            var finished = await Task.WhenAny(window, max);
            if (finished == max)
            {
                Workflow.Logger.LogInformation("[{EventName}]", "MaxDurationExceeded");
                break;
            }
            else if (initial == lastMessage)
            {
                Workflow.Logger.LogInformation("[{EventName}]", "WaitPeriodFinished");
                break;
            }
        }

        if (value == null)
        {
            throw new ApplicationException("No value");
        }
        var used = value;
        value = null;

        // simiulate work
        await Workflow.DelayAsync(5000);

        // catch signal that happend when work happening
        if (value != null)
        {
            Workflow.Logger.LogInformation("[{EventName}] Starting new WF", "ExtraMessages");
            throw Workflow.CreateContinueAsNewException(Ref.RunAsync, value);
        }
        return used;
    }

    [WorkflowSignal]
    public Task AddValue(string signal)
    {
        Workflow.Logger.LogInformation("[{EventName}] {DateTime}", "NewValue", Workflow.UtcNow);
        value = signal;
        lastMessage = Workflow.UtcNow;
        return Task.CompletedTask;
    }
}

Environment/Versions

Windows 11, x64
Temporal Version: 0.1.0-alpha4 (sdk-dotnet)

Okay, that makes sense. The DelayAsync on env was waiting the real time in this case so may be a problem there as well.

:+1: Will attempt to replicate then fix (may be a bit due to conflicting priorities)

The unset-event issue will be solved with #76, so I have opened #77 for the fact that delay is real time and not properly skipping.


Invalid URL when using google provider

@nhost/react - 0.7.12
import { useProviderLink } from '@nhost/react'

export function AuthMethods(): JSX.Element {
    const { google } = useProviderLink({ redirectTo: '/dashboard' })

  return (
    <>
      <Title>Sign in with</Title>
      <ButtonsWrapper>
        <LinkButton href={google}>
          <GoogleIcon />
        </LinkButton>
      </ButtonsWrapper>
    </>
  )
}

Gives the following error:
Server Error
TypeError: Invalid URL:

Version @nhost/react - 0.6.1 works, it breaks when going into version 0.7.*

@plmercereau it needs to be nextjs, sorry I should have mentioned that.

and try to use  @nhost/nextjs instead?
import { useProviderLink } from '@nhost/nextjs'

@plmercereau I made a nextjs repo from scratch https://github.com/cj/nhost-invalid-url-when-using-google-provider just run yarn install and yarn dev

@plmercereau and if you change @nhost/react to 0.6.1 in the package.json it will work just fine.

Many thanks for that, I'll look into it soon!


Update URL for FastCopy.IPMsg version 5.1.1

From latest URL Scan:

https://ipmsg.org/archive/ipmsg5.1.1_installer.exe for FastCopy.IPMsg version 5.1.1 redirects to https://raw.githubusercontent.com/FastCopyLab/IPMsgDist/main/ipmsg5.1.1_installer.exe

Microsoft Reviewers: Open in CodeFlow

I'm having difficulty navigating from the PackageUrl to the InstallerUrl.

@wingetbot run


Yacht Details

Detail page for yachts: should be different between charter and for sale.

Yachts for charter should have fewer details, as in the AqvaLuxe web site (probably will make a couple of changes)
Yachts for sale should have more details, as in the Yachtworld web site. I'll try and get exact details of all the records needed.

Done


chore(PanoViewer): updated gh-pages content

Issue
#22

Coverage remained the same at 16.109% when pulling 23a8641f5af306181ab7b1fc3d04eafd63f0d54f on happyhj:panoviewer#22 into e7a0506eea96be95f92d58dd5e1dd90dc1ccf794 on naver:master.


Unused funcs (revisited)

Removed [-Wunused-function] warnings, #14 issue.

lgtm

testing. case sensitive :-)
LGTM


Apple Mail Version 11

Apple Mail Version 11 in macOS High Sierra 10.13 beta 2 has stopped being compatible

Please report this to https://gpgtools.org/ guys. It does not belong here.


Whether to consider adding query expressions to the form

https://github.com/zebzhao/Angular-QueryBuilder

can you elaborate please, thanks!

I want to customize a query interface with query conditions，Specific interface effects can see the following link  https://github.com/zebzhao/Angular-QueryBuilder

I think it's better to provide me an example to clearly understand the request, what do you expect from formly to do with QueryBuilder implementation.

thank you

@smile2014 why closing ?

@aitboudad  I didn't think about how to express myself. I only knew that the effect I wanted was that of the page.

@smile2014 something like https://franzeal.github.io/ng-formly-designer/ ?

Wait, I'll submit a demo

https://stackblitz.com/edit/angular-oprfhy
In fact, I would like to express whether the query interface and ngx-formly integration

I was having a similar thought. Have recently invested in going full whack with formly and it looks to me to just be a Rule builder using dynamically built forms.
I could probably re-use code and expertise if I create an Expression Builder using Formly instead as the structure you're creating looks fairly simple to me.
It's essentially creating a tree of inputs to generate a model of:
export interface RuleSet {
  condition: string;
  rules: Array<RuleSet | Rule>;
  collapsed?: boolean;
}

export interface Rule {
  field: string;
  value?: any;
  operator?: string;
  entity?: string;
}

If you check the demo here. Picking different fields allows you to select a value using different form types: input, select, datepicker etc: https://github.com/zebzhao/Angular-QueryBuilder/blob/master/demo/src/app/app.component.ts#L239
Should be fairly easy to recreate using Formly and if we can create an example, it might be worth showing it in the list of examples and mentioning it over at that repository

Started having a bash at this: https://stackblitz.com/edit/ngx-formly-ui-material-wnikqw?file=app%2Fapp.component.ts
My main problem is that the repeating section example (https://ngx-formly.github.io/ngx-formly/examples/advanced/repeating-section) shows how to repeat over predefined groups of fields. This is something I always wanted from Angular Forms but I'm not sure how to express a Union of Group types. A RuleSet.rules can contain an array of either RuleSet or Rule so you get nesting.
The Ruleset needs to contain 3x buttons:

Remove Ruleset: Delete the whole ruleset
Add Ruleset: Nest another ruleset inside this ruleset.rules
Add rule: Add another rule inside this ruleset.rules

I feel like I can create a custom RulesetField that extends FieldArray and add either a Ruleset or Rule by passing in the model here: https://github.com/ngx-formly/ngx-formly/blob/master/src/core/src/lib/templates/field-array.type.ts#L42
But then another question is: without a discriminator, how would Formly know how to rebuild the form based on a model?

I'll provide an answer when I have time :)

But then another question is: without a discriminator, how would Formly know how to rebuild the form based on a model?

when the model change is triggered which is done using _buildForm internal calls the onPopulate hook is called which let FieldArray to adjust the passed field (we create fieldGroup based on the model length )
so in your case either adjust onPopulate to take account of rules type or use hideExpression https://github.com/ngx-formly/ngx-formly/issues/1379#issuecomment-454002138

Thanks for the extra push. I believe I've managed to complete it: https://stackblitz.com/edit/ngx-formly-ui-material-querybuilder

looks great good job!

and the underscore suggests I shouldn't use it? :P but not sure if there's any other API I should use

I'm still thinking that _buildForm should be improved before exposing it, but for now, you can rely on it as there is no alternative way.

@intellix
I just wanted to create a formly type for https://github.com/zebzhao/Angular-QueryBuilder, as I came across this thread and your StackBlitz https://stackblitz.com/edit/ngx-formly-ui-material-querybuilder.
Yours is an alternative way and for sure easier to adapt/configure to use personal formly types in the builder.
It looks very complete and a good basis for me. Just wanted to know if you made some improvements in the meantime, which you would like to share. Thanks in advance.


Move the qemu test logic out of Jenkinsfile

See both commits.

base tests failed because of RHSM failure, integration tests are all green.


SR300 Depth stream "no frames received"

librealsense
2.51.1 RELEASE

OS
Windows

Name
Intel RealSense SR300

Serial Number
539141001209

Firmware Version
<IP_ADDRESS>

Camera Locked
YES

Product Line
SR300

Asic Serial Number
539141001209

Firmware Update Id
539141001209

Please provide a description of the problem
Per-fram metadata is not enabled at the OS level! Please follow the installation guide for the details

Hi @Leonswilly  Are you able to launch the RealSense Viewer tool, please?  If you are, do you see a Frame Metadata disabled message pop up in the top corner of the Viewer window like in the image below?

If you do have this pop-up box then left-clicking the Enable button on it should enable hardware metadata support for your SR300.
If you do not see the message then unplugging the camera and then plugging it into a different USB port on the computer if you have a spare port may trigger it (it can be either a USB 3 or USB 2 port).

Metadata support can also be enabled by editing the Windows registry, though I would not recommend this unless you have knowledge of registry editing as it could break your Windows OS otherwise.
https://dev.intelrealsense.com/docs/compiling-librealsense-for-windows-guide#enabling-metadata-on-windows

the realsense viewer can be launched,and i did click the enable button,but still not working.is this problem relevant to the failure of installing the Intel realsense depth camera manager？
------------------ Original message ------------------
From: "MartyG-RealSense";
Sendtime: Wednesday, Nov 9, 2022 5:57 PM
To: "IntelRealSense/librealsense";
Cc: @.***>; "Mention";
Subject: Re: [IntelRealSense/librealsense] SR300 Depth stream "no frames received" (Issue #11079)
Hi @Leonswilly  Are you able to launch the RealSense Viewer tool, please?  If you are, do you see a Frame Metadata disabled message pop up in the top corner of the Viewer window like in the image below?
If you do have this pop-up box then left-clicking the Enable button on it should enable hardware metadata support for your SR300.
If you do not see the message then unplugging the camera and then plugging it into a different USB port on the computer if you have a spare port may trigger it (it can be either a USB 3 or USB 2 port).
Metadata support can also be enabled by editing the Windows registry, though I would not recommend this unless you have knowledge of registry editing as it could break your Windows OS otherwise.
https://dev.intelrealsense.com/docs/compiling-librealsense-for-windows-guide#enabling-metadata-on-windows
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

i just edited the registry, still not receiving depth stream.
------------------ Original ------------------
From: @.>;
Send time: Wednesday, Nov 9, 2022 5:57 PM
@.>;
@.>; @.>;
Subject:  Re: [IntelRealSense/librealsense] SR300 Depth stream "no frames received" (Issue #11079)
Hi @Leonswilly  Are you able to launch the RealSense Viewer tool, please?  If you are, do you see a Frame Metadata disabled message pop up in the top corner of the Viewer window like in the image below?
If you do have this pop-up box then left-clicking the Enable button on it should enable hardware metadata support for your SR300.
If you do not see the message then unplugging the camera and then plugging it into a different USB port on the computer if you have a spare port may trigger it (it can be either a USB 3 or USB 2 port).
Metadata support can also be enabled by editing the Windows registry, though I would not recommend this unless you have knowledge of registry editing as it could break your Windows OS otherwise.
https://dev.intelrealsense.com/docs/compiling-librealsense-for-windows-guide#enabling-metadata-on-windows
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Since 2017 the Depth Camera Manager driver installation program is not required for computers with an internet connection as the camera can download and install the drivers automatically from the internet when it is plugged into the USB port.
If you are not receiving a depth stream with the SR300 after enabling it then the USB port may be providing the camera with insufficient power to start the depth stream.  This is a known issue with the SR300 model.  You can test whether your camera has a USB power issue by going to Stereo Module > Controls in the Viewer before enabling the stream and setting the Laser Power slider to zero, then enabling the depth stream.  If the depth stream is able to start with Laser Power set to zero but then disables if you increase Laser Power, the problem is likely related to insufficient power provided by the USB port.

the realsense viewer can be launched,and i did click the enable button.the rgb camera and ir mode can show pictures,but depth mode still not woking.
is this problem relevant to the failure of installing the Intel realsense depth camera manager？
------------------ Original message ------------------
From: "MartyG-RealSense";
Sendtime: Wednesday, Nov 9, 2022 5:57 PM
To: "IntelRealSense/librealsense";
Cc: @.***>; "Mention";
Subject: Re: [IntelRealSense/librealsense] SR300 Depth stream "no frames received" (Issue #11079)
Hi @Leonswilly  Are you able to launch the RealSense Viewer tool, please?  If you are, do you see a Frame Metadata disabled message pop up in the top corner of the Viewer window like in the image below?
If you do have this pop-up box then left-clicking the Enable button on it should enable hardware metadata support for your SR300.
If you do not see the message then unplugging the camera and then plugging it into a different USB port on the computer if you have a spare port may trigger it (it can be either a USB 3 or USB 2 port).
Metadata support can also be enabled by editing the Windows registry, though I would not recommend this unless you have knowledge of registry editing as it could break your Windows OS otherwise.
https://dev.intelrealsense.com/docs/compiling-librealsense-for-windows-guide#enabling-metadata-on-windows
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

I have commented above. Thanks!

thank you for answering my questions,and sorry to bother.
it failed again...
------------------ Original ------------------
From: @.>;
Send time: Wednesday, Nov 9, 2022 9:01 PM
@.>;
@.>; @.>;
Subject:  Re: [IntelRealSense/librealsense] SR300 Depth stream "no frames received" (Issue #11079)
Since 2017 the Depth Camera Manager driver installation program is not required for computers with an internet connection as the camera can download and install the drivers automatically from the internet when it is plugged into the USB port.
If you are not receiving a depth stream with the SR300 after enabling it then the USB port may be providing the camera with insufficient power to start the depth stream.  This is a known issue with the SR300 model.  You can test whether your camera has a USB power issue by going to Stereo Module > Controls in the Viewer before enabling the stream and setting the Laser Power slider to zero, then enabling the depth stream.  If the depth stream is able to start with Laser Power set to zero but then disables if you increase Laser Power, the problem is likely related to insufficient power provided by the USB port.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

If you are able to enable the infrared stream then your drivers are likely installed correctly, as if there was a driver problem then only the RGB stream would be working.
I note from the title of this case that you are receiving the No Frames Received error.  This suggests to me that the depth stream is enabling and running but it is not receiving depth data.
How is the camera connected to your computer?  Are you plugging the camera directly into a USB 3 port on the computer?  The SR300 requires a USB 3 port.

it is a usb 3 port of my laptop,i tried on other two desktop pc still the same problem.dose that mean this device has something wrong.发自我的手机-------- 原始邮件 --------发件人： MartyG-RealSense @.>日期： 2022年11月9日周三 晚上9:28收件人： IntelRealSense/librealsense @.>抄送： Leonswilly @.>, Mention @.>主    题： Re: [IntelRealSense/librealsense] SR300 Depth stream "no frames received" (Issue #11079)
If you are able to enable the infrared stream then your drivers are likely installed correctly, as if there was a driver problem then only the RGB stream would be working.
I note from the title of this case that you are receiving the No Frames Received error.  This suggests to me that the depth stream is enabling and running but it is not receiving depth data.
How is the camera connected to your computer?  Are you plugging the camera directly into a USB 3 port on the computer?  The SR300 requires a USB 3 port.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

What happens if you go to the 'More' option near the top of the RealSense Viewer's options side-panel and select the 'Check for Updates' option from its drop-down menu to see whether the camera firmware is able to be updated?

If using 'Check for Updates' does not work for you and you wish to try the 'Depth Camera Manager' driver installation program for SR300 then it can be downloaded from the link below.
https://www.intel.com/content/www/us/en/products/sku/92329/intel-realsense-camera-sr300/downloads.html

Hi @Leonswilly  Do you require further assistance with this case, please?  Thanks!

the dealer sent me another one could be arriving today. waiting to test it.发自我的手机-------- 原始邮件 --------发件人： MartyG-RealSense @.>日期： 2022年11月16日周三 傍晚5:07收件人： IntelRealSense/librealsense @.>抄送： Leonswilly @.>, Mention @.>主    题： Re: [IntelRealSense/librealsense] SR300 Depth stream "no frames received" (Issue #11079)
Hi @Leonswilly  Do you require further assistance with this case, please?  Thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Thanks very much for the update.  Please do let me know how the replacement works after you have tested it.

It worked.Thank's for helping.Have a good day!
------------------ Original ------------------
From: @.>;
Send time: Thursday, Nov 17, 2022 3:50 PM
@.>;
@.>; @.>;
Subject:  Re: [IntelRealSense/librealsense] SR300 Depth stream "no frames received" (Issue #11079)
Thanks very much for the update.  Please do let me know how the replacement works after you have tested it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

It's excellent to hear that your replacement worked.  As it works, I will close this case.  Thanks very much for the update!


fix(binder): (Preview) castability check between array and string

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?

The automatic casts to string types are treated as assignment casts, while the automatic casts from string types are explicit-only.

https://www.postgresql.org/docs/14/sql-createcast.html#id-<IP_ADDRESS>.7.4
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
#4831

@nanderstabel Could you please explain the original logic with some examples?

@nanderstabel Could you please explain the original logic with some examples?

Originally I only added this arm to check for casting compatibility:
        (
            DataType::Varchar,
            DataType::List {
                datatype: target_elem,
            },
        ) => cast_ok(&DataType::Varchar, target_elem, allows),

In hindsight, I see now that it is unnecessary to continue to checking for casting compatibility here to the target_elem type.
The reason I added:
       (
           DataType::Varchar,
           DataType::List {
               datatype: target_elem,
           },
       ) if target_elem == &Box::new(DataType::Varchar) => true,

was because of this:
dev=> select arr::varchar[] from (values ('{1, 2, 3}')) as t(arr);
ERROR:  QueryError: Bind error: cannot cast type "varchar" to "varchar[]" in Explicit context

Not realizing that simply
(DataType::Varchar, DataType::List { datatype: _ }) => CastContext::Explicit <= allows,
would suffice for both match arms.

Thanks for the example. Shall we proceed with the new implement then? If yes, I will polish this PR with some tests.

Yes please proceed with your implementation, it's much cleaner!

btw this PR is related to this issue: #5063
It will fix casting Varchar to multidimensional List. You may want to wait for it to be merged (in a bit) before writing tests.


Upgrade to use GCC 10.x toolchain

@danc86 saw a significant performance improvement when using GCC 10.x toolchain.   We can update the docs to point to the newer version of the toolchain.

Link to relevant discussion with numbers here: https://github.com/google/CFU-Playground/pull/172#discussion_r672673739

Hi :
I got a problem after update to gcc 10.2.0 from sifive release.
In this release, it seems have no prebuild libstdc++.a for rv32im, which the march setting in CFU-Playground.
Could any one kindly to tell me which version could be used or change march setting to which architecture?
Many thanks.
BR, Akio

avg noticed this issue with the Sifive prebuilt 10.2 toolchain. He observed that the 10.1 release still had rv32im, so we could use that in the short term.

Hi, @danc86 :
Many thanks. downloading 10.1.0.
BR, Akio

We should probably move to our own custom built toolchains in conda -> https://github.com/hdl/conda-compilers

I've been experimenting with make-env (Conda) in CFU Playground, and currently the only issue is finding a Conda package for the GCC RISC-V toolchain that includes g++.   I've opened https://github.com/hdl/conda-compilers/issues/25 to request a package for GCC v10.1 including g++.

I've opened hdl/conda-compilers#25 to request a package for GCC v10.1 including g++.

This is something we should be able to do ASAP. @PiotrZierhoffer - Who should look into this?

I created https://github.com/hdl/conda-compilers/pull/26 to kick this off


Fix bug on Sets

Set were only setting to true. Changed to accept arguments.
set default values on variables rather than in constructor.

Typically assignment of local variables are done in the constructor IF they are input params as a part of the constructor. So, if the constructor doesn't have these params then just assign the default value at declaration time.

Ugh - my code has diverged too much. I will pull this in by hand.

Fixed: https://github.com/drudru/ansi_up/commit/5571f5008b9c9c77e85f17c672ac602f76e299a4


chore: update seaweedfs images

Automated changes by the image-deps-updater GitHub action

Merging into a branch.


Consider adding gia to bioconda?

Hi @noamteyssier,
I have been enjoying using gia! Any plans to add it to bioconda? I use it in several pipelines and conda is helpful in solving dependencies a little easier.
Cheers,
Mitchell

Hey Mitchell,
I'm glad you've been using it! I haven't really considered it since I don't use conda much. But If you think that this would make it easier to use and distribute I wouldn't mind looking into that.

Hi @noamteyssier,
I have built the bioconda recipe, and I am working on getting it to build, which I don't think will be too hard.
https://github.com/bioconda/bioconda-recipes/pull/49361
In the future bioconda should be able to automatically make PRs for new releases as long as the releases have tags with the format X.X.X where X is a number.
Specifically, it is checking for URLs at:
https://github.com/noamteyssier/gia/archive/{{ version }}.tar.gz

which should be autogenerated on releases.
Cheers,
Mitchell
PS If merged, the version reported on bioconda will be 0.2 and not 0.2.20 because the tag for the release of 0.2.20 was 0.2 and not 0.2.20.

Merged into bioconda. Feel free to close.

Hey Mitchell,
Thanks so much for doing this!
I appreciate you taking the initiative to set it up on bioconda.
Cheers,
Noam

Of course (I did it for myself).
I saw with your recent release, you used the tag v0.2.23, which wasn't detected by bioconda because I set it up to look for X.X.X vs vX.X.X (because it was just 0.2 in the previous release).
I can set it up, either way, going forward, but it would be nice to keep a consistent format for the release tag so that bioconda will find it without me needing to open PRs.
Do you know if you intend to use X.X.X or vX.X.X going forward?

Ah okay, I think let’s use the x.x.x style and I’ll just re release it without the v.

awesome, thanks!


[BUG]Volume should be Unknown if the attached node is down

Describe the bug
As we discussed in #1355 and #1366, it's better to mark the volume as Unknown if the attached node is down.
To Reproduce
Steps to reproduce the behavior:

Create and attach a volume.
Power off the related VM of the attached node.
Wait for the Longhorn node down
Check the volume health state, it's still Healthy

Expected behavior
The volume should be Unknown after the node down
Environment:

Longhorn version: v1.0.0
Kubernetes version: v1.17

Additional context
Add any other context about the problem here.

We may need a special icon for the volumes on the down nodes.
The basic idea/draft design for the UI part (this part may get updated  later):

Add an icon for the volume if the volume.state == attached && volume.robustness == unknown
Add hover for the icon to inform the users: The volume attached node may be down.

Pre-merged Checklist

[x] Does the PR include the explanation for the fix or the feature?

[ ] Is the backend code merged?
The PR is at https://github.com/longhorn/longhorn-manager/pull/595

[x] Is the reproduce steps/test steps documented?
The test steps are the same as the reproduce steps.

[x] If the fix introduces the code for backward compatibility Has a separate issue been filed with the label release/obsolete-compatibility?

[ ] If labeled: area/ui Has the UI issue filed or ready to be merged?
The UI issue/PR is at

[x] if labeled: require/doc Has the necessary document PR submitted or merged?

[x] If labeled: require/automation-e2e Has the end-to-end test plan been merged? Have QAs agreed on the automation test case?

[x] if labeled: require/automation-engine Has the engine integration test been merged?

[x]~~ if labeled: require/manual-test-plan Has the manual test plan been documented?~~

##Additional Checklist:

[ ] check regression Need to check the node down cases for regular volumes. (We can check DR volumes in #1366 and restore volumes in #1355)
[ ] check negative test plan May need to check the node down tests.

@yasker Can you check what we need to do for the UI part?

@shuo-wu what's your opinion?

I had put my idea in the above comment. I am not sure if we need to so many special icons for volumes.

I had put my idea in the above comment. I am not sure if we need to so many special icons for volumes.

Sorry, missed that part.
In fact we should know almost for sure if the attached node is down or not? Can we reflect that information in the UI as well? We can either have UI retrieve the node information or add it as a condition etc in the volume to indicate problem with the attached node.

Yeah. We can check the attached node if the volume becomes Unknown.
But what if the node is running and the volume is Unknown? (Maybe temporarily Unknown. I am not sure if there is such a weird case.) How about showing the message Longhorn is updating the volume for this case?

Regarding Add an icon for the volume if the volume.state == attached && volume.robustness == unknown, it can happen in the normal procedure. When the volume is just attached and the engine wasn't updated yet, this condition will be satisfied as well. So we need to use the node condition as well.
Longhorn is updating the volume is too generic. Previous if the volume is attached but robustness unknown, I think we will just show the volume as attached.
I am still debating if we should add a condition to the volume to show the attached node condition. Maybe we can do that later. For now, we can use the combination of the node condition and the volume robustness unknown as well as attached to decide when to show the warning sign.

OK. I have updated the UI design.

The UI fix LGTM except for the volume detail page.
I think we can show the same icon and tooltips in the volume detail page. @smallteeths
The tests for the UI part:
Test1:

Create and attach a volume.
Power off the attached node.
Wait for the UI showing the icon then check the tooltips.
Power on the node.
Wait for the icon disappearing and the volume reattaching.

Test2:

Create and attach a volume.
Delete the related instance manager pod.
There is no node down icon and the tooltips for the volume.
Wait for the volume reattaching. Then the volume becomes Healthy.

Verified on master - 07-01-2020
UI shows the icon that node is down.

But I observed issue regarding volume getting stuck in attaching/detaching state.
Steps to repro:

Create a volume and attach to a pod. (In my set up vol-2 got attached to khush-test-wk1)

Restore a backup. (vol-restore-4 restore started on khush-test-wk2)

While restore was in progress, disconnect the network of the attached node for 100. (In my set up I disconnected khush-test-wk2 and khush-test-wk3 using script
network_down.sh.zip)

Volume from step 1 got stuck in detaching state and step 2 got stuck in attaching state.

Create a new volume vol-3. (All the nodes are up at this point of time)

vol-3 also got stuck in detaching state.

logs:
longhorn-support-bundle_63d5b4f2-ebc5-4af5-a71e-b2251f7684f1_2020-07-01T19-36-16Z.zip
Note:
Timing of all these activity is of around UTC 19:25:00 onwards.

@khushboo-rancher You meant the validation failed? Can you add the validation result in bold font at the beginning of the comment?

The issue of the reopen is due to #1545

Verified on Master - 07-10-2020
Validation - Passed
The attached node goes shows The attached Node is down when the node is powered off/disconnected.
Once the node is powered on, the state becomes healthy.


cmd/compile: don't encode safemode bit in binary export format anymore

The safemode bit is now in the file header. Space for the flag is still present but ignored (see bimport.go, bexport.go). Remove the encoding altogether.

What's the rationale for leaving the safemode bit in 1.7's binary encoding?  Just don't want to have to update go/internal/gcimporter and x/tools/go/gcimporter15 again?

Yes - minimal change.
Fine to rip out with some larger change, but when we do that, there's a few
more cleanups that I want to do. Also, updating builtin.go is always a bit
tricky since we need to read it (old format) and then write it (new
format), and then update the compiler to read the new format.

gri

On Fri, May 20, 2016 at 2:48 PM, Matthew Dempsky<EMAIL_ADDRESS>wrote:

What's the rationale for leaving the safemode bit in 1.7's binary
encoding? Just don't want to have to update go/internal/gcimporter
https://goto.google.com/internal/gcimporter and x/tools/go/gcimporter15
again?
—
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/15772#issuecomment-220726408


Adding eigenvalues for observables

Context:
In certain cases, it would be beneficial to have the eigenvalues of observables for example when carrying out classical post-processing for sampling.
Description of the Change:
Adding the eigenvalues for classes that inherit from Observables and Tensor. Also adding the diagonalizing_gates  method for  Hermitian. The eigenvalues are returned similar to how PennyLane-Qiskit returns eigenvalues.
Benefits:
The eigenvalues can now be retrieved conveniently for observables.
Possible Drawbacks:
N/A
Related GitHub Issues:
N/A

By the way, don't forget to update the changelog!


Dialogue portrait JSON files

JSON files for dialogue portraits
Where do you put the JSON files for custom dialogue portraits? I can't seem to find a place to put them.

images/dialogue

thx


Implement eq magic method for LogParser class

This will allow for comparison of two LogParser objects.

Also strip duplicate lines from sample log file. If necessary, explore getting another log file for testing.


Great Product - How do I enable copy to clipboard

copy to clipboard greyed over

it uses Flash; your browser probably doesn't support Flash or blocks it.


javaobj blocks 2.6 backwards compat

Lately I've been working on docs and testing, and in adding tox I discovered the extent of our backwards incompatibility. As of now, I've got pyjks locally python2.6 syntax-compatible (and will commit the changes shortly), but I discovered that javaobj is Python 2.7+ only.
Given the relatively small extent of javaobj usage last I checked, we had discussed maybe switching to a simpler dependency, even an internal util, that covered just the cases we needed.
Other options include making javaobj 2.6 compatible, or (the easiest) making pyjks 2.7+ only.

I'd prefer to try and make javaobj-py3 2.6-compatible, because I know there are people still stuck on Python 2.6 (RHEL6 is a common case) . I had a quick look and it seems like it should be just a couple of lines that need a syntax change, will submit a PR soon.

@voetsjoeba thank you for looking at this. I, too, know some folks stuck on 2.6. Time has really gotten away from me lately, but I'll be here to review + merge + rerelease. :)

For the moment it seems javaobj-py3 is actually 2.6 backward-compatible, at least for our test suite. I tested versions 0.2.1 (released in 2016) and 0.2.4 (released Jan 2018), both passed the suite fine. So, thanks as usual @voetsjoeba, looks like whatever you submitted did the trick! :)


feature/improve server side streaming support

currently gyremock has some issues when mocking server side streaming responses.
the current example might not be correct:
message TransactionResponse {
  uint64 id = 1;
  // other fields
}
message SearchTransactionResponse {
  repeated TransactionResponse transactions = 1;
}
service WalletService {
  rpc searchTransaction (SearchTransactionRequest) returns (stream SearchTransactionResponse) {}
}

usually we do not use streaming API in this way, but may like:
rpc searchTransaction (SearchTransactionRequest) returns (stream TransactionResponse) {}

or
// just a simple wrapper
message SearchTransactionResponse {
  TransactionResponse transactions = 1; // single item here
}
rpc searchTransaction (SearchTransactionRequest) returns (stream SearchTransactionResponse) {}

so we should support Arrays in the mock JSON file instead of Objects.
this pr is to add supporting for Arrays in the mock JSON file, and keep the back compatibility for the old ones.

update the version in build.sbt


feat: Disable signup and login button.

Fixes #594
Changes: Disabled login and signup buttons until all inputs are correct. Also made confirmpassword in signup red when confirmpassword is not same as password entered.
Screenshots for the change:

They are displayed when you start editing fields so as to show the user why the button is disable.
If you want, I can remove them.

They are displayed when you start editing fields so as to show the user why the button is disable.
If you want, I can remove them.

Yes, error messages for the empty section should remove. And please optimize your code.

They are displayed when you start editing fields so as to show the user why the button is disable.
If you want, I can remove them.

Yes, error messages for the empty section should remove. And please optimize your code.

Working on it.

@iamareebjamal please review.

Ask your peers to review first

@liveHarshit please review

no

Okay

Done

    private fun hasErrors(email: String?, password: String?): Boolean {
        if (email.isNullOrEmpty() || password.isNullOrEmpty()) {
            mutableError.value = "Email or Password cannot be empty!"
            return true
        } else if (!Patterns.EMAIL_ADDRESS.matcher(email).matches()) {
            mutableError.value = "Invalid email address!"
            return true
        }
        return false
    }

Why this empty check in view model?

This was there from before, now we don't need to do these checks. Should I remove them from view models of both login and sign-up fragment?

They are displayed when you start editing fields so as to show the user why the button is disable.
If you want, I can remove them.

Yes, error messages for the empty section should remove. And please optimize your code.

We have already discussed.

Resolved


JavaScript playground (in-browser) infinite loop handling

If I run a script using the in-browser JavaScript playground that results in an infinite loop the page blocks.
while(true){}

I think this is run on the main event loop so the page then becomes unresponsive, if someone is editing an example and accidentally does this (eg makes end condition on their loop incorrect) having the page freeze is not a nice user experience.
Running on the main event loop is easy and works as most people expect, but I wonder if it should run on a web worker instead?
https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API

Sure, I'll give it a try later.

Web workers have no access to the DOM, so I decided not to use them. A simple page refresh solves the infinite loop problem, so I'll leave the current implementation in place for now.


Dependency of cordova-plugin-compat

With the latest update the cordova-plugin-compat has been deprecated. It got integrated into<EMAIL_ADDRESS>For this reason I would like to suggest to remove the dependency for the QR scanner as well.

Yes, please remove it. It prevents me from packaging on Ionic Pro at the moment. Thanks.

Did something change recently with Cordova or Phone Gap? I had a QR scanner in  my app that now just doesn't load. Scrambling to debug or revert to a prior build.

I think it was a syntax problem on my end. I've had it working for months now.  Thanks tho!

🎉


Anchore v 1.0.0 docker compose installation gives error

Is this a request for help?:

Is this a BUG REPORT or a FEATURE REQUEST? (choose one):

Version of Anchore Engine and Anchore CLI if applicable:
v1.0.0
What happened:
Policy engine exits on startup
docker-compose up
Creating network "anchore_default" with the default driver
Creating volume "anchore_anchore-db-volume" with default driver
Creating anchore_db_1 ... done
Creating anchore_catalog_1 ... done
Creating anchore_api_1           ... done
Creating anchore_analyzer_1      ... done
Creating anchore_policy-engine_1 ... done
Creating anchore_queue_1         ... done
Attaching to anchore_db_1, anchore_catalog_1, anchore_api_1, anchore_analyzer_1, anchore_policy-engine_1, anchore_queue_1
db_1             | The files belonging to this database system will be owned by user "postgres".
db_1             | This user must also own the server process.
db_1             |
db_1             | The database cluster will be initialized with locale "en_US.utf8".
db_1             | The default database encoding has accordingly been set to "UTF8".
db_1             | The default text search configuration will be set to "english".
db_1             |
db_1             | Data page checksums are disabled.
db_1             |
db_1             | fixing permissions on existing directory /var/lib/postgresql/data ... ok
db_1             | creating subdirectories ... ok
db_1             | selecting default max_connections ... 100
db_1             | selecting default shared_buffers ... 128MB
db_1             | selecting default timezone ... Etc/UTC
db_1             | selecting dynamic shared memory implementation ... posix
db_1             | creating configuration files ... ok
db_1             | running bootstrap script ... ok
db_1             | performing post-bootstrap initialization ... ok
db_1             | syncing data to disk ... ok
db_1             |
db_1             | Success. You can now start the database server using:
db_1             |
db_1             |     pg_ctl -D /var/lib/postgresql/data -l logfile start
db_1             |
db_1             |
db_1             | WARNING: enabling "trust" authentication for local connections
db_1             | You can change this by editing pg_hba.conf or using the option -A, or
db_1             | --auth-local and --auth-host, the next time you run initdb.
db_1             | waiting for server to start....LOG:  database system was shut down at 2021-10-05 06:24:27 UTC
db_1             | LOG:  MultiXact member wraparound protections are now enabled
db_1             | LOG:  database system is ready to accept connections
db_1             | LOG:  autovacuum launcher started
db_1             |  done
db_1             | server started
db_1             |
db_1             | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
db_1             |
db_1             | waiting for server to shut down...LOG:  received fast shutdown request
db_1             | LOG:  aborting any active transactions
db_1             | LOG:  autovacuum launcher shutting down
db_1             | .LOG:  shutting down
db_1             | LOG:  database system is shut down
db_1             |  done
db_1             | server stopped
db_1             |
db_1             | PostgreSQL init process complete; ready for start up.
db_1             |
db_1             | LOG:  database system was shut down at 2021-10-05 06:24:28 UTC
db_1             | LOG:  MultiXact member wraparound protections are now enabled
db_1             | LOG:  autovacuum launcher started
db_1             | LOG:  database system is ready to accept connections
db_1             | ERROR:  relation "anchore" does not exist at character 355
db_1             | STATEMENT:  SELECT anchore.service_version AS anchore_service_version, anchore.db_version AS anchore_db_version, anchore.created_at AS anchore_created_at, anchore.last_updated AS anchore_last_updated, anchore.record_state_key AS anchore_record_state_key, anchore.record_state_val AS anchore_record_state_val, anchore.scanner_version AS anchore_scanner_version
db_1             |      FROM anchore
db_1             |       LIMIT 1
db_1             | ERROR:  relation "anchore" does not exist at character 355
db_1             | STATEMENT:  SELECT anchore.service_version AS anchore_service_version, anchore.db_version AS anchore_db_version, anchore.created_at AS anchore_created_at, anchore.last_updated AS anchore_last_updated, anchore.record_state_key AS anchore_record_state_key, anchore.record_state_val AS anchore_record_state_val, anchore.scanner_version AS anchore_scanner_version
db_1             |      FROM anchore
db_1             |       LIMIT 1
db_1             | ERROR:  relation "anchore" does not exist at character 355
db_1             | STATEMENT:  SELECT anchore.service_version AS anchore_service_version, anchore.db_version AS anchore_db_version, anchore.created_at AS anchore_created_at, anchore.last_updated AS anchore_last_updated, anchore.record_state_key AS anchore_record_state_key, anchore.record_state_val AS anchore_record_state_val, anchore.scanner_version AS anchore_scanner_version
db_1             |      FROM anchore
db_1             |       LIMIT 1
db_1             | ERROR:  relation "anchore" does not exist at character 355
db_1             | STATEMENT:  SELECT anchore.service_version AS anchore_service_version, anchore.db_version AS anchore_db_version, anchore.created_at AS anchore_created_at, anchore.last_updated AS anchore_last_updated, anchore.record_state_key AS anchore_record_state_key, anchore.record_state_val AS anchore_record_state_val, anchore.scanner_version AS anchore_scanner_version
db_1             |      FROM anchore
db_1             |       LIMIT 1
db_1             | ERROR:  relation "anchore" does not exist at character 355
db_1             | STATEMENT:  SELECT anchore.service_version AS anchore_service_version, anchore.db_version AS anchore_db_version, anchore.created_at AS anchore_created_at, anchore.last_updated AS anchore_last_updated, anchore.record_state_key AS anchore_record_state_key, anchore.record_state_val AS anchore_record_state_val, anchore.scanner_version AS anchore_scanner_version
db_1             |      FROM anchore
db_1             |       LIMIT 1
policy-engine_1  | /usr/local/lib/python3.8/site-packages/yosai/core/conf/yosaisettings.py:100: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
policy-engine_1  |   config = yaml.load(stream)
policy-engine_1  | Traceback (most recent call last):
policy-engine_1  |   File "/usr/local/lib/python3.8/site-packages/anchore_engine/services/policy_engine/init.py", line 113, in process_preflight
policy-engine_1  |     fn()
policy-engine_1  |   File "/usr/local/lib/python3.8/site-packages/anchore_engine/services/policy_engine/init.py", line 199, in init_vulnerabilities_provider
policy-engine_1  |     get_vulnerabilities_provider()
policy-engine_1  |   File "/usr/local/lib/python3.8/site-packages/anchore_engine/services/policy_engine/engine/vulns/providers.py", line 1631, in get_vulnerabilities_provider
policy-engine_1  |     set_provider()
policy-engine_1  |   File "/usr/local/lib/python3.8/site-packages/anchore_engine/services/policy_engine/engine/vulns/providers.py", line 1610, in set_provider
policy-engine_1  |     raise ValueError(
policy-engine_1  | ValueError: No vulnerabilities->provider found in the policy-engine configuration, set the provider in your helm chart or docker-compose.yaml
policy-engine_1  | Creating DB Tables
policy-engine_1  | DB Tables created
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] Loading DB routines from module (anchore_engine)
policy-engine_1  | [MainThread] [anchore_manager.util.db/connect_database()] [INFO] DB params: {"db_connect_args": {"connect_timeout": 86400}, "db_pool_size": 30, "db_pool_max_overflow": 100, "db_echo": false, "db_engine_args": null}
policy-engine_1  | [MainThread] [anchore_manager.util.db/connect_database()] [INFO] DB connection configured: True
policy-engine_1  | [MainThread] [anchore_manager.util.db/connect_database()] [INFO] DB attempting to connect...
policy-engine_1  | [MainThread] [anchore_manager.util.db/connect_database()] [INFO] DB connected: True
policy-engine_1  | [MainThread] [anchore_manager.util.db/init_database()] [INFO] DB compatibility check: running...
policy-engine_1  | [MainThread] [anchore_manager.util.db/init_database()] [INFO] DB compatibility check success
policy-engine_1  | [MainThread] [anchore_engine.db.entities.upgrade/get_versions()] [INFO] anchore table not found
policy-engine_1  | [MainThread] [anchore_manager.util.db/init_database()] [INFO] DB not initialized: initializing tables...
policy-engine_1  | [MainThread] [anchore_manager.util.db/init_database()] [INFO] DB post actions: running...
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] DB version and code version in sync.
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] Starting services: ['anchore-policy-engine']
policy-engine_1  | [MainThread] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-policy-engine) pid from pidfile (/var/run/anchore/anchore-policy-engine.pid)
policy-engine_1  | [anchore-policy-engine] [anchore_manager.cli.service/startup_service()] [INFO] cleaning up service: anchore-policy-engine
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] waiting for service pidfile /var/run/anchore/anchore-policy-engine.pid to exist 0/30
policy-engine_1  | [anchore-policy-engine] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-policy-engine) pid from pidfile (/var/run/anchore/anchore-policy-engine.pid)
policy-engine_1  | [anchore-policy-engine] [anchore_manager.cli.service/startup_service()] [INFO] starting service: anchore-policy-engine
policy-engine_1  | [anchore-policy-engine] [anchore_manager.cli.service/startup_service()] [INFO]        /usr/local/bin/twistd --logger=anchore_engine.subsys.twistd_logger.logger --pidfile /var/run/anchore/anchore-policy-engine.pid -n anchore-policy-engine --config /config
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] waiting for service pidfile /var/run/anchore/anchore-policy-engine.pid to exist 1/30
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] waiting for service pidfile /var/run/anchore/anchore-policy-engine.pid to exist 2/30
policy-engine_1  | Traceback (most recent call last):
policy-engine_1  |   File "/usr/local/lib/python3.8/site-packages/anchore_manager/cli/service.py", line 200, in startup_service
policy-engine_1  |     raise Exception("process exited: " + str(rc))
policy-engine_1  | Exception: process exited: 1
policy-engine_1  | [anchore-policy-engine] [anchore_manager.cli.service/startup_service()] [ERROR] service process exited at (Tue Oct  5 06:24:32 2021): process exited: 1
policy-engine_1  | [anchore-policy-engine] [anchore_manager.cli.service/startup_service()] [FATAL] Could not start service due to: process exited: 1
policy-engine_1  | [anchore-policy-engine] [anchore_manager.cli.service/startup_service()] [INFO] exiting service thread
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] waiting for service pidfile /var/run/anchore/anchore-policy-engine.pid to exist 3/30
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] service thread has stopped anchore-policy-engine
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] auto_restart_services setting: False
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [INFO] checking for startup failure pidfile=False, is_alive=False
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [WARN] service start failed - exception: service thread for (anchore-policy-engine) failed to start
policy-engine_1  | [MainThread] [anchore_manager.cli.service/start()] [FATAL] one or more services failed to start. cleanly terminating the others
policy-engine_1  | [MainThread] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-policy-engine) pid from pidfile (/var/run/anchore/anchore-policy-engine.pid)
anchore_policy-engine_1 exited with code 1
What did you expect to happen:

Any relevant log output from /var/log/anchore:
What docker images are you using:
How to reproduce the issue:
Anything else we need to know:

@navzen2000 Please set the ANCHORE_VULNERABILITIES_PROVIDER env variable in the policy-engine section of your docker-compose file. This can be set to legacy to use the previous, legacy scanner, or grype to use our new next-gen vulnerability scanner.


Allow overriding deployment type when using --template

If -t, --type is specified while -T, --template is
specified, genesis will override the .deployment file found
in the upstream templates with the one specified via -t.
If not, it will use what was found upstream.
Fixes #21

This will be addressed through #24, #25, #26


Add BACnet test and extend port scan

Scans all TCP ports and adds an extra nmap test to cover the BACnet port scan. The intention is for the bacnet test to not actually run, as it is not included in any of the test packs. This is dependent on #956 but will work without it.

I ran 3 full tests with 5 minutes monitoring time.

TCP SCAN 1 DURATION - 5:00
Nov 11 09:32:15 test_services INFO    Running nmap TCP port scan
Nov 11 09:37:15 test_services INFO    TCP port scan complete
TEST 1 DURATION 17:32
Nov 11 09:26:21 api      DEBUG   Received start command
Nov 11 09:43:53 test_orc INFO    All tests complete

TEST 2 DURATION 18:44
Nov 11 09:54:31 api      DEBUG   Received start command
Nov 11 10:13:15 test_orc INFO    All tests complete
TCP SCAN 2 DURATION - 4:58
Nov 11 10:00:18 test_services INFO    Running nmap TCP port scan
Nov 11 10:05:16 test_services INFO    TCP port scan complete

TCP SCAN 3 DURATION - 4:34
Nov 11 10:33:05 test_services INFO    Running nmap TCP port scan
Nov 11 10:37:39 test_services INFO    TCP port scan complete
TEST 3 DURATION 18:36
Nov 11 10:27:19 api      DEBUG   Received start command
Nov 11 10:45:55 test_orc INFO    All tests complete

@jhughesbiot Could you try running this on some devices that you might have to get an average time for port scanning?

@jhughesbiot Could you try running this on some devices that you might have to get an average time for port scanning?

I have now run this on 3 different devices and all appear to complete within 5 minutes so I think our current timeout of 900 should be sufficient.  Can't account for every device that may require a longer scan period but we have other ways to configure for those scenarios so I'm good with this.


[Go SDK] Resolve testcontainer dependency upgrade

Resolves the issue due to testcontainer dependency upgrade at #23821

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.


[Enhancement] Docker Hub integration

Description
As a product owner, I want to provide container images on Docker Hub, too. Therefore we need to have a properly setup integration and docker hub organization.
Criteria

organization created and linked (mail from @dschier-wtd)
test container repository created and tested
build is either done via ci/cd (see #11) or in Docker itself

Additional information

https://docs.docker.com/docker-hub/builds/link-source/

organization created, slack integration seems broken: https://hub.docker.com/u/whiletruedoio


Smoke test: git smoke test

git smoke test
[File Watcher (parcel)] Unexpected error: inotify_add_watch failed: No such file or directory (EUNKNOWN) (path: /tmp/tmp.LmnxCc3K5P)
[File Watcher (parcel)] restarting watcher after error: inotify_add_watch failed: No such file or directory
[4069:1109/052240.663851:INFO:CONSOLE(29)] "%c WARN color: #993 SharedProcess: createWorker found an existing worker that will be terminated (window: 1, moduleId: vs/platform/files/node/watcher/parcel/watcherApp)", source: vscode-file://vscode-app/__w/1/VSCode-linux-x64/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (29)
[4069:1109/052240.669782:INFO:CONSOLE(29)] "%c INFO color: #33f Worker process with pid 4198 terminated normally (type: watcherServiceParcelSharedProcess, window: 1).", source: vscode-file://vscode-app/__w/1/VSCode-linux-x64/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (29)
[4069:1109/052240.676925:INFO:CONSOLE(29)] "%c INFO color: #33f Starting worker process with pid 4235 (type: watcherServiceParcelSharedProcess, window: 1).", source: vscode-file://vscode-app/__w/1/VSCode-linux-x64/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (29)
RunAutomaticTasks: Trying to run tasks.
RunAutomaticTasks: Checking if automatic tasks should run.
Error while registering log channel file:///__w/1/s/.build/logs/integration-tests/renderer1.log Timed out while waiting for file to be created
    1) "before all" hook for "reflects working tree changes"
  23 passing (1m)
  1 failing
  1) git smoke test
       "before all" hook for "reflects working tree changes":
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/__w/1/s/extensions/git/out/test/smoke.test.js)
      at listOnTimeout (internal/timers.js:554:17)
      at processTimers (internal/timers.js:497:7)

These steps sometimes fail to succeed:
https://github.com/microsoft/vscode/blob/025fcaf6114e0e56f1975a5937c9f09ca7f0406f/extensions/git/src/test/smoke.test.ts#L42-L66
Specifically the line: await eventToPromise(git.onDidOpenRepository)
Since we first create all the files and then activate git, a repository should eventually open.

@bpasero Given that you have seen this locally and/or seen it in CI, what's the workbench state when this happens? Specifically, a screenshot would be awesome.

Oh this isn't Playright. It's the git smoke tests. Which are extension tests.

https://github.com/microsoft/vscode/issues/136348#issue-1043482531 is an interesting one because I see no error message from Parcel.


Add support for named strings as inlined map keys

There isn't a good reason why map[~string]T fields cannot be inlined, unlike map[string]T. This allows map[K]T fields, where K is a ~string type, to be inlined.

PTAL?

Closing this PR in favor of #83.


Display error type and location in the test failure message

This PR provides a few improvements:

adds #[track_caller] to ErrorWithStacktrace::from(). This allows the error location to be displayed in the test failure message, and not that of from(),
adds the error type name to the test failure message,
changes From<T: Error> to From<T: Display> to accept more error types, such as anyhow::Error that doesn't implement std::Error.
changes ErrorWithStacktrace to be an empty enum so that it cannot be instantiated (and consequently removed its Display implementation),
changes Error to error in the test failure message, to be consistent with other failure messages.

I actually developed this exact same feature independently, even using the name TestResult! (see blog post explaining it) and found this project when I considered publishing it to crates.io. This PR brings the differences of my implementation to testresult to make it even more useful!

I've updated the branch using a signed off commit, as requested by the DCO check.

adds #[track_caller] to ErrorWithStacktrace::from(). This allows the error location to be displayed in the test failure message, and not that of from(),
adds the error type name to the test failure message,

Very nice! :+1:

changes From<T: Error> to From<T: Display> to accept more error types, such as anyhow::Error that https://github.com/dtolnay/anyhow/issues/25.

Excellent change. I was wondering how to accomodate anyhow myself but didn't have enough time to make it work. :clap:

changes ErrorWithStacktrace to be an empty enum so that it cannot be instantiated (and consequently removed its Display implementation),

Sounds good.

changes Error to error in the test failure message, to be consistent with other failure messages.

Thanks!
Overall excellent PR, thanks a lot for all these fixes. I'll merge it and release a new version as soon as the CI is happy.
Have a nice day! :wave:

Thanks for the nice feedback! I forced-pushed with the squashed commit.
BTW, I also updated the description to link to a blog post I wrote about this fun trick. I'll updated it once the new version is released 😉

Okay, phew, it's done: https://crates.io/crates/testresult
Thanks again for cleaning up the API! I'm looking forward to the blog post (please share a link, since I couldn't find it :sweat_smile: ).

:thinking: I think we should've linked to your blogpost in the crate README since it's a nice long-form description of the problem...

Blog post updated! Thanks again for the quick review and release!


Let's get rid of deprecated django and python versions

https://www.djangoproject.com/download/

django 1.11
django 2.0
django 2.1
django 3.0
django 3.1

https://www.python.org/dev/peps/pep-0494/#id16

python 3.5
python 3.6

Then we should cut a major release once it's done

I volunteer to become maintainer for this project, if you are interested ?


Missing self.BLUE attr in DummyFore

Forgot to add this. :(

@Olimooseman it causes it to crash for me.

:/
That ain't good

You would simply need to add this line to the DummyFore class self.BLUE=''

Done! :)

Thanks!

Tell me what you think of the game XD

I will in a second.

Yay!

Woohoo! 👍

@Olimooseman It's pretty fun so far. Very cryptic though. 👍

Haha sorry about that... the developer was too lazy to add a complete tutorial...

Makes the game challenging though!

Well I'm off to find more glitches for ya. So going to close this issue for now.

kk :3