Refactor the system settings and config

Remove all setting loaders and consolidate all the settings in one place
Change format of loading settings
Add custom form types for all settings
Remove different sections for the settings
Replace SettingsManager with SystemConfig class

Coverage decreased (-3.9%) to 22.82% when pulling f6c23c880af8a6d3e3d9cc8fc9d33c4ea468d393 on pierredup:settings into 83f2666fa3459d7c7f975d816db12a1b706116dc on CSBill:master.

Coverage decreased (-2.6%) to 24.106% when pulling 9c371299f935643d92e8167c54b8421ab66aaad4 on pierredup:settings into 83f2666fa3459d7c7f975d816db12a1b706116dc on CSBill:master.

Coverage decreased (-2.6%) to 24.106% when pulling c5b830472c2a5507232621c80397c8beb837f0a4 on pierredup:settings into 83f2666fa3459d7c7f975d816db12a1b706116dc on CSBill:master.

Coverage decreased (-2.6%) to 24.106% when pulling c5b830472c2a5507232621c80397c8beb837f0a4 on pierredup:settings into 83f2666fa3459d7c7f975d816db12a1b706116dc on CSBill:master.

Coverage decreased (-2.009%) to 24.676% when pulling 40e2895e16e824bc08dfe0b9bace54cbb6f35a10 on pierredup:settings into 83f2666fa3459d7c7f975d816db12a1b706116dc on CSBill:master.

Coverage decreased (-2.009%) to 24.676% when pulling 1b699a663b5b1ac01ad14cf7914fa04f2ee2940a on pierredup:settings into 83f2666fa3459d7c7f975d816db12a1b706116dc on CSBill:master.

Coverage decreased (-2.009%) to 24.676% when pulling 33fab9525aa96893b35d80596cb5c299b04016c4 on pierredup:settings into 83f2666fa3459d7c7f975d816db12a1b706116dc on CSBill:master.

Coverage decreased (-2.009%) to 24.676% when pulling 33fab9525aa96893b35d80596cb5c299b04016c4 on pierredup:settings into 83f2666fa3459d7c7f975d816db12a1b706116dc on CSBill:master.


Contextual type inference breaks on function parameters with explicit return

Bug Report

🔎 Search Terms
contextual type inference function return generic

🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about generics.

⏯ Playground Link

Playground link with relevant code
💻 Code

interface Options<K> {
    key: K;
    fn(key: K): any;
}

function id<K>(options: () => Options<K>) {
    throw 'unimplemented';
}

const breaks = id(() => {
    return {
        key: { id: 32 },
        fn(key) {
            // 'key' is of type 'unknown'.(18046)
            return key.id.toString();
        },
    };
});

const works = id(() => ({
    key: { id: 32 },
    fn(key) {
        return key.id.toString();
    },
}));

🙁 Actual behavior

The fn parameter type is only correctly inferred in the case where an arrow function is directly returning an object.
🙂 Expected behavior

I would expect for both cases to be handled consistently.

Duplicate #47599

@RyanCavanaugh Is a block body context sensitive in a way that a concise body isn’t?  I suspect as much but I’d love to hear official word since #47599 doesn’t seem to talk about that specifically.

This isn't related to #47599. Rather, it's an issue that was already fixed in #50903. The example works as expected in 5.1.

So, I'll call this a duplicate of #50687.


switch from the now deprecated to the new status page

the "old" status page https://status.github.com is no deprecated and GitHub switched to a statuspage.io implementation with https://githubstatus.com. The page mentions the deprecation.
This PR switches the url to the new status page and changes the status API model for the new REST- response.
The new API replaced the good state with the state none. And has more fields, that are probably
not relevant for the App.
Previous response:
{"status":"good","last_updated":"2018-12-06T17:09:57Z"}

New response:
{"page":{"id":"kctbh9vrtdwd","name":"GitHub","url":"https://www.githubstatus.com","time_zone":"Etc/UTC","updated_at":"2018-12-12T05:38:30.535Z"},"status":{"indicator":"none","description":"All Systems Operational"}}

New page in SafariVC:

fixes: #2546

Nice work @romankl!

Hi @romankl, do you want to take another look at the comments? Can I help out?

From @zhongwuzw:

https://github.com/GitHawkApp/GitHawk/pull/2547/files#diff-9f0bae268086ea5dfc986d1a77f28abaL147, change githubstatus.com to www.githubstatus.com may more better, can reduce HTTP redirect.

@romankl Any interest in finishing this little bit of work of as per the above remarks?
@rnystrom @BasThomas Just as a reminder, the deadline is moving in quickly (current page shuts down on Monday)

@BasThomas @Sherlouk What’s left on this? Just www?
Sent with GitHawk

That and some more comments. Will work on that this weekend and merge.
Sent with GitHawk

Okay haha, I was gonna offer the same. Just to get it out. Enjoy!
Sent with GitHawk

Changes addressed, thanks so much for the initial push @romankl!


NextJS console error when importing css

Currently using react-date-picker and got this error log the browser (using latest firefox)
Warning: Prop `className` did not match. Server: "react-date-picker__inputGroup__input react-date-picker__inputGroup__month" Client: "react-date-picker__inputGroup__input react-date-picker__inputGroup__day"
input
Input@webpack-internal:///./node_modules/react-date-picker/dist/DateInput/Input.js:92:19
DayInput@webpack-internal:///./node_modules/react-date-picker/dist/DateInput/DayInput.js:19:17

Using
    "react-date-picker": "^9.2.0",
    "react": "^18.2.0",
    "next": "^13.1.2",
    "react-calendar": "^4.0.0",

How do I resolve this error?

For your idea and for workaround. I use this method for my own.
...
import { useRef } from "react";
import { useStylesheet } from "./hooks/useStylesheet";
...
const YourWrapperComponent = () => {
  const datePickerRef = useRef(null);
  useStylesheet(datePickerRef);

  return (
    <div ref={datePickerRef}>
      <DatePicker />
    </div>
  )
}

for full version of useStylesheet

To repeat my comment above, this seems to be a problem with another repository (react-date-picker)
(cc. @martijnrusschen )


Missing property subjectApi.source.ldap.param.ldapServerId.value in subject.properties

Hi,
I am currently testing your documentation to install Grouper with Swarm.
During the "Populate Database" step I came across this error :
$ docker container run -it --rm \
 --mount type=bind,src=$(pwd)/configs-and-secrets/grouper.hibernate.properties,dst=/run/secrets/grouper_grouper.hibernate.properties \
 --mount type=bind,src=$(pwd)/configs-and-secrets/subject.properties,dst=/run/secrets/grouper_subject.properties \
 --network internal \
 localhost:5000/organization/grouper-base gsh -registry -check -runscript -noprompt
...
grouper-api;grouper_error.log;;;2021-06-25 14:59:15,418: [main] ERROR LdapSourceAdapter.getLdapResultsHelper(582) -  - Ldap Exception: Missing property subjectApi.source.ldap.param.ldapServerId.value in subject.properties.  The value of this property should point to your LDAP configuration in the grouper-loader.properties file. e.g. if your grouper-loader.properties has ldap.personLdap.url, then the value of this property would be personLdap.

I had to apply the following changes:

create a configs-and-secrets/grouper-loader.properties as follows :

ldap.personLdap.user = cn=Directory Manager
ldap.personLdap.pass = password

2.complete configs-and-secrets/subject.properties with: subjectApi.source.ldap.param.ldapServerId.value = personLdap
3. add following arguments to docker container run: --mount type=bind,src=$(pwd)/configs-and-secrets/grouper-loader.properties,dst=/run/secrets/grouper_grouper-loader.properties
Maybe worth completing your documentation+config

Thank you so much for this note!
I did have to add two additional lines to the grouper-loader.properties before my instance would work:
ldap.personLdap.url = ldap://anc_ldap:389
ldap.personLdap.tls = false


refactor(@backstage/plugin-azure-devops): Consume re-exported types from @backstage/plugin-azure-devops-backend.

Consume re-exported types from @backstage/plugin-azure-devops-backend.
Task from #7641
The backend changes can be seen here: #7643

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@benjdlambert This should now be ready for review as a follow up to #7875.


Update and improve dialogs

The new dialog design introduced in #2831 includes a dialog title as well as a state. We don't have that content yet... You find a list of all dialogs including a title, state and message proposal in the following. Any feedback is highly appreciated.
Application Scale Error (handler: AppPageComponent.jsx -> onScaleAppError)
confirm (current message: "There is a deployment in progress that changes ${appId}. If you want to stop this deployment and force a new one to scale it, press the 'Scale forcefully' button.")
Title: Danger: ${appId} Is Currently Deploying
Message: In order to scale to a new number of instances, the current deployment will have to be forcefully stopped, and a new one started. Please be cautious, as this could result in unwanted states.
Button: Stop Current Deployment and Scale
State: Danger
alert (current message: "Not scaling: ${Messages.UNAUTHORIZED}")
Title: Error: Unauthorized Access
Message: Could not scale application.
State: Danger
alert (current message: "Not scaling: ${Messages.FORBIDDEN}")
Title: Error: Access Forbidden
Message: Could not scale application.
State: Danger
alert (current message: "Not scaling: ${errorMessage.message || errorMessage}")
Title: Error
Message: ${errorMessage.message || errorMessage}
State: Danger
Application Restart Error (handler: AppPageComponent.jsx -> onRestartAppError)
alert (current message: "Error restarting app: ${Messages.UNAUTHORIZED}")
Title: Error: Unauthorized Access
Message: Could not restart application.
State: Danger
alert (current message: "Error restarting app: ${Messages.FORBIDDEN}")
Title: Error: Access Forbidden
Message: Could not restart application.
State: Danger
alert (current message: "Error restarting app: ${errorMessage.message || errorMessage}")
Title: Error
Message: ${errorMessage.message || errorMessage}
State: Danger
Application Delete Error (handler: AppPageComponent.jsx -> onDeleteAppError)
alert (current message:  "Error destroying app: ${Messages.UNAUTHORIZED}")
Title: Error: Unauthorized Access
Message: Could not delete application.
State: Danger
alert (current message: "Error destroying app: ${Messages.FORBIDDEN}")
Title: Error: Access Forbidden
Message: Could not delete application.

 If you want to stop any current deployment of the app and force a new one to kill the task and scale it, press the 'Kill and scale forcefully' button.")
