Replication questions

We had a robust conversation about CouchDB on our last call with some people in favour and some people against, but I didn't feel we came away a whole lot clearer.
As a follow up, I would like to pose the following questions:

What other replication + sync implementations exist today that could be considered for inspiration?
With what we know up to this point in the EDV spec, what are the major technical blockers against using a P/CouchDB implementation? @csuwildcat ?
What are the pros / cons of creating a whole new replication implementation and spec for confidential storage vs taking an existing implementation like CouchDB and "standardizing" it?

What other replication + sync implementations exist today that could be considered for inspiration?

Replication prior-art (not necessarily re-usable technology but certainly e-usable patterns)
Partitioned by Content Change Detection/Notification Model

CRUD Event based

Syntergy Replicator for SharePoint: Replication Pipeline: Outbound Processing, Package Transfer, Inbound Processing
Groove Workspace

Update Sequence Number (USN) based

Microsoft Active Directory

Crawler Events based

Don't know of any

We had a robust conversation about CouchDB

@tahpot Are you referring to the entire CouchDB vertically integrated database platform as a potential (starting point for) a EDV implementation?
Reference: https://docs.couchdb.org/en/stable/intro/overview.html
...or are you more specifically referring to just the CouchDB Replication Protocol?
Reference: https://docs.couchdb.org/en/stable/replication/protocol.html

...or are you more specifically referring to just the CouchDB Replication Protocol?
Reference: https://docs.couchdb.org/en/stable/replication/protocol.html

In the context of this conversation, I'm more referring to the CouchDB Replication Protocol.

Regardless of how little of the CouchDB Replication Protocol we adopt for EDV, would it be possible for CouchDB to be compliant as an EDV?

Regardless of how little of the CouchDB Replication Protocol we adopt for EDV, would it be possible for CouchDB to be compliant as an EDV?

@agropper You would have to do an assessment of CouchDB's capabilities level-by-level against the CS spec:

Layer A - Secure Content Storage Containers
Layer B - Secure Content Storage Service
Layer C - Authorization Service


Add pheasant network

i see that most of the logic is on L2, and we're going to add L2 contracts support soon so i think the best is to wait a bit for it and add proper discover. in the current form the page is not very useful.

Closing, tracked by L2B-3304.

added to the backlog


Add compatibility with python3

@keleshev any chance you could merge this and update the python package?

Duplicate of d4b32b62f3641cf907e8e44e1d421fdac88f3413
Going to close.


[BUG] mongo查询语句无法解析

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

DeepFlow Component
Agent
What you expected to happen

![image](https://github.com/user-attachments/assets/156f1490-2393-4058-a120-118c3c6c8256)

抓包看到是有mongo查询语句的，但grafana显示不对是这种json格式不是查询语句：{ "isMaster": 1, "helloOk": true, "compression": [], "client": { "driver": { "name": "mongo-go-driver", "version": "1.17.1" }, "os": { "type": "linux", "architecture": "amd64" }, "platform": "go1.22.5", "env": { "container": { "orchestrator": "kubernetes" } } } }
How to reproduce
No response
DeepFlow version
v6.6.6
DeepFlow agent list
No response
Kubernetes CNI
No response
Operation-System/Kernel version
No response
Anything else
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

已经升级道6.6.8版本但问题依旧   附件是mongo抓包
mongo-new.zip


Lab Computers

Eric,
I am Greg Reeve, a web developer in the HBLL. We are creating a new version of the Open Computers lab application that you reference in the BYU mobile app. We currently have the new and old version of the apps running concurrently. The old/current version is found at:
http://open-computers.lib.byu.edu/available
The new version is at:
https://labusage.lib.byu.edu/available/
Let me know when you are able to make this change in the mobile apps or if you have any other questions.
Thanks,
Greg

Eric,
Thanks for clarifying this and providing that feedback on the background color. I brought these questions back to our team and we don’t want the URL used that I sent. Instead here are two options for displaying the lab computers info:

Use our labusage API (https://labusage.lib.byu.edu/api/labs/) and create your own frontend
Point to the Public Computers page on the library website: https://lib.byu.edu/services/public-computers/

Let us know if you have any more questions about these options.
Thanks,
Greg Reeve

Use the API defined above and let's actually get a new feature going :)

Can you ask the library to make the api not require trailing slashes on every request? I can't figure out how to get wso2 to not drop the trailing slashes from the api definition when it makes requests


[Feat][UI] infinite scrolling for review section

Context
Currently, the UI only loads 10 reviews in all the review page type, home, professor, and course
To improve the user experience, we should introduce infinite scrolling for the review section.
Feature

MUST be able to load more reviews with some action (any sensible proposal is welcomed)
SHOULD have minimal load time

explore load ahead infinite scrolling, similar to how TikTok's FYP works

SHOULD have minimal network calls

Will be working on this!


Master sync to deploy

TBR @dglazkov @bradyk @whereistanya @andrewjtimmons
We were apparently pushing to gh-pages by direclty modifying the gh-pages. This broke the npm run deploy command.
In the future, make changes to the dist/ directory on master and then run npm run deploy. That way the deploy stays scriptable.


Add with_env helper

Check the discussion in #27
Signed-off-by: Freyskeyd<EMAIL_ADDRESS>

@killercup can you check why the CI doesn't pass?

Probably because I tried being too clever… can you append || true to the travis.yml lines with the cargo install calls? 😅

The command "[[ "$(cargo +nightly-2017-10-09 fmt -- --version)" != "$RUSTFMT_VERS"* ]] && \
  cargo +nightly-2017-10-09 install rustfmt-nightly --vers "$RUSTFMT_VERS" --force
  " failed and exited with 1 during .

https://travis-ci.org/killercup/assert_cli/builds/285971508

Probably because I tried being too clever… can you append || true to the travis.yml lines with the cargo install calls? 😅

I assume the || true is needed when the version check fails (its already installed), causing us not to reinstall the tool?

@Freyskeyd, wow, thanks for the quick OsString update!
@epage, yeah, it's a ternary: [[ if ]] && then || else. Which evals to a non-zero exit code without the else branch 😅

@epage, yeah, it's a ternary: [[ if ]] && then || else. Which evals to a non-zero exit code without the else branch 😅

Would that cause the return value of then to be ignored?

@killercup I tried with OsStr but it's a bit tricky. OsString is more easy and has the same type as vars_os().
About travis, what do you want to do?

Would that cause the return value of then to be ignored?

Maybe? Probably. We could also try to use a real if. Tbh, I'm fine with dealing with this later…

OsString is more easy and has the same type as vars_os().

Yes, sorry, I meant OsString!

About travis, what do you want to do?

Eh, I want you to fix the valid error and the formatting? 😛

@killercup @epage I updated the code, can you check it please? :)

I move it to another crate because I need it outside assert_cli.
https://github.com/Freyskeyd/environment
https://crates.io/crates/environment

bors r+


django-summernote SummernoteInplaceWidget Not Accepting Images

I am currently testing with the django SummernoteInplaceWidget, and when I try to copy an image into the editor it does not work with the SummernoteInplaceWidget.  It works perfectly fine with the SummernoteWidget.
I am using the most recent version of summernote-lite from summernote website with the following libraries...

<link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-lite.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-lite.js"></script>

Here is my summernote_config in settings.py
SUMMERNOTE_CONFIG = {
   'summernote': {
        'toolbar': [
          ['undo', ['undo',]],
          ['redo', ['redo',]],
          ['style', ['bold', 'italic', 'underline',]],
          ['font', ['strikethrough',]],
          ['fontsize', ['fontsize']],
          ['color', ['color']],
          ['para', ['ul', 'ol', 'paragraph']],
        ],
        'width': 760,
        'height': 300,
        'focus': True,
        'fontSizes': ['8', '9', '10', '11', '12', '14', '18', '22','24', '36', '48' , '64', '82', '150'],
},
}

Here is my code:
    widgets = {
       'summary': SummernoteWidget(),
    }

And the end result after I copy the image...

But when I change the widget to SummernoteInplaceWidget...
    widgets = {
       'summary': SummernoteInplaceWidget(),
    }

And try to copy image into the editor, I just get a blank screen, no image is copied.  As shown below:

Is this expected behavior?  I tried changing the iFrame setting to False in settings.py but that did not seem to make a difference.  Thanks in advance for any thoughts.

I believe I am mixing apples and oranges. Summernote lite and django-summernote are two separate products. However, Jquery and summernote-lite libraries or any of the other libraries are needed for the SummernoteInplaceWidget if I am understanding correctly. Closing out while I reevaluate django-summernote configuration.


fix: go import errors due to invalid imports

After carefully looking through the package I concluded that the imports in tools.go (which are causing the issues) are only used by the build system and are not actually needed by the code in this package.
Reading this article I fully understand the reasoning behind it, but it does cause some unneeded import errors (see screenshots below).
The article notes that this solution (adding build dependencies to a tools.go file) was a best practice for Go 1.11, but it also mentions a different solution (specifying the version in the go install command) for Go >=1.16 which doesn't has the same side effects and additionally makes the go.mod file a lot smaller and cleaner.
So I updated the code to use the newer solution, making sure no stability guarantees are lost in the process (the tools still use the exact same versions). Doing so prevents the go.mod and Go import errors in projects that (need to) import herodot (either directly or by importing other Ory packages that rely on herodot).
It would be really awesome if this can get merged to get rid of the errors in our build setup. Thanks!!
Screenshot showing the import errors when using herodot directly:

Screenshot showing the go.mod errors when herodot is imported as indirect dependency:

Checklist

[x] I have read the contributing guidelines and signed the CLA.
[ ] I have referenced an issue containing the design document if my change introduces a new feature.
[x] I have read the security policy.
[x] I confirm that this pull request does not address a security vulnerability.
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact<EMAIL_ADDRESS>from the maintainers to push the changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added the necessary documentation within the code base (if appropriate).

After searching some more, I found that we used a build flag (-tags tools) in our setup which we didn't really need and which (of course) triggered the tools.go file to be included in our builds.
So while the suggested changes in this PR still provide a valid alternative and will in some cases (when a project has defined a tools tag for something else then including build tools) prevent issues, I guess it's not as important to change/update as I previously thought...


Documentation for Kale

Docs will be available on the Watson Developer website.
An end-to-end tutorial may also be delivered.

Docs for Kale are available here: https://www.ibm.com/watson/developercloud/doc/retrieve-rank/c_eir_overview.shtml


refactor(streaming): use LRU cache for group top-n

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
As title, the later PR will change cache key from Vec to HashKey.
Checklist

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

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)
close https://github.com/risingwavelabs/risingwave/issues/6484

