Pausing Question

Hi,
We're testing merlin_synthesis.py which reads a utts.data text file as input for speech generation. Question is, how can we insert pauses and/or silences via the utts.data file?
Thanks!

rolan1vc wrote:

We're testing merlin_synthesis.py which reads a utts.data text file as
input for speech generation. Question is, how can we insert pauses
and/or silences via the utts.data file?

inserting commas within a sentence will usually cause Festival to insert
a phrase break, with a silent pause
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

Thenk you @simonkingedinburgh!
It works, but is there a way to lengthen the pause? Or does it require us to change the training data and recordings?
Thanks again!

The pause duration is synthesized based on the context -- if you want to override the synthesized duration, you can do so with an external script (or manually) before running synthesis with acoustic model.

Related question, I am not sure if I asked this before. When you synthesize test sentences with silences at the beginning and end of the file, these are not synthesized. Is there an easy way to add a short silence to the beginning and end of a sentence in Merlin?

You have to set enforce_silence to True. This is automatically set to True when using test_*.conf files. For acoustic model, we intentionally set this to False, as we want MCD, RMSE metrics calculated without silence regions.

Thanks for the tip. However, when I try it, it seems I get some silence at the beginning but not at the end even though it is there in the label_state_align file. I just rerun the DNNGEN and GENWAV phases, or do I need to retrain the DNN as well? I wouldn't expect so.


Setting user values in the report

Hello,
I am having a hard time trying to populate some extra information into the BugSnag report. I have a Laravel 5.2 app running the latest bugsnag-laravel.
From the docs it says by default if the user is logged in, then the id will be included. I have tested this and I always just get the IP.
I am trying to set the id and also a company id. In my AppServiceProvider in the boot method I added
        \Bugsnag::registerCallback(function ($report) {
            $report->setMetaData([
                'user' => [
                    'company_id' => \Session::get('company_id'),
                ]
            ]);
        });

and I am getting a null value.
If I do
        \Bugsnag::registerCallback(function ($report) {
            dd(\Session::all());
        });

then I get back []
I've also tried app\Exceptions\Handler.php in the report method. Same deal. It's almost like it's sending bugs before the middleware is firing / session starts.
To trigger a bug I am renaming a controller.

and I am getting a null value.

Right, that's due to the fact that the session is not loaded yet in Laravel surely? Unrelated to Bugsnag?

If you move the session middleware off the routing layer over to the global layer, it'll get executed before routing happens so you should get the information on the reports.

@GrahamCampbell
Thanks for the reply.
We also run an API on some rotues, so global probably wouldn't be ideal.
What if in the registerCallback function we started the session if it wasn't started already... ?

Then we'd try to start it on your API requests and cause Laravel to send back a session though.

I don't think it's Bugsnag's place to interfere with your app quite that much.

You could always forcefully start it yourself if you wanted, within your callback.

Thanks Graham.
Turns out I don't need to make any changes with most of the issues since they happen after the session is started so I get the data. I was just testing on bugs very high up.
Thanks for the replies.


Error After transaction

Hi!
After completing a transaction the app stop in "updating unassigned" and does does not work anymore. Everytime i need close the app and open again to reset every proccess

Another problem is that I can not do anything if I do not go through the tutorial

Sorry for my english

Do you have someone in your transfer list or watchlist that isn't being tracked by the AB?
You should be able to click "skip" on the bottom left of the tutorial window.

Hello @hunterjm
Thanks for ur help
I will try

@hunterjm
Skip option worked
The problem in trade still continues
After the app solling Niang i received the message "updating tradepile..."
Then the application does nothing else

After

Perhaps you have the "BIN snipe only" activated?

Hi @Daves10
Now using this option and I have not had so many recurring errors
But sometimes I get error 401

Error 401 means "Unauthorized" and is usually due to multiple sessions being open for that account.  Are you logged in to the game or the web app at the same time you are trying to run the AB?

all right @hunterjm so true

@gmeireles, can this issue be closed?

Yes ;)


Adding TileMap layer switches to TileSet editor

Godot version
86dd3f3
System information
Windows 10 x64
Issue description

It appeared recently.
EDIT:
Also happens when removing.
EDIT2:
Probably related, but when you just opened the project and select a TileMap, the TileSet tab is active.
Steps to reproduce

Add TileMap
Edit it
Add layer
You are now editing TileSet

Minimal reproduction project
No response

This regressed between alpha 13 and 14. I tried to bisect it, but there were a couple of commits where the TileMap was crashing the editor and the bisect failed to give usable results.

Regression from #58361 lol
CC @SaracenOne


Allow to use crowbar batch for single proposals

by placing $PROPOSAL-batch.yaml files in a certain directory.
This allows to keep the flexibility of the default 'proposal' mechanism
while allowing for the power and complexity of the batch file
for certain parts of the configuration

Thanks for the improved version.
I'd have preferred you didn't dismiss my review in order to ensure that I get a chance to review the new version before merging.  There was some consensus in the team that that feature should only be used when the review is obsolete and the -1 reviewer is away for an extended period:
http://mailman.suse.de/mlarch/SuSE/cloud-devel/2016/cloud-devel.2016.10/msg00174.html
In this case even though the new version is an improvement, I still don't understand why it isn't trivially easy to pass scenariodir through mkcloud.config.  If we did that then the feature would also work for virtual clouds.  Am I missing something?

@aspiers are you ok with this?

I'd prefer to follow the YAGNI principle and not add it before we have a use-case for it.

It's the same use case whether it's physical or virtual - nothing in this PR is specific to physical clouds.

@aspiers are you ok with this?

Since I hardly ever develop on physical clouds, unfortunately this feature is mostly useless to me, and I suspect to a lot of the team.  So I still don't understand why we couldn't just go with my original suggestion of reusing $scenario_dir.  But I'm not going to stand in the way of it being merged, since it's still a small improvement on the status quo.


Remove Estimate Square Size

Summary
Instead of estimating the square size and then building the square in that square, you could build the square in MaxSquareSizeand then reduce the square until it is small enough.
One reduction of square size can happen if the square is only filled to 1/4th of the square. Then you can divide the row in half and iterate. The resulting square should still be a valid square. without changing the shares. The commitments, for example, are square size-independent, so they will not change. The index of the blobs, for example, will stay the same as well.
Here is an example of how a square of 16x16 might reduce to 4x4. The middle step can be skipped computationally and is only here for visualisation purposes.

Problem Definition

Code Reduction
The Validators do not need to know which square to build as they will deterministically pick the smallest one given an indexed list of txns

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Would it be possible to use some bisection method to approach the smallest square size?

I like the idea! estimateSquareSize is currently used to get the index of the start of non-reserved shares. Without this estimation, we encounter a feedback loop where: adding one more blob to the square => adds one more transaction to the reserved namespace => which pushes the nonreserved share start => which modifies the index in the shares already written to the reserved namespace.
https://github.com/celestiaorg/celestia-app/blob/5f8b39b4cb7ab0a9083b97f2a20cae7a2cc1a1c5/app/estimate_square_size.go#L11-L18

Would it be possible to use some bisection method to approach the smallest square size?