Title: Danger: ${appId} Is Currently Deploying
Message: In order to kill the tasks and scale to a new number of instances, the current deployment will have to be forcefully stopped, and a new one started. Please be cautious, as this could result in unwanted states.
Button: Stop Current Deployment and Scale
State: Danger
alert (current message: "Not scaling: ${Messages.UNAUTHORIZED}")
Title: Error: Unauthorized Access
Message: Could not scale application.
State: Danger
alert (current message: "Not scaling: ${Messages.FORBIDDEN}")
Title: Error: Access Forbidden
Message: Could not restart application.
State: Danger
alert (current message: "Not scaling: ${errorMessage.message || errorMessage")
Title: Error
Message: ${errorMessage.message || errorMessage}
State: Danger
Reset Delay Success (handler: AppPageComponent.jsx -> onResetDelaySuccess)
alert (current message: "Delay reset successfully")
Title: Application Delay
Message: Reset successful.
State: Info
Reset Delay Error (handler: AppPageComponent.jsx -> onResetDelayError)
alert (current message: "Error resetting delay on app: ${Messages.UNAUTHORIZED}")
Title: Error: Unauthorized Access
Message: Could not scale application.
State: Danger
alert (current message: "Error resetting delay on app: ${Messages.FORBIDDEN}")
Title: Error: Access Forbidden
Message: Could not restart application.
State: Danger
alert (current message: "Error resetting delay on app: ${errorMessage.message || errorMessage}")
Title: Error
Message: ${errorMessage.message || errorMessage}
State: Danger
Scale Application (handler: AppPageControlsComponent.jsx -> handleScaleApp)
promt (current message: "Scale to how many instances?")
Title: Scale Application
Message: How many instances would you like to scale to?
Button: Scale Application
State: Info
Suspend Application (handler: AppPageControlsComponent.jsx -> handleSuspendApp)
confirm (current message: "Suspend app by scaling to 0 instances?")
Title: Suspend Application
Message: Do you want to suspend ${appId} by scaling to 0 instances?
Button: Suspend Application
State: Info
Restart Application (handler: AppPageControlsComponent.jsx -> handleRestartApp)
confirm (current message: "Restart app '${appId}'?")
Title: Restart Application
Message: Do you want to restart ${appId}?
Button: Restart Application
State: Info
Destroy Application (handler: AppPageControlsComponent.jsx -> handleDestroyApp)
confirm (current message: "Destroy app '${appId}'? This is irreversible."
 This is irreversible.
Button: Destroy Application
State: Danger
Apply Application Settings (handler: AppVersionListComponent.jsx -> onAppApplySettingsError)
alert (current message: "Could not update to chosen version: ${errorMessage.message || errorMessage}")
Title: Error: Could Not Update Application Configuration
Message: Could not update to chosen version: ${errorMessage.message || errorMessage}
State: Danger
Revert Deployment (handler: DeploymentComponent.jsx -> handleRevertDeployment)
confirm (current message: "Rollback deployment of applications: '${model.affectedAppsString}'? Destroying this deployment will create and start a new deployment to revert the affected app to its previous version.")
Title: Warning: You're About To Rollback The ${model.affectedAppsString} Deployment
Message: This will stop the current deployment and start a new deployment to revert the affected applications to its previous version.
Button: Rollback Deployment
State: Warning
Stop Deployment (handler: DeploymentComponent.jsx -> handleStopDeployment)
confirm (current message: "Stop deployment of applications: '${model.affectedAppsString}'? This will stop the deployment immediately and leave it in the current state.")
Title: Warning: You're About To Stop The ${model.affectedAppsString} Deployment
Message: This will stop the deployment immediately and leave the applications in their current state.
Button: Stop Deployment
State: Warning
Marathon UI Version Info (handler: Marathon.jsx ->  bindKeyboardShortcuts)
alert (current message: "The UI version is ${config.version}")
Title: Marathon UI
Message: You're running version ${config.version}.
State: Info
Edit Application Error  (handler: EditAppModalComponent.jsx -> onRequestAppVersionError)
alert (current message: "Could not fetch app '${props.appId}' version for editing: ${props.appVersion}")
Title: Error: Could Not Fetch Requested ${props.appId} Configuration
Message: Could not fetch version ${props.appVersion}.
State: Danger
/cc @leemunroe @cleverroffey @philipnrmn @aldipower @Poltergeist @pierlo-upitup

Thanks for gathering all of these!
I think we're on the right track with this, however I'd like to keep the specificity of each error message. For example:

alert (current message: "Not scaling: ${errorMessage.message || errorMessage}")

Title: Error
Message: ${errorMessage.message || errorMessage}
State: Danger

This should be:

Title: Not scaling
Message: ${appId}. ${errrorMessage}
State: Danger

What do you think?

Yeah, good point... I'm not sure if we know the ${appId} within the error handler. What about the following:
Title: Error: Unable To Scale ${appId || "Application"}
Message: ${errorMessage.message || errorMessage}
State: Danger

Yeah that sounds very reasonable. I guess we can figure out the best solution for each case individually. Also – it might make sense to split this work amongst us as it's probably very tedious :stuck_out_tongue:

This depends on https://github.com/mesosphere/marathon-ui/pull/521

@pierlo-upitup: I've adjusted the title/message proposals as discussed

@orlandohohmeier regarding your proposal, I believe that titles need be generic and most importantly predictable in length. As appId fields can vary in length, they make for poor tittles. I'd rather have the detailed info in the message.
I will go through the messages and add suggestions as I see fit.

Added some notes to the Drive doc


Abort on panic

Currently we exit cleanly in mill_panic, loosing all state. Replace
exit() with abort(), creating a helpful core dump.
Submitted under MIT license.
Signed-off-by: Nir Soffer<EMAIL_ADDRESS>

The manual say it flushes all open streams

Merged. Thanks!


Implement Graph Union operation

I'm interested in contributing graph union operation: http://mathworld.wolfram.com/GraphUnion.html
It should be quite straightforward for unweighted graphs. For weighted graphs, we need to add different ways to handle weight conflicts on common edges:

Built in "reducers": sum, average, min, max.
Support custom reducers.
Report conflicts as exceptions or errors (this could be modeled as a reducer too)

My only question is how to compute the disjoint set union. You store edges and nodes as Array. Is building a Set from one array, use Set.formUnion and then convert back to array a good solution? I can't find info on computational complexity for these operations.
PS: maybe it makes more sense for the weighted case to just treat edges between same nodes as distinct edges. Then add another operation that merges edges between common nodes.

Hi @ferranpujolcamins,
I've had to refactor some of your class with the change of Graph from Class to protocol. I managed to get all of the tests to pass. The trickiest issue is that a self-cycle will now just be one edge, whereas in the last version (I think wrongly) it was becoming two. Let me know if you think this current version is correct.
Thanks,
David

Oh I'm sorry I didn't realize your comment. Let me check :)

I think it's ok!


Shared Element Transitions and Compose Destinations v2

[x] Read CONTRIBUTING.md.

Compose Destinations now supports shared element transitions. Going to (try) to share MediaSmall of the home screen and media page.
Summary of changes:

Tested changes:

Migrating to Navigation Compose.


Question: Getting another document from a hook

Hello there.
I would like to ask your advice in the following task.
Before adding a new document to a MongoDB (via POST method) I need to calculate some of its fields' values. In order to do that I need to get another two documents from another collection (all collections are handled by the same app).
I seems to me that InsertEventHandler hook will come in handy here. But it's not clear to me how use it properly in that task. Might it be the http.NewRequest ?
Thanks in advance.

You can access the resource.Index (the router) from your handler. This part is not documented, but the resource.Index is stored in the context here: https://github.com/rs/rest-layer/blob/master/rest/handler.go#L63.
From the index you can access any other resources using GetResource for instance, and perform internal queries on it. One example of such sub-request can be found here: https://github.com/rs/rest-layer/blob/master/rest/util.go#L186.

Thanks a lot !


[ENH] Remove fit_predict_proba from Base-Class, Use sklearn cross_val_predict instead

This removes fit_predict_proba from the Base-Class in Classification.
The same functionality is present in sklearn, called cross_val_predict, and has a much simpler api:
https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.cross_val_predict.html
Here is a check, that it gives the same results:
    X_train, y_train = load_gunpoint(split="train", return_type="numpy2d")

    # train weasel
    weasel = WEASEL(random_state=0)
    weasel.fit(X_train, y_train)
    predictions1 = weasel.fit_predict(X_train, y_train, cv=5)
    print("Sktime Predictions\n", predictions1)

    from sklearn.model_selection import cross_val_score
    score = cross_val_score(WEASEL(random_state=0), X_train, y_train, cv=5)
    print("Sklearn Score", score)

    from sklearn.model_selection import cross_val_predict
    predictions2 = cross_val_predict(WEASEL(random_state=0), X_train, y_train, cv=5)
    print("Sklearn Predictions:\n", predictions2)
    print("Predictions Equal:\n", (predictions2 == predictions1).all())

[...]
Predictions Equal: True

I agree with this. I'd be interested in a timing comparison on a big data set .... Have you checked the docs, notebooks, API?

also there is a whole testing set for fit_predict, with hundreds of calls and some are slow. For example, this is in top 20
30.04s call     sktime/tests/test_all_estimators.py::TestAllEstimators::test_fit_returns_self[WEASEL-ClassifierFitPredict]
if looks like it calls return self on fit and fit_predict, so thats an extra hundred odd calls to fit and predict just on this one tiny test. God knows how many others there are. so this is another great reason to ditch fit_predict, but the testing code will need adjusting

Yes, I have removed the tests for fit_predict().
My Benchmark results:
CinCECGTorso
Sktime fit_predict() 8.66152286529541
Sklearn cross_val_score 5.2489988803863525

Beef
Sktime fit_predict() 2.70009708404541
Sklearn cross_val_score 1.8755667209625244