You should call evict manually. 🤣


Save metadata by optional language

Requested Feature

Spotify has taiwan market, and it's really great to save the c-pop song metadata in traditional Chinese.
Possible implementation
No response

I am not sure if this is possible, spotify might be checking the IP to serve different content.
I am not planning to implement this because it's easier to just use a VPN.


Runtime

I have been trying to import qiskit_research inside a runtime job, without success. Is it planned to upload the code to the runtime server or should i copy-paste all the code inside my script?

Currently there are no plans to provide qiskit_research in the Runtime environment. Feel free to copy-paste the code into your script.


Sprite problem

Describe your problem here.
I made a custom note type, but when using them in a track, the sprite is only shown on the first one, and the next ones are displayed as normal notes. Code below.
function onCreate()
	for i = 0, getProperty('unspawnNotes.length')-1 do
		if getPropertyFromGroup('unspawnNotes', i, 'noteType') == 'BulletNote' then
			setPropertyFromGroup('unspawnNotes', i, 'texture', 'BulletNote');
			setPropertyFromGroup('unspawnNotes', i, 'strumNoteHit', false);

			if getPropertyFromGroup('unspawnNotes', i, 'mustPress') then --Doesn't let Dad/Opponent notes get ignored
				setPropertyFromGroup('unspawnNotes', i, 'ignoreNote', true); --Miss has no penalties
			end
		end
	end
end
function goodNoteHit(id, noteData, noteType, isSustainNote)
    if noteType == 'BulletNote' then
    triggerEvent('Play Animation','dodge', 'bf')
    triggerEvent('Play Animation','Shot', 'dad')
        end
    end
function noteMiss(id, direction, noteType, isSustainNote)
    if noteType == 'BulletNote' then
    setProperty('health', getProperty('health')-0.2);
    triggerEvent('Play Animation','hurt', 'bf')
    triggerEvent('Play Animation','Shot', 'dad')
    end
        end

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No

strumNoteHit isn't a variable, that line may be preventing the rest of the code from running

strumNoteHit isn't a variable, that line may be preventing the rest of the code from running

Then what should I write there?

Delete it, I don't know what that line was supposed to do

The noteMiss function does not work without this line.

remove the strumNoteHit line and also remove
if getPropertyFromGroup('unspawnNotes', i, 'mustPress') then --Doesn't let Dad/Opponent notes get ignored
	setPropertyFromGroup('unspawnNotes', i, 'ignoreNote', true); --Miss has no penalties
end

from your code
this code stops misses from being calculated on the note

Thats works! Thanks so much!

The noteMiss function does not work without this line.

As I said the variable doesn't exist so the line does nothing other than break the script
You can close this now


Function display not working with inequality

Steps to reproduce:
https://www.squiggle-language.com/playground?v=0.8.6#code=eNqrVkpJTUsszSlxzk9JVbJSyskvLtao0FSwVahQsFEwULBX0DXVqlCwUjDSA9IxeTF5haWJeSWZJZXxKam5iXkpqSlAtYYGCiX5QDIbRUFuZnFuYklyhgZcpLi0oCAnMzUFZD6GoIKuAobZIPNATopPySwuwW4O2MXE2KkZk6dUCwBU11el
Expected behavior:
Function displays with default range
What I got instead:
Error about smaller function.

The error here is:

The problem is that you are calling loss with a distribution, but < only takes in numbers. To fix this, you can just force loss() into a distribution (in case it's a number), and then take the mean/median of it. Like this:
https://www.squiggle-language.com/playground?v=0.8.6#code=eNqNj0EKwjAQRa%2FyySoVWqrgpigu9BiBEpwRQ5ukJSlUxLubdCFIXbgZhsfw%2Fp%2BnIL7pqY9nTywa0fsQ5FzgCMvayYsJsbK648QKHFDjhHKPDWY02FXLppxy46RdNPHRElvtiCkJtjWiT7P7OrAmWB2vd%2FkhYRqG3jDl0BVEiZU7%2B3LPllK7357ljX8yC%2BXE6w19Al3I

You can also do loss for each sample. Also, if you use the next branch (or wait about a day to use 0.9), you can use annotations to help out.
I made one variant on this here. Hope that helps!
https://www.squiggle-language.com/playground?v=dev#code=eNqtkslOwzAQQH9llJONkshF4hKBKIu4IRXliKvK1IZa9RJqRyRq%2B%2B%2FYaUFdaQ9c4mQyM2%2FeJPOEi3dWK%2F9guUiKpO8m9uvOoflCLGCgrM9NrcVMjp8MEinMoSnHTIkCuiNX0gg2QziFZmCl8a6AVzKEJV5iapR1DjUhkvUIIdMUumOI4QYauAYCt5BdwUV4KOAy7%2B6ooWZ%2FBC6dP0i3HwivYZ81M176dsSFZoYLHig9At6G6%2FR42x%2Btdquxa%2FVm775hWiCavNRMBQSUdVWpFjL4CTyumTTZnERLp5kfT9BvxMVCKXjYSY%2FEfay2sfceMmoA9pT%2BSaP7LiddMLy14JiulHCdVywbRdh9W67CB8U2vFZppfC5ZhXaUjq%2BG5zGxAijBh823vklz5fWgpkzzPGu73OsOyHbAeLoeiv5D9HAwMnyG0ppONA%3D

The sample set mapping is what I want, thanks!


libDefaultClient.so: internal error

i am doing cross compilation of AVS SDK for  apq8053(ARM)
when i run Sampleapp i got error -> libDefaultClient.so: internal error
i have copy   libDefaultClient.so in /usr/lib , /usr/lib64 on the my ARM board
What is the expected behavior?
it should run
What behavior are you observing?
error of  libDefaultClient.so file
Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <x.y.z>

Tell us what hardware you're using:

for build laptop ubuntu
and target is ARM(apq8053)

Tell us about your OS (Type & version):

[x] Linux

Hi @tushargajjar,
Are there any additional error logs or stack traces that you can provide?

Solved
I used cross toolchail 32 bit 'arm-linux-gnueabihf-g++'  but now i use 'aarch64-linux-gnu-g++-5' fpr 64 bit ,and re compiled all and solved that error

Hi @tushargajjar, I'm happy to hear that you were able to resolve the issue.  I am going to close this issue now.  Thanks!


Buttons doesnt Work / Usersearchbar isnt visible

Hey,
we use the newest WP Version and Chrome / Firefox, i cant click on the + Button to add rooms when i klick on it, it do nothing. The Serachbar to add privat rooms with users isnt there...
Iam full admin of the Site ...
What i have to to ? ( I purchased premium !! )

Hello,
I'm sorry to hear that. There may be many reasons for this behavior. First of all try:

uncheck “Show weekday names” checkbox in settings,
enable/disable other plugins (One of installed plugins can interfere with Author Chat),
disable any adblocker from your browser,
try to install old versions of plugin (you can download them HERE at the bottom of site).

I just checked the plugin twice and it works without problems, also no one else is reporting about something similar, so this i really odd.

I try it all - doesnt work.
Now i installed the newest one again and my Premium Feature is lost....
The Older Versions of your chat doesnt support private chatrooms i see but i need this...

ok .. magic ... now it works...

the bars and the problemes from bevore are solved... but now when i typed text and send it ... nothing appears in chat box

1.8.2 version has chat rooms, maybe download and install it. It sounds like some major problem with JS scripts on your server...

how can i fix this JS problem ?

have you tried 1.8.2?

With this version the text box works but not the bars and rooms...

I can't reproduce that behavior on my server. If you need help you have to create some author/guest account on your website, so I could log in and check it out.

Hello,
I have the same problems.
You can write text. But the top buttons do not work.
And the worst thing is that the chat itself scrolls down, it is not possible to read.


Added a java code for ValidateIndexKValueGreaterThanZero.java

@indrakishore Could you please review the PR.
Java program that prompts the user for a list of integers, then checks if the number at index k is greater than 0. The program handles user input and checks for valid indices.
Example of an output:
Enter numbers (type 'done' to finish):
1
2
3
4
done
Enter the index k to check:
3
The number at index 3 is greater than 0.

@indrakishore Could you please review the PR. Java program that prompts the user for a list of integers, then checks if the number at index k is greater than 0. The program handles user input and checks for valid indices.
Example of an output: Enter numbers (type 'done' to finish): 1 2 3 4 done Enter the index k to check: 3 The number at index 3 is greater than 0.

@farihaNaqvi Please rename your file as protocol like fileNameByYourName

Thanks,  @indrakishore  could you please review now


Please replace with a clear and descriptive title

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

Netlify CMS version: [e.g. 2.0.4]
Git provider: [e.g. GitHub, BitBucket]
OS: [e.g. Windows 7]
Browser version [e.g. chrome 22, safari 11]

Node.JS version:

CMS configuration

Additional context

solved all issue


How can I use MimicExplainer with Voting Classifier? [Question]

I'm building a Voting Ensemble Classifier model with transformation pipelines.
pipe_xgbc = Pipeline(steps=[
    ('transformer', variable_transformer),
    ('classifier', clf1)])

pipe_lgbc = Pipeline(steps=[
    ('transformer', variable_transformer),
    ('classifier', clf2)])

pipe_rf = Pipeline(steps=[
    ('transformer', variable_transformer),
    ('classifier', clf3)])

classifiers = [
    ('xgbc', pipe_xgbc),
    ('lgbc', pipe_lgbc),
    ('rf', pipe_rf)
]

voting = VotingClassifier(classifiers,
                        voting='soft',
                        weights=[1, 1, 1])

fited_soft_voting = voting.fit(X_train, y_train)

But when I try to use the MimicExplainer function with an LGBM surrogate model, I get the following error:

explainer = MimicExplainer(fited_soft_voting[-1][1],
                            X_train,
                            LGBMExplainableModel,
                            augment_data=True,
                            max_num_of_augmentations=10,
                            features=X_train.columns,
                            transformations=variable_transformer.transformers,
                            allow_all_transformations=True
)

---------------------------------------------------------------------------
TypeError: 'VotingClassifier' object is not subscriptable

hi @RNakamura90 , sorry about the trouble you are having.  I am guessing that the issue is in this class:
fited_soft_voting

The error:
"TypeError: 'VotingClassifier' object is not subscriptable"

Suggests to me that the fited_soft_voting is getting indexed into when it can't be:
fited_soft_voting[-1][1]

Do you see any error when you pass just fited_soft_voting instead of fited_soft_voting[-1][1]?
Can you call fited_soft_voting.predict(X_train) and validate that this predict call is passing?

Hello @imatiach-msft, thanks for the answer.
When I use only fited_soft_voting.predict(X_train), I get other error:
too many values to unpack (expected 2)
A step prior to the construction of Pipelines for each algorithm:
numeric_transformer = Pipeline(steps=[
    ('imputer', SimpleImputer(strategy='mean')),
    ('scaler', StandardScaler())
])

categorical_transformer = Pipeline(steps=[
    ('imputer', SimpleImputer(strategy='most_frequent')),
    ('onehot', OneHotEncoder(handle_unknown='ignore'))
])

variable_transformer = ColumnTransformer(
    transformers=[
        ('numeric', numeric_transformer, numerical),
        ('categorical', categorical_transformer, categorical)],
    remainder='passthrough')

Hi @RNakamura90 ,
When I use only fited_soft_voting.predict(X_train), I get other error:

too many values to unpack (expected 2)

This is very unexpected to me.  You should be able to call predict or predict_proba on the X_train dataset using the fitted estimator.  Please see the guide:
https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.VotingClassifier.html
Can you print the type of the fited_soft_voting and X_train?  Is this just the sklearn.ensemble.VotingClassifier and a pandas DataFrame or something different?
If you can send me a small notebook to reproduce the issue I can take a look as well, that might be easier.

I see you are passing variable_transformer three times.  I wonder if it needs to be copied.  It would be great to see the full stack trace, as I think that would determine where the issue is coming from.  If you are not able to call predict/predict_proba on the model, then it won't work with the explanations.


Rename Intuita to Codemod.com

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


[CHORE] Remove daft-scan dependency from planning crates

This PR creates a better abstraction over scan tasks and uses that abstraction in the planning crates (daft-logical-plan, daft-physical-plan, daft-local-plan). This is done by creating a new common-scan-info crate which holds a ScanTaskLike trait which planning crates can use to access scan task info without needing knowledge of implementation.
Now, in our planning stages, we solely use our ScanTaskLike abstraction, and then in execution, we downcast to ScanTask to actually materialize them. That way, we can actually remove the daft-scan dependency from planning crates.

@kevinzwang I took another look at this PR, and maybe it can be done in a separate PR, but we also need to invert the dependency between daft-table and daft-logical-plan.

@kevinzwang I took another look at this PR, and maybe it can be done in a separate PR, but we also need to invert the dependency between daft-table and daft-logical-plan.

I'll take a look at it, if it's a complex task i'll merge this one in first


Fix object equality check

The check statesAreEqual(a,b) currently returns true for a={x: 1} and b={x: 1, y: 2}.

LGTM

Actually, cache the values of Object.keys(a) so you don't have to call it twice.

You mean by defining a const inside the if-stmt?

Yes.

better now?

Thanks.
BTW, the semantics here aren't the same as a standard deep equality comparison – it's possible that a and b could have disjoint key sets of the same size, but that b gets a key from its prototype that a has directly.
It's not worth adding the extra logic here, but I think it'd be better to just use isEqual from Lodash – even Redux has a dependency on Lodash these days.

This is good to go from my end though.

Thanks.
But yeah I had the same thought (of using Lodash for the check). Now with peer dependencies it's not such a big deal anymore...

I'd be happy if you guys wanted to add lodash as a dep. Only reason I didn't do that in the first place is because I wanted to get the behavior right and I wasn't familiar enough with the lodash library to know if they have a method that did exactly what I wanted. But if they do, please feel free to use it here.

This used to be deep-equal, no? Was something wrong with the behavior there? Or did you specifically want the logic as implemented right now v. e.g. what's on this PR?

deep-equal is a huge dep. I wanted something smaller.
On Mon, Jun 27, 2016 at 10:11 AM Jimmy Jia<EMAIL_ADDRESS>wrote:

This used to be deep-equal, no? Was something wrong with the behavior
there? Or did you specifically want the logic as implemented right now v.
e.g. what's on this PR?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ReactJSTraining/history/pull/318#issuecomment-228810297,
or mute the thread
https://github.com/notifications/unsubscribe/AAFqp8VI6Hq_6Qy42UdcKZ4KvdZpbWb7ks5qQAQ5gaJpZM4I9zyI
.

--
Michael Jackson
@mjackson

Thanks, @mruoss!


More complex slot-parameter mapping

Revisiting a simple case of dict mapping between "slots" and parameter keys (see https://gist.github.com/mattwthompson/c603d4895d9eafcc37fe7ab8afcb64d8)
In [8]: bonds.slot_map
Out[8]:
{(0, 1): '[#6X4:1]-[#6X4:2]',
 (0, 3): '[#6X4:1]-[#1:2]',
 (0, 4): '[#6X4:1]-[#1:2]',
 (0, 5): '[#6X4:1]-[#1:2]',
 (1, 2): '[#6:1]-[#8:2]',
 (1, 6): '[#6X4:1]-[#1:2]',
 (1, 7): '[#6X4:1]-[#1:2]',
 (2, 8): '[#8:1]-[#1:2]',
 (9, 10): '[#6X4:1]-[#6X4:2]',
 (9, 11): '[#6X4:1]-[#1:2]',
 (9, 12): '[#6X4:1]-[#1:2]',
 (9, 13): '[#6X4:1]-[#1:2]',
 (10, 14): '[#6X4:1]-[#1:2]',
 (10, 15): '[#6X4:1]-[#1:2]',
 (10, 16): '[#6X4:1]-[#1:2]'}

This is straightforward enough for bonds, in which the slots are clearly defined, do not overlap with each other, and can only point to one parameter. One could also reshape this mapping into a matrix in which each slot is a row, each column is a parameter key (for SMIRNOFF, a SMIRKS pattern than uniquely identifies the parameter). This would look something like

Slot
'[#6X4:1]-[#6X4:2]'
'[#6X4:1]-[#1:2]'
'[#6:1]-[#8:2]'
'[#8:1]-[#1:2]'

(0, 1)
1
0
0
0

(0, 3)
0
1
0
0

(0, 4)
0
1
0
0

(0, 5)
0
1
0
0

(1, 2)
0
0
1
0

and so on. This could capture a few rules specific to the typing of bonds in SMIRNOFF, i.e. the sum of each row is exactly 1.
The matrix view provides can describe an alternative way of storing interpolated parameters. Ignoring the physics, imagine if slot (0, 1) was typed, via bond interpolation, to be partway (let's say 30%) between parameters '[#6X4:1]-[#6X4:2]' and '[#6:1]-[#8:2]'. This could be represented as a matrix like

Slot
'[#6X4:1]-[#6X4:2]'
'[#6X4:1]-[#1:2]'
'[#6:1]-[#8:2]'
'[#8:1]-[#1:2]'

(0, 1)
0.7
0
0.3
0

(0, 3)
0
1
0
0

(0, 4)
0
1
0
0

(0, 5)
0
1
0
0

(1, 2)
0
0
1
0

But this could not be mapped back to a simple dictionary. There needs to be a way, in general, to

Store multiple parameters can be applied to the same slot
Describe how they are to be applied (i.e. weightings, in this case)
Follow "rules" of the handler (i.e. in this case that each row must add up to exactly 1) or allow the rules to be bent (if these sums should be allow to be greater or less than 1)

Thinking about this a little more, the only purpose the SMIRKS strings serve is means to point to the actual parameters/potentials/data. To enable non-1:1 mapping, this could be a dict, array, or something else. Breaking 1:1, however, makes it much more difficult for a user to get a simple answer from the slot map and take it to the potential map to get the actual parameter values.
If bonds.slot_map[(0, 1)] returned something dict-like ({'[#6X4:1]-[#6X4:2]': 0.7, '[#6:1]-[#8:2]': 0.3}) it would be more instructive, but would require a method near bonds.potentials that can gobble up that dict and return the relevant data.
I don't think hiding the mapping from the user is a good path to do down. Yes, most use cases only require filling out the system with the parametrized data. But the mapping between force field and system parameters must be transparent, and only returning data, lacking a clear source, would not be acceptable.
An in-between approach could involve storing the dict/array/etc in the PotentialHandler object and exposing some methods for the convenience of the user, i.e. as described by the bullet points above.

Another thought: it might be inevitable that the current models' use of built-in types (dict, str, etc.) is not the eventual solution, which may include subclasses of those types with some custom behavior. Therefore, it may be worth exploring that option now.

I think this is now handled with WrappedPotential


Issue with Point Navigation Success Rate Using Pre-trained Pointnav Model

Dear VLFM Team,
I have been working on replicating the Habitat simulation part of the vlfm code. While the success rate for object goal navigation matches the results reported in the paper, I have felt confused with the point navigation task.
Specifically, using the pre-trained model, I only achieved an average success rate of approximately 46% over three runs. This value is significantly lower than expected, as I anticipated a success rate of over 90% for point navigation. However, this lower success rate seems not to affect the success rate for the final object goal navigation.

As the paper does not report the success rate for point navigation with the pre-trained model, I wanted to confirm if this success rate is close to the truth. Could you provide any clarifications regarding to the expected performance of the pre-trained model?
Thank you for your assistance.

Hello,have you met the problem about the datasets path？I totally follwed the README,but it seems I need other settings...
I'm sure my datasets is in /home/name/vlfm/objectnav/hm3d/v1/val, and I run the vlfm.run in the directory "vlfm"

Hello,have you met the problem about the datasets path？I totally follwed the README,but it seems I need other settings...
I'm sure my datasets is in /home/name/vlfm/objectnav/hm3d/v1/val, and I run the vlfm.run in the directory "vlfm"
ERROR: File "/home/tcy/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat/datasets/pointnav/pointnav_dataset.py", line 51, in get_scenes_to_load
raise FileNotFoundError(
FileNotFoundError: Could not find dataset file data/datasets/objectnav/hm3d/v1/val

I have not met this problem, the Readme.md file also introduces the process of Downloading the HM3D dataset. Actually, for habitat tasks, it requests both the scene dataset (like HM3D) and the task episode dataset (like objectnav episodes of HM3D).
You may need to check if there is a corresponding file for the error path or find more detailed instructions in Habitat's description of the datasets.

Thanks! I will try to check these terms.

I have not met this problem, the Readme.md file also introduces the process of Downloading the HM3D dataset. Actually, for habitat tasks, it requests both the scene dataset (like HM3D) and the task episode dataset (like objectnav episodes of HM3D).
You may need to check if there is a corresponding file for the error path or find more detailed instructions in Habitat's description of the datasets.

Sorry to bother again,does the environment you set totally followed the READ.ME? Or there might be some preparations?

I found that may caused by the allow_sliding = False option, turn it to True and it become normal ~


Documentation/error wording suggestions

I've edited some documentation and error messages to follow previously established conventions and also to make things more readable and cohesive (to me, at least).

bro idk how your ci works tbh, @ me if i need to make an edit 😁🔥🅱💯💯🔥💥💩💀

The CI is supposed to push formatted code, maybe it might be a branch name issue. Or maybe I should call it with -u? Regardless, thank you, this helps.


Suggestion - Minimum/Maximum selection

It would be nice to compound the amount of selection. Something like:
<select-searchable
      [title]="'global.fields.game.champions' | translate"
      [items]="gameData.champions"
      itemValueField="id"
      itemTextField="name"
      [canSearch]="true"
      [multiple]="true"
      **[minSelection]="number"**
      **[maxSelection]="number"**
    >
</select-searchable>

Hey, okay, so what you want is:

If the number of selected items isn’t in the min/max range then disable OK button.
Add a hint at the top of Select page so user can understand how many items he should choose and why OK button is disabled.
If only min parameter is set message should say “Select at least {min} item/s”.
If only max parameter is set message should say “Select {max} item/s maximum”.
If both min and max parameters are set message should say “Select between {min} to {max} items”.

Is that okay?

This is more than ok.

@Hey @Newbie012, it has taken me a while to implement this feature, but it's done now 🙂
Better late, than never, right? 👍
Here is a demo:
https://stackblitz.com/edit/ionic-select-searchable-min-max-validation?file=pages%2Fhome%2Fhome.html


Initial features and design scoping

PSRule is validates objects based on a set of reusable conditions.
Requirements automates how to act if something does not meet a defined state (false), to make true.
Both of these tools can come together to detect and change state in an reusable/ automated way, by generating reusable Validation Requirements based on rules.

@chriskuech My understanding is that initially we can focus on:

Provide a mechanism to create requirements directly from existing rules, ideally solving Describe and Test properties.

To meet the populate the Test script block, Test-PSRuleTarget seems to be most suitable, since it will return a $True or $False based on evaluating the condition.
In my initial investigating, the main challenge was providing PSRule with an object to test and relevant parameters.
Something like the following is my initial thoughts:
New-PSRuleRequirement <params> | Invoke-Requirement;

However another approach would be to evaluate rules then use the requirement to test the results. i.e.
Invoke-PSRule <params> | New-PSRuleRequirement | Invoke-Requirement;


DataTransfer is undefined in Chrome

Fixes issues under Chrome where dataTransfer might be under event.originalEvent instead of event.

This has been merged manually. In addition, I added Chrome as a browser run during the unit tests to cover this issue.


NFnets - Update to ICLR paper link in Readme.md

The Actual paper published in ICLR is linked here in Arxiv : https://arxiv.org/pdf/2101.08692.pdf
Instead the pre-print version (https://arxiv.org/pdf/2102.06171.pdf) is only being redirected in Readme.md .
Kindly update this .

@derpson


Add image overlay

Summarizing what we discussed:

lets call the thing what its called in OOXML, so solidFill rather than overlay.


Solve last CORS issues about duplicated headers

Fix: Solve last CORS errors raised cause by duplication of headers returned.

I've looked at the changes and don't see any particular problems. Is there a way to check it manually?

This is the sixth PR about CORS issues. I still don't see any automated test on these endpoints.
Can we please get some tests with pytest that ensure that all of these enpoints respond and have the CORS headers present in the responses ?

as discussed on the team chat, it's missing a lot of information to test the whole CORS information properly but it seems to improve the situation.
Before calling http://localhost:4020/status/check/fastapi from another site was crashing with this error
  File "/usr/lib/python3/dist-packages/aiosignal/__init__.py", line 36, in send
    await receiver(*args, **kwargs)  # type: ignore
  File "/home/ubuntu/aleph-venv/lib/python3.10/site-packages/aiohttp_cors/cors_config.py", line 171, in _on_response_prepare
    assert hdrs.ACCESS_CONTROL_ALLOW_ORIGIN not in response.headers
AssertionError

Here is an export of the request I had as fetch
await fetch("http://localhost:4020/status/check/fastapi", {
    "credentials": "omit",
    "headers": {
        "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0",
        "Accept": "*/*",
        "Accept-Language": "en-US,en;q=0.5",
        "Content-Type": "application/json",
        "Sec-Fetch-Dest": "empty",
        "Sec-Fetch-Mode": "cors",
        "Sec-Fetch-Site": "same-site"
    },
    "referrer": "http://localhost:5174/",
    "method": "GET",
    "mode": "cors"
});

Now it is not.

If you check the code files changed on that PR, I have removed that hardcoded headers related to CORS on some endpoint that created the issue: headers={"Access-Control-Allow-Origin": "*"}
Also, checking the team's chat, on the virtualization topic, I explain the reason about what is failing:

Seems that I found the cause about this issues. Seems that depending on some endpoints, also they have the CORS middleware, but if the response force to return the Access-Control-Allow-Origin header, the middleware crashes. It happens only on some endpoints, and the /status/check/ipv6 is one of that endpoints, because the /status/check/host or /status/check/fastapi doesn't fail. Anyway I will create now a PR solving that things with CORS to ensure that never fails again, and also I'm finishing the other PR with the bug that I found.

I understood your change and have validated that this change works, I meant checking for other potential problems.

I understood your change and have validated that this change works, I meant checking for other potential problems.

As I have mentioned on the teams chat today:

If you check my PR is just the fix that I'm doing, remove that duplicity handling the CORS headers. I have searched on the code that header to avoid it and use the cors middleware instead

So I have prevented to have that issue on other parts of the code also, and ensuring that we have the middleware set on all these endpoints.


Picker dropdown - does not show new View to select, but normal picker view

Using latest NativeBase, and tried every example for supplying a drop down for a picker (not wanting the normal 'drum view', as it consumes too much screen space, but rather have the view nav to another to select and return.
Have seen it in action on SO, but every time I try it, does not work - just get drum view:
Use sample from - http://nativebase.io/docs/v0.5.13/components
          <ListItem iconLeft>                             <Icon name="ios-transgender" style={{ color: '#0A69FE' }} />                             <Text>GENDER</Text>                             <Picker                               iosHeader="Select one"                               mode="dropdown"                               selectedValue={this.state.selected1}                               onValueChange={this.onValueChange.bind(this)} >                                 <Item label="Male" value="key0" />                                 <Item label="Female" value="key1" />                                 <Item label="Other" value="key2" />                             </Picker>                         </ListItem>
RN version detail:
"native-base": "^2.1.1",
"react": "^15.5.4",
"react-native": "^0.43.4",

Thanks !

@pkassonss Can you be more specific about your idea of a new View. And do you want this for Android or iOS. A demo gif or screenshot will be much appreciated.

Closing this due to inactivity

Sorry, I found another component instead.


Expanding the Rust wasm Book

link to old issue
Issue opened by @mgattozzi
In #12 we added the book to act as a central part of documenting and working with wasm and Rust.
We should continue to expand it as we hash things out and continue to work on wasm. I've compiled a list of tasks below to help grow and maintain the book. This can be a starting point for those wishing to help out but aren't really sure what to do.
Tasks

[ ]  Document workflows: This is part of #7. We need to document different ways to work with and utilize Rust. For instance how to use various bits of tooling to shrink binaries or clean them up beyond what the wasm32 target does, or passing data into and out of JS for instance. The book tells people how to setup the environment and run hello world. Now we need to go beyond that.

[x]   Document tools available to users: We have this in #10 but for someone just picking up the book and who doesn't want to wade through the issue tracker having a list would be good.
Update: In #42 we added the page but this can be expanded as it is a living document! Finding more tools to add and removing old or unused ones overtime will be important.

[ ]  Expanding #28 into it's own section: This will allow users who want to make a crate know how to make it easier to work with wasm.

[ ] Current state of wasm32 development with rustc: Not everyone has the time to read all the PRs, tracking issues, and things going on with it and having a sort of changelog of sorts would help us keep track of changes specific to wasm but also give consumers of the wasm32 backend a way to see what's changing.

[ ] Collection of articles: People have talked about their experiences online with Rust and wasm. We should bring them into a place that's easy to access and learn from. This also allows us to supplement the book as it's expanded

[ ] Collection of demos: Lots of people are making things with wasm and Rust. Let's collect them all into a central place so people can see it in action!

[ ] Tutorials and guides: What is wasm? What is wat? How can someone learn it and utilize it with Rust? The WebAssembly website has some great resources but they focus more on C++ being used and not everyone wants to look at standards. A lot of the docs are what web assembly is and less how to use it. Let's make some high quality Rust examples and guides!

[ ] Tutorial for Writing a Library for JS: Scenarios where we are writing a Rust crate that will be compiled into a WebAssembly module that is used as a library by JavaScript. For example, perhaps the hot portion of some JS is being re-written in Rust/wasm. Similar to scenarios like Oxidizing Source Maps with Rust and WebAssembly
[ ] Tutorial for Writing Pure-Rust Web Apps: Scenarios where there isn't any hand-written JS being loaded, only machine generated glue to access DOM APIs, and all the magic is in pure Rust.

There's likely more we can do to increase our documentation efforts but this seems like a good few steps we can take to really get our documentation efforts underway.

@sarahmeyer and @nanoplink any of these are really great to work on. These would be appendixes to the book however!

Hi all! I am new to the rust community. I reimplemented wasm_game_of_life in pure rust. Hope this is a good first step for Tutorial for Writing Pure-Rust Web Apps. I just started learning rust, and I don't know I understand the web_sys and rust wasm thoroughly to write a chapter. Below is just my two cents. Thank you all!
also https://github.com/rustwasm/wasm_game_of_life/issues/49
https://github.com/tyt2y3/wasm_game_of_life/tree/pure-rust


[Feedback]Nextcloud

Description
Hi
It would be nice to have an option to install Nextcloud with a proper DB and not SQLLite
thanks/regards
Gregers
Additional Information
 - OS: linux
 - CasaOS Version: 0.4.3
 - Disk Total: 27712
 - Disk Used: 7994
 - System Info: [Debian GNU/Linux 11   \l Bit:64 Mem:7801M Core:4 Linux CasaOS 5.10.0-10-amd64 IceWhaleTech/CasaOS#1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux]
 - Remote Version: 0.4.3
 - Browser: Chrome
 - Version: <IP_ADDRESS>

Hello, is there any update to this?

This has been added to BigBearCasaOS: https://community.bigbeartechworld.com/t/added-nextcloud-to-bigbearcasaos/455?u=dragonfire1119


Fix links in README.rst

Links were pointed to, e.g., http://dask-ml.readthedocs.io/>_ on the github preview

Thanks. Done.

Thanks.


update workflows & correct html navbar

Merge recent updates from dev into main:

Update workflows with history from the workflows repo - already reviewed and approved
Correct the release html file with the updated navbar - already reviewed and approved
Remove portion from the deploy-ss3-docs.yml that creates the "experimental" manual and deploys to the gh-pages branch as that has been removed from the index file - already reviewed and approved
Commits also reflect a merge of main back into dev due to changes that were made directly into the main branch.

Thanks for your help @kellijohnson-NOAA!


Internal Server Error when calling services/openshift/clusters and using X-OpenShift-Authorization

KC is not used with X-OpenShift-Authorization
[{"message":{"string":"Could not find required env var or sys prop LAUNCHER_KEYCLOAK_URL","valueType":"STRING","chars":"Could not find required env var or sys prop LAUNCHER_KEYCLOAK_URL"}}]

@ia3andy I am having some trouble trying to reproduce the problem. Can you elaborate on how did you test that?

@gastaldi here is my config map:
apiVersion: v1
data:
  launcher.backend.artemis.password: ''
  launcher.backend.artemis.url: ''
  launcher.backend.artemis.username: ''
  launcher.backend.catalog.filter: ''
  launcher.backend.catalog.git.ref: latest
  launcher.backend.catalog.git.repository: 'https://github.com/fabric8-launcher/launcher-booster-catalog.git'
  launcher.backend.catalog.reindex.token: ''
  launcher.backend.documentation.reload.token: ''
  launcher.backend.environment: ''
  launcher.backend.git.repository.description: ''
  launcher.backend.sentry.dsn: ''
  launcher.backend.url: /launch/api
  launcher.creator.enabled: ''
  launcher.creator.sentry.dsn: ''
  launcher.creator.url: /launch/creator
  launcher.frontend.sentry.dsn: ''
  launcher.frontend.targetenvironment.skip: 'true'
  launcher.git.provider: GITHUB
  launcher.keycloak.client.id: ''
  launcher.keycloak.realm: ''
  launcher.keycloak.url: ''
  launcher.missioncontrol.github.token: ''
  launcher.missioncontrol.openshift.api.url: 'https://<IP_ADDRESS>:443'
  launcher.missioncontrol.openshift.console.url: 'https://<IP_ADDRESS>:8443'
  launcher.missioncontrol.openshift.impersonate.user: ''
  launcher.tracker.segment.token: ''
  osio.auth.url: 'https://auth.prod-preview.openshift.io'
  osio.jenkins.url: 'https://jenkins.prod-preview.openshift.io'
  osio.keycloak.saas.url: 'https://api.prod-preview.openshift.io'
  osio.openshift.api.url: 'https://osoproxy.prod-preview.openshift.io'
  osio.wit.url: 'https://api.prod-preview.openshift.io'
kind: ConfigMap
metadata:
  creationTimestamp: '2019-04-12T09:28:04Z'
  labels:
    app: fabric8-launcher
    template: launcher-header
  name: launcher
  namespace: operators
  ownerReferences:
    - apiVersion: launcher.fabric8.io/v1alpha1
      blockOwnerDeletion: true
      controller: true
      kind: Launcher
      name: launcher
      uid: 45eac25b-5d05-11e9-86fc-5ae4b151fa73
  resourceVersion: '58751'
  selfLink: /api/v1/namespaces/operators/configmaps/launcher
  uid: 45f2a5b1-5d05-11e9-86fc-5ae4b151fa73

and here is the request:
curl 'http://launcher-operators.<IP_ADDRESS>.nip.io/launch/api/services/openshift/clusters' -H 'Accept: application/json, text/plain, */*' -H 'Referer: http://localhost:8089/flow/new-app' -H 'Origin: http://localhost:8089' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36' -H 'X-OpenShift-Authorization: Bearer F5nmu9cNA_wX9Q-QC6Id3-ypGPEaKagIPcfDU250-aY' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.e30.ZRrHA1JJJW8opsbCGfG_HACGpVUMN_a9IV7pAx_Zmeo' --compressed

@gastaldi I am trying to use the frontend with @edewit new auth system. It fails when it tries to get the clusters..

Now that you fixed https://github.com/fabric8-launcher/launcher-backend/issues/737
I now get the same error on /api/services/openshift/user
[{"message":{"string":"Could not find required env var or sys prop LAUNCHER_KEYCLOAK_URL","valueType":"STRING","chars":"Could not find required env var or sys prop LAUNCHER_KEYCLOAK_URL"}}]
(this is where I was getting a NPE before the fix)`

@ia3andy that error in /api/services/openshift/user is expected only if X-OpenShift-Authorization is not set and the LAUNCHER_MISSIONCONTROL_OPENSHIFT_TOKEN is not set.
What is the cURL command you are using for /api/services/openshift/user ?


[Feature][database] Test database metadata equal in CI

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Find some way to compare database ddl/dml from lastst to upgrade and auto run in CI
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@zhongjiajie May I ask whether we are going to do this in 3.0.2? What about putting it to 3.0.3?


mynetworks parameter ignored?

I haven't delved deeply into the puppet code itself, but I find that the $mynetworks parameter to the main class at https://github.com/camptocamp/puppet-postfix/blob/master/manifests/init.pp#L85 is ignored. I ended up having to specify the 'mynetworks' parameter as a postfix::config item instead. Anyone else having this problem?
I had this snippet in hiera:
postfix::myorigin: '$mydomain'
postfix::mynetworks: '<IP_ADDRESS>/16, <IP_ADDRESS>/16, <IP_ADDRESS>/8, <IP_ADDRESS>/16'
The 'mynetworks' parameter was not being created yet the 'myorigin' parameter was.

@mentalblock mynetwork is used here : https://github.com/camptocamp/puppet-postfix/blob/master/manifests/mta.pp#L51 which is included here : https://github.com/camptocamp/puppet-postfix/blob/master/manifests/init.pp#L152, so you have to set mta => true when declaring the postfix class


Column titles seem wrong?

Hmm, Files looks like commit titles and Commit looks like being the header line for files?

Indeed:
https://github.com/ArthurSonzogni/git-tui/blob/1259a261949f7c9ae7b1077f1c92e6426bba4e4a/src/log.cpp#L274-L289
Thanks! Do you want to make a PR?


How to connect the front-end to goerli network

May need help, let say I've deployed the contract to goerli network . how to connect the front-end to the deployed contract?

you need to use wagmi or other web3 library to connect your wallet and interact with the smart contracts

This issue tracker is not meant to be used for questions.


Attempting to translate many strings with string.origin -> string.text produces "string.origin -> string.origin"

Googletrans version:

[ ] 4.0.0rc1
[X ] 3.1.0a0
[ ] 3.0.0
[ ] 2.x

I'm submitting a ...

[X ] bug report
[ ] feature request

Current behavior:

Looping over a long list of strings and printing 'loop_item.origin + " -->" + loop_item.text' produces 'loop_item.origin + " -->" + loop_item.origin'
Run the following to reproduce. Note that the code takes a few minutes to run
from googletrans import Translator

translate_list = ['the longest text ever', "i don't know why", 'the flaming chicken lte', 'the bee movie script', 'i should go now', "i think i'm gonna", 'i would like to', 'to be the longest', 'you know what i', 'write as much as', 'but i don t', 'is just me talking', 'just me talking about', 'the four month gap', 'teen titans go episode', 'is said a hundred', 'said a hundred something', 'a hundred something times', 'for the first time', 'half of this text', "goodnight hello i'm back", 'the beginning of this', 'beginning of this text', "i'm back again my", 'of the bee movie', "i don't think i", "i don't know what", 'should go now goodbye', 'oh well i just', 'it in this text', 'to come up with', 'wow it has been', 'it has been a', 'has been a while', 'as much as possible', 'by the way if', 'of this lte is', 'i think i might', 'you read through this', 'my sister and i', 'i once made a', 'i m back again', 'i really need to', 'i was going to', 'half this lte is', 'about the lte itself', "i'm gonna try and", 'in a single day', 'me to the flamingchicken', 'to the flamingchicken lte', 'but what made me', 'what made me discover', 'i started writing this', 'was last updated in', 'the longest joke in', 'longest joke in the', 'joke in the world', 'i should write about', 'as well as the', 'all i ever talk', 'i ever talk about', 'ever talk about is', 'once upon a time', 'on the internet and', 'and i wanted to', 'be a world record', 'the first time i', 'a teen titans go', 'titans go episode called', 'go episode called waffles', 'episode called waffles where', 'called waffles where the', 'waffles where the word', 'where the word waffles', 'the word waffles is', 'word waffles is said', 'waffles is said a', 'with my sister sometimes', 'longest text ever but', 'still be writing this', "it's not very long", 'it is the longest', 'have you ever heard', "think i'm gonna go", 'for now bye hi', "now bye hi i'm", "bye hi i'm back", "hi i'm back now", 'giant wall of text', 'text i just realised', "i'm pretty sure it", 'i think it was', 'bit of it but', 'not very good at', 'a lot of people', 'of this text is', "as long as it's", "long as it's long", 'it as long as', "i'm back again i", 'i was a furry', 'as much as i', 'in the fandom when', 'a fursuit go to', 'this to be the', 'be the longest text', "don't wanna have to", 'i will no longer', 'the rest of this', 'the f word i', 'this entire text i', 'what toki pona is', "i'm back now and", 'back now and i', 'to do it on', 'also remember when i', 'remember when i said', 'when i said that', 'said the f word', 'so far in this', 'far in this text', "if you're wondering what", 'waffles in the toaster', 'the very beginnings of', 'very beginnings of this', 'this longest text ever', 'typing with my nose', 'as long as possible', "hi i'm back again", "now she's saying that", 'my goal is to', 'goal is to surpass', 'longer than the flaming', 'than the flaming chicken', 'be the world record', 'the world record holder', 'writing this even after', 'this even after i', 'not as long as', 'now maybe i should', 'for a language called', "that's pretty cool i", 'see if you can', 'if you can understand', 'you can understand it', 'that my sister is', 'my rule of not', 'rule of not saying', 'of not saying the', "hello i'm back once", "i'm back once again", "don't know why i", 'by the way the', 'lte which inspired me', 'which inspired me to', 'inspired me to start', 'this text would be', 'be nice if you', 'know what i m', 'i m just gonna', 'at that time i', 'll just have to', 'about it in this', 'sleep now goodnight hello', "now goodnight hello i'm", 'my sister is watching', 'for me to write', 'me to write about', 'to write about i', 'should go now bye', 'from here on out', 'here on out i', 'reading this entire thing', 'read this entire text', 'want that to happen', 'hey i just had', 'i just had a', 'or something like that', 'i have no idea', "the only reason i'm", "i'm writing this right", 'writing this right now', "i'm gonna see how", "because i don't know", 'longest text ever as', 'tenth of the way', 'of the way there', 'my sister has an', "think i'm gonna stop", "i'm gonna stop writing", "goodnight hey i'm back", "hey i'm back again", 'back again my computer', 'so i have to', 'i have to start', 'have to start this', 'to talk about it', 'most of this lte', "i'm gonna make it", 'but at least i', 'of the way to', "of everything i've already", "everything i've already written", 'i just realized that', "that i've been playing", 'remember the days of', 'to the dollar store', 'the dollar store and', 'has an obsession with', 'now we re going', 'stay tuned for more', 'tuned for more fun', 'as you read through', 'read through this lte', 'pig latin server but', 'latin server but it', 'fact of the day', 'i m pretty sure', 'for the rest of', 'hello i m back', 'm back again i', 'need to come up', 'the end of the', 'never have any idea', 'have any idea what', 'this lte is just', 'lte is just me', 'the lte itself i', 'trying to get this', 'minus the four month', 'that half this lte', 'i don t feel', 'me talking about ltes', 'talking about the same', 'you probably won t', 'i don t really', 'i could talk about', 'on a regular basis', 'me to write that', 'as the seed and', 'the seed and it', 'the flamingchicken lte which', 'leading me to vsauce', 'me to vsauce leading', 'to vsauce leading me', 'vsauce leading me to', 'text gets so long', 'gets so long that', 'i still need to', 'by the end of', 'the end of today', "i'm not sure if", 'a single day i', 'genre of goanimate video', "bye hey i'm back", 'giant walls of text', 'in this lte the', 'only been working on', "i said i wouldn't", 'i talk about the', 'the original flamingchickens lte', 'lte was started in', 'and was last updated', 'it would be nice', 'would be nice if', 'at the very beginning', 'something different to talk', 'different to talk about', "i can't think of", 'but i told her', 'way to increase your', 'in the first place', "in this text that's", 'i have zero creativity', 'for a long time', 'a dream last night', 'to delete it all', 'stop talking about that', 'this text you know', 'the same exact boring', 'same exact boring topic', 'i had a dream', 'it hit the corner', "i'm gonna check to", 'gonna check to see', 'check to see if', "to see if it's", 'if you ask me', 'hello i have returned', 'including this one and', 'but oh well i', 'had a dream where', "i don't even know", 'a cipher of english', 'know what i mean', 'at the beginning of', 'times in this lte', "i haven't a clue", 'say or write is', 'https libraryofbabel info bookmark']

translator = Translator()

for translation in translator.translate(translate_list, dest='sv'):
    print(translation.origin, '-->', translation.text)

I ran the code. Here's the last 20 lines of its output:
for me to write --> för mig att skriva
me to write about --> mig att skriva om
to write about i --> att skriva om i
should go now bye --> borde gå hejdå
from here on out --> från och med nu
here on out i --> here on out i
reading this entire thing --> reading this entire thing
read this entire text --> read this entire text
want that to happen --> want that to happen
hey i just had --> hey i just had
i just had a --> i just had a
or something like that --> or something like that
i have no idea --> i have no idea
the only reason i'm --> the only reason i'm
i'm writing this right --> i'm writing this right
writing this right now --> writing this right now
i'm gonna see how --> i'm gonna see how
because i don't know --> because i don't know
longest text ever as --> longest text ever as
tenth of the way --> tenth of the way

See how it changes from Swedish to English. At least it did to me.

For me, however, who has run the code a couple of times get this:
(First 20 lines of code)
the longest text ever --> the longest text ever
i don't know why --> i don't know why
the flaming chicken lte --> the flaming chicken lte
the bee movie script --> the bee movie script
i should go now --> i should go now
i think i'm gonna --> i think i'm gonna
i would like to --> i would like to
to be the longest --> to be the longest
you know what i --> you know what i
write as much as --> write as much as
but i don t --> but i don t
is just me talking --> is just me talking
just me talking about --> just me talking about
the four month gap --> the four month gap
teen titans go episode --> teen titans go episode
is said a hundred --> is said a hundred
said a hundred something --> said a hundred something
a hundred something times --> a hundred something times
for the first time --> for the first time
half of this text --> half of this text

The whole output continues in English similar to above.

Yes! I also experience this!

That's almost always a case of running into the (quite strict) limits google has put into place. If you set raise_exception=True in the Translator constructor then you should be able to verify (often you'll get a 429 status code).

This always happens after ~30-150 consecutive translations. Changing your IP number will get you another set, until it fails again. Makes it quite impossible to make any reliable application based on this nice free tool (which is exactly the idea of Google's restrictions).

This always happens after ~30-150 consecutive translations. Changing your IP number will get you another set, until it fails again. Makes it quite impossible to make any reliable application based on this nice free tool (which is exactly the idea of Google's restrictions).

It happened to me and I tried changing my IP and it immediately worked again. I guess that Google banned my IP, but since no matter how many times I translate on the official website this does not happen,  it is probably technically not impossible not to get blocked, if a library perfectly imitates the Translate website. I saw there were 1 or 2 other library written in JavaScript or something. Does this banning happen with those libraries, too?

Can you share the code for changing your IP?

Can you share the code for changing your IP? @HubKing

You can't change your IP in "code". The method I use is changing the MAC address of my router. With the ISP's I have been using, they usually change my IP if I change the MAC address, probably because they think I am a different subscriber. I am using OpenWrt so I had created a script for changing MAC address, but if you do not use OpenWrt, you could do it manually using your routers web interface.
Speaking of this issue, I have not experienced this issue after the first time. At that time, I did not know about the restriction so I accidentally sent many requests in a short time period (I called the API in the Text Changed event which called it too often). I changed the code so that the API would not be called that often, and now it seems to have been working fine.

What timeout do you use and how many requests are sent between the timeouts?


where is the ods ontology?

there's nothing in the https://github.com/DiSSCo/openDS/tree/master/ods-ontology folder in the repository.   What is the target of the harmonization work in the https://github.com/DiSSCo/openDS/tree/master/harmonisation folder.
I'd like to be able to compare the OpenDS model with our work on sample description in the iSamples project. Our schema is documented at https://isamplesorg.github.io/metadata/, json schema at https://github.com/isamplesorg/metadata/blob/main/src/schemas/iSamplesSchemaCore1.0.json

Thanks!  Since our objectives are pretty similar it seems, I hope we can keep the iSamples and OpenDS samples aligned.  I'll keep an eye out for an OpenDS model.

@smrgeoinfo we have done some clean up in the opends repo. the current state is now reflected. Please look at the README file and the model folder. The ontology folder has been removed. Our focus now is on the specification side and a path towards a MVP implementation (see https://sandbox.dissco.tech/). We try to use existing ontology and vocabularies whenever possible. While we have introduced a few new terms, this does not currently require a new ontology.


Store glTF nodes' extras in BJS metadata

Adds a glTF loader extension that will store any glTF nodes' extras properties in BJS TransformNode metadata.
Also includes a simple unittest.

@pjoe
Thanks for this PR! I have a general question first. This is currently specific to nodes. Does it make sense to generalize this so that other objects also loads metadata from extras?

@bghgary I suppose it could also be useful for other parts of the glTF (materials, lights, cameras, etc.).
But at least for us the by far most common use case has been for nodes with custom properties, e.g. for: replacing proxy objects with something else at runtime, managing dynamic visibility of objects (think things like visible from frame 200-400), designate attachment points (where e.g. accessories are parented in to a animated skeleton).
So thought I would make this part work first. Should be easy enough to enhance with e.g. also materials.
Might also be worth comparing to how the three.js glTF loader deals with this.

Hmm looks like I managed to break GitHub, CI failing with: GitHub reported the error, "Internal Server Error"
Gonna do a small comment change in a bit to force another build

@pjoe I'm looking at this code recently. Would it be okay to make this extension turned off by default? I can turn this on by default for the sandbox and playground, but I don't think it should be on by default for typical usage.

@bghgary Hmm for our use case it definitely makes sense to have it on by default. IIRC back when we used Three.js their loader also handled extras by default.
What are the main reason to turn it off? I wouldn't think performance overhead would be huge - though it does add a couple of call levels per node/camera/material, it only actually does anything if these have the extras property.

What are the main reason to turn it off?

I don't have a strong reason. Extras are typically not useful except in specific scenarios. If you want then to be on, it's just a few lines of code. Not that big a deal either way.

Guess it depends on the use case 😄
We are just so accustomed to using Blender custom properties (which exports as glTF extras) and have those available runtime by default.
For just loading and viewing a model, I don't think extras would be very useful, but as soon as you wanna do something more interactive, being able to have artists add extra info in something like Blender custom props and have those readily available runtime is very powerful 💪

Ok, sounds like we should leave it on. Thanks!


Add description parameter for token

Add missing token description parameter.

@solarkennedy Hello. Could you please take a look at the PR?

Looks cool. Thanks for fixing the tests.


gadgets: Finish implementing trace tcpdrop as image-based gadget

convert fields of original proc_ctx to struct (https://github.com/inspektor-gadget/inspektor-gadget/pull/2477#discussion_r1484672309)
once we support bitfield to string conversion (https://github.com/inspektor-gadget/inspektor-gadget/issues/2482), update event->tcpflags type (https://github.com/inspektor-gadget/inspektor-gadget/pull/2477#discussion_r1483555007)

convert fields of original proc_ctx to struct (Add trace_tcpdrop image based gadget #2477 (comment))

Do I remember right that we still can't have substructs in eBPF.
Additionally we would have the mount_ns_id in the substruct. And that woud also mean that we have it twice. (1 per substruct). So enrichment for this is kinda hard?

Do I remember right that we still can't have substructs in eBPF.

We already have support for substructs.

Additionally we would have the mount_ns_id in the substruct. And that woud also mean that we have it twice. (1 per substruct). So enrichment for this is kinda hard?

Yeah, that's kind of an open question. @blanquicet added some warnings about this on #2877. Perhaps we should have a single field of this type and some logic to fill it from the source that is available.

Do I remember right that we still can't have substructs in eBPF.

We already have support for substructs.

When I played around I didn't get (at least the json) output  for the substructs. But I didn't dive deep into it

convert fields of original proc_ctx to struct (https://github.com/inspektor-gadget/inspektor-gadget/pull/2477#discussion_r1484672309)

No other gadget is using a struct for common fields. I'll mark this as done and discuss it for all gadgets in a follow up issue.


[fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

Fixes #20010
Motivation
The Cursorrepl is automatically created when replication is turned on and it will be deleted when replication is turned off. But there has a bug: if the Topic is not online when you turn off replication, the cursor cannot be deleted, and #19972 fixes this bug.
But #19972 cannot solve the following scenario that cause the flaky test #20010:

a replication task starting
get clusters( responses [local_cluster, remote_cluster])
create cursor repl
at this moment, the remote_cluster is removed, and the remote cluster is down now.
then the task start replicator will fail, but the cursor still there

Modifications
Differing with #19972, do remove the repl cursor when the task start replicator is failed.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

https://github.com/poorbarcode/pulsar/pull/84

It's still flaky.

java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.pulsar.metadata.api.MetadataStoreException$NotFoundException: remote

	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
	at org.apache.pulsar.broker.service.persistent.PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor(PersistentTopicTest.java:587)

Could you also change the title? The PR title is duplicated with #19972.

Codecov Report

Merging #20025 (903466c) into master (8c50a6c) will increase coverage by 39.64%.
The diff coverage is 76.66%.

@@              Coverage Diff              @@
##             master   #20025       +/-   ##
=============================================
+ Coverage     33.17%   72.81%   +39.64%
- Complexity    12158    31601    +19443
=============================================
  Files          1499     1860      +361
  Lines        113832   137406    +23574
  Branches      12368    15131     +2763
=============================================
+ Hits          37769   100059    +62290
+ Misses        71143    29381    -41762
- Partials       4920     7966     +3046

Flag
Coverage Δ

inttests
24.41% <43.33%> (?)

systests
24.87% <0.00%> (?)

unittests
72.11% <76.66%> (+38.93%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...sar/broker/service/persistent/PersistentTopic.java
79.49% <76.66%> (+29.87%)
:arrow_up:

... and 1530 files with indirect coverage changes

@poorbarcode Could you also change the title? The PR title is duplicated with https://github.com/apache/pulsar/pull/19972.

Could you also change the title? The PR title is duplicated with https://github.com/apache/pulsar/pull/19972.

Done

Here is a failure from my local env: failure.log

After discussing with @poorbarcode offline, let's move to https://github.com/apache/pulsar/pull/20037 to fix the flaky test.

As discussed on the mailing list https://lists.apache.org/thread/w4jzk27qhtosgsz7l9bmhf1t7o9mxjhp, there is no plan to release 2.9.6, so I am going to remove the release/2.9.6 label


It doesn't work on component

Hi, this plugin is good!!
But I found a problem.
It works:

It doesn't work:
<my-component v-shortkey="['ctrl', 'p']" @shortkey="test"></my-component>
Is there any way to solve the issue?

On a component, you should use @shortkey.native to listen. Otherwise, you are listening to events triggered by the component.

The doc will be updated in #23.

@francois2metz Thank you! It works


Actions

Conformity

[ ] Update Documentation (if required)
[ ] Mentions an Issue (if required)
[ ] Tests updated (if required)

wrong branch, just testing


Only revert on apply failure and then try to sync

Debugging another error I realized about this and I think this has more sense. On commit we should:

apply only relevant changes
If that fails, apply everything
If that fails, revert changes
sync no matter what happened
throw error if any of the previous steps failed
If nothing fails, return sync response

Debugging another error I realized about this and I think this has more sense. On commit we should:
* `apply` only relevant changes

* If that fails, `apply` everything

* If that fails, `revert` changes

* `sync` no matter what happened

* `throw` error if any of the previous steps failed

* If nothing fails, return `sync` response

That last point doesn't make as much sense to me. Wouldn't the user expect it to report on the changes that they created being successfully created (or not)? If nothing fails, I'd expect the apply output to be returned.

I did not express myself correctly there, it should return everything, apply and sync, since as we can see here it returns the syncRes but the sync call here is mutating the same crudpes object, so the final output will have all changes.


Documentation broken link in Main Page: Template API

Problem description

Documentation broken link in Main Page: Template API

Problem location

I saw a problem on the following URL:
https://docs.docker.com/reference/
https://docs.docker.com/reference/app-template/api-reference

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix

Thanks for sharing this issue. The content no longer exists and the link has been removed.


Add ability to set platform-bom for all dependencies configurations

Expected Behavior
It would be nice set platform BOM file for all dependencies configurations, like this:
    dependencies {
        all(
            platform("org.springframework.boot:spring-boot-dependencies:$ver.springBoot"),
        )
    }

For example, you may see that with using spring dependencyManagement plugin.

Current Behavior
Now, i need set platform BOM for every dependencies configuration, like this:
    annotationProcessor(
            platform("org.springframework.boot:spring-boot-dependencies:$ver.springBoot"),
    )

    implementation (
            platform("org.springframework.boot:spring-boot-dependencies:$ver.springBoot"),
    )

    testAnnotationProcessor(
            platform("org.springframework.boot:spring-boot-dependencies:$ver.springBoot"),
    )

    testCompileOnly(
            platform("org.springframework.boot:spring-boot-dependencies:$ver.springBoot"),
    )

    testImplementation(
            platform("org.springframework.boot:spring-boot-dependencies:$ver.springBoot"),
    )

    testRuntimeOnly(
            platform("org.springframework.boot:spring-boot-dependencies:$ver.springBoot"),
    )

Perhaps this is already implemented and I just do not know about it, could you answer, please?

There is no plan to offer a baked in DSL solution for adding a single dependency to all configurations as it is not a frequent occurrence.
For example, in the report, the BOM platform really does not belong to any of the test* configurations.
As can be seen in the documentation, these are used either by testCompileClasspath or testRuntimeClasspath which are the resolved configurations and they all extend implementation so the constraints sourced from the BOM platform will be available. And the same stands for compileClasspath and runtimeClasspath.
Also note that the following is valid (but should not be used for this):
configurations.all {
    // Manipulate the configuration
}

It is a pity ... Well, you will have to continue using the spring dependency-management-plugin.
It seems to me that in order to start using your depndency management implementation you need to add more flexibility to the settings and options for using this feature.
In this case, I want only to limit the developers in choosing the versions of libraries, so that we avoid fragmentation in our microservice architecture, but I don’t want to limit them to versions from the bom file. Unfortunately, in the implementation of this need, the spring approach wins.

As @ljacomet explained, you don't need this. By declaring your platform constraints on the api configuration they will be inherited in most cases.
By using dependencies.all and basically using a hammer, for sure you avoid asking yourself questions, but those are good questions to ask. Like, what does it mean to use the same constraints on the annotationProcessor configuration? If it makes sense, sure go ahead, but be explicit. The Spring approach is a hammer that has consequences.

runtimeOnly is not a configuration that is resolved. So it has absolutely no meaning to add the constraints there. The configuration which is going to be resolved is compileClasspath, which will inherit from api, and therefore you will get your constraints.

I realized that your approaches are different, although initially I thought that the platform would allow me to get rid of another external plug-in. But, as I said, the approach of the spring command is closer to us, we will have to leave everything as it is and continue to use the plugin, but about the Platform we just have to keep in mind :-)

@melix soryy, mb. Bad example, i mean annotationProcessor, compileOnly, implementation and testImplementation - developers should not think about which version we use, but connect only our BOM file

Again, the only relevant case in your example is annotationProcessor. compileOnly, implementation, testImplementation are just buckets of dependencies (or constraints). If you want your platform to "leak" everywhere, then you should declare it as an api dependency. The consequence is that when you resolve compileClasspath or runtimeClasspath or testRuntimeClasspath, because they all extend api, you will get the constraints applied.
And I would argue that there's absolutely no reason why you should share the BOM with annotationProcessor , which is a "compiler plugin" and can use very different dependencies.
Gradle works by inheritance of configurations, so compileClasspath extends from api, implementation and compileOnly, so there's no reason to duplicate the application of the BOM to all of those.

Simply, I don’t understand only one thing - you provide the opportunity to use one BOM file for all dependency configurations, all I asked for is just a simplification so that I can not duplicate the dependence on my BOM file in each individual configuration.
Perhaps you misunderstood me. The option that I described in the issue is not mandatory, I just asked for a mechanism that will give me the opportunity not to duplicate the dependency on the platform in each dependency configuration

And I'm explaining to you that you don't have to duplicate it. Because the only relevant configurations are the ones you resolve (that is to say compileClasspath, runtimeClasspath, testCompileClasspath, testRuntimeClasspath), and that those configurations extend from the api and implementation configuration, the only thing you have to do is to declare the platform on the api or implementation configuration. (annotationProcessor apart). Everything else is redundant declaration that will only slow down your build.

@melix Oh, sorry! Now I understand. You need to add the use of the java-library plugin and add the api block with one dependency - a platform like this:
plugins {
     id 'java'
     id 'java-library'
}
<...>
dependecies {
     api (
         platform ("org.springframework.boot: spring-boot-dependencies:$ver.springBoot"),
     )

<...>
}

and leave this dependency for the annotation Processor.
Then this is what you need. Thank!
Only the last question: does the platform need to be added to the testAnnotationProcessor block?

You don't need to apply both java and java-library: java-library is enough. And no, you don't need to add it to testAnnotationProcessor (just like you don't duplicate all your dependencies between iplementation and test).

Big thanks you for help! :-) Now everything became clear.
PS Yes, I have never used the java-library plugin, because You released it recently. For 8 years of using gradle, I’ve got used to the java plugin.

Same would work with the java plugin: just use the implementation dependency, it would behave the same (because of inheritance as I explained).

When using spring boot, I usually have to apply the platform to at least three configurations: api, annotationProcessor and the spring-specific configuration developmentOnly. This is cumbersome and that's the reason why we continue to use the spring dependency management plugin. Just FYI.

Yes it is annoying to add the bom for every custom configuration by plugins (even inbuilt ones)
Example:

war plugin: providedRuntime
org.liquibase.gradle plugin: liquibaseRuntime
java plugin: annotationProcessor, api
io.micronaut.aot plugin: aotPlugin

There are many plugins that add scopes where it makes sense to apply the platform to

You do not want to provision your db with a different version at compile time (liquibaseRuntime) than at runtime
You do not want to have the same dependency in providedRuntime/Compile than in implementation or annotationProcessor
You do not want to use a different version of micronaut for your app (api, implementation ...) and aotPlugin
You do not want to use a different mapstruct version at runtime than with your annotationProcessor

Also configurations.all doesn't work any more since not every configuration is declarable so one does need to create a helper which makes it hard for new talent to understand what is going on
dependencies {
     platform("a.b:c:123")
}

is much easier to understand than
fun DependencyScope.globalPlatform(platform: Any) {
        configurations.configureEach {
            if (isCanBeDeclared) {
                this@globalPlatform.add(name, platform(platform))
            }
        }
}

@melix Hi! it was me under a different account (I don't remember why I changed my account). In general, the problem as such has not been solved so far. The minecraft plugin partially solves the problem, but only when using the micronaut and standard configurations.
As it was correctly noted, there are still 100,500 plugins with their own configurations that you want to use in the same version space.
Still, I would like to have a mechanism for setting the platform for all configurations (as well as many others, judging by the comments)


Change Character in string from "," to ";"

A consideration:
When using simple text tools to look at the csv output ( awk, cut ) it is difficult to determine which column is which if the fields are separated by commas.  Since you are splitting the strings in python before using, you can use a semicolon to separate them.
Another consideration is that you are tracking a stream of data in the app.  ( acquire at time X, low goal at X+1 )
If you leave each of these events as one line, then you can do the data collapsing pretty easily in python ( or R. )
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.groupby.GroupBy.cumcount.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.pivot.html
A stream of data makes it much easier to do average_cycle_time ( And you can keep a running count of how many cargo are kept at one time. ) Downside would be repeating match and team for each line.
Thanks for publishing the app! Used it for scouting this past weekend

Thanks for the suggestion! I'll think about the event-on-each-line option too.


Asset: Add quickstart for Real Time Feed API V1P2Beta1

Cloud Asset Inventory is launching a series of Beta Apis:

Create Feed
Delete Feed
Get Feed
Update Feed
List Feeds

In this PR, we added all the quick starts as well as their tests.

@tbpg Hi Tyler, I have no way to add you as the reviewer, PTAL, thanks.

Marking do not merge until the API is released.


⚠ Bofrost.at has degraded performance

In 55ef54a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2509 ms

Resolved: Bofrost.at performance has improved in fdbf894 after 9 minutes.


Ensuring pagination data is forced to integers

My mobile devs were moaning that sometimes paging was coming back as strings (this is actually adonis's fault, but it doesn't need to care as much as bumblebee!)
This forces to integers
before:
{
  "pagination": {
    "total": 243,
    "perPage": 20,
    "page": "1",
    "lastPage": 13
  },

after:
{
  "pagination": {
    "total": 243,
    "perPage": 20,
    "page": 1,
    "lastPage": 13
  },

Yep of course - pretty new to node. Leave it with me! :)

Nice work @spamoom :+1:


CDs downloaded from SynBioHub load as blanks

The iGEM16 parts collection was created in SBOLDesigner:
https://synbiohub.org/public/iGEM_2016_interlab/iGEM_2016_interlab_collection/1
When I download this collection and inspect the XML, everything looks correct. When I load it into SBOLDesigner, it finds all of the five ComponentDefinitions, as expected, but when I actually select one and load it, I get a blank canvas.
(Using SBOLDesigner 3.0, Java 8)

This is actually a SynBioHub issue.  When you download the SBOL for a Collection, it does not recursively pull all dependencies, it only downloads those items that are members of the collection.    This was done to speedup SBOL download for Collection, which is very very slow, if you make it do a recursive dive to fetch all dependencies.  If you had instead downloaded a single part, then opened it in SBOLDesigner, it should view fine, I just tested this.
Ok, actually, there is another way around this.  We can make SBOLDesigner pull any missing parts into its document from registries that it is aware of.

I think that the SBOLDesigner modification that you propose is a good and appropriate one, as it fits with the "no duplication" policy enforced by SynBioHub.
Otherwise, you have a "no round trip" workflow of: "build collection in SBOLDesigner, upload to SynBioHub, download from SynBioHub, can't open collection in SBOLDesigner any more"

I just added a feature to have it fetch missing parts from web-of-registries, when it cannot find them in the local document.  This opened up your designs.  I've checked in this change though I've asked @michael13162 to modify the code to use the local registry list rather than web-of-registries, so we would pickup SBH's that the user have added via preferences.

I've modified the code to populate the document's registries from both local preferences and the web of registries.  It's also been extracted to SBOLUtils.populateRegistries(doc).

I've looked through your commit and I do believe this is the correct way of implementing this.  If any part comes in through registry or some other dialog, then the missing parts would still be fetched since the document already has populated registries at that point.  I have removed the println though.


'split' filter implementation

As mentioned in #241 , this is aa initial implementation of 'split' filter

Thanks @Marchrius. I'll publish a new version tomorrow.
Would you mind to add this filter to ng-pipes?

@a8m I'm sorry but I never used typescript and/or angular 2


[WIP] Improvements to /tasks/ API Documentation, Code and Tests

Coverage increased (+0.23%) to 73.78% when pulling 63c9527c6e37b487a9f5cc42a915631dbf0d0bd5 on test_tasks into 67f5bae219c54cc603c16e81d9984dc0ffa96d37 on master.

Coverage increased (+0.23%) to 73.78% when pulling 63c9527c6e37b487a9f5cc42a915631dbf0d0bd5 on test_tasks into 67f5bae219c54cc603c16e81d9984dc0ffa96d37 on master.

@guidow, PTAL

Looks okay to me.


fix(tabs-extended): adjust story to use card-cta-footer

Related Ticket(s)
[Tab Extended]: QA: Button is not receiving keyboard focus and it is not keyboard accessible. #9234
Description
The Card Link CTA was not getting focus in the tabs-extended storybook. The CTA is within the first tab of tabs-extended.
It was not receiving focus due to the card footer not receiving the href value from card-link-cta. In order to receive the href value, card-cta-footer specifically must be used instead as card-link-cta has its own logic with card-cta-footer

Changelog
Changed

edit tabs-extended storybook to use card-cta-footer

@annawen1 Verified in the deploy preview build . Unable to find CTA button. Please find the reference screenshot below.


Minor link update for the ecommerce-scenario md file

In this pull request, modified the md file to create the link to Service Bus. Currently on the public docs, the link is not there and thus text appears as [Service Bus][service-bus]

OPS Build status updates of commit 07c87e5:
:clock10: Preparing: average preparing time is 46 sec(s)

OPS Build status updates of commit 07c87e5:
:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/mspnp/architecture-center, working directory: W:\r3m5-s, target branch: master, target branch commit: c7c0dff074114ca1059e4ef5c779468403b3b382, source branch: f540f7c99b5c509ba00c297d7abd58c0/master, source branch commit: .

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

@fmustaf  looks like you need to rebase from master. If you want I can make this fix.


Fix for multiple proguard options in same line

This fix adds a new line feed to the append process to merge proguard files in a new line

Hey @Mklueh, You have been involved in this project for long, so would you be interested in maintaining this repository?
I am no longer working with android development and hence am not able to verify the commits or provide bug fixes. So I am thinking to add one or two people who can continue this repo forward.


ignoring git repository

Is it possible to run aider without git, even if a git repository is present? I understand that git is integrated into aider, but I've noticed that I keep making small changes, and it's quite obstructive when everything is instantly committed. Ideally, I'd like to keep a chat with aider open all the time, ask something, check its changes in my IDE, possibly make small modifications, and then commit.
Is this kind of workflow possible?

Thanks for trying aider!
This FAQ entry may provide helpful info:
https://aider.chat/docs/faq.html#how-does-aider-use-git

Ahh I haven't seen the --no-git option. Thanks!


chore: replace @ShadowVariable by @CascadingUpdateShadowVariable in some modules

Description of the change
This PR replaces @ShadowVariable with the new shadow variable @CascadingUpdateShadowVariable in two modules: food-packing and vehicle-routing.
There are a total of five modules using custom listeners:
maintenance-scheduling - I think there is room for improvement in this particular use case.
project-job-scheduling - This module requires a custom listener.
task-assigning - I'm unsure if we could use the same approach as in @CascadingUpdateShadowVariable when the source variable resides in another entity.
food-packing - Done!
vehicle-routing - Done!
Checklist
Development

[x] The changes have been covered with tests, if necessary.
[x] You have a green build, with the exception of the flaky tests.
[x] UI and JS files are fully tested, the user interface works for all modules affected by your changes (e.g., solve and analyze buttons).
[x] The network calls work for all modules affected by your changes (e.g., solving a problem).
[x] The console messages are validated for all modules affected by your changes.

Code Review

[x] This pull request includes an explanatory title and description.
[ ] The GitHub issue is linked.
[ ] At least one other engineer has approved the changes.
[ ] After PR is merged, inform the reporter.

task-assigning - I'm unsure if we could use the same approach as in @CascadingUpdateShadowVariable when the source variable resides in another entity.

Interesting! We discussed this situation and decided not to implement it, until we see a use case. Seems like we just found one. :-)

@triceo, I have observed a drop in performance after modifying the quickstart task-assigning, and I am currently investigating this issue.

CI is failing because it can't find the new code in the solver; that will have to be merged first.

@triceo, let's wait for TimefoldAI/timefold-solver#996 before merging it.