You can do that via a formula.
You need to know how many rows are filled. If the square is of size k and r rows are started, then you can reduce the block size by x.
x := log_4(RoundUpToTheNextPowerOf4( k / r )

Ok new idea to combat the feedback loop.
As I understand correctly, the problem lies in the fact that if you add a new PFB Transaction shares and Blob shares will move, and you will need to update all the indexes that follow those shares. Changing the initial inclusion.
To combat this, instead of saving the index, you could save the spacing to the next blob. Happy to change the name "spacing" for better context.
As I mentioned in ADR 13 in the first table, each range of blob sizes has a maximum possible padding that comes before it. In other words, each range shares the same index multiple where the blob starts. For context this index multiple is currently MinSquareSize.
Now having an ordered linked list of blobs will be sufficient to generate a valid square, as we can derive the structure from the length of the blobs.
The problem now is the function FitsInSquare as we don't know if the square is already full or not. Summing up all the indexes derived from the linked list will tell us if the block can be added.
The Feedback loop does not exist in this case, as we don't move any share index. We only reference the next blob.

If we constrain the amount of transactions by the block size and not square size, we know up front how many transactions there are and thus we just need to calculate what the lowest square size is that fits these transactions.
I'm still unsure what the best direction to take is though. If you constrain by block size then you could have a scenario where there are transactions that take up 1025 shares which means you need a square that is 64 x 64. This is 3071 worth of tail padding. It would be far more efficient then if the proposer was to remove the lowest valued transactions so there was 1024 or less of shares and it could fit in a 32x32 block

to add to the feeback loop issue, (more details in the non-interactive defaults ADR006), the original reason of picking a compact share start index when estimating was not just for the reasons Rootul mentioned, but also because of the rampant usage of varints by protobuf. when we try to add the share index after the fact, the number of bytes used depends on the index, so calculating an exact starting point requires recursively adjusting and recalculating share indexes (totally doable, just didn't include in the original PR https://github.com/celestiaorg/celestia-app/pull/1089)

One of the problems we have at the moment is that we haven't yet decided on the non-interactive defaults. What I mean by that is that there seems to be 2 or 3 current proposals for how the layout of the squares should be done

One of the problems we have at the moment is that we haven't yet decided on the non-interactive defaults. What I mean by that is that there seems to be 2 or 3 current proposals for how the layout of the squares should be done.

This must be a confusion as I did 4 Proposals in quick succession. Maybe we should add the Status at the top of the file.

ADR 008 Status accepted
ADR 009 Status accepted (current non-interactive default rules)
ADR 010 Status declined of the things core-app would be affected on
ADR 013 Status proposed

but also because of the rampant usage of varints by protobuf. when we try to add the share index after the fact, the number of bytes used depends on the index

Thinking out loud:
A varint can be of size between 1 and 10 bytes. Each byte can hold 7 bits of information, meaning you can fit in 2⁷ numbers.
2⁷ = 128. The biggest index currently is 128*128 = 2⁷ * 2⁷, which means we will at a maximum of 2 bytes for the index. If we increase the block size more, let's say three more times, we will have 2¹⁰ * 2¹⁰, which is 2²⁰ < 2²¹, so it will fit in 3 bytes of the varint.
Napkin math: let's say to have the biggest impact of varints in a block would be 1/2 half PFB txns and 1/2 1-sized blobs. Meaning we have 128 * 64 = 2¹³  possible varints bytes as one is the minimum. That in shares is 2¹³ / 512 = 2¹³ / 2⁹ = 2⁴ = 16 shares.
Hm, seems quite a bit to keep in reserve.
I think if we keep a reference from the blob to the pfb in the linked list, there is a way to overcome those 16 shares of reserve in an iterative way.

I think if we keep a reference from the blob to the pfb in the linked list, there is a way to overcome those 16 shares of reserve in an iterative way.

if I'm understanding correctly, I think we do this already when preparing the proposal. Mind elaborating how this is different from our "parsedTx" and "trackedBlob" structs here and here?

There is additional overhead in proto encoding than just the varint for the share index. For example, the bytes field in the IndexWrapper is length prefixed.


chore(DIST-779): Update READMEs and demos

:tada: This PR is included in version @typeform/embed-v1.10.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @typeform/embed-react-v1.0.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


increase write timeout for guard

We have been seeing stream Internal Errors in kube-apiserver for webhook authorizer requests to guard recently. On investigating we found out that it is because the write timeout in guard server is short  (10 secs) and it closes client connection whenever it takes longer than 10s calling to Azure to check access (which is taking more than 10 seconds )
Increasing the write timeout to handle this.
More on server timeouts: https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts/

@weinong , @krdhruva should we maybe parametrize the write timeout?

@Anumita , please run make fmt .

@tamalsaha could you review as well

@Anumita , please run make fmt .

done

@tamalsaha could you release this one as a patch as well? 😊

https://github.com/kubeguard/guard/releases/tag/v0.8.2

https://github.com/kubeguard/guard/releases/tag/v0.8.2

Thanks!


[feature] Add support for kotlin.Metadata parsing

Add support for more kotlin information that is left in the obfuscated code

parse kotlin.Metadata annotation
decode autogenerated toString from data class
auto rename simple getters

Proof of concept already done in this pull request
I would gladly improve it to a state where it can be merged, but like I mentioned in the PR, I have little knowledge about this projects flow, so I would appreciate contact at<EMAIL_ADDRESS>or discord Arsylk#8993

Implemented by @Arsylk in PR #1860


"_on_navigation_agent_3d_velocity_computed" signal never being emitted

Godot version
4.3 alpha
System information
macOS Monterey version 12.2 MacBook Pro (16-inch, 2019) Processor: 2.6 GHz 6-Core Intel Core i7 Memory: 16 GB 2667 MHz DDR4  Graphics: Intel UHD Graphics 630 1536 MB
Issue description
When I use the set_velocity() method on the NavMeshAgent3D the   "_on_navigation_agent_3d_velocity_computed" signal is never emitted.
Steps to reproduce
Used this video as a general guide:
https://www.youtube.com/watch?v=1c26NezEhmQ
A path is being computed and I am able to set a motion_velocity on the CharacterBody3D based off the get_next_location() method on the NavMeshAgent3D. When I use the set_velocity() method on the NavMeshAgent3D the   "_on_navigation_agent_3d_velocity_computed" signal is never emitted.
Minimal reproduction project
Archive.zip

This is working fine in my test project with the latest master branch (and has been working for at least the last month): https://github.com/DarkKilauea/godot-nav-link-demo/blob/master/character.gd
Double check your setup, it can be a little tricky to get right.

Yep. Your example works. I changes mine to more closely match yours and it works now. Thank you.
My issue is resolved.


Bring level up-to-date

Sorry for the never-ending PRs.
This (like the others) is meant to circumvent https://github.com/Level/leveldown/issues/455 by upgrading level to the most recent version. It passes npm test, but skepticism is warranted.
Thanks for putting up with me! :wink:

level-test also needs to be updated eventhough it's a dev dependency. building secure-scuttlebutt itself will break it

Do your tests cover usage of level-sublevel? Curious to know if that's compatible with latest level.

@vweevers Negative. I'm not very familiar with any of the Level components, so any/all expertise is very appreciated.

Looks like this waas taken care of in 78de3f624dd7718d606b66e95c1de35edd01327e, thanks!


createdTime has ambiguous appearances

This Issue arose on at least two occasions while working on CASE development.  It arose once a few weeks ago, while a group I was in was working on mapping concepts to existing definitions; and once as I was updating CASE's "Asgard" website example.
The property createdTime has two occurrences in UCO:

core:createdTime is a property of a UcoObject, and appears to be meant to record the time of the instantiation of the UcoObject by the data modeler.  That is, if the same subject data were analyzed by two different processes, one would expect this property to not match between data mappings into a UCO-based graph (barring miraculously synchronized clocks).
observable:createdTime is a property of many classes in the Observable namespace, and seems to be a representation of data (such as the file system "creation"/"birth" timestamp type).  That is, if the same subject data were analyzed by two different processes, one would expect this property to match between data mappings into a UCO-based graph.

These are quite different in conceptual and usage scope.  Namespacing and property-domain attachment alone were not enough to save that first group I was working with a few minutes scratching our heads at the difference.
I request at least that these two properties of matching names be related to one another, with usage explanations similar to what I provided above, with refinements to their documenting rdfs:comment strings.  I believe it would ultimately be better for the two properties to have different names.  I will be happy to write a change proposal on hearing how extensive a change the CASE and UCO communities would be comfortable with.

For reference, the Trace where I came across this today is on this page, under "Step 3", "Network Traffic".
https://caseontology.org/ontology/examples.html

Make case 1: instantiationTime (or something discriminatory).  Seems like different ‘things’ should have different names if they represent different concepts?
Patrick Maroney
On Apr 22, 2020, at 2:20 PM, Alex Nelson<EMAIL_ADDRESS>wrote:

For reference, the Trace where I came across this today is on this page, under "Step 3", "Network Traffic".
https://caseontology.org/ontology/examples.html
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

This is very frequently encountered in continuous monitoring. There are different "times" involved. When an event occurs, when it is logged, when it is read, when it is transferred, when it is modified,  when it is "instantiated" in an analytic system, etc.  In my opinion, there should be different property names for each unique concept.
namespaces are for protecting us from variable name collisions, not for disambiguation purposes, again, my opinion.

Covered under JIRA OC-54: https://unifiedcyberontology.atlassian.net/browse/OC-54
and CP-25: https://unifiedcyberontology.atlassian.net/wiki/spaces/OC/pages/1011318789/UCO+CP-25+Modify+definition+of+observable+createdTime+to+disambiguate+it+from+core+createdTime


Error during installation: process is killed

Hi! I'm trying to install football for a project. I'm using VMWare with Ubuntu 18.04 (4gb RAM, 2 cores processor and 30GB of disk space). When I run pip3 install .[tf_gpu] the process gets stuck in "running setup.py install for gfootball" and after a minute it gets killed and the OS restarts. Can someone tell me why is this happening? Or if football is compatible with VMWare virtual machine. Thanks for your help.

I think you may encounter out of memory in your VM. Just like #49 . Pls increase memory or reduce building thread number according to https://github.com/google-research/football/issues/49#issuecomment-517379712 .

Thanks for the response. Can you please tell me where should I put the -j parameter? After i put pip install I can not input anything.

Hey, I saw your comment in the other issue. I don't know if you managed to fix it but here is my answer.
One of the things the command pip install does in this case is building the gfootball environment. For doing that, it has to call the script build_game_engine.sh, which found in the folder gfootball from the root of the project.
On the line number 18 of that same file, you will find make -j between &&. (&& make -j &&). That line is executing various commands, but we're interested in make in particular. That -j is telling make to build gfootball with parallelism, so it creates various threads to handle the task. The thing is, if a number is not specified after -j then the command will create as many threads as it pleases, quickly consuming the available memory. So, to fix the issue, just add a reasonable number after -j.

Thanks for the response! That solved the issue :D

Fix was just pushed in v1.2 release.


Visualization methods

Create functions which will make interactive graphics in iJulia

Dependency on interact causes errors...

Closed with 654c5b7


Dependabot config

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[ ] The toolchain has been rebuilt successfully (or no changes were made to it)
[ ] The toolchain/worker package manifests are up-to-date
[ ] Any updated packages successfully build (or no packages were changed)
[ ] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[ ] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[ ] All package sources are available
[ ] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[ ] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[ ] All source files have up-to-date hashes in the *.signatures.json files
[ ] sudo make go-tidy-all and sudo make go-test-coverage pass
[ ] Documentation has been updated to match any changes to the build system
[ ] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Change Log

Change
Change
Change

Does this affect the toolchain?

YES/NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX

Test Methodology

Pipeline build id: xxxx

Yes! Dependabot! This is a great idea to look at :)
Some observations from my own experiences with dependabot:

A package update may sometimes force the consuming component onto a newer version of the language/runtime. I found this with Rust, in which case upgrading the command-line argument parser crate forced my app to a version newer than what Azure Linux supports. This should hopefully be mitigated by GitHub checks that verify the tools still build with the same fixed version of golang. Do we have that in place?

I've been experimenting with grouping updates, so multiple packages updated at the same time don't spawn a separate PR per package. This seemed particularly useful when using a less frequent update cadence (e.g., weekly or monthly). For reference, here's what I settled on for now for that project.


[BUGFIX] Remove mutable_args restriction in get_model API

Description
This commit removes the mutable_args restriction.
After this commit, any parameter can be overriden,
as long as the user sets the allow_override parameter
to True.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[x] Code is well-documented

cc @dmlc/gluon-nlp-team

@eric-haibin-lin When creating this PR, I noticed that a fix to remove mutable_args has already been implemented for some of the BERT models. In bug description https://github.com/dmlc/gluon-nlp/issues/1129 you described that this should be fixed for GPT, Language model and transformer as well. I assume this is still requested, so I created this PR. I noticed that the commit checklist requires the change to be tested and I found existing tests for hparam_allow_override for BERT models. I'd like to confirm that fix is still required first and would like to add the tests as well if thats the case.

Since v0.9.x branch is our release branch, would you please rebase your pull request on top of master branch, which is our develop branch? Thanks!
Also, the CI is temporarily failing currently, which should be fixed soon. Thanks for your patience.

Makes sense! Rebased on master.

Please hold back with merging this. I found an issue with this commit when using the new parameter hparam_allow_override in gpt.py

@eric-haibin-lin There was an issue in my previous fix. I fixed this now. I believe this was actually an existing bug: In _get_gpt2_model (in scripts/text_generation/model/gpt.py) we were previously passing **kwargs along with predefined_args to the constructor of GPT2Model. This constructor would then complain about the presence of duplicate arguments (because it exists in both predefined_args and **kwargs). If I see this correctly, then it was previously not possible to overwrite the mutuable argument "dropout" (I confirmed this and it seems to be the case).

Hello, there is a recent CI change on the master branch. #1208
Would you please merge the latest master branch to get this update? Failure to keep up with this update will prevent CI from successful builds.
Thanks!

Job PR-1207/9 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1207/9/index.html

Job PR-1207/12 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1207/12/index.html

@eric-haibin-lin I added tests for all models where the new parameter hparam_allow_override was added. For each model, the test iterates over all parameters of the model and asserts that get_model throws an exception if the parameter is non_mutable and hparam_allow_override is set to false. The test also asserts that get_model succeeds if hparam_allow_override is true or the parameter is mutable by default. In language_model.py I had to factor the parameters out of the model constructors as it is already done for bert models and gpt2. This allowed me to access the parameters in the test method.

Thanks for hte contribution!


Detection should consider 2.16 also as vulnerable

The description of V0.5.0 says:
"log4j-sniffer crawls for all instances of log4j that are earlier than version 2.16 on disk"
But the recommended version of Log4J is 2.17 so 2.16 should also be considered unsafe to some degree as it is vulnerable to a DoS attack (CVE-2021-45105).
Thanks for a great tool!!!

@MatsBjerin ack on this - right now we're trying to round out detections for CVE-2021-45046 and can then apply them to the other CVEs that have dropped too

Awesome! Thanks!! /M
From: Huw Pryce @.>
Sent: Saturday, December 18, 2021 6:03 PM
To: palantir/log4j-sniffer @.>
Cc: Mats Bjerin @.>; Mention @.>
Subject: Re: [palantir/log4j-sniffer] Detection should consider 2.16 also as vulnerable (Issue #23)
@MatsBjerinhttps://github.com/MatsBjerin ack on this - right now we're trying to round out detections for CVE-2021-45046https://github.com/advisories/GHSA-7rjr-3q55-vv33 and can then apply them to the other CVEs that have dropped too
—
Reply to this email directly, view it on GitHubhttps://github.com/palantir/log4j-sniffer/issues/23#issuecomment-997231146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATZHR5C4LT6QV6HHQZFJVH3URS5FXANCNFSM5KK2JGFQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

0.6.0 includes this and binaries are now published.


Users/jysin/manual val preview release

Task name: ManualvalidationV0
Description: Bumped up minor version
Documentation changes required: (Y/N) Y
Added unit tests: (Y/N) N
Attached related issue: (Y/N) N
Checklist:

[x] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

@Josh-01 @rohit-batra Thank you for the preview release of this task. It looks really interesting for my current use case.
I've noticed that when using ManualIntervention from a YAML pipeline (server job), the following error is shown:
Task execution section of task definition for ID: bcb64569-d51a-4af0-9c01-ea5d05b3b622 is either missing or not valid.

But this works as intended from a Classic Release pipeline.
Similarly, when using ManualValidation from a Classic Release pipeline the following error is given:
Task execution section of task definition for ID: 2003ad3a-104a-451a-9238-60474ab294e6 is either missing or not valid.

But this runs from a YAML pipeline.
(Hopefully I'm not doing something silly in either cases, e.g. emailRecipients or notifyUsers values)
A few quick questions on this:

Is this the intended behaviour? ManualIntervention in Release and ManualValidation in YAML?
If so, does this task require additional configuration to trigger the approval UI dialogs or is it a known issue given the task simply succeeds without any messages?

@Josh-01 @rohit-batra Thank you for the preview release of this task. It looks really interesting for my current use case.
I've noticed that when using ManualIntervention from a YAML pipeline (server job), the following error is shown:
Task execution section of task definition for ID: bcb64569-d51a-4af0-9c01-ea5d05b3b622 is either missing or not valid.

But this works as intended from a Classic Release pipeline.
Similarly, when using ManualValidation from a Classic Release pipeline the following error is given:
Task execution section of task definition for ID: 2003ad3a-104a-451a-9238-60474ab294e6 is either missing or not valid.

But this runs from a YAML pipeline.
(Hopefully I'm not doing something silly in either cases, e.g. emailRecipients or notifyUsers values)
A few quick questions on this:

Is this the intended behaviour? ManualIntervention in Release and ManualValidation in YAML?
If so, does this task require additional configuration to trigger the approval UI dialogs or is it a known issue given the task simply succeeds without any messages?

Thanks @radujipa  for Trying things out.
Regarding 1. Yes Manual intervention is for Classic releases and ManualValidation is for YAML.
for 2. I am not sure if backend is deployed yet and it is behind FF. @Josh-01 can you please confirm once and address what Radu is saying
cc @raiyanalam  PM owner  for any more clarification.
cc @ammohant , our Lead , JFYI

@rohit-batra Really appreciate the speedy follow up here.
Also, super excited for the new task - a solid addition for sure! Will keep experimenting with it to see if I can get the UI to trigger, but if you've got more info on this would really appreciate the input.

Hi @radujipa,
Reg. 2 - the task is now in preview mode and the backend is behind a feature flag which we would be enabling only for specific accounts - hence it is not working correctly for you yet.
Kindly connect with our PM @raiyanalam to understand if the feature can be enabled for your account.
Thanks

Hi @Josh-01, thank you for the clarification there, really appreciate it. I'll follow up with your PM offline :)

Hey, looking forward to this. Is there an ETA on when it will be out of preview?

Hi @mbellas-tkxs : The tentative plan is to roll this out early October.
FYI: @ammohant

Hey, just checking in. I don't see it in https://docs.microsoft.com/en-us/azure/devops/release-notes/2020/sprint-176-update so I'm assuming it got bumped to late October? Is it possible to get the feature flag enabled for my account before then?

cc @Josh-01 , @raiyanalam to help @mbellas-tkxs here

Hello everyone. Wondering what is the current timeline to having this task available for everyone?

@radujipa, @mbellas-tkxs ,
Apologies for the delay. This go out of my radar. Can you give your ADO organization name (eg. dev.azure.com/<org_name>) so that we can enable for your account

Great, thanks. My org is dev.azure.com/tkxs

@radujipa, @mbellas-tkxs ,
Also please email me at moala [at] microsoft [dot] com. I can send in some quick steps for getting started.


Can you provide starting .uassets for UE 5.0 ?

Can you please provide starting .uassets from chapter 4 for UE 5.0 as it's not possible to downgrade .uassets if they are built using a higher UE version?
Reason: UE 5.0 works on my machine fine but the newer versions doesn't work properly and I think this might be a problem for some people.

Hello sayandafadar,
unfortunately, it's not so easy to downgrade the assets to v. 5.0 from v5.1 project.
That said, those assets come from Kay Lousberg and are free for you to download here:

Dungeon Pack: https://kaylousberg.itch.io/kaykit-dungeon
Skeleton Pack: https://kaylousberg.itch.io/kaykit-skeletons
Animation Pack: https://kaylousberg.itch.io/kaykit-animations

Hope this helps!

Ok Thanks


ImageInput and ImageOutput creators change to return unique_ptr

ALERT! This is a breaking change! But I think it's a simplification,
more modern code style, make using OIIO easier and less error prone.
Previously, ImageInput::create(), ImageInput::open() [the static one],
and ImageOutput::create() returned a raw pointer, allocated by the
plugin's create function, and it was up to the client code to properly
manage and free it.
On Windows, it's not safe to delete in one dll when the new came from a
different dll. That's why we had ImageInput::destroy(), but
unfortunately I realized recently that only works properly for the
readers/writers compiled into libOpenImageIO itself.  It could
potentially fail with mysterious heap corruptions if you used a true dll
plugin to implement a custom format reader/writer.
This patch proposes to change all of these functions to return a
unique_ptr with built-in deleter, so all resources are managed and will
automatically be released when the pointer goes out of scope or is reset.
Because the deleter is supplied by and in each individual module where
the new occurs, the possible heap corruptions are fixed once and for all
for ordinary C++ ImageInput & ImageOutput usage.
It touches a LOT of files, but it's repetition of conceptually simple
changes:

Some new type definitions are added to the ImageInput class definition:
 /// Call signature of an ImageInput deleter.
 typedef void (*Deleter)(ImageInput*);
 /// unique_ptr to an ImageInput, with custom deleter.
 using unique_ptr = std::unique_ptr<ImageInput,Deleter>;
 /// Call signature of a function that creates and returns an ImageInput*
 typedef unique_ptr (*Creator)();

For each plugin, the creator changes from returning a raw pointer
 OIIO_EXPORT ImageInput *tiff_input_imageio_create () { return new TIFFInput; }

to making a unique_ptr with deleter:
 OIIO_EXPORT ImageInput::unique_ptr tiff_input_imageio_create () {
     return { new TIFFInput, [](ImageInput *in){ delete in; } };
 }

The signature of the static ImageInput::create() and open() methods
change to returning a unique_ptr, for example, from
 static ImageInput *open (const std::string &filename,
                          const ImageSpec *config = NULL);

to
 static unique_ptr open (const std::string &filename,
                         const ImageSpec *config = nullptr);

App code therefore gets a lot safer and easier. Old:
ImageInput *in = ImageInput::open (filename);
in->read_image (...);
in->close ();
ImageInput::destroy (in);

new:
ImageInput::unique_ptr in = ImageInput::open (filename);
in->read_image (...);
in->close ();

and if you are a fan of auto and take advantage of the fact that
destroying an ImageInput forces a close if not already done, it's just:
auto in = ImageInput::open (filename);
in->read_image (...);

Analogous changes for ImageOutput.

Updated per @fpsunflower's suggestion: now the plugin's foo_input_imageio_create() function is reverted to return an ImageInput* once again, and each plugin must also supply a foo_input_imageio_delete() function. The assembly of these into a unique_ptr is done in ImageInput::create, not in the plugins.  (And the same for ImageOutput.)
Better?

Yes! I like this version.

LGTM!

OK, I'll need to touch up the docs to make it reflect the changes.
Thanks, as usual, for the guidance on this.

updated, I think this is ready to go
(note for @fpsunflower : I have a separate review for Arnold touch-ups coming internally)


Regression in the blip_caption / base_coco downloads?

It looks like blip_caption / base_coco models were updated and no longer compatible with the code?  Or is it a bug on my side?
I'm trying a cog container (that binds to  "salesforce-lavis==1.0.0" "torch==1.13.0") and a new docker build of it no longer works.
Since it was working previously and the only moving part seems to be the model downloads, I'd guess a regression in the blip_caption / base_coco ?
Here's the runtime error:
    caption = model.generate({"image": processed_image})   File "/root/.pyenv/versions/3.8.16/lib/python3.8/site-packages/lavis/models/blip_models/blip_caption.py", line 188, in generate     decoder_out = self.text_decoder.generate_from_encoder(   File "/root/.pyenv/versions/3.8.16/lib/python3.8/site-packages/lavis/models/med.py", line 1360, in generate_from_encoder ...   File "/root/.pyenv/versions/3.8.16/lib/python3.8/site-packages/lavis/models/med.py", line 219, in forward     attention_scores = torch.matmul(query_layer, key_layer.transpose(-1, -2)) RuntimeError: The size of tensor a (3) must match the size of tensor b (9) at non-singleton dimension 0

Which transformers version are you on? Can you update and try again?

@dxli94 I can replicate this issue with any transformers version from v4.27.0 and up. The latest release this works with is v4.26.1.
Seems to be the same issue as #227 and https://github.com/salesforce/LAVIS/issues/78#issuecomment-1476022738
Minimal reproducible example:
import requests
from PIL import Image
from lavis.models import load_model_and_preprocess
model, vis_processors, txt_processors = load_model_and_preprocess(
    name="blip_caption", model_type="large_coco", is_eval=True
)
img_url = 'https://huggingface.co/spaces/Salesforce/BLIP2/resolve/main/sunset.jpg'
raw_image = Image.open(requests.get(img_url, stream=True).raw).convert("RGB")
image = vis_processors["eval"](raw_image).unsqueeze(0)
captions = model.generate({"image": image})

@dxli94 I can replicate this issue with any transformers version from v4.27.0 and up. The latest release this works with is v4.26.1.
Seems to be the same issue as #227 and #78 (comment)
Minimal reproducible example:
import requests
from PIL import Image
from lavis.models import load_model_and_preprocess
model, vis_processors, txt_processors = load_model_and_preprocess(
    name="blip_caption", model_type="large_coco", is_eval=True
)
img_url = 'https://huggingface.co/spaces/Salesforce/BLIP2/resolve/main/sunset.jpg'
raw_image = Image.open(requests.get(img_url, stream=True).raw).convert("RGB")
image = vis_processors["eval"](raw_image).unsqueeze(0)
captions = model.generate({"image": image})

how can I use my checkpoint download from the hugging face to caption my image data? if u know, please tell me.Thx


Fetcher stops too suddenly when joystick released

The naive algorithm to capture the encoder value when the joystick is released results in a non-intuitive overshoot and back-up jerking motion.  The solution is to tell it to stop moving again when its velocity is near zero, so that it slows down quickly but doesn't back up.
We tried this today using the motor's getVelocity method, and treating values smaller than 200 in magnitude as the "stop again" cue.  This had the interesting effect of setting the setpoint to roughly the point where it stops decelerating, but then it still goes backwards a little bit as the integrator unwinds (it had built up trying to slow down the motor faster).
I think the only way around this is to switch to speed mode for the "first" stop--to intentionally clear the integrator--and then switch back to position mode in the "stop again" code.
There is additional work needed to make sure the "stop again" logic doesn't interfere with additional commands given before it can execute.  If the joystick is commanding positive or negative travel, or if a preset/home command is given, stopAgain should be set to false.  The stopAgain action code should be moved to after the joystick code, so that the joystick has a chance to cancel it in the same loop.

On further thought, mode changing is probably a bad idea. The log file showed some inconsistency in the getVelocity measurement, so we can find the velocity ourself using the previous encoder value.

Was this removed after tuning the fetcher PID?

Was this removed after tuning the fetcher PID?

Not really, it's still jerky. We'll need to come up with a better PID for teleop. But also we need to make the teleop stop behavior give the motor time to decelerate.  For example, if setpoint is 800, encoder is 500, and the joystick is just released, set the setpoint to 550 immediately.  (Right now we set it to 500 immediately, and then to some other number a few ms later)

This can be considered fixed! The PID tuning for teleop isn't as accurate as auto expects, but it lets the driver achieve predictable results when combined with the adjustable "stopping distance" option.


Add Aband Network

Project Abstract

Please replace these instructions with a brief description of your project summarising key points (1-2 paragraphs).
If your application is a follow-up to a previous grant, please mention which one in the first line of the abstract and include a link to previous pull requests if applicable.

Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[x] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] A BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (aUSD/USDT) address for the payment of the milestones is provided in the application.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

Thanks for the application. But we usually ask teams to finish their first grant before they apply for another grant; see #1370, which was just approved four days ago. So, I'm closing the application, but I'm more than happy to reopen it later.

Dear @Noc2, These two projects do not conflict, and the development of our aband-parachain is also in progress. We have more developers doing aband-parachain work.

Thanks for the application. But we usually ask teams to finish their first grant before they apply for another grant; see #1370, which was just approved four days ago. So, I'm closing the application, but I'm more than happy to reopen it later.

Dear @Noc2, These two projects do not conflict, and the development of our aband-parachain is also in progress. We have more developers doing aband-parachain work.

This is a very good project, we hope to discuss the feasibility with you and get your support as soon as possible.

Thanks for the application. But we usually ask teams to finish their first grant before they apply for another grant; see #1370, which was just approved four days ago. So, I'm closing the application, but I'm more than happy to reopen it later.

Thanks for the application. But we usually ask teams to finish their first grant before they apply for another grant; see #1370, which was just approved four days ago. So, I'm closing the application, but I'm more than happy to reopen it later.

If the application for the previous grant affects the continued discussion of this project, I will feel very sorry. If necessary, I can only remove the second milestone and complete the first milestone as soon as possible. Because our development of this project is more urgent, the first milestone is just to bring development convenience to the Polkadot community.

Thanks for the application. But we usually ask teams to finish their first grant before they apply for another grant; see #1370, which was just approved four days ago. So, I'm closing the application, but I'm more than happy to reopen it later.

If the application of the previous grant affects the continued discussion of this project, I will feel very sorry. If necessary, I can only remove the second milestone of the previous grant, and then complete the first milestone as soon as possible. Because our development of this project is more urgent, the last grant only hopes to bring development convenience to the Polkadot community. We hope to determine the viability of this project within two weeks.

Hi. It’s not about projects being in conflict with each other. It’s mostly for us to get an impression of the team and what they do. See our guidelines here: https://github.com/w3f/Grants-Program/blob/master/docs/faq.md#when-can-i-apply-for-a-follow-up-grant This is especially true for a team that applies for the first time. My recommendation would still be that you finish your initial grant before we discuss this application, especially since this application is missing a lot of technical details at the moment.

Hi. It’s not about projects being in conflict with each other. It’s mostly for us to get an impression of the team and what they do. See our guidelines here: https://github.com/w3f/Grants-Program/blob/master/docs/faq.md#when-can-i-apply-for-a-follow-up-grant This is especially true for a team that applies for the first time. My recommendation would still be that you finish your initial grant before we discuss this application, especially since this application is missing a lot of technical details at the moment.

The development cycle of the last grant was 7 weeks. If we follow the requirements, it means that we need to discuss this aband-parachain project after 7 weeks.
That would be too long for it. What I mean is that the last grant can be completed within 7 weeks, but it should not affect our second grant application or discussion.

Hi. It’s not about projects being in conflict with each other. It’s mostly for us to get an impression of the team and what they do. See our guidelines here: https://github.com/w3f/Grants-Program/blob/master/docs/faq.md#when-can-i-apply-for-a-follow-up-grant This is especially true for a team that applies for the first time. My recommendation would still be that you finish your initial grant before we discuss this application, especially since this application is missing a lot of technical details at the moment.

Thank you very much for your understanding of our project. This project is a relatively complex project that requires the development of many functions, and indeed needs to be supplemented with technical details. We need to answer your questions during this time, and these need to be discussed and will take a lot of time. We do worry that these steps will affect our development schedule, so want to do it as soon as possible.

Alternatively, we can terminate the other grant application and reopen this, but there is no guarantee that we will support this one. Keep in mind we support the development of open-source software that is somehow useful for our ecosystem and don't look at the business models or want to subsidies specific parachains directly.  My recommendation would still be to finish the first grant and potentially also apply for the Substrate Builders Program with this project https://substrate.io/ecosystem/substrate-builders-program/ The builders program might be better suited for it anyway.

Thanks again. I have made changes to the first grant. We finish its development in two weeks, and then continue to discuss this grant.


Support of XamlHost / XamlIslands

I played around with XamlHost a little bit.
The difference between "normal" WPF or UWP code ist that it's only possible to define the WindowsXamlHost it self and an "InitialTypeName" to be "Windows.UI.Xaml.Controls.Button" inside the xaml. All other stuff has to be done in the code behind - what is not so nice.
So I usually have had an icon next to my button caption as a content. So I added a StackPanel to the button and hostet an icon and a TextBlock inside the StackPanel.
Now with the current state of implementation of XamlIslands I have to do that all manually.

Cast the Control to Button => done
Add a StackPanel to it => done
Add a TextBlock to it => done
Add an icon to it ... That is where my problem begins
I already tried to host the PackIcon inside the Windows.UI.Xaml.Controls.StackPanel that ends up an some casting errors.
Lastly I added a new Image, set Binding.Source to my PackIcon and failed while setting the bindings converter to PackIconMaterialKindToImageConverter.

So do you have plans or already working code examples on how to host IconPacks inside Windows.UI.Xaml.Controls?

Hi @evilbaschdi
Can you provide a Demo App on github? That way we can have a look and maybe find a solution.
Thank you in advance
Happy coding
Tim

https://github.com/evilbaschdi/FolderArchiver/blob/feature/xamlhost/FolderArchiver/MainWindow.xaml.cs
Method "BrowseChildChanged"

Hi @evilbaschdi
I found a solution, at least a workaround.
// 1. We get the PathData as string which should be renderd
string pathData = new PackIconMaterial() { Kind = PackIconMaterialKind.CubeOutline }.Data;

// 2. We create the UWP Path which is needed to render
Geometry geometry = (Geometry)XamlBindingHelper.ConvertValue(typeof(Geometry), pathData);

// 3. Create the PathIcon and set the Foreground
System.Windows.Media.Color accentColor = (System.Windows.Media.Color)FindResource("MahApps.Colors.Accent");
PathIcon pathIcon = new PathIcon()
{
    Data = geometry,
    Foreground = new SolidColorBrush(Color.FromArgb(accentColor.A, accentColor.R, accentColor.G, accentColor.B))
};

// 4. Add it to your Panel
stackPanel.Children.Add(pathIcon);

The result:

I hope this helps. Happy coding
Tim

I’m closing this issue because it has been inactive for a long time. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.
Please reopen if you still encounter this issue with the latest stable version and then please use the issue template.
Thank you! 🙏


Implement EventsByTagQuery in PersistenceTestKitReadJournal

When attempting to implement runtime persistence plugin configuration for pekko-projection I ran into an issue where PersistenceTestKitReadJournal does not implement EventsByTagQuery, so it cannot be used to implement tests. Real persistence layers,  like Cassandra, JDBC and Leveldb of course do implement EventsByTagQuery, but it would be quite useful if testkit was able to provide this behavior too. From a quick look it looks to me like an implementation similar to EventsByPersistenceIdStage should not be too complicated to do.
This is related to https://github.com/apache/pekko/issues/1513 - need to have both EventSourcedBehavior and EventSourcedProvider be able to take configs at runtime to enable building typical applications using this functionality.
I could work on this feature if it were to be accepted.

Seems useful to me.


Update udp_msgs release repository.

The release repository was forked into ros2-gbp for the Galactic migration in April 2021.  Since then there have been releases into the upstream release repository.
These releases were merged into the ros2-gbp branch on 2022-02-07.
Since the upcoming Rolling platform migration will again branch the release repositories into ros2-gbp and the ros2-gbp repository is now up-to-date with the external repository I recommend that we update the release repository pre-emptively to reduce churn in the bloom configuration branches.

@flynneva FYI.


Feat/restructure

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 93.268%

Totals

Change from base Build<PHONE_NUMBER>5:
0.02%

Covered Lines:
1678

Relevant Lines:
1775

💛  - Coveralls


Get Another User's Media

I use code like in Demo:
$instagram->media();
But i'm curious, can i get another user's medias too? If it possible, are there any refferences that i can read?

You'll have to obtain an access token for each user you want to fetch information from.


Update docs with correct resource name

The Limitations section described in the documentation is wrong.
MSCI-<cluster-name>-<cluster-region> should be changed to MSCI-<cluster-region>-<cluster-name>
Data collection rule created with enabled managed identity authentication:

See also open pull request in other repo: https://github.com/microsoft/Docker-Provider/pull/922

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

ID: 68c476cf-c571-b9ed-94e6-c9f52c96db89
Version Independent ID: dce91e32-0492-a267-8f7c-39cbdffc6ebd
Content: Enable Container insights for Azure Kubernetes Service (AKS) cluster - Azure Monitor
Content Source: articles/azure-monitor/containers/container-insights-enable-aks.md
Service: azure-monitor
Sub-service: containers
GitHub Login: @bwren
Microsoft Alias: bwren

@erisnar
Thanks for your feedback! We will investigate and update as appropriate.

@erisnar Thanks for the feedback! I have fixed the referenced change, and the change should reflect on the doc within 24 hours. We will now proceed to close this thread. If there are further questions regarding this matter, please revert and we will gladly continue the discussion.


How to get if a checkbox is checked or unchecked

Hello everybody,
I'm trying to send a POST request depending on if a multicheckbox is checked or not.
if checked i sent the Value of the checkbox and his statut if it was a checked action or a unchecked action
i tried something like this but i don't think this is the best way to do it
{
      className: 'col-5 titre_modules',
 key: 'roles',
 type: 'multicheckbox',
 templateOptions: {
        type: 'array',
        label: 'Roles',
        options: [],
        valueProp: 'id',
        labelProp: 'roleName',
      }, hooks: {
        onInit: (field) => {
       ....
        }, onChanges: (field) => {
          const form = field.parent.formControl;
          form.get('roles').valueChanges.pipe(takeUntil(this.onDestroy$), startWith(form.get('roles').value), tap(roleId => {
            if (roleId && roleId.length != 0) { // not sur if this is the best way to do it
              console.log(form.get('roles'));
            } else {
              ...
            }
          }),).subscribe();
        },
      },
    }],

I searched on github documentation but there is not a lot of thing about the checkbox examples
Thank you in advance

after multiple search i found about this method "afterContentChecked" but i don't know how to use it for my purpose. anyone knows how we can use it to get the value of the checked option and of the unchecked option  .

I think that's correct if the roleId.length > 0 then at least one of the options is checked,
I've only one note is to avoid relying on onChanges hooks and use onInit instead.

yes but it doesn't give you if the checkbox is checked or unchecked, example : if i checked the value 1 and then the value 2 then after i unchecked the value 2 it will give a response like this if i don't use the type array in template options {1: true, 2: false}, the main objective is to have only the last value checked or unchecked returned like this {2:  false} . is it possible with formly to do that ?

yes possible use the pairwise operator which allows getting the previous and current values to compare, here is a simple example https://stackblitz.com/edit/angular-btyg1f

omg i forgot about this rxjs operator.  thank you very much  for your help.

I tried to follow the example in the stackblitz but i have some issuses with is :
First: is there no other way to do it more simple because the checked and the unchecked status need to be a method that exist and not something we need to work on in my opinion. it will be great if there is on the futur an enhancement for that.
Second: There is a problem with pairewise if you use an observable with it to get data.
the main problem is the statut of the value. example when we checked the value 4 it return {4: false} when it should return {4: true}
For example in my code i tried something like this :
 fields: FormlyFieldConfig[] = [{
    fieldGroupClassName: 'row', fieldGroup: [{
      className: 'col-7 titre_modules', key: 'modules', type: 'radio', templateOptions: {
        type: 'array',
        label: 'Modules',
        options: this.typeRequete.getData('modules?projection=ModulesForBaliseSelect&sort=moduleName, ASC').pipe(map(data => {
          return data['content'];
        })),
        valueProp: 'id',
        labelProp: 'moduleName',

      },
    }, {
      className: 'col-5 titre_modules', key: 'roles', type: 'multicheckbox',
      templateOptions: {
        label: 'Roles', options: [], valueProp: 'id', labelProp: 'roleName',  type: 'array',
      },
      hooks: { onInit: (field) => {
        const form = field.parent.formControl;
        form.get('modules').valueChanges.pipe(takeUntil(this.onDestroy$), startWith(form.get('modules').value), tap(modulesId => {
          if (modulesId && modulesId.length != 0) {
            field.templateOptions.options = this.typeRequete.getData('modules/' + modulesId + '/roles?projection=RolesFromModuleIdForBalise').pipe(map(data => {
              return data['content'];
            }))
          } else {
            field.templateOptions.options = [];
          }
        }),).subscribe();
        form.get('roles').valueChanges.pipe(
          takeUntil(this.onDestroy$),
            startWith( form.get('roles').value),
            pairwise(),
            map(([a1, a2]) => {
              const diff = this.arrDiff(a1 || [], a2 || []);
                return diff.reduce((v, d) => {
// the a2.includes(d) always return with false
                v[d] = a2.includes(d);
                return v;
              }, {});
            }),
            tap(v => console.warn(v))
          ).subscribe();
        },
      },
    }],
  },];

as a beginner in formly I'm sorry to ask a lot of questions about that but i'm a big fan of formly  and i'm trying  to show whats are the main issues that me or someone else will face if he worked with checkbox.
Thank you.

First: is there no other way to do it more simple because the checked and the unchecked status need to be a method that exist and not something we need to work on in my opinion. it will be great if there is on the futur an enhancement for that.

well you can create a custom field type to simplify that part (https://github.com/ngx-formly/ngx-formly/blob/master/src/bootstrap/src/lib/types/multicheckbox.ts) + PR welcomed!

Second: There is a problem with pairewise if you use an observable with it to get data.

I couldn't reproduce it, could please provide me a reproduction using the following example https://stackblitz.com/edit/angular-btyg1f

Thank you for the quick response,
The example i'm using is based on the stackblitz you showed me, the only difference is that i'm using a service to get data from backend for the radio button and the roles Multicheckbox.  when the first radiobutton is clicked then the multicheckbox get data from backend using the value of the first radio button, you can trie to get data from any backend it will return the same issue because the option of the checkbox in the onInit is empty :
  fields: FormlyFieldConfig[] = [{
    fieldGroupClassName: 'row', fieldGroup: [{
      className: 'col-7 titre_modules', key: 'modules', type: 'radio', templateOptions: {
        type: 'array',
        label: 'Modules',
        options: 'here i'm getting the data from backend'
        valueProp: 'id',
        labelProp: 'moduleName',

      },
    }, {
      className: 'col-5 titre_modules', key: 'roles', type: 'multicheckbox',
      templateOptions: {
        label: 'Roles', options: [], valueProp: 'id', labelProp: 'roleName',  type: 'array',
      },
      hooks: { onInit: (field) => {
        const form = field.parent.formControl;
        form.get('modules').valueChanges.pipe(takeUntil(this.onDestroy$), startWith(form.get('modules').value), tap(modulesId => {
          if (modulesId && modulesId.length != 0) {
            field.templateOptions.options = 'here is my service that returns the data from my backend using the moduleId value to return only roles of this module i checked '
          } else {
            field.templateOptions.options = [];
          }
        }),).subscribe();
        form.get('roles').valueChanges.pipe(
          takeUntil(this.onDestroy$),
            startWith( form.get('roles').value),
            pairwise(),
            map(([a1, a2]) => {
              const diff = this.arrDiff(a1 || [], a2 || []);
                return diff.reduce((v, d) => {
                v[d] = a2.includes(d);
                return v;
              }, {});
            }),
            tap(v => console.warn(v))
          ).subscribe();
        },
      },
    }],
  },];
  arrDiff(a1, a2) {
    if(a1 && a2 ) {
      let a = [], diff = [];
      for (var i = 0; i < a1.length; i++) {
        a[a1[i]] = true;
      }

      for (var i = 0; i < a2.length; i++) {
        if (a[a2[i]]) {
          delete a[a2[i]];
        } else {
          a[a2[i]] = true;
        }
      }

      for (var k in a) {
        diff.push(k);
      }

      return diff;
    }
  }
  ngOnDestroy(): void {
    this.onDestroy$.next();
    this.onDestroy$.complete();
  }

still work for me https://stackblitz.com/edit/angular-btyg1f,
Note: you can use delay to simulate backend http.

but how can i get data from backend using service inside the of method.
Like this i don't think it will work
field.templateOptions.options = of([
this.typeRequete.getData('modules/' + modulesId + '/roles?projection=RolesFromModuleIdForBalise').pipe(map(data => {
return data['content'];
}))
]).pipe(delay(1000));

I didn't mean that you should use delay with your backend service, just want to provide me a reproduction example and to simulate your backend calls you may use delay.
field.templateOptions.options = of([
  // pass here a portion of your backend result
  { ... },
  { ... },
]).pipe(delay(1000));

it is what i did but its not working for me, when you use pipe map to get data from backend . anyway thank you for your help sir, i really apreciate it, i will try to find the solution in another way. i will share the solution for multicheckbox when i find a easy way to get the status checked and unchecked without using all of this method. thank you for your help it really helped me a lot

i found out what was wrong with my code.
the     v[d] = a2.includes(d); should be v[d] = a2.some(e => e==d); because a2.includes(d) always return false if you use pipe map to get data from backend. hope this will help someone else whos working also with multicheckboxs


[binance] OrderType.MARKET is not in the list of supported order types

Look at changelog of 1.9.0 => found a new one script (buy_low_sell_high)
Then I try to use it with default for that script binance_paper_trade connector - it is going well.
After some setting Moving Average timeframes I try to use it at regular binance connector and get error.
hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "x-XEKWYxxxxx", "order_type": "OrderType.MARKET", "event_name": "MarketOrderFailureEvent", "event_source": "binance"}
hummingbot.connector.client_order_tracker - INFO - Order x-XEKWYxxxxx has failed. Order Update: OrderUpdate(trading_pair='VITE-USDT', update_timestamp=1668247307.0, new_state=<OrderState.FAILED: 6>, client_order_id='x-XEKWYxxxxx', exchange_order_id=None, misc_updates=None)
Not a sure, but maybe our binance connector have no MARKET order type?
My discord username: NRZelenskiy#3705

Hi @NRZelenskiy good day to you,
Please be advised our binance connector does not support market order type and only limit orders atm. I tried to check the script and seems to be designed on a paper trade. Our team do have plans to integrate this market order type on supported connectors on future releases.
Tagging this ticket as closed for now

Greetings, sir! @rapcmia Appreciated for your answer. Will waiting for update with opportunity to use script.


Datastore upload and download is inefficient

http://www.virtuallyghetto.com/2014/06/how-to-efficiently-transfer-files-to-datastore-in-vcenter-using-the-vsphere-api.html summarises the problem.
I have implemented the so called efficient mode in knife-vsphere but it seems like it belongs here in RbVmomi::VIM::Datastore
If you are interested I can re-factor my change and open a pr here.

I'll never turn down a PR that improves efficiency! Feel free to open! 👍


[FLINK-11752] [dist] Move flink-python to opt (backport)

Backport of #7843 to release-1.8. Cherry picked d637d8613d without any conflicts.
I talked to @aljoscha (1.8 release manager) before opening this PR and he agrees that this should go into 1.8.

Please to remember to set the fixVersion to 1.8.0.


Firefox wallet does not display other accounts

One user experienced an issue with Firefox.
"I have multiple accounts (two) in my Hiro wallet Chrome Extension
I also have the Hiro Extension installed in Firefox
When I log in to the Hiro wallet on Firefox extension I can only see account 1. I cannot 'switch accounts'."
version V3.2.0 in both
Both wallets used the same seed.

Do their other accounts not show up upon selecting "Create An Account"?

I'm closing this out with the presumption that it's the same as https://github.com/hirosystems/stacks-wallet-web/issues/1732


[ADDITION] Hivery

Category
Artificial Intelligence
Software to be added
Hivery
Supporting Material
URL: https://www.hivery.com/
Description: HIVERY is pioneering hyper-local retailing by combining artificial intelligence, operations research and human-centred design models to help CPGs & retailers generate a return on physical retail space investment.
Size:
HQ: Sydney
LinkedIn: https://www.linkedin.com/company/hivery/
See Record on Airtable:
https://airtable.com/app0Ox7pXdrBUIn23/tblYbuZoILuVA0X3L/recCukY0jTNsYkksZ

Need some suggestions for alternatives / competitors


Move crio default sock to /var/run/crio/crio.sock

Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>
- What I did
master is now tracking kubernetes 1.9 and we can switch to /var/run/crio/crio.sock. The behavior is still controllable via config and flags.
Refer to #1030 for old discussion
Fix #1028
cAdvisor PR: https://github.com/google/cadvisor/pull/1773
Kubernetes PR: https://github.com/kubernetes/kubernetes/pull/54136
@mrunalp @rhatdan @derekwaynecarr @smarterclayton PTAL
- How I did it
- How to verify it
- Description for the changelog

/test all

/test e2e_fedora

Tests are passing. merging.


Insertion_Sort.cpp

Added Insertion Sort in C++ Language.

great please give this repo a star and follow me for follow back😊


Node Crash [ DELTA 8 ]

Based on:
I've found the "scheduler_queue_total_count" to be a more useful one tbh.  It shows the current total backlog of these kind of events waiting to be processed. We aim for it to always be very low - ideally single or double digits.  When we saw the recent OOM issues, before the node crashed, that value would invariably skyrocket to hundreds of thousands - meaning we had a huge backlog of events
Here is the moment of actual crash: ( 2021-01-10 14:11:52 UTC )

Since we sure this is OOM most luckily:

Here is no doubts, the reason for node to loose ability providing us with HTTP and RPC end point is coming from the same source. We can observe it on mostly every graph, as example I post graphs below.
From here we can see, issue start accumulating before the actual catastrophe ( 2021-01-10 06:27:00 UTC )

Update 1

I been tracking network activity, and here is some in case can be usefull.

From here we can see, since my crawler still crawling after node colapse, new IP addresses still joining chain.
At moment of crash my node have 69 peers connected, auction order book have 65 bids and network coun 132 unique IP addresses. My validator crash happen when 133 addresses been count, it was exactly on the moment when new IP join network, not sure if this can be related to some specific missconfigured node joining.

 Apologies for not getting back to you.

Thanks @matsuro-hadouken , we're already looking into this and have some turnovers. Apologies for not getting back to you.

Many updates were made for Delta-10, including network changes and optimization to eliminate OOM crashes.  With heavy load in Delta-10 with up to 100 wasm deploys we are not longer seeing this occur.


Eigen::SparseMatrix error

I couldn't find the Eigen code in the thirdparty directory, so I changed the Eigen path in setup.py to my own path:
include_dirs=[osp.join(ROOT, '/usr/local/include/eigen')].
However, it seems there were errors about Eigen during compilation:
GO-SLAM-main/src/lib/droid_kernels.cu(1176): error: no instance of constructor "SparseBlock::SparseBlock" matches the argument list
argument types are: (const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::SparseMatrix<double, 0, int>, const Eigen::SparseMatrix<double, 0, int>>, , const int, const int)
GO-SLAM-main/src/lib/droid_kernels.cu(1185): error: identifier "b" is undefined

Hi,
Maybe you can try to download our repo with 'git clone --recursive https://github.com/youmi-zym/GO-SLAM' rather than 'git clone https://github.com/youmi-zym/GO-SLAM'. Then you will get the Eigen in the third-party directory.
Best,
Youmin


Update sbt, sbt-dependency-tree, ... to 1.10.3

About this PR
📦 Updates

org.scala-sbt:sbt
org.scala-sbt:sbt-dependency-tree
org.scala-sbt:scripted-plugin

from 1.10.2 to 1.10.3
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #405.


Question about the

Hello,
The list of spacegroup allowed in DWBuilder:
R3c (Polarization direction (1-11))
R3m (Polarization direction (001))
P4mm (Polarization direction (001))
p6_3cm (Polarization direction (-1-10))
Pmc2_1 (user-defined)
Amm2 (user-defined)
As I understand, Pnma is non-polar. Could you clarify how the domain wall is formed from it?
Thanks.
HeXu

Dear HeXu,
Thank you for your question.
Yes, you are correct that the Pnma structure is non-polar. In our example using DWBuilder, we explored the case of CaTiO3, which typically crystallizes in a non-polar Pnma structure under ambient conditions. This structure is characterized by antiferrodistortive (AFD) distortions, which involve tilting and rotating of the oxygen octahedra within the crystal. These distortions also lead to spontaneous ferroelastic strain.
In its parent cubic phase, CaTiO3 exhibits a secondary ferroelectric (FE) instability. This instability is due to the polar displacement of the titanium (Ti) ions within the oxygen octahedra, leading to ferroelectric polarization. DWBuilder generates twin ferroelastic domain walls between the [110] and [1-10] domains, these walls suppress the primary AFD order parameter. As a result, the secondary FE instability becomes active at the twin walls.
Therefore, these twin domain walls possess their own dipole moments within a ferroelastic paraelectric matrix, contributing to the overall properties of the material.
Here are some papers which explain and report the ferroelastic domain walls of Pnma:
[1] Barone, Paolo, Domenico Di Sante, and Silvia Picozzi. "Improper origin of polar displacements at CaTiO3 and CaMnO3 twin walls." Physical Review B 89.14 (2014): 144104.
[2] Goncalves-Ferreira L, Redfern SA, Artacho E, Salje EK. Ferrielectric twin walls in CaTiO3. Physical review letters. 2008 Aug 27;101(9):097602.


chore(main): release 1.2.1

:robot: I have created a release beep boop
1.2.1 (2024-04-25)
Bug Fixes

Adding All supporting tag in table to render the data correctly as precautionary action (f49b1e3)
Table inserted in project notes/task notes along with data is not properly shown at Project Notes/Task Notes summery section. (eb65465)
Updated file picker to delegate the file picked events (e1ed80d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ZebraDevs/zds_flutter/releases/tag/v1.2.1 :sunflower:


Nested .handle doesn't work as expected

Hi, I'm having some issues with getting .handle to work given the following layout (emblem):
.row.col-md-9
  = sortable-group tagName="div" onChange='reorderItems' as |group|
    = each sortedModel as |item|
      = sortable-item tagName="div" model=item group=group handle='.handle'
        .col-md-12: .block.block-bordered.block-link-hover3
          table.block-table: tbody: tr
            td.bg-gray-lighter.border-r style='width: 100px;'
              img.pull-left src='https://placeholdit.imgix.net/~text?txt=100%C3%97100&w=100&h=100'
            td
              .h5.push-5-t
                span.text-muted.text-uppercase Caption:
                = item.caption
              .h5.push-5-t
                span.text-muted.text-uppercase First Comment:
                = item.first_comment
            td.bg-gray-lighter.border-l style='width: 20px;'
              span.handle data-item=item ⇕

What's happening is that I can drag the items, but they don't move out of the way for each other or reorder, e.g. if I have two elements and i drag the bottom one up, the top one doesn't move at all.
I did some experimentation and have found that a lot of the time a <span class="handle"> is not recognised unless it's a top element inside the {{#sortable-item}}. Is there a way around this? :smile:

Certainly sounds like a bug. I’m not sure when I’ll get a chance to look at this, but it would help tremendously if you could submit a PR that adds an example of this behaviour to the demos page :D

Ok, so I tried reproducing it on your demo page and couldn't, so I decided to see what happens if I remove all the styling (css classes) from my markup and see if the bug goes away - sure enough it did, so I progressively readded it all until I found the culprit - it was the col-md-12 inside the sortable-item in my code above. No idea why this was breaking the behaviour whenever the handle was inside it.
Unfortunately I can't post a reproduction of the code on GitHub as the markup is from a ThemeForest theme who's license doesn't permit redistribution. I'm not exactly sure what the fine print has to say about this kind of situation but I'll err on the side of caution...
If you'd like any more info I haven't provided let me know, but I'm closing this as I'm no longer affected by it and it's pretty obscure and hard to reproduce.
Thanks for your fast reply :+1:

It’s useful to know this edge case is out there. Will keep eyes open for it.


fix(deck): Block additional AMD watchdog kmod for Steam Deck

This ensures that no watchdogs are draining the battery & affecting the performance on Steam Deck.

I'm not sure if Steam Deck truly uses this, but better be safe than sorry imo
F.e. Asus ROG Strix X470 motherboard doesn't use this watchdog:
https://bbs.archlinux.org/viewtopic.php?pid=1799186#p1799186

I would personally disable watchdog for all editions, not just Steam Deck, as this is the gaming image. But I didn't want to interrupt the current scope, so I chimed it for Steam Deck only.

Is there anything out there documenting the performance impact this has? Might also just want to throw nowatchdog in there. If we do this on Deck, we should do it for everything

Is there anything out there documenting the performance impact this has? Might also just want to throw nowatchdog in there. If we do this on Deck, we should do it for everything

I know that TLP disables watchdog by default for better battery life & other wikis like Arch's note that it has performance impact too. I did not find anything right now that has numbers regarding this, but I just applied my logical thinking.
If you wish to enable it on all images, you should include Intel's watchdog too named: iTCO_wdt

All for this, ty!
I think for desktop we keep this to an optional just command, I'd like to focus on stability as much as upstream does except on strictly gaming hardware.


Updates

Updates
This pull request does the following:

Updates Action workflows
Updates all npm packages
Adds the /gallery page
Restructures the config dir to use the pages subdir
Pulls astro file updates from grantbirki/astrowind
Adds the sage color scheme just in case we want to use it in the future

.deploy


Refactor long running celery tasks

The big celery tasks that loop over all necessary patients have been refactored to a classic producer / consumer model, to massively shorten the time to wait when shutting down celery, and create a more efficient asynchronous system where multiple workers can in parallel work on a number of tasks at a time.

Hello @pbugni! Thanks for updating the PR.

In the file portal/config/config.py, following                are the PEP8 issues :

Line 137:80: E501 line too long (81 > 79 characters)

There are no PEP8 issues in the file portal/tasks.py !

In the file portal/views/portal.py, following                are the PEP8 issues :

Line 246:80: E501 line too long (86 > 79 characters)
Line 373:80: E501 line too long (80 > 79 characters)
Line 502:80: E501 line too long (90 > 79 characters)
Line 505:80: E501 line too long (88 > 79 characters)
Line 962:80: E501 line too long (101 > 79 characters)
Line 973:80: E501 line too long (89 > 79 characters)
Line 1137:80: E501 line too long (86 > 79 characters)
Line 1146:80: E501 line too long (84 > 79 characters)
Line 1155:80: E501 line too long (83 > 79 characters)
Line 1164:80: E501 line too long (84 > 79 characters)
Line 1173:80: E501 line too long (83 > 79 characters)


brew doctor:Failed to import: flann

After i install opencv on brew, i run brew doctor, and i got this new errors:
Error: Failed to import: flann
undefined method deprecated_option' for Flann:Class Error: Failed to import: gromacs undefined method deprecated_option' for Gromacs:Class
Error: Failed to import: hdf5
undefined method deprecated_option' for Hdf5:Class Error: Failed to import: infernal undefined method deprecated_option' for Infernal:Class
Error: Failed to import: nauty
undefined method deprecated_option' for Nauty:Class Error: Failed to import: netcdf undefined method deprecated_option' for Netcdf:Class
Error: Failed to import: petsc
undefined method deprecated_option' for Petsc:Class Error: Failed to import: slepc undefined method deprecated_option' for Slepc:Class
Error: Failed to import: vtk
undefined method deprecated_option' for Vtk:Class Error: Failed to import: vtk5 undefined method deprecated_option' for Vtk5:Class
so, how can i get rid of the new errors?

Make sure you're up-to-date with brew update && brew upgrade. If the error persists afterwards, please report this to Homebrew/homebrew-science as the formulae involved in the errors above are their formulae.


Release/beta 1 10 1

Do we need to change marketing version to 1.10.1? similar to this https://github.com/MyPureCloud/mobiledx-samples-ios/pull/106/files#diff-1d09b679f2a1a4ef32c6ff45b0e8aa67ab097d6a8bc187cbf82c18feaf3df570R412


Add support for alphanumeric/or simple password generation

Problem
Annoyingly enough, I often find myself needing to generate a password where characters such as ' " \ or a backtick are not allowed.
My current workflow for sites that do this is to manually run:
pws gen my-password --charpool 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()_-+='

Which works, but is a bit much in terms of manual typing.
Even then, sometimes sites will reject some of those characters. So I end up defaulting to:
pws gen my-password --charpool 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890'

Proposed Solution:
Add two new options:

--alphanumeric to generate a password only matching the character class [A-Za0-9a-z]
--simple to generate a password only matching the character class [0-9a-zA-Z!@#$%^&*()]

I've taken the liberty of prototyping a few Gherkin tests about what the end behavior might look like:
Scenario: Generate a new password for "github", using only alphanumeric characters
    Given A safe exists with master password "my_master_password"
    When I run `pws generate github 0 --alphanumeric` interactively
    And I type "my_master_password"
    Then the output should contain "Master password:"
    And the output should contain "The password for github has been added"
    And  the output should contain "The password for github has been copied to your clipboard"
    And  the clipboard should match ^[0-9a-zA-Z]{64}$
Scenario: Generate a new password for "github", using only alphanumeric and no special characters
    Given A safe exists with master password "my_master_password"
    When I run `pws generate github 0 --basic` interactively
    And I type "my_master_password"
    Then the output should contain "Master password:"
    And the output should contain "The password for github has been added"
    And  the output should contain "The password for github has been copied to your clipboard"
    And  the clipboard should match ^[0-9a-zA-Z!@#$%^&*()]{64}$

I've been thinking about this feature for a hot second. Happy to implement it if there's interest and no one else beats me to it.

If there's interest in this feature, I'd also like to add another option (which I will write up in a separate issue) that's something like --exclude-strange which would simply exclude some of the commonly disallowed characters mentioned above.
My thought being that when a site disallowing the regular character set is hit, a user can:

First try excluding quotes, backticks, backslashes etc. with --exclude-strange
If that's not successful, try using only the slightly less complex charpool with --simple, and if that one is rejected
Default to --alphanumeric and weep salty tears at the state of password policies on whatever service they are using.


Add a Maze Game Online with varying levels of difficulty

Project title
Maze Game
Project Description
The maze game works by presenting a maze in front of the user with a caterpillar that would like to feed on the cabbage but has to reach it through a maze. The player has to navigate the caterpillar using the arrow buttons of the keyboard or using the mouse and help it reach the cabbage. It also works on phone screens perfectly and the user can select the caterpillar and send it to desired location using hand touch. This game also has option to select from various difficulty levels viz : Easy, Medium, Hard and Extreme and with each increasing level, the user is presented with a more complex maze. Every single maze is different and unique. The images can be seen below
Easy Level :

Medium Level :

Hard Level :

Extreme Level :

When the user successfully completes the right path, the number of steps taken is also printed on the screen along with a congratulations message

Stack:

[x] Html
[x] CSS
[x] JavaScript

The project is live at : https://srishti2128.github.io/Maze-Game/
Feel free to explore the game.
I would like to add this project to the ProjectKart website.
Kindly assign me this task @khushi-purwar @meinhoonharsh so I can start working on it and make a pull request as soon as possible. I am a GSSOC'22 participant as a contributor and have added the Drum Kit online webapp to the site previously in #48
Thank You !!

Project title Maze Game
Project Description The maze game works by presenting a maze in front of the user with a caterpillar that would like to feed on the cabbage but has to reach it through a maze. The player has to navigate the caterpillar using the arrow buttons of the keyboard or using the mouse and help it reach the cabbage. It also works on phone screens perfectly and the user can select the caterpillar and send it to desired location using hand touch. This game also has option to select from various difficulty levels viz : Easy, Medium, Hard and Extreme and with each increasing level, the user is presented with a more complex maze. Every single maze is different and unique. The images can be seen below
Easy Level :

Medium Level :

Hard Level :

Extreme Level :

When the user successfully completes the right path, the number of steps taken is also printed on the screen along with a congratulations message

Stack:

[x]  Html
[x]  CSS
[x]  JavaScript

The project is live at : https://srishti2128.github.io/Maze-Game/ Feel free to explore the game.
I would like to add this project to the ProjectKart website.
Kindly assign me this task @khushi-purwar so I can start working on it and make a pull request as soon as possible. I am a GSSOC'22 participant as a contributor and have added the Drum Kit online webapp to the site previously in #48
Thank You !!

@meinhoonharsh Kindly have a look and if you can assign the issue, I can start the work rn.

Project title
Maze Game
Project Description
The maze game works by presenting a maze in front of the user with a caterpillar that would like to feed on the cabbage but has to reach it through a maze. The player has to navigate the caterpillar using the arrow buttons of the keyboard or using the mouse and help it reach the cabbage. It also works on phone screens perfectly and the user can select the caterpillar and send it to desired location using hand touch. This game also has option to select from various difficulty levels viz : Easy, Medium, Hard and Extreme and with each increasing level, the user is presented with a more complex maze. Every single maze is different and unique. The images can be seen below
Easy Level :

Medium Level :

Hard Level :

Extreme Level :

When the user successfully completes the right path, the number of steps taken is also printed on the screen along with a congratulations message

Stack:

[x] Html
[x] CSS
[x] JavaScript

The project is live at : https://srishti2128.github.io/Maze-Game/
Feel free to explore the game.
I would like to add this project to the ProjectKart website.
Kindly assign me this task @khushi-purwar @meinhoonharsh so I can start working on it and make a pull request as soon as possible. I am a GSSOC'22 participant as a contributor and have added the Drum Kit online webapp to the site previously in #48
Thank You !!

@meinhoonharsh kindly assign me this issue.

@Srishti2128 you can work on this issue now

@Srishti2128 you can work on this issue now

Please add the GSSOC label to it . Thank you

Thanks for assigning !

The PR is made #188 . Kindly review and merge it.
Thank You !


"Enhancing LLM/GPT Agent Interactions with Optimized Data Architecture Integration"

This pull request proposes an advanced data architecture aimed at enhancing the interactions and efficiency of LLM/GPT agents within our project. It specifically addresses the concerns and opportunities highlighted in Issue #33, focusing on optimizing data handling, storage, and retrieval processes. The proposed integration includes the use of Redis for caching frequent LLM computations, PostgreSQL for managing an extensive knowledge base and context, MongoDB for storing reports and generated documents, and MySQL for tracking process states. This architecture is designed to improve response times, support scalability, and ensure robust data management, thereby significantly contributing to the project's goals as outlined in the mentioned issue.

Is MongoDB needed? Is there something that's missing from Postgres JSON support?

Is MongoDB needed? Is there something that's missing from Postgres JSON support?

Based on our discussion about the system's requirements, including handling unstructured context and continuous learning for LLM extension, both MongoDB and PostgreSQL have their distinct advantages, making them valuable for different aspects of the system.
MongoDB's strength lies in its ability to handle unstructured or semi-structured data efficiently. It is particularly adept at automatically converting unstructured inputs into JSON for storage. This capability is crucial for systems that ingest varied and dynamic data types, allowing for flexibility in data representation and quick adaptation to changes without the need for predefined schemas [❞].
PostgreSQL, with its JSON and JSONB data types, offers the capability to store and query JSON data, providing a structured approach to managing semi-structured data. While PostgreSQL can share information in JSON format, allowing for some degree of flexibility similar to MongoDB, it excels in scenarios requiring complex queries, data integrity, and reliability [❞].
The decision to use MongoDB, PostgreSQL, or both should consider the specific requirements of your system:

If your system frequently deals with unstructured or semi-structured inputs that need to be quickly and automatically converted into JSON for storage, MongoDB's schema-less nature and efficient handling of JSON documents could provide significant advantages.
If your system requires the rigorous data integrity, complex querying capabilities, and transactional support provided by SQL databases, along with the need to handle JSON formatted data, PostgreSQL would be highly beneficial.
For systems that encounter both sets of requirements—managing unstructured data with the need for flexible storage options, as well as conducting complex analyses and maintaining data integrity—a combined approach using both MongoDB and PostgreSQL might be the best solution.

This hybrid approach allows you to leverage the strengths of each database system, using MongoDB to efficiently manage dynamic, unstructured data, and PostgreSQL to handle structured data and complex queries, ensuring robust data management and analytics capabilities.
For more insights on MongoDB and PostgreSQL, including their use cases and performance considerations, further reading and resources from official documentation and third-party analyses can offer deeper understanding and guidance.

Also this IS just my first brainstorming for DB architechture for OpenDevin.
@neubig
what do you think, could i contribute in this field?

IMO this is overkill for an MVP.
I would suggest:

an in-memory vector database for extended knowledge (i.e. RAG). It'd start out empty at the beginning of a session, and be filled out with any web pages, files, etc the LLM decides to access. The community seems to be converging on chroma for a vector db

eventually we will probably want to pre-fill the vector DB, e.g. with the repository contents and relevant documentation

A PostgreSQL database for the application itself (i.e. user management, projects, prompt history)

even this is probably overkill for an MVP--because it's self-hosted OSS, we store state in a file on disk.

Yeah, I tend to agree with @rbren that we should probably stick to something simpler at least at first.

Yep, @rbren  i agree. Also am favouring chromadb for the vector database.

@rbren @neubig @TareefAzizi Yeah guys i agree with what you say, i wast just doing a really fast brainstorm but not for AN MVP of course bur let me expose in this other way what i would do based on what you think and speak my mind.
I really am hungry to implement this i am about to Showcase in a real project.
Take a good look at the concrete example I've provided that showcases the power of vectorized LLM-style searches across various vector database options, and how incorporating advanced statistical techniques and data model customization can further optimize the performance and capabilities of our agent solution even for the MVP:
Imagine we have a use case where OpenDevin agent needs to retrieve relevant information from a large knowledge base to generate a thoughtful response to a user's query. Using a vectorized LLM-style search, we can represent both the user's query and the knowledge base content as high-dimensional vectors, allowing us to efficiently find the most semantically relevant information.
Let's compare the performance of this vectorized search across the different vector database options:

Vector DB
Latency (ms)
Throughput (queries/sec)
Search Quality (Recall@10)

Chroma
10-20
1,000+
0.80

Qdrant
5-10
5,000+
0.82

Pinecone
2-5
10,000+
0.88

Weaviate
3-7
5,000+
0.85

Milvus
1-3
20,000+
0.90

Faiss
0.5-1
50,000+
0.92

As you can see, the more advanced vector database options like Milvus and Faiss offer significantly lower latency, higher throughput, and better search quality (as measured by Recall@10) compared to Chroma and Qdrant.
Now, let's take this a step further by incorporating advanced statistical techniques and data model customization to enhance the performance and capabilities of our agent solution:

Intelligent Embedding Generation:

By leveraging state-of-the-art language models (e.g., BERT, GPT-3) and fine-tuning them on our specific domain knowledge, we can generate highly accurate embeddings for both the user queries and the knowledge base content.
This customized embedding generation process will improve the semantic understanding and retrieval accuracy of our vectorized searches, as reflected in the increased Recall@10 scores.

Dynamic Query Expansion:

Implement techniques such as query expansion and relevance feedback to dynamically enrich the user's original query with additional context and related terms.
This will help surface more relevant information from the knowledge base, further improving the quality of the agent's responses.

Adaptive Ranking and Scoring:

Develop custom ranking and scoring algorithms that consider not only the vector similarity, but also other relevant factors such as content recency, user preferences, and contextual cues.
By fine-tuning these scoring mechanisms, we can optimize the relevance and usefulness of the information retrieved for each user query.

Personalized Knowledge Prioritization:

Analyze user interaction patterns and feedback to identify the most valuable and frequently accessed knowledge assets.
Prioritize the indexing and retrieval of these high-value knowledge items, ensuring the agent can quickly and accurately respond to common user queries.

By incorporating these advanced statistical techniques and data model customizations, we can further enhance the performance and capabilities of our agent solution, as demonstrated in the following updated table:

Vector DB
Latency (ms)
Throughput (queries/sec)
Search Quality (Recall@10)

Chroma
8-15
1,500+
0.85

Qdrant
4-8
7,000+
0.87

Pinecone
1-3
12,000+
0.92

Weaviate
2-5
7,000+
0.90

Milvus
0.5-2
25,000+
0.94

Faiss
0.3-0.8
60,000+
0.96

As you can see, by leveraging these advanced techniques, we've been able to further improve the performance and search quality across all the vector database options, with Faiss and Milvus standing out as the clear leaders in terms of low latency, high throughput, and exceptional search relevance.
This comprehensive approach, combining cutting-edge vector databases, advanced statistical methods, and customized data model optimization, will enable OpenDevin agent solution to deliver lightning-fast, highly relevant, and personalized responses, setting a new standard in the industry. I'm really excited to implement this on a real project and position our MVP as a true trailblazer, ensuring its long-term success and scalability.

@rbren @neubig can we get away with something as simple as pgvector?

Probably. I'm a big postgres fan, so that'd probably be my second choice after chromadb.
I'm currently leaning toward chroma, because it has a really nice in-memory engine, and seems to be the DB of choice in llama-index (which I imagine we'll be using for our RAG, but TBD).

I'm going to close this PR as much of this seems to be out of scope for now. Thanks for the discussion all!

Hi @mslmr369, can you cite the sources of those numbers?
Here are the results of Qdrant's open-source benchmarks.
https://qdrant.tech/benchmarks/
FYI. I am affiliated with Qdrant.