Sklearn is faster - I guess, as it does not do any conversion to DataFrames.
    X_train, y_train = load_UCR_UEA_dataset(
        "Beef", split="train", return_type="numpy2d"
    )

    start = time.time()
    weasel = WEASEL(random_state=0)
    predictions1 = weasel.fit_predict(X_train, y_train, cv=5)
    print("Sktime fit_predict()", time.time() - start)

    start = time.time()
    predictions2 = cross_val_predict(
        WEASEL(random_state=0), X_train, y_train, cv=5, n_jobs=1
    )
    print("Sklearn cross_val_score", time.time() - start)

There seem to be only auto-generated comments from the class. Once removed, these will be removed, too :)

StarLightCurve:
Sktime fit_predict()<PHONE_NUMBER>4360962
Sklearn cross_val_score 96.24473810195923

~25% improve without our self-implemented method.

interesting, thanks. I am happy with this change but lets wait a couple of days to merge to give others a chance to express an opinion. It would be good to have some run time benchmarking tools vs other implementations, I feel fast run time is another thing we could differentiate on from the old sktime


Revert "use tile-reduce raw to speed up"

Reverts mapbox/cross-street-indexer#9

Oh you closed this PR... My https://github.com/mapbox/cross-street-indexer/pull/9#issuecomment-311546583 thought this was merged.


Disable signup endpoint option

Added new config to disable signup endpoint
Added new sign_up_disabled error

Hi,
I'm very interested in this feature also.
Any news about it ?


Implement the offline artifact mode

Description
Implement the offline artifact mode in RMK to install artifacts in fully isolated offline environments.
To do this, RMK might download all binaries/images/configurations and pack it in a fully self-sufficient binary.
The solution should be designed and evaluated carefully before implementing it.
An important question: how to get full and actual list of the container images including the dependencies from all the child projects? (some of the versions might be hard-coded directly in the Helm charts).
Steps to reproduce
No response
Expected behaviour
No response
Actual behaviour
No response
Environment info
No response
Agree to the Code of Conduct

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

Closed. Not planned in the near future.


Bug: test issue edit event

Actual Behavior

Expected Behavior

Reproduction Steps and Sample

Sample:
1.https://codepen.io/pen?template=RwgrjEx
Relevant Info

success


testnet network support - ck2rpxzszvwetz1 - validator,rpc,api

@klllhhff , Your Moniker and validator addresses are required, please update the PR with those details

@klllhhff , Your Moniker and validator addresses are required, please update the PR with those details

moniker is klllhhff
address is akashvaloper1wteza045650ja3s4ylx3chfe2y5lv89ym3zwxe

moniker is klllhhff
address is akashvaloper1wteza045650ja3s4ylx3chfe2y5lv89ym3zwxe


If the user navigates around on the website and e.g. leaves window on 3rd page, the cookie already exists and there is no popup

I noticed that the cookie is always set, even if the mouse never leaves this window. As a result the popup only ever show while on the first page. If the user navigates around on the website and e.g. leaves window on 3rd page, the cookie already exists and there is no popup. How can I change this?
i don't want to put cookieExp option to 0, because it will fire on every page, i don't want to popup shows on every page load.
how can i solve this issue??

Pull request #19 will only set the cookie if the exit intent window gets rendered.

Fixed by @StrangeWill


Looking for old Glamour Plate Job Names

Needs to be updated to the new full job names rather than the old abbreviations

Does not need to be updated to anything since this was a feature since before GatherBuddy 1.0


Adjusting the listing card alignment, ( #178)

Fixes #178
resolves the issue where the alignment of listing cards is affected when the description is lengthy. The content overflows and disrupts the alignment of the cards, leading to a poor user experience.
Related Issues
Link any related issues using the format Fixes #issue_number.
This helps to automatically close related issues when the PR is merged.

Placeholder: "Fixes #123"

Changes
Implemented a "Show more" button to handle long descriptions within the listing cards.
Initially, only a fixed portion of the description is displayed, with the option to reveal the full content.
When the "Show more" button is clicked, the full description is displayed, and the button text changes to "Show less" to collapse the content.
Adjusted CSS for proper alignment regardless of description length.
Screenshots (if applicable)

Checklist

[ ]  Tested the alignment of listing cards on both desktop and mobile views.
[ ]  Ensured long content is properly handled with "Show more" and "Show less" toggling.
[ ]  Verified that alignment remains intact regardless of description length.

@dipexplorer
Why you mention my ISSUE?
Hope it's not intentionally. Please edit your PR
@Soujanya2004  Please have a look

@Suvadip-sana can you explain in detail what's the issue

@dipexplorer he mentioned my issues in his PR, which supposed to be closed automatically, when you marge it may be.
So my question is why he try to close my ISSU through his PR?

@dipexplorer
Why you mention my ISSUE? Also see you fix that ISSUE I raised when you fix your own ISSUE. You supposed to be fix only your own ISSUE write? What is this behaviour. As I know it's not the rule of open source.
Hope it's not intentionally. Please edit your PR
@Soujanya2004 Please have a look

Hey @Suvadip-sana, I’m really sorry for the misunderstanding, brother. I didn’t do this intentionally. It seems the issue was linked automatically, and I forgot to double-check it before submitting the PR. Please avoid any confusion—it was a genuine mistake on my part. I'll fix it right away and make sure it only references my assigned issue. Thanks for bringing it up!

@dipexplorer @Suvadip-sana ok guys it's just a small confusion, i hope it's sorted now,
contributors can mention the issues resolved in their pr but make sure it's only the issues you were assigned so that it won't
disturb other contributors.


Can't run task test-rust-fast

Seems to be an error.
$ task test-rust-fast
task: [test-rust-fast] cargo insta test --accept -p prql-compiler --lib --target=$(default-target)
"default-target": executable file not found in $PATH
error: target was empty
warning: non snapshot tests failed, not accepted changes
task: Failed to run task "test-rust-fast": exit status 1

https://github.com/PRQL/prql/blob/9b21e945282130fea5619d994ff1568b4ea46f0d/Taskfile.yml#L249-L251

This requires default-target, which gets installed with task setup-dev, or cargo install default-target

FWIW we do this because otherwise the cache is busted because of supplying the wasm target, and not supply any target. By supplying the default target explicitly, the cache isn't busted by RUSTFLAGS changing. (I've been deeper into this than I expected to...)
If anyone else hits this, please reply to this with "me too!" and I'll add an explicit message to the Taskfile when the binary isn't installed


Move find_required_lead_times to be a top-level utility

As a IMPROVER developer, I want to be able make use of functionality to determine the lead times within a cube so that I can apply different algorithms at different lead times.
The find_required_lead_times method in nbhood.py is generic functionality, which should be moved to be a top-level utility.
Acceptance criteria:

Ensure neighbourhood processing works correctly after moving the method.
Move unit tests.

Completed.


Tools Notebook for EMR

Similar to notebook for Qualification and Profiling Tool in Databricks environment, we should have notebook for EMR.
Relevant Links:

https://docs.aws.amazon.com//emr/latest/ManagementGuide/emr-studio.html
https://docs.aws.amazon.com//emr/latest/ManagementGuide/emr-studio-create-use-clusters.html

Closed as completed in #459


job-name-id-missmatch-fix

Fix state if Job ID and Job Name are not the same, and to function that had to receive Job ID Job Name was passed

Thanks @burdandrei!


Unable to update CognitoUserPool. CloudFormation stack update failes.

Apparently there is an issue with UserPool update - not possible to modify UserPool properties at all.
The stack update fails with:

Status UPDATE_FAILED
Type: AWS::Cognito::UserPool
Status reason: Internal Failure

Details:

AWS Region: eu-central-1
The only parameter that was changed RequreNumbers from true to false

   Type: "AWS::Cognito::UserPool"
   Properties:
      ..... (more properties)
      Policies:
	PasswordPolicy:
	  RequireNumbers: false
          .....(more properties)

And second issue with LambdaTriggers for UserPool, which are a part of the same CloudFormation stack.
After the stack is  successfully created, LamdaTriggers fail to execute with AccessDenied Exception. Lamda functions are mapped correcly as Triggers.
The remedy for this is to go to AWS Console/UserPool properties/Triggers and just "Save changes" without changing anything.

For you second issue (AccessDenied) you have to add permissions for user pool to execute lambda, you can do it in CF like that:
  CognitoPostAuthLambaPermission:
    Type: "AWS::Lambda::Permission"
    Properties:
      Action: "lambda:InvokeFunction"
      FunctionName: !Ref PostAuthLambdaHandler
      Principal: "cognito-idp.amazonaws.com"
      SourceArn: !GetAtt CognitoUserPool.Arn

And about your fist issue, I saw something similar when trying to update "AWS::Cognito::UserPoolClient". It fails with Internal Failure.
It looks like there's some problem even in Cognito UI. It fails when you try to update the ClientName if you don't click "show details" first.

@kskory thanks for the "Lambda Permission" hint. It solved "AccessDenied" issue with Triggers.

I'm seeing the same "Internal Failure" issues (as well as several other issues with Cognito User Pools in CF).  It seems half baked. :(

These look like general CloudFormation issues not specific to SAM. I think you might be better off asking in the AWS forums (although my question there about AWS::Cognito::UserPoolClient from last week has yet to be answered).

It seems the issue has been fixed.


Adding text file for Ekiti State College of Agriculture and technology Isan Ekiti, Ekiti State

@kunlesymls .vs/slnx.sqlite: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@kunlesymls I close this request. Please create a new request without file  .vs/slnx.sqlite. Such files are not accepted to the repository for security reasons.
Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for the understanding!


Add error detection when sending content

As it stands, if the attempt to write (PUT/POST) content fails, for example, due to authorization (401) or some other server-side issue (50x), the error gets swallowed up.  Ensuring the call was successful will cause it to throw otherwise.
This also preserves symmetry with the GetJsonAsync counterpart since its underlying call to GetStringAsync already exhibits this behavior.

Thanks! This is now moved to https://github.com/aspnet/AspNetCore/pull/4788/files, where it will be merged shortly.


MLHR-1932 #resolve #comment Added WindowBoundedServiceWindowDelay class.

@chandnisingh please review

This is generic and should be outside appdata
lib/utils/async?


cordova inappbrowser plugin should use a background thread

I met with following error when trying to open pdf with inappbrowser plugin:
"UIPDFPageRenderOperation object 0x1589ec570 overreleased while already deallocating; break on objc_overrelease_during_dealloc_error to debug"
I tried different ways on google, but none work.

probably better to log this against the inappbrowser cordova plugin, this doesn't look like an ionic issue.

This issue was moved to driftyco/ionic-native#353

Hello, as this seems to be related to Ionic Native and not the Ionic Framework I have moved this issue to that repo. Thanks for using Ionic!

actually related to the cordova inappbrowser plugin.  You can ask for help in the cordova slack channel or log a bug in their Jira which you can find with a quick google.


Feature request: Similarity sensitive KL divergence

I think it could be usefull to find a notion of KL divergence between two metacommunities. Probably, these could come in Alpha, Gamma, or Beta flavors. The KL divergence $KL(p||q)$ is defined by
$KL(p||q) = \displaystyle\sum_{x} p(x) \log \left( \frac{p(x)}{q(x)} \right) = \mathbb{E}_{p}  \left( \log \frac{p(x)}{q(x)} \right)$
To make it similarity aware, I would replace this with
$KL(p||q)^{Z} =  \displaystyle\sum_{x} p(x) \log \left( \frac{\sum_{x'} Z(x,x') p(x') }{\sum_{x'} Z(x,x') q(x')} \right) $
There are similar formulas for Renyi divergences at other viewpoint parameters that can likewise be generalized

Note that log(a/0) is undefined. So if something is not in probability distribution Q then... What? Technically KL-divergence is only defined if support of P is a subset of support of Q.
Log(0/a) is also undefined but by convention consider 0*log(0/a) to be zero (not represented at all in P, so, fair).
Options:

Emit warning and return NaN if this happens
Regularize-- add small epsilon to every zero (make this an option?)
also allow calculating the Jensen-Shannon divergence

What's proposed is basically;
def sim_kl(ab, sim):
    norm_ab = ab / np.sum(ab, axis=0)
    Zp = sim @ norm_ab
    ratios = Zp[:, 0] / Zp[:, 1]
    return sum(norm_ab[:, 0] * np.log(ratios))

(except, all subcommunities vs. all subcommunities... not just 1st vs. 2nd)
However, this can give negative results, whose interpretation is challenging. Try this:
ab = np.array([[1, 1], [0, 1], [1, 1]])
sim = np.array([
    [1, 0.70710678, 0],
    [0.70710678, 1, 0.70710678],
    [0, 0.70710678, 1]])

This is not a pathological similarity matrix. Imagine that a, b, and c are unit-length positive vectors. a = [1, 0] b = [0.70710678, 0.70710678] and c = [0, 1]. The similarity is the dot product (cosine similarity). a and c are orthogonal and thus utterly different. The resulting similarity-sensitive KL divergence is significantly negative (about -0.13).

There's a relationship between cross-entropy and divergence. Reeve's paper, section S1.2.1 defines a similarity-sensitive cross entropy. Can you use that to define a similarity-sensitive divergence?

Reeve's equation 12 is what I would want here (up to taking the limit for q=1)


Stats UI improvements from feedback (#379)

Implemented suggested additions and feedback from the playtest. (#379)

Link to stats page moved closer to the other stats instead of being in the corner
List of meta solves on stats page
Recent solve rate stats (e.g. past 6 hours)
Progression (# solves + # puzzles with solved metas)
Metas unsolved stat
Added unit tests for new stats computed (recent solve rates, metas unsolved, progression)

Note: the times in the Metas Solved table are in the default timezone (ET), regardless of which local timezone the user's in. I know this is inconsistent with the desired chart behavior (displayed in local time), but Django makes this really annoying.
I've added an ET descriptor label. This seems low-priority, so I'll table this for now and get back to it once I integrate the chart and implement page refreshing/updating. Hopefully I'll be able to amend this before too long.

Note: the times in the Metas Solved table are in the default timezone (ET), regardless of which local timezone the user's in. I know this is inconsistent with the desired chart behavior (displayed in local time), but Django makes this really annoying.
I've added an ET descriptor label. This seems low-priority, so I'll table this for now and get back to it once I integrate the chart and implement page refreshing/updating. Hopefully I'll be able to amend this before too long.

THANK GOD

THANK GOD


cargo build no-warning version that does not rebuild

The flag -Awarnings, when added like this:
RUSTFLAGS=-Awarnings cargo build
rebuild the entire project. It makes sense, of course, since the flags were changed.
However, disabling warnings is a very special case that should have an option on cargo that does not alter the flags and simply disables warnings. It's very annoying when you're developing and the project emits 70 warnings + 15 errors, and you have to find the errors in the middle of the warnings. And they are not even grouped together.
Putting -Awarnings and then taking it out makes the entire project rebuild, which takes 10 minutes for me. Not very good. A cargo build --no-warnings would be very useful.

Thanks for the report!  I'm going to close as there are already several issues covering this request. In particular, #8716 for caching changes in RUSTFLAGS, and #5034 and #3591 for allow Cargo itself to control lint levels.


Failed when build hiredis as external static link

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS 7
TensorFlow version and how it was installed (source or binary): binary
TensorFlow-Recommenders-Addons version and how it was installed (source or binary): source
Python version: 3.8.7
Is GPU used? (yes/no): no

Describe the bug
When build recommenders-addons from source, meet following error:
ERROR: /root/.cache/bazel/_bazel_root/23a473172624196c74d2efd31a012b38/external/hiredis/BUILD.bazel:19:15: output 'external/hiredis/hiredis/lib/libhiredis_static.a' was not created

and not other specific error messages are shown while building external hiredis.
Code to reproduce the issue
git clone https://github.com/tensorflow/recommenders-addons.git
cd recommenders-addons
python configure.py
bazel build --enable_runfiles build_pip_pkg

I found the hiredis is actually built successfully and generate libhiredis.a at bazel-out/k8-opt/bin/external/hiredis/hiredis/lib64. But bazel tried to find it at lib dir.
edit recommenders-addons/build_deps/toolchains/redis/hiredis.BUILD as following can fixed it:
load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake")
load(
    "@local_config_tf//:build_defs.bzl",
    "D_GLIBCXX_USE_CXX11_ABI",
)

package(
    default_visibility = ["//visibility:public"],
)

licenses(["notice"])  # BSD

filegroup(
    name = "all_srcs",
    srcs = glob(["**"]),
    visibility = ["//visibility:public"],
)

cmake(
    name = "hiredis",
    generate_args = [
        "-DCMAKE_BUILD_TYPE=Release",
        "-DCMAKE_CXX_FLAGS="+D_GLIBCXX_USE_CXX11_ABI,
        "-DCMAKE_INSTALL_LIBDIR=lib",  #
    ],
    lib_source = "@hiredis//:all_srcs",
    out_static_libs = ["libhiredis_static.a"],
)

Solved


Deploy server to AWS using EC2 and route 53

Deploy the server to AWS EC2 with https connection. This video might be helpful: https://www.youtube.com/watch?v=oHAQ3TzUTro&t=792s

Created AWS  instance (Linux 2)
Clone the git repo there
Set up the environment variable
Running

Updates

HTTPS setup is working now on https://mtmnodeserver.com/
Also set daily automating of certificate update

Couple of Concerns

The site is blocked by Vanderbilt's firewall, I am using a VPN to access it.
Since we don't have a production database yet, the backend on the server isn't fully functional.

Updates

HTTPS setup is working now on https://mtmnodeserver.com/
Also set daily automating of certificate update

Couple of Concerns

The site is blocked by Vanderbilt's firewall, I am using a VPN to access it.
Since we don't have a production database yet, the backend on the server isn't fully functional.

@OliviaLiu417

Updates

Linking with DB is done with @Joey2441-spec
Waiting on VUIT help ticket


charcount

Hello.
In the web based application, it switch from 999 characters to 300. Please how do I fix that?

What exactly are you trying to do? How long is the text you are entering?

I'm only allowed to enter just 300 characters and no more.
On Sat, Mar 9, 2024, 1:18 PM Weilbyte @.***> wrote:

What exactly are you trying to do? How long is the text you are entering?
—
Reply to this email directly, view it on GitHub
https://github.com/Weilbyte/tiktok-tts/issues/46#issuecomment-1986841626,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWZSSBUS6RH3CJGLFK7X7WLYXL4YDAVCNFSM6AAAAABCPLLS7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWHA2DCNRSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add API connector to Rebrickable (LEGO)

Add a API connector to import LEGO sets from https://rebrickable.com

Do it in an external module


Provide arm64 linux builds of the python packages on pypi

Is your feature request related to a problem?
I want to use tink inside a linux docker container running on apple silicon. This is problematic because there are no prebuilt binaries of tink for that plattform available on pypi. Ordinarily this wouldn't be a problem, because pip will just download and build the wheel on demand. However, if bazel is not available in that linux plattform (in my case centos7) that fails. This makes it fairly hard to use tink.
What sort of feature would you like to see?
I would like to see prebuilt binaries for tink for arm / apple silicon on pypi to ease and speed up usage of tink in docker, especially on apple silicon.
Have you considered any alternative solutions?

Building bazel myself to then build tink later: Possible, but involved. I may need to go that route though. :/
Adding a builder sidecar docker container with a more modern linux distribution that already ships an arm version of bazel. Possible, also more involved than I'd like, but maybe necessary?
Search for someone to provide a repo that provides bazel builds for arm already… Haven't found anything yet, but pointers would be welcome.

If there are other possible workarounds, especially if they involve less work, that would be most welcome.

Wheels which include universal2 binaries have been uploaded to PyPI. See https://pypi.org/project/tink/1.7.0/#files.


Dockerhub docker image is 9 months old

Just as a guess, ... there is a newer version available.
Is Dockerhub the main repo that is used for this project?

Good question, I haven't updated that one in a while. Building your own should be really simple though:
docker build .

from the root of the repo.
When I get a moment, I'll update the the Docker hub image. The project doesn't follow semver (yet), so I don't expect to keep that image up-to-date for the time being.

I did build my own.


bazel: add a test asserting java and java proto

Motivation for this change
Add a test asserting working with Java and compiling a Java protobuf.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build bazel.tests

Thanks!


xacro: 1.14.11-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository xacro to 1.14.11-1:

upstream repository: https://github.com/ros/xacro.git
release repository: https://github.com/ros-gbp/xacro-release.git
distro file: noetic/distribution.yaml
bloom version: 0.10.7
previous version for package: 1.14.10-1

xacro
* Fix resolving of macros and properties declared and used in/from a namespace (#297 <https://github.com/ros/xacro/issues/297>, #306 <https://github.com/ros/xacro/issues/306>)Macros and properties that are declared within a namespaced include shouldn't require the namespace prefix when used within the namespace.
* Perform expression evaluation in comments (#300 <https://github.com/ros/xacro/issues/300>)
* Expose ``xacro.arg()`` to facilitate access to substitution args
* Fix scoped macro evaluation

    * Replace ``[Macro|Property]NameSpace`` with common ``NameSpace`` class derived from ``Table``
    * Use the scoped macro Table

* Contributors: Robert Haschke

Holding for Noetic sync

@rhaschke Consider adding a LICENSE file to the source repository per our new guidelines.


Better default dd_url, fixes dsd config file

What does this PR do?
Currently, dsd sets its config file differently from agent6. It should be unified. This will unify it.
Also the dd_url has a bad default to localhost, this changes it to the right url

LGTM, let's fix the tests before final review


New here, my bot always crashed in less than 30 minutes running, please help me ^^

This is my code :
import tweepy
from time import sleep
import random
consumer_key = ''
consumer_secret = ''
access_token = ''
access_token_secret = ''
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
api = tweepy.API(auth)
i=0
while i < 10000:
search1 = "follow everyone who likes"
numberOfTweets1 = int("197")
for tweet in tweepy.Cursor(api.search, search1).items(numberOfTweets1):
    try:
        sleep(random.randint(20, 24))
        tweet.favorite()
        print('Fav the tweet 1')
    except tweepy.TweepError as e:
            print(e.reason)
    except StopIteration:
        break
sleep(random.randint(1000, 1444))
print("Part 1 done, sleeping for a few minutes")

search2 = "ifb"
numberOfTweets2 = int("144")
for tweet in tweepy.Cursor(api.search, search2).items(numberOfTweets2):
    try:
        sleep(random.randint(20, 24))
        tweet.favorite()
        print('Fav the tweet 2')
    except tweepy.TweepError as e:
            print(e.reason)
    except StopIteration:
        break
sleep(random.randint(1000, 1444))
print("Part 2 done, sleeping for a few minutes")

search3 = "sdv"
numberOfTweets3 = int("158")
for tweet in tweepy.Cursor(api.search, search3).items(numberOfTweets3):
    try:
        sleep(random.randint(20, 24))
        tweet.favorite()
        print('Fav the tweet 3')
    except tweepy.TweepError as e:
            print(e.reason)
    except StopIteration:
        break
sleep(random.randint(1000, 1444))
print("Part 3 done, sleeping for a few minutes")

search4 = "Siga todos que FAV"
numberOfTweets4 = int("117")
for tweet in tweepy.Cursor(api.search, search4).items(numberOfTweets4):
    try:
        sleep(random.randint(20, 24))
        tweet.favorite()
        print('Fav the tweet 4')
    except tweepy.TweepError as e:
            print(e.reason)
    except StopIteration:
        break

sleep(random.randint(1000,1444))
print("Part 4 done, sleeping for a few minutes")

sleep(random.randint(7200, 10000))
i += 1

And that's the error I always get in less than 30 minutes when I start run my bot :
Traceback (most recent call last):
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
chunked=chunked)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\urllib3\connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\urllib3\connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse()
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\http\client.py", line 1321, in getresponse
response.begin()
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\http\client.py", line 296, in begin
version, status, reason = self._read_status()
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\http\client.py", line 257, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\ssl.py", line 1052, in recv_into
return self.read(nbytes, buffer)
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\ssl.py", line 911, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [WinError 10054] Une connexion existante a dû être fermée par l’hôte distant
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\urllib3\util\retry.py", line 368, in increment
raise six.reraise(type(error), error, _stacktrace)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\urllib3\packages\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
chunked=chunked)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\urllib3\connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\urllib3\connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse()
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\http\client.py", line 1321, in getresponse
response.begin()
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\http\client.py", line 296, in begin
version, status, reason = self._read_status()
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\http\client.py", line 257, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\ssl.py", line 1052, in recv_into
return self.read(nbytes, buffer)
File "C:\Users\Utilisateur\Desktop\Dev\Python\lib\ssl.py", line 911, in read
return self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'Une connexion existante a dû être fermée par l’hôte distant', None, 10054, None))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\tweepy\binder.py", line 190, in execute
proxies=self.api.proxy)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\requests\adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'Une connexion existante a dû être fermée par l’hôte distant', None, 10054, None))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Utilisateur/Desktop/Dev/Python/Lib/site-packages/ThomasTwitter.py", line 18, in
for tweet in tweepy.Cursor(api.search, search1).items(numberOfTweets1):
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\tweepy\cursor.py", line 49, in next
return self.next()
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\tweepy\cursor.py", line 197, in next
self.current_page = self.page_iterator.next()
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\tweepy\cursor.py", line 108, in next
data = self.method(max_id=self.max_id, parser=RawParser(), *self.args, **self.kargs)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\tweepy\binder.py", line 250, in _call
return method.execute()
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\tweepy\binder.py", line 192, in execute
six.reraise(TweepError, TweepError('Failed to send request: %s' % e), sys.exc_info()[2])
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\six.py", line 692, in reraise
raise value.with_traceback(tb)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\tweepy\binder.py", line 190, in execute
proxies=self.api.proxy)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Utilisateur\Desktop\Dev\Python\Lib\site-packages\requests\adapters.py", line 498, in send
raise ConnectionError(err, request=request)
tweepy.error.TweepError: Failed to send request: ('Connection aborted.', ConnectionResetError(10054, 'Une connexion existante a dû être fermée par l’hôte distant', None, 10054, None))
I have already tried a few solutions proposed on the forum but I can't fix that problem, it would be very kind if one of you can help me to solve that problem (I'm new here, ask me if you have questions and if you want more informations to help me solve my issue), thank you so much guys for your future help ^^

I could consistently reproduce this error. Haven't nailed down the exact cause but it raises a requests.ConnectionError exception - Errno 10054 An existing connection was forcibly closed by the remote host - so there is some problem with the request being accepted by the server.
Capturing the request being sent when the connection error occurs and testing it manually shows the request is valid, it's just the server is not accepting the request. This can be for a few reasons (eg, server is unavailable, connection is already open and hasn't been closed before new connection is received, etc). Interestingly the connection error did not occur if I removed the sleep timers but rate limits then get triggered pretty quickly.
It's possible to add a fix to the execute() function in binder.py to handle these connection errors and keep the process running. Catching the ConnectionError exception and forcing a retry of the request resolved the problem in my tests. I also found this useful if I dropped and reconnected my network connection while running the code so the fix would handled multiple connection error issues. It involves adding a timer, a connection_timeout value, and wrapping the self.session.request(...) block in a while loop so that if connection errors occur there can be a number of retry attempts before concluding that the connection is unavailable and raising a TweepError.
Bug Fix for binder.py
#binder.py
def execute(self):
    ...
    ...
    # Execute request
    connection_timeout = 30
    start_time = time.time()
    while True:
        try:
            resp = self.session.request(self.method,
                                        full_url,
                                        data=self.post_data,
                                        timeout=self.api.timeout,
                                        auth=auth,
                                        proxies=self.api.proxy)
            break
        except requests.ConnectionError as ce:
            if time.time() > start_time + connection_timeout:
                raise TweepError('ConnectionError: Could not connect within %s seconds' % connection_timeout)
            else:
                time.sleep(1)
        except Exception as e:
            six.reraise(TweepError, TweepError('Failed to send request: %s' % e), sys.exc_info()[2])

Another option for the connection_timeout variable is to move it into the API object (api.py) and pick it up in bind_api() similar to the retry_count, retry_errors, timeout variables. This way the connection_timeout value could be configured by users and not be a fixed value.

@howning - as I wrote in the comment above, the error you receive is happening in Tweepy but the way you have written your code seems like it would cause you problems as well.
With all the sleep intervals you have this code could run for a minimum of 2722 days. Each iteration of the searches inside your while loop can run a minimum of 6.53 hours. You're then iterating this 10000 times (65300 hours). Another problem is the while loop iteration is going to duplicate tweets because you don't have anything to check if the tweet in search results has already been captured in a previous iteration. I ran a test where after several iterations there were about 9000 tweets pulled from the searches but there were only about 700 unique tweets. You'll be wasting a lot of API requests if you're trying to favourite the same tweets multiple times.
One thing you can do is increase the number of search results you receive per API call. The search endpoint has a 'count' variable to specify how many search results to retrieve per API call. By default this is only 15 but you can set the 'count' variable up to 100. This will reduce the number of searches you're running.
for tweet in tweepy.Cursor(api.search, search_string, count=100).items(numberOfTweets):

Maybe what you could do is capture a list of tweet IDs from the search and then run a separate iteration to favourite those tweets. For example:
tweet_id_list = []
for tweet in tweepy.Cursor(api.search, search_string, count=count).items(limit):
    try:
        tweet_id_list.append(tweet._json['id'])
    except tweepy.TweepError as e:
        print(e.reason)
    except StopIteration:
        break

# now favourite the tweets in tweet_id_list
# use a set to remove duplicate tweet_id from the list
for tweet_id in set(tweet_id_list):
    api.create_favorite(tweet_id)

With the volume of tweets your code is dealing with you will more than likely hit rate limits so you would need ways to handle these which I think is why you put all the sleep timers. Tweepy does have built-in rate limit handling. Maybe you write the tweet id list to a file and run the create_favorite() as a separate python process.
Except for the connection error these are not really issues with tweepy so you will need to search tweepy documentation, stackoverflow or other resources for more info on how to refactor your code.

The above patch would be helpful in some cases, but really this needs to be handled with a user-code callback function, so the user code can determine how long to sleep, or whether to abort, etc.  I have a longer list of transient errors which I'm currently retrying on. It includes SSL stuff, but also twitter.com stuff like the 'Over capacity' error, which is API equivalent of the fail whale.
If this project is becoming active again I'll add a pull request for that. For now I'll wait on PR #1211 getting incorporated.

I filed a clean issue #1219 for this. This ticket should probably be closed in favor of that one.

Closing this in favor of #1606


Error in Linking Phase when compiling OpenFPGA files.

Describe the bug
Hello,
I am running into the following error when trying to compile OpenFPGA for the first time (also attached in the screenshot):
In file included from /home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libargparse/src/argparse_default_converter.hpp:8:0,
             from /home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libargparse/src/argparse.hpp:12,

             from /home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libargparse/src/argparse.cpp:8:

/home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libargparse/src/argparse_value.hpp: In constructor ‘constexpr argparse::ArgValue::ArgValue()’:
/home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libargparse/src/argparse_value.hpp:44:11: error: conversion from ‘const char [1]’ to non-scalar type ‘std::string {aka std::basic_string}’ requested
 class ArgValue {
       ^

/home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libargparse/src/argparse_value.hpp:44:11: error: conversion from ‘const char [1]’ to non-scalar type ‘std::string {aka std::basic_string}’ requested
/home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libargparse/src/argparse.cpp: In constructor ‘argparse::ArgumentParser::ArgumentParser(std::string, std::string, std::ostream&)’:
/home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libargparse/src/argparse.cpp:21:17: note: synthesized method ‘constexpr argparse::ArgValue::ArgValue()’ first required here
     , os_(os)
             ^

To Reproduce
Steps to reproduce the behavior:
cd OpenFPGA
make all
Error occurs during linking phase
Expected behavior
Since I seem to have all the required packages, the compilation should have completed without any errors.
Screenshots

Enviornment (please complete the following information):

OS: CentOS 7
Compiler: gcc
Version: https://github.com/lnis-uofu/OpenFPGA.git

Additional context
I am running centOS on a remote desktop.

@ishmamiqbal This is mostly due to the use of  incompatible gcc version. The dependency of OpenFPGA is available in online documentation, where the gcc version should be at least gcc-5.  Also in our online tests, you can see that these gcc compilers are continuously under testing. For example, https://github.com/lnis-uofu/OpenFPGA/actions/runs/748359473

Hello,
I checked my gcc version, and it seems to be version 8.3.0
Commands:
$ gcc --version
gcc (GCC) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I also made sure to use "module load gcc" before compilation on my 2nd try, but I still got the same error. What else should I try?
Thank you for the help!

@ishmamiqbal Can you check the compilation log files? When the compilation starts, it will echo the gcc version which is actually used. It matters.

Hello, my terminal simply shows 'gcc' during compiling, it does not specify the version. How can I view what gcc version is being used during compilation?

@ishmamiqbal Would you mind share your log files about compilation? I can take a look. Thanks

Hi Dr. Tang, I sent you an email with the log files (I had trouble uploading it directly to Github, my apologies!). Please let me know if this was what you were asking for, or if I was supposed to send something else.

@ishmamiqbal No worries. The log file does not show the GCC version because it is based on the previous compilation. So the echo lines are reduced.
Can you try to clean up the compilation and recompile?
Something like:
make clean
make all

After cleaning up and recompiling, I got:
$ make all
git submodule init
git submodule update --init --recursive
mkdir -p build && cd build && cmake3  ..
-- CMAKE_BUILD_TYPE: Release
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 8.3.0
It looks like my C compiler is running 4.8.5 instead of 8.3.0. How can I make it run the updated version? The only modifications I made to my cmake file was that I replaced
"CMAKE_COMMAND := cmake" to "CMAKE_COMMAND := cmake3"
Could that be causing this problem?

@ishmamiqbal Regarding environment setup, I suggest to ask server managers for help.
Using cmake, you can specific which C/C++ compiler to use through options -DCMAKE_C_COMPILER=gcc and -DCMAKE_CXX_COMPILER=g++
Alternatively, you can try to set environmental variables CC and CXX in your shell.

I managed to set gcc to version 8.3.0 during compilation, using:
module load gcc
export CC=gcc
However, now I am getting the following error message:
In file included from /usr/include/tbb/enumerable_thread_specific.h:32,
from /usr/include/tbb/combinable.h:32,
from /home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libtatum/libtatum/tatum/graph_walkers/ParallelLevelizedWalker.hpp:8,
from /home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libtatum/libtatum/tatum/graph_walkers.hpp:9,
from /home/shay/a/iqbal11/OpenFPGA/libs/EXTERNAL/libtatum/libtatum/tatum/analyzer_factory.hpp:10,
from /home/shay/a/iqbal11/OpenFPGA/vpr/src/timing/timing_info.h:6,
from /home/shay/a/iqbal11/OpenFPGA/vpr/src/analysis/timing_reports.cpp:10:
/usr/include/tbb/concurrent_vector.h: In member function ‘tbb::concurrent_vector<T, A>::iterator tbb::concurrent_vector<T, A>::grow_by(tbb::concurrent_vector<T, A>::size_type)’:
/usr/include/tbb/concurrent_vector.h:667:38: error: operands to ?: have different types ‘tbb::internal::concurrent_vector_base_v3::size_type’ {aka ‘long unsigned int’} and ‘tbb::atomic’
return iterator(*this, delta ? internal_grow_by( delta, sizeof(T), &initialize_array, NULL ) : my_early_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/tbb/concurrent_vector.h:667:38: note:   and each type can be converted to the other
/usr/include/tbb/concurrent_vector.h: In member function ‘tbb::concurrent_vector<T, A>::iterator tbb::concurrent_vector<T, A>::grow_by(tbb::concurrent_vector<T, A>::size_type, tbb::concurrent_vector<T, A>::const_reference)’:
/usr/include/tbb/concurrent_vector.h:680:38: error: operands to ?: have different types ‘tbb::internal::concurrent_vector_base_v3::size_type’ {aka ‘long unsigned int’} and ‘tbb::atomic’
return iterator(this, delta ? internal_grow_by( delta, sizeof(T), &initialize_array_by, static_cast<const void>(&t) ) : my_early_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/tbb/concurrent_vector.h:680:38: note:   and each type can be converted to the other
make[3]: *** [vpr/CMakeFiles/libvpr.dir/src/analysis/timing_reports.cpp.o] Error 1
make[3]: Leaving directory /home/shay/a/iqbal11/OpenFPGA/build' make[2]: *** [vpr/CMakeFiles/libvpr.dir/all] Error 2 make[2]: Leaving directory /home/shay/a/iqbal11/OpenFPGA/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/shay/a/iqbal11/OpenFPGA/build'
make: *** [all] Error 2
I am not really sure what this means. What else should I fix?

@ishmamiqbal I think it is due to the use TBB workers. I usually turn the TBB support off when compilation.  Therefore, the errors are not familiar to me. I suggest you either turn it off or ask VTR project developers for help: https://github.com/verilog-to-routing/vtr-verilog-to-routing

How were you able to switch off TBB? I tried to edit my Makefile by adding a "-D WITH_TBB=OFF" in my "make all" rule, but I am still getting the same error.

@ishmamiqbal I have not tried TBB before. TBB compilation is defined as part of the vpr CMakefile. You can try to turn it off there:
https://github.com/lnis-uofu/OpenFPGA/blob/c1982733789261f1fd3f5eae0271046c7c68b9e1/vpr/CMakeLists.txt#L179-217

I managed to finish my compilation using the following commands:
ml gcc/6.3.0
ml intel
source /package/intel/18.0.1/bin/compilervars.sh intel64
export CC=icc
export CXX=icpc
cd OpenFPGA
make -j 12
However, when I check my compilation using the verification command, I get the following error message:
$ python3 openfpga_flow/scripts/run_fpga_task.py compilation_verification --debug --show_thread_logs
INFO (     MainThread) - Setting loggger in debug mode
INFO (     MainThread) - Set up to run 2 Parallel threads
INFO (     MainThread) - Currently running task compilation_verification
INFO (     MainThread) - Created "run006" directory for current task run
INFO (     MainThread) - Running "vpr_blif" flow
INFO (     MainThread) - Found 1 Architectures 1 Benchmarks & 1 Script Parameters
INFO (     MainThread) - Created total 1 jobs
DEBUG (00_and2_MIN_ROUTE_CHAN_WIDTH) - Running OpenFPGA flow with [['python3', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/vpr_arch/k4_N4_tileable_40nm.xml', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.blif', '--top_module', 'and2', '--run_dir', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/tasks/compilation_verification/run006/k4_N4_tileable_40nm/and2/MIN_ROUTE_CHAN_WIDTH', '--fpga_flow', 'vpr_blif', '--openfpga_shell_template', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/openfpga_shell_scripts/example_script.openfpga', '--openfpga_arch_file', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/openfpga_arch/k4_N4_40nm_frame_openfpga.xml', '--openfpga_sim_setting_file', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/openfpga_simulation_settings/auto_sim_openfpga.xml', '--activity_file', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.act', '--base_verilog', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.v', '--power', '--power_tech', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/tech/PTM_45nm/45nm.xml', '--vpr_fpga_verilog', '--vpr_fpga_verilog_dir', '/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/tasks/compilation_verification/run006/k4_N4_tileable_40nm/and2/MIN_ROUTE_CHAN_WIDTH', '--vpr_fpga_x2p_rename_illegal_port', '--end_flow_with_test', '--vpr_fpga_verilog_formal_verification_top_netlist', '--debug']]
INFO (00_and2_MIN_ROUTE_CHAN_WIDTH) - Traceback (most recent call last):
INFO (00_and2_MIN_ROUTE_CHAN_WIDTH) -   File "/home/shay/a/iqbal11/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py", line 22, in
INFO (00_and2_MIN_ROUTE_CHAN_WIDTH) -     from envyaml import EnvYAML
INFO (00_and2_MIN_ROUTE_CHAN_WIDTH) - ModuleNotFoundError: No module named 'envyaml'
ERROR (00_and2_MIN_ROUTE_CHAN_WIDTH) - Failed to execute openfpga flow - 00_and2_MIN_ROUTE_CHAN_WIDTH
Traceback (most recent call last):
File "openfpga_flow/scripts/run_fpga_task.py", line 451, in run_single_script
subprocess.CalledProcessError: Command 'python3 /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/vpr_arch/k4_N4_tileable_40nm.xml /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.blif --top_module and2 --run_dir /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/tasks/compilation_verification/run006/k4_N4_tileable_40nm/and2/MIN_ROUTE_CHAN_WIDTH --fpga_flow vpr_blif --openfpga_shell_template /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/openfpga_shell_scripts/example_script.openfpga --openfpga_arch_file /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/openfpga_arch/k4_N4_40nm_frame_openfpga.xml --openfpga_sim_setting_file /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/openfpga_simulation_settings/auto_sim_openfpga.xml --activity_file /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.act --base_verilog /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.v --power --power_tech /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/tech/PTM_45nm/45nm.xml --vpr_fpga_verilog --vpr_fpga_verilog_dir /home/shay/a/iqbal11/OpenFPGA/openfpga_flow/tasks/compilation_verification/run006/k4_N4_tileable_40nm/and2/MIN_ROUTE_CHAN_WIDTH --vpr_fpga_x2p_rename_illegal_port --end_flow_with_test --vpr_fpga_verilog_formal_verification_top_netlist --debug' returned non-zero exit status 0.
What could be causing this?

@ishmamiqbal This is due to the missing python packages. You can use pip to install the dependencies as listed in https://github.com/lnis-uofu/OpenFPGA/blob/master/requirements.txt


no upload no -Public- folder

is this no longer supported?

That's in advdupe1. Advdupe2 doesn't store files on the server like advdupe1 does.


Inject List<?> type parameter with @Header annotation

Several HTTP headers can be sent with the same name. We missed that kind of situation before. Need to enhance annotated HTTP service to support it.

Closed by #1191


Fix incremental compilation with modules

Backport from #23119 to 7.6.1.
Also backport from #23251 to 7.6.1
Fixes #23224

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test QFL

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

I've triggered a build for you.


About comparison two large size png

I use iPad to take a screenshot and save as png image.
Its size is about 1.3M.
When I run the code below:
images.first.height.times do |y|
images.first.row(y).each_with_index do |pixel, x|
diff << [x,y] unless pixel == images.last[x,y]
end
end
There will be an error "out of bound " or sth.
Sorry I cannot remember the detail error message.
How can I solve this issue.

Can you run this again, and paste the error message plus the stack trace here?

I ran it again and paste the error message here:
/Library/Ruby/Gems/2.0.0/gems/chunky_png-1.3.4/lib/chunky_png/canvas.rb:334:in assert_xy!': Coordinates (768,0) out of bounds! (ChunkyPNG::OutOfBounds) 	from /Library/Ruby/Gems/2.0.0/gems/chunky_png-1.3.4/lib/chunky_png/canvas.rb:174:in []'
from diff.rb:49:in block (2 levels) in <main>' 	from diff.rb:48:in each'
from diff.rb:48:in each_with_index' 	from diff.rb:48:in block in '
from diff.rb:47:in times' 	from diff.rb:47:in '

Most likely, the two images you're using do not have the same dimensions. So the x coordinate you get from the first image is too high for the last image. Mind sharing the two images?

Thank you for your help.
You are right the dimensions are not same.
I think QA team take the screenshot by different ipads.
I think it can be closed now.


Progress signs on data submissions

Add progress bars / spinners while submitting the modals so that the user doesn't submit twice in desperation.

Done in #27


Support for authentication without client_id and client_secret

Is there any way to authenticate without providing the client_id and client_secret parameters?  I.e. just supplying username, password and security token?

I too would like to know this.


When there's an error, make script actually exit with an error

When there's an error building a new image, the script continues anyway.  It should exit with an error.

See PR at https://github.com/uselagoon/database-image-task/pull/12


Replacing jackson factory (#32130)

Hi Reviewer,
This pull request fixes [#32130].

Closing since it looks like this was superceded by https://github.com/apache/beam/pull/32148


"Error: No such image: lambci/lambda:nodejs6.10" === "no space left on device"

Hi,
I suddenly got Error: No such image: lambci/lambda:nodejs6.10 from sam and couldn't figure out why. Turns out I had a minimal EC2 instance with a small root volume and didn't notice I ran out of space. Another program gave me the "no space left on device" message.
I'd love a better error from sam on this. Also would love something like a --verbose option to see what sam is up to when something goes wrong.
sam local invoke -e event.json
2017/10/15 11:19:20 Successfully parsed template.yaml
2017/10/15 11:19:20 Connected to Docker 1.32
2017/10/15 11:19:20 Runtime image missing, will pull....
2017/10/15 11:19:20 Fetching lambci/lambda:nodejs6.10 image for nodejs6.10 runtime...
nodejs6.10: Pulling from lambci/lambda
5aed7bd8313c: Extracting [==================================================>]  324.2MB/324.2MB
d60049111ce7: Download complete
df2c17ad5e5e: Download complete
93956b6301bb: Download complete
2017/10/15 11:20:08 Invoking index.handler (nodejs6.10)
2017/10/15 11:20:08 Could not invoke function: Error: No such image: lambci/lambda:nodejs6.10

Can you try the latest release - https://github.com/awslabs/aws-sam-cli/releases/tag/v0.3.0? Verbose option is available with --debug


DRAT-31 Upgrade to OODT 0.8

Hi @chrismattmann @tpalsulich this is a piece of cake
Not sure if I have commit rights. Can one of you please merge. I just ran over OODT 0.8.1 RC#1 and DRAT ran beautifully after the OODT upgrade.

Tied to #31. Looks good to me! But, I'm not sure what configuration differences there were between 0.6 and 0.8.

Commit, test, re-iterate
On Sat, Jan 31, 2015 at 1:29 PM, Tyler Palsulich<EMAIL_ADDRESS>wrote:

Tied to #31 https://github.com/chrismattmann/drat/issues/31. Looks good
to me! But, I'm not sure what configuration differences there were between
0.6 and 0.8.
—
Reply to this email directly or view it on GitHub
https://github.com/chrismattmann/drat/pull/32#issuecomment-72337669.

--
Lewis

Thanks @lewismc done!


Remove synchronized methods from SDK method code path

@scanon
There are still synchronized methods / blocks in other parts of the code, but once the NJSW exclusively runs SDK methods it can be scaled horizontally (or at least there are no known reasons why it can't be).

Ignore whitespace: https://github.com/kbase/njs_wrapper/pull/28/files?w=1


Move gpxe ROM into source tree.

Our current build process relies on rom-o-matic being up.  In this branch, I've copied the ROM directly into the source tree in order to remove that dependency.

This looks good, I don't think adding a ROM is a problem


Segmentation Fault on executing Prime+Probe

While executing ./spy in prime+probe attack code throws segmentation fault.

probably running without root?

No i am running with root.
On Sat, Dec 21, 2019, 1:05 PM Daniel Gruss<EMAIL_ADDRESS>wrote:

probably running without root?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IAIK/flush_flush/issues/8?email_source=notifications&email_token=ALUYVIFFNLM5AJHLR7MVSTLQZXBNPA5CNFSM4J6DPEG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHOXBSQ#issuecomment-568160458,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALUYVIFNMFQWRX4VBUNRIG3QZXBNPANCNFSM4J6DPEGQ
.


added-unique-constraint-on-events

Codecov Report

Merging #26 (541c3e6) into main (25acecf) will decrease coverage by 0.28%.
The diff coverage is 34.61%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   41.51%   41.23%   -0.28%
==========================================
  Files          30       30
  Lines        1455     1460       +5
==========================================
- Hits          604      602       -2
- Misses        753      759       +6
- Partials       98       99       +1

Impacted Files
Coverage Δ

pkg/model/db.go
0.00% <ø> (ø)

pkg/model/tree.go
0.00% <ø> (ø)

pkg/repo/registry/pg/repo.go
0.93% <0.00%> (ø)

pkg/tree/serializer.go
60.21% <28.57%> (-5.75%)
:arrow_down:

pkg/crawlers/registry/goquery/chain/crawler.go
42.27% <44.44%> (+0.75%)
:arrow_up:

pkg/engine/chain/engine.go
67.02% <100.00%> (+0.35%)
:arrow_up:


Bug 2109059: Revert "Filter out no IP interfaces for L2 advertisement"

This reverts commit 9936f3b89a96e6e05bbddae815b6351d4ee243c1.
There's a use case where metallb is used together with vlan interfaces
with no ips which wouldn't work with this change.
For this reason, it makes sense to listen and announce on interfaces
with no ip.

/bugzilla refresh

/retest

/lgtm

/cherry-pick release-4.11


Add ability to change saving behaviour with options

Important for pytorch lightning saving.

Codecov Report

Merging #418 (4d7d60c) into main (7359ddd) will increase coverage by 0.18%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##             main     #418      +/-   ##
==========================================
+ Coverage   87.67%   87.85%   +0.18%
==========================================
  Files          15       15
  Lines        3009     3013       +4
==========================================
+ Hits         2638     2647       +9
+ Misses        371      366       -5

Impacted Files
Coverage Δ

padl/dumptools/inspector.py
93.38% <80.00%> (+1.72%)
:arrow_up:

padl/transforms.py
91.66% <100.00%> (+0.01%)
:arrow_up:

padl/version.py
100.00% <100.00%> (ø)

padl/dumptools/sourceget.py
87.70% <0.00%> (+0.81%)
:arrow_up:

Continue to review full report at Codecov.

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


MGDOBR-148: add openshift profile and fix subject.namespace resources

MGDOBR-148
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

Seems that usage of quarkus.openshift.namespace changes the openshift.yml to expect ImageStream with built operator image. However no ImageStream is created as the image is built locally using JIB.
That may change once we add quarkus-openshift, which is currently blocked by https://github.com/quarkiverse/quarkus-operator-sdk/issues/145

Even when I add quarkus-openshift the ImageStream is not created, though it is mentioned in https://quarkus.io/guides/deploying-to-openshift#non-s2i-builds

I need to work again on this because event-bridge.k8s.platform is not working properly in the runner created by mvn clean package -Popenshift

Hey @sutaakar , now the application gets properly configured. What if we move forward with this and address your comments when they will be fixed upstream by quarkus?

Fine for me

Fine for me

Thanks! Can you or @danielezonca approve?


feat: support create with node id

https://github.com/leptonai/leptonai/pull/499

https://github.com/leptonai/lepton/issues/10205


undo stack LOST.

Since this problem was caused for particular no reason because i was normally using vscode, i can not provide any insights to reproduce this.
But since THIS IS HAPPENING, probably would be a good idea to mount an operation to figure it out, you know. Losing your work because of an undo not working properly isn't ideal scenario for a code editor and i probably will switch this editor for another because this is mind-boggling, seriously.
The so was Ubuntu 20.04.2 LTS.
The file subject to the data lost was renamed shortly before the "malfunction".
Have a nice day.

@jbovone I am sorry that you have lost the undo stack. This should never happen. Can you please provide some steps to reproduce?


[Concurrency] Settable prop reqs cannot be witnessed by actors

This fixes a hole in actor isolation.
This actually is similar to a hole that distributed actors were preventing more aggressively -- the ability to "cast up" to a protocol and then use it to make an non-isolated access to a property.
The fix is simple, we must not allow such conformances, because they'd require an async setter which do not exist.
Resolves https://github.com/apple/swift/issues/59573
Resolves rdar://95509917

@swift-ci please smoke test

@swift-ci please smoke test linux

Failure is unrelated: Driver/static-stdlib-linux-lld.swift trying to hunt it down

@swift-ci please smoke test linux

@swift-ci please smoke test linux

@swift-ci please smoke test linux

Rebased

@swift-ci please smoke test


html_static_path settings are not preserved

Configuration settings for html_static_path are overwritten in builders.py:
        # Hand over builder configs to html builder.
        setattr(self.config, "html_static_path", self.config.revealjs_static_path)

Thus any static files defined either in conf.py or by other extensions are ignored and essentially do not get copied to the output.
Could you please change it to something conceptually like this, preserving existing values:
        # Hand over builder configs to html builder.
        hsp = getattr(self.config, "html_static_path")
        hsp = hsp + self.config.revealjs_static_path if hsp else self.config.revealjs_static_path
        setattr(self.config, "html_static_path", hsp)

Regards,

Thank you for feedback.
This was implemented for rightly work on old version.
It may be able to delete in current version, but it is not certain by not remember why implement it.
I will check that it until v3.x releases (probably delete it).

I have regarded it as bug from old implementation, and fix it by v3.0.0.


More detailed documentation around the limitations for Azure and scaling the solution

Hi,
After having used this for a while at our company for AWS and Azure emissions I think it would be useful to list the following issues with the current architecture and the way to solve them (A LOT of changes are needed to bring this code up to a scalable solution) and the performance recommendations aren't really too good here (https://www.cloudcarbonfootprint.org/docs/performance-considerations):

The current architecture for Azure as mentioned in the docs is to call an API and write to a cache. This isn't scalable when you want huge amounts of emission data, i.e subscription x resourceGroup x resource x serviceName x regionName x timestamp = billions of rows for any organization that has meaningful amounts of data inside it.

Using an API for this even with caching is not going to work, it's simply too much data to transfer. We solved this for Azure by having MSFT export all of our companies CSV data daily into azure blob storage containers. We then set up an ETL process with Azure Data Lake to process this and fire a daily azure function which seeds our own timescaledb database.
We also have a nodejs script that fetches the initial CSV data and seeds our database on start for many months of data.
This is the only way if you want resource level granularity, i.e like Carbon optimization has.

The current frontend code is not optimized. Currently it's doing client side filters everywhere and the filters code is very coupled to every other frontend component (and very complex). When handling massive amounts of data this isn't scalable so server side filtering and pagination are needed (especially for resource level data as that can have 100k+ resources in it).

This obviously requires a lot of changes, both in the thoughtworks code Azure, Cli, App, api to add CSV support, an API layer, an ETL process, a nodejs script, modifications to the frontend, Azure functions etc etc.
Wanted to post this for any other devs who are thinking of using this for repository for scaling up, this repo is a good base but it will take a lot of changes, many many months of effort and lots of code.

Hi @MartinDawson! Thanks for all of the feedback. These limitations definitely bring up challenges on scaling up, especially in an Azure environment. CCF is being worked on with these enhancements in mind. To address the concerns you described, there are two open issues:

#1222
#858

Both of these should help improve CCF specifically in the limitations you are talking about. Please feel free to add any ideas you may have to these issues, or if you would like to, please contribute!
We really do appreciate your feedback! We also rely on and encourage our community members to open PRs for any general enhancements or fixes made on their own CCF instances/forks.

@MartinDawson All very good points, and thanks for sharing.
We totally understand if your organization doesn't have a budget for contributing. Even mentioning your workaround of using Azure Blob Storage and csv exports are extremely helpful! This is an alternative that we're considering building alongside the Cost Details upgrade as mentioned in #1175. This may end up being the recommended route for enterprise users with a similar scale of data. Ideally, with a built-in method for kicking off or regularly automating exports.
Thanks again for your feedback as these type of issues help move work up our priority list by directly seeing its impact 😄. I'll close this issue since we already have actionable tasks for most of these suggestions, but don't hesitate to leave additional feedback or questions on the relative issues if any new ones come up.


fix: :Select and :RbSelect errors when using provider-python

Fixes issue uncovered by #11

@cameron-wags working for me! No extra configuration was required :)
Thanks much for the fix


Running git commit --amend -s hangs the command line

Describe the bug
Any advanced git commands like amending will cause Git to enter a infinite loop state since it cannot invoke the editor. In Codespaces, this automatically opens a new tab in VSCode.
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/sr229/metastruct-experiments
Steps to reproduce
Run the following commands:
$ git add .
$ git commit --amend -s

Expected behavior
Open a new tab or a CLI text editor
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
Version = 1.67.0
Hash = cbdc3a8bd79af7e88b2855b67f4bf6f36ec8ebe5
WebContainer = 8cf5a3c77f45c942df800a39619ec49fff7e5814

Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 108
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/108.0.1462.46
performance.memory = {
  "totalJSHeapSize": 158259044,
  "usedJSHeapSize": 137124804,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}

Additional context
No response

Hey there 👋 Thanks for reporting this issue. We currently don't support --amend but are already tracking this internally. It's strange that it didn't throw. We'll keep you posted if there's progress.


refactoring code to pass sonarcloud

refactoring code to pass sonarcloud
deleted duplicate code in tailwind config, moved currency calculation functions into context provider

bruh why didnt it commit into the other pull request

I think it's because you're using a different branch from the two pull requests.
#78

#75


Thank you so much!

I don't know who you are, but thank you so much for making these nodes, they make the ComfyUI much easier to use!

I have to second this!
Finally, widgets with UX/UI in mind!
I enjoy the Seed-Button with 'recover last seed' a lot! This finally solved all the "Change seed after generation, plz fix" issues.
Also, an impulse that flew to my mind:
A slider-Element with a visible Knob! This would allow for some nice SDXL Workflows to make the "Switch to Refiner" easier.


Limit storage size

I'd likew to limit the storage size for each container.
https://docs.docker.com/engine/reference/commandline/run/#set-storage-driver-options-per-container

So this is only the size of containers rootfs and no volumes, right?

Such a good question... not using volumes yet.
I have to enable them to keep status between room restarts but then max disk size restriction must apply.

Maybe for created volumes it would be possible:
https://stackoverflow.com/questions/40494536/how-to-specify-the-size-of-a-shared-docker-volume
But for mounting existing folder from disk, might not work this way.


Watch for raycaster changes for monkeypatched code

THREE.js@162 was released just now with at least a renamed function intersectobjects -> intersect, may affect one of the monkeypatches for ARENA UI

False alarm, the function renamed was intersectObject without the s. intersectObjects with s at the end, is something we do usage of in our AFRAME component monkeypatch.
Makes this fortunately less confusing going forward


[Handles] Spike: PRNG Simulations

Goals:

[ ] Identify no_std compatible rust crates for PRNG computation
[ ] Run simulations to generate random suffixes within a given range with varied msa_ids

The oorandom crate is a good fit.  It's no-std, implements a PCG (permuted congruential generator), has over 17M downloads, and several projects using it including one that has 19M downloads.
https://crates.io/crates/oorandom

Alternatives:
https://crates.io/crates/nanorand (4.2M downloads, no-std, small footprint, used by several projects including one w/6M downloads)
https://crates.io/crates/rand (185M downloads, used by many large projects but only partial no-std, larger footprint)

@wilwade figured out a way to significantly improve the shuffled sequence design by using a PRNG seeded with the base user handle.  https://github.com/Liberty30/magic-rs/blob/main/src/main.rs
Therefore, we have made a decision to go with the shuffled sequence design but now with the PRNG seed instead of storing the shuffled vector of suffixes.


Add VPN endpoints support

Supporting IP testing through site-to-site VPN endpoints would be cool !

I like it! I can definitely see the use for that.
I'm envisioning that you'd specify an EC2 instance and an IP address from the remote (e.g. corporate) private network. Reach could then tell you what traffic is allowed, but it'd only be able to do so with respect to the AWS-side configuration, it couldn't access firewall rules on the remote network side, which may very well deny traffic flows that Reach reports to be allowed.
If there's any other context you think would be helpful, feel free to share!
Link for future reference: https://docs.aws.amazon.com/en_pv/vpn/latest/s2svpn/VPC_VPN.html


allow changing beneficiary in pay project modal

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3700   👈

PR #3701

This comment was auto-generated by Graphite.

@wraeth-eth started a stack merge that includes this pull request via Graphite.

@wraeth-eth merged this pull request with Graphite.


Pretrained Model

Hi Team,
I am confused, why the pre-trained model is getting downloaded when the path of custom trained model is given

@niteshgaba Hello Nitesh, did you find the solution to your problem?