fix space persistence issue between datasets

What changes are proposed in this pull request?
(Please fill in changes proposed in this fix)
How is this patch tested? If it is not, please explain why.
(Details)
Release Notes
Is this a user-facing change that should be mentioned in the release notes?

[ ] No. You can skip the rest of this section.
[ ] Yes. Give a description of this change to be included in the release
notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?

[ ] App: FiftyOne application changes
[ ] Build: Build and test infrastructure changes
[ ] Core: Core fiftyone Python library changes
[ ] Documentation: FiftyOne documentation changes
[ ] Other

Summary by CodeRabbit

Refactor

Optimized the MainSpace component by removing unnecessary clearSpaces function and associated useEffect hook.

No longer needed. Closing.


[macOS] add Node 18 to toolcache

Description
A new LTS
Related issue: https://github.com/actions/runner-images-internal/issues/4546
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run macos1015,macos11,macos12


"RNSVGPath" was not found in the UIManager

hi. apparently i've a render Error.
requireNativecomponent: "RNSVGPath" was not found in the UIManager.
i absolutely do not know how to solve it. can anyone help, i'm super new to react native.

Have you installed react-native-svg? If you have maybe you could try a different version as suggested here: https://github.com/software-mansion/react-native-svg/issues/834#issuecomment-1399103610

Experiencing same in React Native Expo, any solution yet @rougeEloma  ?

I think the solution was to install react-native-svg. That doesn't work for you?

No, it doesn't @bviebahn
{   "name": "yunite",   "version": "1.0.0",   "main": "node_modules/expo/AppEntry.js",   "scripts": {     "start": "expo start",     "android": "expo start --android",     "ios": "expo start --ios",     "web": "expo start --web"   },   "dependencies": {     "@expo/vector-icons": "^13.0.0",     "@gorhom/bottom-sheet": "^4.4.5",     "@react-native-async-storage/async-storage": "1.17.11",     "@react-native-clipboard/clipboard": "^1.11.2",     "@react-native-community/datetimepicker": "6.7.3",     "@react-native-community/masked-view": "^0.1.11",     "@react-native-community/slider": "4.4.2",     "@react-navigation/bottom-tabs": "^6.5.7",     "@react-navigation/native": "^6.1.7",     "@react-navigation/native-stack": "^6.9.12",     "@react-navigation/stack": "^6.3.17",     "@types/react": "~18.0.27",     "axios": "^1.4.0",     "expo": "^48.0.0",     "expo-build-properties": "~0.6.0",     "expo-camera": "~13.2.1",     "expo-checkbox": "~2.3.1",     "expo-clipboard": "~4.1.2",     "expo-constants": "~14.2.1",     "expo-dev-client": "~2.2.1",     "expo-device": "~5.2.1",     "expo-file-system": "~15.2.2",     "expo-font": "~11.1.1",     "expo-image-picker": "~14.1.1",     "expo-linear-gradient": "~12.1.2",     "expo-media-library": "~15.2.3",     "expo-network": "~5.2.1",     "expo-secure-store": "~12.1.1",     "expo-sharing": "~11.2.2",     "expo-skeleton-loader": "^1.1.3",     "expo-splash-screen": "~0.18.2",     "expo-status-bar": "~1.4.4",     "expo-updates": "~0.16.4",     "react": "18.2.0",     "react-native": "0.71.13",     "react-native-animatable": "^1.3.3",     "react-native-dropdown-select-list": "^2.0.4",     "react-native-gesture-handler": "~2.9.0",     "react-native-loading-spinner-overlay": "^3.0.1",     "react-native-mime-types": "^2.4.0",     "react-native-paper": "^5.6.0",     "react-native-reanimated": "~2.14.4",     "react-native-root-toast": "^3.4.1",     "react-native-safe-area-context": "4.5.0",     "react-native-screens": "~3.20.0",     "react-native-svg": "12.3.0",     "react-native-svg-transformer": "^1.0.0",     "react-native-tab-view": "^3.5.1",     "react-native-view-shot": "3.5.0",     "react-native-webview": "11.26.0",     "react-navigation-stack": "^2.10.4",     "react-query": "^3.39.3"   },   "devDependencies": {     "@babel/core": "^7.20.0",     "@expo/metro-config": "^0.10.7",     "@types/expo": "^33.0.1",     "@types/mime": "^3.0.1",     "@types/react": "~18.0.27",     "metro-config": "^0.79.1",     "react-native-dotenv": "^3.4.9",     "typescript": "^4.9.4"   },   "private": true }

Are you sure it's installed correctly? When you use it as described here it works? https://github.com/software-mansion/react-native-svg/blob/main/USAGE.md#usage

Noted. Thank you @bviebahn

Hi @bviebahn still experiencing the issues, I shared it here: https://stackoverflow.com/questions/77258590/react-native-expo-app-crashing-on-ios-testflight-and-android-internal-testing-w
I need your help, please!

I don't see anything wrong with your code just looking at it. You can also check the example project, which is also an expo project. Maybe try to run it and see if you find any differences: https://github.com/bviebahn/react-native-star-rating-widget/tree/master/example

Great, thank you @bviebahn
Will look into it

Hi @bviebahn
Increasing the "react-native-svg": version from "13.4.0"  to "13.14.0"(Latest) works for me.
Thank you

Interesting, good to know. Thanks for the update!


Spring Boot 3.1.1 doesn't find custom ObjectMapper

I tested two version of spring boot: 3.1.0 and 3.1.1 with io.hypersistence:hypersistence-utils-hibernate-62:3.5.1 and setting properties in application.yml like this:
spring:
  jpa:
    properties:
      hypersistence:
        utils:
          jackson:
            object:
              mapper: tech.livecom.libraries.utils.hibernate.CustomObjectMapperSupplier

In version 3.1.1 it is not working, but works in 3.1.0

I found that with org.springframework:spring-orm:6.0.9 it starts working, but boot 3.1.1 uses org.springframework:spring-orm:6.0.10

Maybe it's a Spring issue. Try to debug it and see what's causing the problem

I see that this constructor doesn't work:
public JsonBinaryType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext) {
        this(new JsonConfiguration(typeBootstrapContext.getConfigurationSettings()));
    }

Then it's a Hibernate or Spring issue since that constructor should have been called. You should investigate what caused the problem and open a ticket in the project that caused it.

I came across the same issue.
When debugging JsonConfiguration, I saw that the properties were loaded in Configuration.load(). Properties are only collected via application.properties, hypersistence-utils.properties and some deprecated paths, NOT via properties.yml. I haven't found anything in the code that reads the properties from yaml or gets them from spring.
The workaround I have used was to create hypersistence-utils.properties and add the custom ObjectMapper with the property hypersistence.utils.jackson.object.mapper


File format not accepted for GWAS file

Hi there,
Thank you for creating a wonderful tool to perform SMR analyses.
I am having trouble uploading my Crohn's disease GWAS dataset, downloaded from here, then organised into GCTA-COJO format, see below.
cd <- read.table("cd_eur_v4_fil_cojo.txt", header = T, row.names = NULL)
> head(cd)
          SNP A1 A2    frq       b     se        P      N
1  rs58276399  c  t 0.1311 -0.0523 0.0236 0.026620 367592
2  rs12131618  c  t 0.0705 -0.0198 0.0335 0.553600 367592
3 rs141242758  c  t 0.1306 -0.0518 0.0235 0.027170 367592
4  rs79010578  a  t 0.1530 -0.0691 0.0258 0.007437 367592
5  rs61770167  t  c 0.0365 -0.1608 0.0832 0.053350 367592
6   rs3094315  a  g 0.8310  0.0521 0.0219 0.017500 367592

I get this error message when I try to upload it.

I saved the text file with this line of code (below), wondering if it's to do with the tab delimited format, but I still get the error message. Any suggestions?
write.table(cd, "cd_cojo_smr_portal.txt", sep = "\t", row.names = F)

Sorry, I did not realise that R removes the quotes from the text file written using write.table. I had to include quote = F and sep = "\t" and I was able to upload the file.

Hi rikomiko,
We recommend you to upload your GWAS summary file with right headers:
e.g. frq --> freq
SNP A1 A2    frq       b     se        P      N
to
SNP    A1  A2  freq    b   se  p   n
We will fix the compatibility issue in our next updated published version.
Best wishes,
Yazhou

Hi Yazhou,
Thank you for your recommendation! I made the changes. I also changed the code to exclude the quotes and the analysis could run.
Kind regards,
Rika
From: Yazhou Guo @.>
Sent: Tuesday, September 3, 2024 5:56 PM
To: jianyanglab/SMR-Portal @.>
Cc: Rika Tyebally @.>; State change @.>
Subject: Re: [jianyanglab/SMR-Portal] File format not accepted for GWAS file (Issue #1)
Hi rikomiko,
We recommend you to upload your GWAS summary file with right headers:
e.g. frq --> freq
SNP A1 A2 frq b se P N
to
SNP A1 A2 freq b se p n
We will fix the compatibility issue in our next updated published version.
Best wishes,
Yazhou
—
Reply to this email directly, view it on GitHubhttps://github.com/jianyanglab/SMR-Portal/issues/1#issuecomment-2325841068, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4D7GF2CODK2C77SZNELWKTZUVTPXAVCNFSM6AAAAABNRNI4DOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRVHA2DCMBWHA.
You are receiving this because you modified the open/close state.Message ID<EMAIL_ADDRESS>


fix: apply some of playground feedbacks

Summary
apply some of UI team feedbacks to playground
Checklist:

[x] gaps
[x] font sizes
[x] missing wallets
[x] amount input
[x] missing designs
[x] export code section
[x] hover components

I thins this comment is not applied.

I didnt catch what they mean. did you address it?

It's a tooltip. But you added as a button

Approved.


Add SampleSet.from_samples_cqm() method

One possible addition that seems sensible, would be to use .from_samples_cqm() in ExactCQMSolver.sample_cqm().

Codecov Report

Merging #1140 (404f3dd) into main (003253f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 404f3dd differs from pull request most recent head 810b87d. Consider uploading reports for the commit 810b87d to get more accurate results

@@           Coverage Diff           @@
##             main    #1140   +/-   ##
=======================================
  Coverage   94.17%   94.18%
=======================================
  Files          88       88
  Lines        9325     9335   +10
=======================================
+ Hits         8782     8792   +10
  Misses        543      543

Impacted Files
Coverage Δ

dimod/sampleset.py
90.22% <100.00%> (+0.20%)
: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 003253f...810b87d. Read the comment docs.

Note: 810b87d introduces a change in behavior that I believe fixes an minor extant bug.
The root cause of the (AFAIK unreported) bug is the missing abs call around info.rhs_energy in the list comprehension that is assigned to is_satisfied.
C.f. what I believe is the correct expression here in ConstrainedQuadraticModel.check_feasible.  This is the expression that SampleSet.from_samples_cqm() uses.
Should we add a release note to document this change in behavior?  Should it be labeled as a bug fix?

Should we add a release note to document this change in behavior? Should it be labeled as a bug fix?

IMO yes, a bug fix would be appropriate.


When moving the diagram, there tends to be a smudge of colors left behind

Describe the bug
When moving the diagram, there tends to be a smudge of colors left behind
To Reproduce
Steps to reproduce the behavior:

Open Safari (It only happens in Safari)
Move the diagram and look around
You will see colored spots from the diagram

Screenshots

Desktop (please complete the following information):

OS: iOS
Browser: Safari
Version: d3-org-chart: "3.0.1"

Safari has that bug, you have to make sure that all content stays within defined width and height(and not overflow) and no absolute positioning is used. You can utilize margins for that

Oh, I see. Thanks for your prompt response, @bumbeishvili
I'll keep it in mind


redux-actions's update cause redux-api-middleware error

when i update redux-action to v1.0.0,
isFSA cause the Uncaught Error: The FSA spec mandates an action object with a type. Try using the createAction(s) method. error.

I use both redux-api-middleware and redux-actions, but RSAAs are not FSAs. I'm not sure what the bug is here, so I'm going to close.
Please re-open if this is an ongoing issue, with steps to reproduce if possible.


wp_prefix variable doesn't get updated

I'm trying to change the table prefix within my dev.json file, but the prefix doesn't get updated after rebuilding and running the dev server. After looking through the wordexpress-schema library I noticed that everything except the prefix is getting set to a variable
`_createClass(WordExpressDatabase, [{
    key: 'connect',
    value: function connect() {
      var _settings$privateSett = this.settings.privateSettings.database;
      var name = _settings$privateSett.name;
      var username = _settings$privateSett.username;
      var password = _settings$privateSett.password;
      var host = _settings$privateSett.host;
      var _settings$publicSetti = this.settings.publicSettings;
      var amazonS3 = _settings$publicSetti.amazonS3;
      var uploads = _settings$publicSetti.uploads;`

Then setting the wp_prefix variable like so
`key: 'getModels',
 value: function getModels() {
     var prefix = 'wp_';
     var Conn = this.connection;`

Should the prefix variable be set dynamically as well or am I missing something?

Sorry for the late response! I think there was a PR that was merged for this, but I haven't yet published a new version to npm.
Honestly, I'm waiting for ApolloStack's first 1.0 release to make any more changes, and update the npm packages. This should be soon, hopefully.

I think this should be fixed now.


Installation failed: ... discord-integration.zip: Not Found

I'm a new user to FoundryVTT doing first-time setup for a game, and I am unable to install Discord Management Library from the Install Module menu. When I try, I am greeted with this error:
Installation failed: An unexpected error occurred when downloading file https://github.com/TheMasterGeese/discord-integration/main/bundle/discord-integration.zip: not found
How do I fix this so I can install?

An update, I think I succeeded in manually installing? I downloaded the ZIP myself and placed it inside of C:\Users\HafCo\AppData\Local\FoundryVTT\Data\modules, and upon repeating my steps to try and give you a list of what I did, show where it went wrong, it now shows as being installed.

Found and fixed the issue, released v2.1.6 to hotfix it. Let me know if you have any other issues.


Group similar scenes together

Hello, thank you for your great program.
Through split_video_ffmpeg, we confirmed that the scene is split when it changes.
However, when a scene progresses in the order (a - b - c), if a and c are similar (same camera angle, same person, etc.), is a grouping function possible?

What you are talking about here is sometimes referred to in the literature as shot threading. Basically, some way to identify regions of video between each cut point that are similar in some way. Here (pdf) is an example paper that talks about it and provides some other references (paid access) here and here.
In general, I would consider this problem as out of scope for this project (though @Breakthrough is free to disagree) since the focus is really on the detection of the cut points rather than scene comprehension to that extent. I do understand that the line can be blurry a bit as trying to figure out ways to detect difficult scene transitions (fades, dissolves, etc.) or avoid false positives (motion, flashes, edges) can border on more complex scene comprehension.
I haven't wanted or needed to do this kind of threading in the past, so I can't say that I have a good alternative library to point you towards.

Thank you very much for your response. Thanks to you, I have learned the keyword "shot threading" for the first time. Although I need more time to understand it fully, it seems to be similar to what I am looking for. I will look into it further.
I had a simpler idea in mind.
If we can determine that scenes are different, then couldn't we also determine that scenes are similar?
If we use a threshold to decide that scenes are different, then I thought that if we join scenes a and c, and the resulting video does not exceed the threshold, we could determine that they are the same (or similar) scenes.
I am curious if this concept is feasible.

The new histogram detector would be useful for this, but I agree with @wjs018 that this is probably out of scope for PySceneDetect.  That being said, we can certainly try to add API functionality that would allow this to be developed from the library.
One could calculate the mean histogram for each shot, and then use a post-processing step to group shots based on histogram similarity.  The hash detector might also be useful for this purpose.
This would require exporting the histograms to the StatsManager on each frame, so some thought might need to be done there with respect to buffering.  Currently on each run the StatsManager buffers all metrics until they are saved to disk - we might need to revisit that approach to keep up with the volume of data here.
I'm not sure when these changes could be scheduled for, but am open to any PRs that can make progress on this.


Addition to Unit Test.

Minor changes to check the last aspect of the code's functionality.

Addition to Unit Test.


[feaLib] make LookupList.Lookup into a list of Lookup objects, not subtables

the feaLib.builder.Builder.makeTable is missing one level in the structure of OpenType layout tables.
table.LookupList.Lookup in GSUB is being built as a list of lookup subtables (e.g. LigatureSubst, AlternateSubst, etc.). Instead, it should be a list of Lookup objects, each having a SubTable attribute containing the list of subtables, as well as LookupType, LookupFlag, SubTableCount, etc.
https://github.com/behdad/fonttools/blob/master/Lib/fontTools/ttLib/tables/otData.py#L88
@brawer this PR is just to show the issue with code, feel free to close this and fix it the way you like.
Thanks for the good work!

:+1:


Add logout link to invalidate the kerberos auth cookie

@harshach Since the cookie is a httpOnly cookie (a cookie with the httpOnly parameter set), we cannot clear it from JavaScript.
As a turnaround, what I suggest is making an API that will clear the cookie and UI can make that call on clicking "Logout" link.

@arunmahadevan  can you take this up.

Raised PR: https://github.com/hortonworks/streamline/pull/798 to add UI side of changes.


add simplified chinese translation for README;

README is great for learn decorator/drapper, so I translate it to Simplified Chinese(简体中文) for chinese users;

Thank you so much for translating the readme. One problem is it will be hard to keep the English and Chinese versions in sync. I'm not sure how we could manage that.

While I hate to close a pull request that adds translation, I agree with Sean's concerns about keeping it up to date. I'm not sure how we would could manage this well either. I'm going to close this for the time being; however, if you have suggestions on how to keep it up to date or feel strongly that it should be added, please let me know and I'd be happy to revisit this conversation.

Wiki maybe?

Yes, absolutely. That was my first thought, but was unsure because it still suffers from the same problem of keeping up to date.
@zamia I have added your translation to the wiki here.


[Text Analytics] "Invalid URL '$(js-textanalytics-test-service-endpoint)/text/analytics/v3.2-preview.2/analyze': No schema supplied" in Public, USGOV and China clouds

We are running live Tests against other clouds like US Gov and Azure China Cloud. The goal is to check whether new azure sdk package work with other clouds or not.
Error Description:
When running the test test_analyze.py::TestAnalyze::test_disable_service_logs in weekly pipeline, it runs failed and the error message is shown as following. In addition, I ran this test in the local and nightly pipelines, and the result of both is pass. For more details on this issue, please check here:

Expected Behavior:
This service request is a valid url.
Maybe we need to confirm whether the value of the environment variable js-textanalytics-test-service-endpoint (textanalytics/tests.yml) in weekly pipeline is correct and exists.
@benbp, @jameszliao-msft, @lmazuel, @meeraharidasa , @mayurid, @abhahn for notification.

These appear to be references to a static test resource via devops variables. Any time these are here it means that the tests will not work by default for sovereign clouds, and the static test resource needs to either be replicated across the sovereign clouds by the owning team OR updated to be provisioned dynamically. FYI @kristapratico
The reason you are seeing the current error (where it fails to expand the variable) is because this variable group has not been authorized for use by the weekly pipeline (but doing so won't fix the underlying issue).

@benbp    So how are we currently going to fundamentally solve this problem? Do you have any idea? Or shall we first authorize this variable group to the weekly pipeline for sovereign testing?

These vars do refer to static test resources which are only available in the Public cloud (service constraint) - so provisioning dynamically will not quite work yet for sovereign clouds. I believe you could authorize the weekly pipeline to use the variable group since it will just use an endpoint/key combo from the Public cloud vars for these specific tests. Otherwise we can skip these tests in sovereign clouds for now.

@kristapratico I'd rather not make cross-cloud service requests if we can avoid it (from a test coverage/isolation standpoint). Would you be able to help copy over the static resources to the UsGov and China clouds? I can help with access.

@kristapratico I'd rather not make cross-cloud service requests if we can avoid it (from a test coverage/isolation standpoint). Would you be able to help copy over the static resources to the UsGov and China clouds? I can help with access.

That's fair. The issue is that these static resources pertain to features of the service that only are supported in westus2 and westeurope at the moment. The particular endpoint/key passed with env vars has trained and deployed models under the account in the Public cloud which we test from. We're unable to create these models in different clouds until the service supports it.

@kristapratico ah ok, in that case I'd say we should skip these tests in sovereign clouds until the feature set is supported.

@kristapratico @benbp Thanks for your help. I will skip these tests related to variable group (like js-single-category-classify-project-name) in UsGov and China clouds.

Please help authorize the weekly pipeline to authorize the use of this variable group in textanalytics/tests.yml.
I will skip the following tests in UsGov and China, please help confirm whether it is correct or missing.

test_analyze.py::TestAnalyze::test_disable_service_logs
test_analyze.py::TestAnalyze::test_single_category_classify
test_analyze.py::TestAnalyze::test_multi_category_classify
test_analyze.py::TestAnalyze::test_recognize_custom_entities
test_analyze.py::TestAnalyze::test_generic_action_error_no_target
test_analyze.py::TestAnalyze::test_action_errors_with_targets
test_analyze.py::TestAnalyze::test_action_job_failure
test_analyze_async.py::TestAnalyzeAsync::test_disable_service_logs
test_analyze_async.py::TestAnalyzeAsync::test_single_category_classify
test_analyze_async.py::TestAnalyzeAsync::test_multi_category_classify
test_analyze_async.py::TestAnalyzeAsync::test_recognize_custom_entities
test_analyze_async.py::TestAnalyzeAsync::test_generic_action_error_no_target
test_analyze_async.py::TestAnalyzeAsync::test_action_errors_with_targets
test_analyze_async.py::TestAnalyzeAsync::test_action_job_failure

@v-xuto it might be best to skip on the absence of textanalytics_custom_text_endpoint since the env var associated is used in all the tests that will need to be skipped.

Like Ben said, we shouldn't need to authorize the variable group for this pipeline since we don't want to mix cross-cloud requests. Let me know if you're still running into issues with this, though.
That set of tests looks correct to me.

@kristapratico because the variables are still referenced in tests.yml, devops will try to download them hence the access error.
I recommend we build out a subscription configuration overlay for text analytics and migrate these values out of the variable group, that way we know the values won't be defined at all for sovereign tests and the test skips can handle that appropriately. I can take this on.

@benbp okay that sounds good! let me know how I can help

@kristapratico @v-xuto I have a PR up which updates the yaml to support sovereign cloud testing and removes the dependency on the current variable group. Once that's merged in I can remove the old variable group reference in the pipeline as well.
@kristapratico if you can double check the contents of the config where I added the env variables and add anyone else relevant to the access policies + as vault owners that would be great.
Vault<EMAIL_ADDRESS>Or:
az keyvault secret show --vault-name testsecrets-textanalytic -n sub-config-text-analytics-azure-cloud-test-resources --query 'value'

P.S. Sadly I had to name the keyvault TestSecrets-TextAnalytic because the 24 character vault name limit made it to long for "Analytics" plural...

@benbp thanks for the help! I approved the PR.

Ok the subscription configuration for public and the tests.yml config update has been made. I authorized the weekly pipeline to be able to load it for the public stage, and the env variables should not be defined for sovereign environments now.

@benbp @kristapratico Maybe we need add envs AZURE_TEXT_ANALYTICS_ENDPOINT and AZURE_TEXT_ANALYTICS_KEY to (textanalytics/tests.yml). Because, I rerun the weekly pipeline, got an error in section Test Samples on UsGov and China clouds.  For more details please check here.
sample_analyze_healthcare_entities.py error message: KeyError: 'AZURE_TEXT_ANALYTICS_ENDPOINT'.
Besides, can I update the code to the following to skip the samples that uses the parameter textanalytics_custom_text_endpoint? Or do you have any better suggestion to skip these samples in UsGov and China?
def is_public_cloud():
    return (".microsoftonline.com" in os.getenv('AZURE_AUTHORITY_HOST', ''))

if __name__ == "__main__":
    if is_public_cloud():
        sample_recognize_custom_entities()

The relevant samples are: sample_multi_category_classify.py(asnyc), sample_recognize_custom_entities.py(asnyc), sample_single_category_classify.py(asnyc)

Hi @v-xuto, you can skip samples for UsGov and China. Just move the
MatrixReplace:
  - TestSamples=.*/true

under the PublicCloud config. For example: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/translation/tests.yml#L12-L13
This will skip samples for those clouds and we won't have to add any code to the sample files themselves.


Discussion of XTKS (JPX) holidays

@gerrymanoim I don't see the XKTS (JPX) calendar in your difference report, but doing a spot check the holiday 2021-09-23, the Autumnal Equinox (as shown here: https://www.tradinghours.com/exchanges/jpx/market-holidays/2021) is a holiday in pandas_market_calendars but not in trading_calendars
These holidays were provided to pandas_market_calendars in this PR: https://github.com/rsheftel/pandas_market_calendars/pull/72

Hey @rsheftel - I actually didn't compare anything past the end of 2020, since we haven't gone through and updated all the calendars for 2021 (@jmccorriston  and I have it as a todo list item).
The equinoxes are defined at https://github.com/quantopian/trading_calendars/blob/master/trading_calendars/xtks_holidays.py#L87. We can/should port over the 2021 holidays though.


Ignore spacelift runs on draft PRs

what

Ignore spacelift runs on draft PRs
Waiting on team feedback

why

Reduce noise

references

N/A

test
Draft
This has `draft: true` and `labels: ["spacelift-trigger"]` so it should run spacelift
{
  "in_progress": [],
  "pull_request": {
    "action": "merged",
    "action_initiator": "nitrocode",
    "author": "nitrocode",
    "base": {
      "author": "nitrocode",
      "branch": "main",
      "created_at":<PHONE_NUMBER>000000000,
      "hash": "fdd4011c23a012b358eacec4bbf4143aa97cdae2",
      "message": "snip"
    },
    "diff": ["components/terraform/ses/README.md", "components/terraform/ses/main.tf", "components/terraform/ses/variables.tf", "stacks/catalog/ses.yaml"],
    "draft": true,
    "head": {
      "author": "nitrocode",
      "branch": "ses-spacelift",
      "created_at":<PHONE_NUMBER>000000000,
      "hash": "93e1fcd38dbff15b07293783a15428bbb2e623b6",
      "message": "Update ses.yaml"
    },
    "id": 524,
    "labels": ["spacelift-trigger"],
    "title": "Document ses disabled in spacelift"
  },
  "push": {
    "affected_files": ["components/terraform/ses/README.md", "components/terraform/ses/main.tf", "components/terraform/ses/variables.tf", "stacks/catalog/ses.yaml"],
    "author": "nitrocode",
    "branch": "main",
    "created_at":<PHONE_NUMBER>000000000,
    "hash": "1be4b2a32fb0fc51feabce00532b0b7663825660",
    "message": "snip",
    "tag": ""
  },
  "stack": {
    "administrative": false,
    "autodeploy": false,
    "branch": "main",
    "id": "ue1-network-vpc-flow-logs-log-group",
    "labels": ["deps:stacks/catalog/cloudwatch-logs.yaml", "deps:stacks/catalog/vpc.yaml", "deps:stacks/globals.yaml", "deps:stacks/ue1-globals.yaml", "deps:stacks/ue1-network.yaml", "folder:component/vpc-flow-logs-log-group", "folder:ue1/network"],
    "locked_by": null,
    "name": "ue1-network-vpc-flow-logs-log-group",
    "namespace": "",
    "project_root": "components/terraform/cloudwatch-logs",
    "repository": "infrastructure",
    "state": "FINISHED",
    "terraform_version": "1.0.8",
    "tracked_commit": {
      "author": "nitrocode",
      "branch": "main",
      "created_at":<PHONE_NUMBER>000000000,
      "hash": "snip",
      "message": "snip"
    },
    "worker_pool": {
      "id": "snip",
      "labels": [],
      "name": "Primary Worker Pool ue1",
      "public": false
    }
  },
  "stacks": []
}

Simulation shows correct ignore
{
  "cancel": [],
  "ignore": false,
}

This has `draft: true` and `labels: [""]` so it should ignore spacelift
Simulation shows correct ignore
{
  "cancel": [],
  "ignore": true,
}

Ready to review (this is preserved)
This has `draft: false` and `labels: [""]` so it should run spacelift
Simulation shows correct ignore
{
  "cancel": [],
  "ignore": false,
}

This has `draft: false` and `labels: ["spacelift-no-trigger"]` so it should ignore spacelift
Simulation shows correct ignore
{
  "cancel": [],
  "ignore": true,
}

/test test/bats

/test test/readme

/test test/bats

/test test/readme


Supported Smartphones: add Samsung A71 with Android 13

This device seems to support BT5 now with the latest Android version. However, the BT5 reception does not work continuously. I see BT5 messages for 4 seconds, then a gap of 4 seconds and then messages again (repeating over and over).
Unfortunately I could not check the BT5 elimination criteria with nRF Connect (v4.26.1), since the app is crashing when I try to open the "Device Information" page on this device (no idea why, it seems to work well on other Android 13 devices). However, ODID (v3.4.3) shows "Coded PHY supported" and "Extended Advertising supported" and does receive BT5 messages. (Btw, maybe the testing methodology should be simplified a bit? AFAICS all the capabilities can be checked directly via the ODID app now, instead of nRF Connect and AIDA?)
One final question: Should we have multiple entries for a single device with different Android versions, like I did? (Note that for the S21+ I put three different Android versions in the same entry, since they all behave the same.) Or should we rather remove "outdated" OS versions (assuming that everyone will update to the latest available OS version anyway)?

Let's keep them separate, since there seems to be so big a difference between the two Android versions.
I added the comment also to the Japanese list. Hopefully with the correct language skill will translate it at some point.

Let's keep them separate, since there seems to be so big a difference between the two Android versions.

:+1:

I added the comment also to the Japanese list. Hopefully with the correct language skill will translate it at some point.

Alright, thanks for this addition (I was not sure how to handle that), and for merging!


correct pgn parsing

This should fix all the parsing issues.
I am not 100% if the buffer[i-2] access is always well-defined, even across chunks. So a thorough review is warranted I think.
I bumped the version to 0.5.0, hope that is fine.
Also added a pgn test with black to move first, and with 0-0-0 in it.
Now ./out -ts="PGN StreamParser" works without problems.

I think this just happens to work... it could be that when we are reading from the bufffer, it's splitted in such a way that 0 is the first thing in the buffer at this point we lost information about the previous tokens, similarly for the end of the buffer we dont know what the next one is (and one would have to make sure that the buffer index is < readbytes). I think the best hack around this would be to "cache/store" the previous 2 tokens.

Yeah, I was not sure if i was ever zero, apart from reading the beginning of a file. If it can be zero mid-file, then a static buffer would do the trick. Let me know if this is needed.
Btw, do any of these pgn parsing issues also affect fastchess?

fastchess uses the same parser, so persumably yes.  i will be zero multiple times, currently the logic is that, we have a buffer of n bytes, we read from the istream and fill it completly or up to the last byte of the istream. Then we loop over the buffer till we reach the end of the buffer, then we fill the buffer again. Static variables wont work when having a multithreaded app.

So if i can be zero while reading the moves of a game, then this PR won't work for 0-0 and 0-0-0 moves that are parsed while i switches to 0.
The PR could still be merged, as it deals with more pgns correctly than master. Up to you.

can you try saving the two previous chars ? default can be just empty i guess and then
char c = buffer[i];
// code
c2 = c1;
c1 = c;

smth like that?

Pushed a fix.

nice, now i am still confused as to why my ci doesnt run...

Do you mind checking if the actions are enabled in your fork settings and work in your fork?

no problem, but do you mind guiding me (maybe via dm on discord?)

Forgot to say: Thanks! ;)


Feature: Infer ref typings by element

<template>

 state.element = el">

</template>

This will produce error because ComponentInternalInstance | Element cannot be assigned to Element.
However we can infer the real :ref is string | Ref<any> | ((ref: HTMLUListElement) => void) instead of string | Ref<any> | ((ref: ComponentInternalInstance | Element) => void) because ul is hard-coded.

Or, can we prevent the error message by  or something?

You should define correct type param to ref, and make sure your vue version >= 3.2, because vue 3.1.5 has a type with this case.
<template>

 state.element = el">

</template>

Btw @ts-ignore already available:
<template>

 {
    // @ts-ignore
    state.element = el
  }">

</template>

You should define correct type param to ref, and make sure your vue version >= 3.2, because vue 3.1.5 has a type bug in this case.

The problem is, the CORRECT type param to ref is ref<Element>. If I use something else just to please volar, I will have to add a thousand more type conversions to rest of my code.


[BACKLOG-7661] thin repo styling changes

@bmorrise @mdamour1976

Base build failed with return code 1


Lets encrypt addon DNS fails for Digitalocean

I'm trying to get Lets Encrypt 4.2 with DNS challenge to work with my provider (DigitalOcean). I'm getting the following error message:
Attempting to renew cert (<my domain>) from /data/letsencrypt/renewal/<my domain>.conf produced an unexpected error: None of the preferred challenges are supported by the selected plugin. Skipping.
...

The configuration that I'm using is:
{
  "email": "<MY EMAIL>",
  "domains": [
    "<MY HOME ASSISTANT DOMAIN>"
  ],
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "challenge": "dns",
  "dns": {
    "provider": "dns-digitalocean",
    "digitalocean_token": "<MY DIGITAL OCEAN TOKEN WITH R/W ACCESS>"
  }
}

I encounter the same problem as you describe. It's like you try to switch from http challenge to dns. It is not currently acceptable. To make it work, you need to remove the add-on and install it again. So that it will issue a brand new certificate with dns challenge.

@lemonlatte your solution worked like a charm. I was switching from http to dns challenge.


really useful in some cases

fixed

Really useful in what cases? You can't just say it's useful but don't say how it's useful.

these commands don't make any sense, because webpack is part of dependencies and will be installed via npm install

ah thanks, since im kinda new to this stuff


Predict after saving the model

There is a problem with save() method. After method call, regressors in distributions field changes to their pickle serialization.

bn = ContinuousBN(use_mixture=False, has_logit=False)
bn.add_nodes(DESCRIPTOR)
bn.add_edges(DISCRETIZED_DATA)
bn.fit_parameters(DATA)

bn.save(BN_NAME, MODELS_DIR)

bn.predict(TEST_DATA)

After calling predict() method we've got an error:
...
        if pvals is not None:
            for el in pvals:
                if str(el) == "nan":
                    return np.nan
            model = node_info["regressor_obj"]
>           pred = model.predict(pvals)
E           AttributeError: 'str' object has no attribute 'predict'

Because now instead of CatBoostRegressor object (for example) in node_info["regressor_obj"] we have something like this: "\x80\x04\x95w\x00\x00\x00\x00\x00\x00\x00\x8c\rcatbo..."

Well, truly, it must be implement deepcopy instead of shallow copy..


@RetryableTopic Additional Support of SpEL

Additional Support of SpEL for listenerContainerFactory and kafkaTemplate properties.
The main work has been done here - https://github.com/spring-projects/spring-kafka/pull/1722, and that's great, but listenerContainerFactory and kafkaTemplate still can not be used from properties or SpEL, when JavaDoc says "All String properties can be resolved from property placeholders".

@Aleksei-Ch Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@Aleksei-Ch Thank you for signing the Contributor License Agreement!

Thanks for the contribution; looking forward to more; in future, please limit the commit headline to 50 chars.
Cherry-picked to 2.9.x


Previous version changes missing

The current (2.1.1) version dosn't list the previous version changes (here: these of v2.1). That might be a one time mistake, but might as well be programmatically, i.e. each previous versions changes might be omitted.

I already have noticed this issue and fixed it.

Fixed as well, thanks!


Minecraft: Spigot 1.8.8 server

I tried to setup a Spigot/Bukkit server for version 1.8.8 but I can't find out what is wrong.
Switching to user 'minecraft'
Checking version information.
Checking type information.
2017/07/12 22:06:07 Unable to find an element with the class 'jar-div'
ERROR: Version 1.8.8 is not supported for BUKKIT
Refer to https://mcadmin.net/ for supported versions

I also tried to change version to 1.8, 1.12 etc, but the same problem. Also the website that is referenced does not seem to be running?

The mcadmin.net site quickly runs out of capacity, so it seems to be rarely online. It takes longer to startup, but an "easy" solution is to add
-e BUILD_FROM_SOURCE=true

to your docker run command line.

Thanks, but if I add that line to the script and run it I get this from the log:
usermod: no changes
Switching to user 'minecraft'
Checking version information.
Checking type information.
Building Spigot 1.8.8 from source, might take a while, get some coffee
............done
mv: cannot stat ‘spigot-*.jar’: No such file or directory
mv: cannot stat ‘craftbukkit-*.jar’: No such file or directory
Cleaning up
Copying any Bukkit plugins over
Error: Unable to access jarfile craftbukkit_server.jar

@kimhrac unless you trimmed some of the ....'s before the done, your build seems to have error'ed out early. Can you post the last part of what should be the build log at /data/minecraft/servers/mc-bukkit/spigot_build.log?

I didn't trim out anything.
The content of spigot_build.log is:
Loading BuildTools version: git-BuildTools-7f7e531-60 (#60)
Git name not set, setting it to default value.
Exception in thread "main" java.io.IOException: Cannot run program "git" (in directory "."): error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
        at org.spigotmc.builder.Builder.runProcess(Builder.java:552)
        at org.spigotmc.builder.Builder.main(Builder.java:162)
Caused by: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
        at java.lang.ProcessImpl.start(ProcessImpl.java:134)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        ... 2 more

I can see that I might need to add also the -e SPIGOT_DOWNLOAD_URL and change type to -e TYPE=SPIGOT so I tried the following:
docker \
        run \
        -e EULA=TRUE \
        -e TYPE=SPIGOT \
        -e VERSION=1.12 \
        -e BUILD_FROM_SOURCE=true \
        -e SPIGOT_DOWNLOAD_URL=https://cdn.getbukkit.org/spigot/spigot-1.12.jar \
        -e DIFFICULTY=peaceful \
        -e ENABLE_COMMAND_BLOCK=true \
        -e FORCE_GAMEMODE=false \
        -e GENERATE_STRUCTURES=true \
        -e SPAWN_ANIMALS=true \
        -e SPAWN_MONSTERS=true \
        -e MODE=survival \
        -e MAX_PLAYERS=20 \
        -d \
        -v /data/minecraft/servers/mc-bukkit:/data \
        -p 25566:25565 \
        --name mc-bukkit \
        itzg/minecraft-server \
        --noconsole

but this gives the following when I try to run it and use docker logs <containerid>:
usermod: no changes
Switching to user 'minecraft'
Checking version information.
Checking type information.
Building Spigot 1.12 from source, might take a while, get some coffee
............done
mv: cannot stat ‘spigot-*.jar’: No such file or directory
mv: cannot stat ‘craftbukkit-*.jar’: No such file or directory
Cleaning up
Copying any Bukkit plugins over
Error: Unable to access jarfile spigot_server.jar

Am I missing something? Is the download URL correct?

Sorry for the delay on responding. Yours is acting like git isn't present within the image, but I just double checked that I can see it.
This time can you do a fresh pull and see what it is reported about your image's git:
docker pull itzg/minecraft-server
docker run --rm --entrypoint /usr/bin/git itzg/minecraft-server version

Thanks for helping out.  Now I get the following when trying to run the command above:
# docker logs 2c
Switching to user 'minecraft'
Checking version information.
Checking type information.
Building Spigot 1.12 from source, might take a while, get some coffee
.........................................................................................................................................done
Cleaning up
BusyBox v1.26.2 (2017-06-11 06:38:32 GMT) multi-call binary.

Usage: mv [-fin] SOURCE DEST
or: mv [-fin] SOURCE... DIRECTORY

Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY

        -f      Don't prompt before overwriting
        -i      Interactive, prompt before overwrite
        -n      Don't overwrite an existing file
BusyBox v1.26.2 (2017-06-11 06:38:32 GMT) multi-call binary.

Usage: mv [-fin] SOURCE DEST
or: mv [-fin] SOURCE... DIRECTORY

Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY

        -f      Don't prompt before overwriting
        -i      Interactive, prompt before overwrite
        -n      Don't overwrite an existing file
Copying any Bukkit plugins over
Setting initial memory to 1G and max to 1G
Error: Unable to access jarfile spigot_server.jar

Since there's a relatively small number of dots from the build step, I'm guessing it failed unexpectedly. Can you paste the last part of the file /data/spigot_build.log from the container? If you had -v attached a host directory to /data, it'll be easier to obtain from there.

Sure:
# more spigot_build.log
Loading BuildTools version: git-BuildTools-7f7e531-60 (#60)
Git name not set, setting it to default value.
Git email not set, setting it to default value.
Starting clone of https://hub.spigotmc.org/stash/scm/spigot/bukkit.git to Bukkit
Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/bukkit.git to /data/temp/Bukkit. Current HEAD: 0ce77bc4b3825b1665b34f7dd6dc4b01a02e9443
Starting clone of https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git to CraftBukkit
Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git to /data/temp/CraftBukkit. Current HEAD: 2c5c611d0c3c198c1ac904e8d64051a8437a8720
Starting clone of https://hub.spigotmc.org/stash/scm/spigot/spigot.git to Spigot
Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/spigot.git to /data/temp/Spigot. Current HEAD: 596221bf2ffd4e694d008406f7940a8a041a71fb
Starting clone of https://hub.spigotmc.org/stash/scm/spigot/builddata.git to BuildData
Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/builddata.git to /data/temp/BuildData. Current HEAD: ebd264edb506ff3e72e92dd16b1b68c46905972c
Maven does not exist, downloading. Please wait.
Starting download of https://static.spigotmc.org/maven/apache-maven-3.2.5-bin.zip
Downloaded file: mvn.zip with md5: e617600b75dff1f69b67e92d55f47c6a
Extracted: ./apache-maven-3.2.5/README.txt
Extracted: ./apache-maven-3.2.5/LICENSE
Extracted: ./apache-maven-3.2.5/NOTICE
Extracted: ./apache-maven-3.2.5/lib/aether-api.license
Extracted: ./apache-maven-3.2.5/lib/aether-connector-basic.license
Extracted: ./apache-maven-3.2.5/lib/aether-impl.license
Extracted: ./apache-maven-3.2.5/lib/aether-spi.license
Extracted: ./apache-maven-3.2.5/lib/aether-transport-wagon.license
Extracted: ./apache-maven-3.2.5/lib/aether-util.license
Extracted: ./apache-maven-3.2.5/lib/cdi-api.license
Extracted: ./apache-maven-3.2.5/lib/jsoup.license
Extracted: ./apache-maven-3.2.5/lib/jsr250-api.license
Extracted: ./apache-maven-3.2.5/lib/maven-aether-provider.license
Extracted: ./apache-maven-3.2.5/lib/maven-artifact.license
Extracted: ./apache-maven-3.2.5/lib/maven-compat.license
Extracted: ./apache-maven-3.2.5/lib/maven-core.license
Extracted: ./apache-maven-3.2.5/lib/maven-embedder.license
Extracted: ./apache-maven-3.2.5/lib/maven-model-builder.license
Extracted: ./apache-maven-3.2.5/lib/maven-model.license
Extracted: ./apache-maven-3.2.5/lib/maven-plugin-api.license
Extracted: ./apache-maven-3.2.5/lib/maven-repository-metadata.license
Extracted: ./apache-maven-3.2.5/lib/maven-settings-builder.license
Extracted: ./apache-maven-3.2.5/lib/maven-settings.license
Extracted: ./apache-maven-3.2.5/lib/org.eclipse.sisu.inject.license
Extracted: ./apache-maven-3.2.5/lib/org.eclipse.sisu.plexus.license
Extracted: ./apache-maven-3.2.5/lib/plexus-cipher.license
Extracted: ./apache-maven-3.2.5/lib/plexus-sec-dispatcher.license
Extracted: ./apache-maven-3.2.5/lib/slf4j-api.license
Extracted: ./apache-maven-3.2.5/lib/slf4j-simple.license
Extracted: ./apache-maven-3.2.5/lib/wagon-file.license
Extracted: ./apache-maven-3.2.5/lib/wagon-http-shared.license
Extracted: ./apache-maven-3.2.5/lib/wagon-http.license
Extracted: ./apache-maven-3.2.5/lib/wagon-provider-api.license
Extracted: ./apache-maven-3.2.5/bin/m2.conf
Extracted: ./apache-maven-3.2.5/bin/mvn.bat
Extracted: ./apache-maven-3.2.5/bin/mvnDebug.bat
Extracted: ./apache-maven-3.2.5/bin/mvn
Extracted: ./apache-maven-3.2.5/bin/mvnDebug
Extracted: ./apache-maven-3.2.5/bin/mvnyjp
Extracted: ./apache-maven-3.2.5/conf/logging/simplelogger.properties
Extracted: ./apache-maven-3.2.5/conf/settings.xml
Extracted: ./apache-maven-3.2.5/lib/ext/README.txt
Extracted: ./apache-maven-3.2.5/boot/plexus-classworlds-2.5.2.jar
Extracted: ./apache-maven-3.2.5/lib/maven-embedder-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/maven-settings-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/plexus-utils-3.0.20.jar
Extracted: ./apache-maven-3.2.5/lib/maven-core-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/maven-model-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/maven-settings-builder-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/plexus-interpolation-1.21.jar
Extracted: ./apache-maven-3.2.5/lib/plexus-component-annotations-1.5.5.jar
Extracted: ./apache-maven-3.2.5/lib/plexus-sec-dispatcher-1.3.jar
Extracted: ./apache-maven-3.2.5/lib/plexus-cipher-1.7.jar
Extracted: ./apache-maven-3.2.5/lib/maven-repository-metadata-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/maven-artifact-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/maven-plugin-api-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar
Extracted: ./apache-maven-3.2.5/lib/cdi-api-1.0.jar
Extracted: ./apache-maven-3.2.5/lib/jsr250-api-1.0.jar
Extracted: ./apache-maven-3.2.5/lib/javax.inject-1.jar
Extracted: ./apache-maven-3.2.5/lib/org.eclipse.sisu.inject-0.3.0.M1.jar
Extracted: ./apache-maven-3.2.5/lib/maven-model-builder-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/maven-aether-provider-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/aether-api-1.0.0.v20140518.jar
Extracted: ./apache-maven-3.2.5/lib/aether-spi-1.0.0.v20140518.jar
Extracted: ./apache-maven-3.2.5/lib/aether-util-1.0.0.v20140518.jar
Extracted: ./apache-maven-3.2.5/lib/aether-impl-1.0.0.v20140518.jar
Extracted: ./apache-maven-3.2.5/lib/sisu-guice-3.2.3-no_aop.jar
Extracted: ./apache-maven-3.2.5/lib/aopalliance-1.0.jar
Extracted: ./apache-maven-3.2.5/lib/guava-18.0.jar
Extracted: ./apache-maven-3.2.5/lib/maven-compat-3.2.5.jar
Extracted: ./apache-maven-3.2.5/lib/wagon-provider-api-2.8.jar
Extracted: ./apache-maven-3.2.5/lib/slf4j-api-1.7.5.jar
Extracted: ./apache-maven-3.2.5/lib/commons-cli-1.2.jar
Extracted: ./apache-maven-3.2.5/lib/wagon-http-2.8-shaded.jar
Extracted: ./apache-maven-3.2.5/lib/wagon-http-shared-2.8.jar
Extracted: ./apache-maven-3.2.5/lib/jsoup-1.7.2.jar
Extracted: ./apache-maven-3.2.5/lib/commons-lang-2.6.jar
Extracted: ./apache-maven-3.2.5/lib/commons-io-2.2.jar
Extracted: ./apache-maven-3.2.5/lib/wagon-file-2.8.jar
Extracted: ./apache-maven-3.2.5/lib/aether-connector-basic-1.0.0.v20140518.jar
Extracted: ./apache-maven-3.2.5/lib/aether-transport-wagon-1.0.0.v20140518.jar
Extracted: ./apache-maven-3.2.5/lib/slf4j-simple-1.7.5.jar
Attempting to build version: '1.12' use --rev <version> to override
Found version
{
        "name": "1366",
        "description": "Jenkins build 1366",
        "refs": {
                "BuildData": "ebd264edb506ff3e72e92dd16b1b68c46905972c",
                "Bukkit": "0ce77bc4b3825b1665b34f7dd6dc4b01a02e9443",
                "CraftBukkit": "2c5c611d0c3c198c1ac904e8d64051a8437a8720",
                "Spigot": "596221bf2ffd4e694d008406f7940a8a041a71fb"
        },
        "toolsVersion": 47
}

Pulling updates for /data/temp/BuildData/.git
Successfully fetched updates!
Checked out: ebd264edb506ff3e72e92dd16b1b68c46905972c
Pulling updates for /data/temp/Bukkit/.git
Successfully fetched updates!
Checked out: 0ce77bc4b3825b1665b34f7dd6dc4b01a02e9443
Pulling updates for /data/temp/CraftBukkit/.git
Successfully fetched updates!
Checked out: 2c5c611d0c3c198c1ac904e8d64051a8437a8720
Pulling updates for /data/temp/Spigot/.git
Successfully fetched updates!
Checked out: 596221bf2ffd4e694d008406f7940a8a041a71fb
Attempting to build Minecraft with details: VersionInfo(minecraftVersion=1.12, accessTransforms=bukkit-1.12.at, classMappings=bukkit-1.12-cl.csrg, memberMappings=bukkit-1.12-members.csrg, packageMappings=package.srg, minecraftHash=218513c2d5b0ec4b6db26801a3883ad1, decompileCommand=java -jar BuildData/bin/fernflower.jar -dgs=1 -hdc=0 -asc=1 -udv=0 {0} {1}, serverUrl=https://launc
her.mojang.com/mc/game/1.12/server/8494e844e911ea0d63878f64da9dcc21f53a3463/server.jar)
Starting download of https://launcher.mojang.com/mc/game/1.12/server/8494e844e911ea0d63878f64da9dcc21f53a3463/server.jar
Downloaded file: work/minecraft_server.1.12.jar with md5: 218513c2d5b0ec4b6db26801a3883ad1
Found good Minecraft hash (218513c2d5b0ec4b6db26801a3883ad1)
Final mapped jar: work/mapped.323675e4.jar does not exist, creating!
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000e4c00000, 39845888, 0) failed; error='Out of memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 39845888 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /data/temp/hs_err_pid67.log
Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [java, -jar, BuildData/bin/SpecialSource-2.jar, map, -i, work/minecraft_server.1.12.jar, -m, BuildData/mappings/bukkit-1.12-cl.csrg, -o, work/mapped.323675e4.jar-cl]
        at org.spigotmc.builder.Builder.runProcess(Builder.java:561)
        at org.spigotmc.builder.Builder.main(Builder.java:319)

I'll have to ponder the error message some more if Maven ran out of memory or if the host where the container is running out of memory. I'm leaning towards the later.


feat(#1500): Add artifacts-unzip-worker

Context

To provide the SD_ZIP_ARTIFACTS function by only using Screwdriver components ( According to the SD ZIP ARTIFACTS design doc ).
Objective

This PR adds a script & unit test for SD_ZIP_ARTIFACTS function as follows;

Dequeue Jobs from the Redis Server using node-resque.
Download a zip artifact from the store.
Decompress the zip artifact.
Upload all the decompressed artifacts to the store.
Delete the downloaded zip artifact.（TBD)

References

Issue:#1500
Design
License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
TODO -> SOLVED
Retry Plugin in node-resque does not work now.
Even if the job fails, it dose not retry.
reEnqueue seems to be succeeded, but reEnqueued job dose not start.

worker's log
worker_1  | {"level":"info","message":"worker[1] check in @<PHONE_NUMBER>","timestamp":"2021-12-07T09:08:55.687Z"}
worker_1  | {"level":"info","message":"worker[1] polling unzip","timestamp":"2021-12-07T09:08:55.690Z"}
worker_1  | {"level":"info","message":"worker[1] working job unzip {\"class\":\"unzip\",\"queue\":\"unzip\",\"args\":[{\"buildId\":13,\"token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6MTMsInNjb3BlIjpbImJ1aWxkIl0sImlhdCI6MTYzODg2ODEzMywiZXhwIjoxNjM4ODY4NDMzLCJqdGkiOiIxZDcxNWI1Yy0wZDEyLTQ1MGMtYTVmZC01ZmRjNDM4YjQ3NjMifQ.BbKKe90hRoj0u2y-C95zc8_71cvckt2CcD-EXGBdinIMrKcw3mq8cXlvV4oqEytbCEt68hV9uwztoDuHClnUteWCuUfyp3BEreEkGqW63rsTPgxAaOsdoQDXSsYVSxP7BH0gIpdn8kqO4KhU2BSoLBNOga7jBNdSGCSP1NWZ394\"}]}","timestamp":"2021-12-07T09:08:55.692Z"}
worker_1  | {"level":"info","message":"Job:unzip started. buildId: 13","timestamp":"2021-12-07T09:08:55.693Z"}
worker_1  | {"level":"info","message":"worker[2] started","timestamp":"2021-12-07T09:08:55.711Z"}
worker_1  | {"level":"error","message":"Response code 401 (Unauthorized)","timestamp":"2021-12-07T09:08:55.720Z"}
worker_1  | {"level":"info","message":"worker[2] check in @<PHONE_NUMBER>","timestamp":"2021-12-07T09:08:55.722Z"}
worker_1  | {"level":"info","message":"worker[2] polling unzip","timestamp":"2021-12-07T09:08:55.724Z"}
worker_1  | {"level":"info","message":"*** checked for worker status: + (event loop delay: 2ms)","timestamp":"2021-12-07T09:08:55.725Z"}
worker_1  | {"level":"info","message":"worker[2] paused","timestamp":"2021-12-07T09:08:55.726Z"}
worker_1  | {"level":"info","message":"worker[1] reEnqueue job ([object Object]) unzip {\"plugins\":[null],\"pluginOptions\":{\"Retry\":{\"retryLimit\":3,\"retryDelay\":5000,\"backoffStrategy\":null}},\"args\":[{\"buildId\":13,\"token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6MTMsInNjb3BlIjpbImJ1aWxkIl0sImlhdCI6MTYzODg2ODEzMywiZXhwIjoxNjM4ODY4NDMzLCJqdGkiOiIxZDcxNWI1Yy0wZDEyLTQ1MGMtYTVmZC01ZmRjNDM4YjQ3NjMifQ.BbKKe90hRoj0u2y-C95zc8_71cvckt2CcD-EXGBdinIMrKcw3mq8cXlvV4oqEytbCEt68hV9uwztoDuHClnUteWCuUfyp3BEreEkGqW63rsTPgxAaOsdoQDXSsYVSxP7BH0gIpdn8kqO4KhU2BSoLBNOga7jBNdSGCSP1NWZ394\"}]}","timestamp":"2021-12-07T09:08:55.730Z"}
worker_1  | {"level":"info","message":"worker[1] job success unzip {\"class\":\"unzip\",\"queue\":\"unzip\",\"args\":[{\"buildId\":13,\"token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6MTMsInNjb3BlIjpbImJ1aWxkIl0sImlhdCI6MTYzODg2ODEzMywiZXhwIjoxNjM4ODY4NDMzLCJqdGkiOiIxZDcxNWI1Yy0wZDEyLTQ1MGMtYTVmZC01ZmRjNDM4YjQ3NjMifQ.BbKKe90hRoj0u2y-C95zc8_71cvckt2CcD-EXGBdinIMrKcw3mq8cXlvV4oqEytbCEt68hV9uwztoDuHClnUteWCuUfyp3BEreEkGqW63rsTPgxAaOsdoQDXSsYVSxP7BH0gIpdn8kqO4KhU2BSoLBNOga7jBNdSGCSP1NWZ394\"}]} >> null","timestamp":"2021-12-07T09:08:55.733Z"}

redis keys status after job fails
root@8e26707c7c68:/data# redis-cli
<IP_ADDRESS>:6379> keys *
 1) "resque:delayed:1638868141"
 2) "resque:worker:538f4a3e1baf:19+1:unzip:started"
 3) "resque:failure-resque-retry:unzip:{\"buildId\":13,\"token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6MTMsInNjb3BlIjpbImJ1aWxkIl0sImlhdCI6MTYzODg2ODEzMywiZXhwIjoxNjM4ODY4NDMzLCJqdGkiOiIxZDcxNWI1Yy0wZDEyLTQ1MGMtYTVmZC01ZmRjNDM4YjQ3NjMifQ.BbKKe90hRoj0u2y-C95zc8_71cvckt2CcD-EXGBdinIMrKcw3mq8cXlvV4oqEytbCEt68hV9uwztoDuHClnUteWCuUfyp3BEreEkGqW63rsTPgxAaOsdoQDXSsYVSxP7BH0gIpdn8kqO4KhU2BSoLBNOga7jBNdSGCSP1NWZ394\"}"
 4) "resque:timestamps:{\"class\":\"unzip\",\"queue\":\"unzip\",\"args\":[{\"buildId\":13,\"token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6MTMsInNjb3BlIjpbImJ1aWxkIl0sImlhdCI6MTYzODg2ODEzMywiZXhwIjoxNjM4ODY4NDMzLCJqdGkiOiIxZDcxNWI1Yy0wZDEyLTQ1MGMtYTVmZC01ZmRjNDM4YjQ3NjMifQ.BbKKe90hRoj0u2y-C95zc8_71cvckt2CcD-EXGBdinIMrKcw3mq8cXlvV4oqEytbCEt68hV9uwztoDuHClnUteWCuUfyp3BEreEkGqW63rsTPgxAaOsdoQDXSsYVSxP7BH0gIpdn8kqO4KhU2BSoLBNOga7jBNdSGCSP1NWZ394\"}]}"
 5) "resque:queues"
 6) "resque:connection_test_key"
 7) "resque:workers"
 8) "resque:worker:7f1c08848e75:20+1:unzip:started"
 9) "resque:stat:processed:7f1c08848e75:20+1"
10) "resque:stat:processed"
11) "resque:delayed_queue_schedule"
12) "resque:stat:processed:538f4a3e1baf:19+1"
13) "resque:stat:failed"
14) "resque:resque-retry:unzip:{\"buildId\":13,\"token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6MTMsInNjb3BlIjpbImJ1aWxkIl0sImlhdCI6MTYzODg2ODEzMywiZXhwIjoxNjM4ODY4NDMzLCJqdGkiOiIxZDcxNWI1Yy0wZDEyLTQ1MGMtYTVmZC01ZmRjNDM4YjQ3NjMifQ.BbKKe90hRoj0u2y-C95zc8_71cvckt2CcD-EXGBdinIMrKcw3mq8cXlvV4oqEytbCEt68hV9uwztoDuHClnUteWCuUfyp3BEreEkGqW63rsTPgxAaOsdoQDXSsYVSxP7BH0gIpdn8kqO4KhU2BSoLBNOga7jBNdSGCSP1NWZ394\"}"
15) "resque:worker:ping:538f4a3e1baf:19+1"
16) "resque:stat:failed:538f4a3e1baf:19+1"
17) "resque:worker:ping:7f1c08848e75:20+1"
<IP_ADDRESS>:6379>

Retry Plugin in my source: https://github.com/sonic-screwdriver-cd/artifacts-unzip-worker/blob/8dde7c7355c4ca2aed46d0759d6f620f513a0bbd/lib/jobs.js#L52
Example of Retry Plugin (node-resque official) :
https://github.com/actionhero/node-resque/blob/fe89056671af32e35695332b248c1df1e422431e/examples/retry.ts#L27-L45

Now, Retry Plugin dose not work.
In the description, I added the unzip-worker's log and redis-server's keys status while the job fails.
Does anyone have any idea with this problem?

Now, Retry Plugin dose not work. In the description, I added the unzip-worker's log and redis-server's keys status while the job fails. Does anyone have any idea with this problem?

This problem is solved.
scheduler was needed to execute the  reEnqued job (Delayed Job Queue）.
The scheduler is already created by the queue-service.
So we fixed to allow scheduler to manage reEnqued jobs.

I would like someone with authority to create a pipeline for this repository 🙏

@tkyi
Thank you for creating the pipeline!
All commented items have been corrected.


:sparkles: Migration Waves: refactor bulk delete

Wraps individual migration waves delete for bulk delete
Resolves https://github.com/konveyor/tackle2-ui/issues/913

Should we add a confirm dialog to be consistent?


Fix the issue of slow file opening and operation due to too many tree sitter errors

Ref：https://github.com/HiPhish/rainbow-delimiters.nvim/issues/12
The repair method in the reference is to calculate the number of errors but I think it's better to use the same operation as the treesitter.
Please see if this is OK, at least It work well when I test it

https://github.com/ayamir/nvimdots/issues/866
maybe it cannot be repaired in this way


Why can't ImageView use the property imagefromurl in my project

Why can't ImageView use the property imagefromurl in my project? I use the same compiler as demo

This problem occurs in list item garden planning.xml

This problem occurs in list_item_garden_planting.xml

Could you provide an example of how it's used in your project?

<ImageView                 android:id="@+id/imageView"                 android:layout_width="0dp"                 android:layout_height="@dimen/plant_item_image_height"                 android:contentDescription="@string/a11y_plant_item_image"                 android:scaleType="centerCrop"<EMAIL_ADDRESS>               app:layout_constraintEnd_toEndOf="parent"                 app:layout_constraintStart_toStartOf="parent"                 app:layout_constraintTop_toTopOf="parent" />like it，This property will not be wrong in this project, but it cannot be compiled in my project. Why?imagefromurl

您能否提供一个示例说明如何在项目中使用它？

Could you provide an example of how it's used in your project?

I should have found my mistake. I didn't use it
@BindingAdapter

oh，thanks

oh，thanks

最后是什么解释？这个属性哪来的？
What is the final explanation? Where does this attribute come from?


Select inside Modal with overflow

Bug report 🐞
Select inside Modal component with overflow is getting stick to one place and when backdrop id scrolled. it's just staying at old place .
Version & Environment

Version of browser
chrome 83.0.4103.116  (64-bit)
Version of zeit-ui/react
"@zeit-ui/react": "1.8.0-canary.6",

Expection
with native select primitive , moda's overflow will be held and until select options are closed.

Actual results (or Errors)

<Select placeholder="Choose one" onChange={handler}>
      <Select.Option value="1">Option 1</Select.Option>
       <Select.Option value="2">Option 2</Select.Option>
 </Select>

codesandbox link

To fix this issue, I have to add a new feature. (fortunately, this is a standard solution)
Later, this feature will be released to the canary version.


Failure to Create Conda Environment from requirements.txt

Hello,
I've encountered a problem while attempting to create a conda environment using the following command from my requirements.txt file. Could you please review the file and identify any potential issues that might be preventing the successful creation of the environment?
This file may be used to create an environment using:
$ conda create --name  --file
platform: linux-64
_libgcc_mutex=0.1=main
_openmp_mutex=5.1=1_gnu

I have updated the setup instructions. Please follow the new setup, and let me know if it works.

Thank you for the update. I've tried creating the Conda environment using the provided environment.yml file, but I encountered the following error:
Solving environment: failed

ResolvePackageNotFound:
  - libgcc-ng==11.2.0=h1234567_1
  - __glibc[version='>=2.17']
  - libstdcxx-ng==11.2.0=h1234567_1
  - __glibc[version='>=2.17']

  Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - _libgcc_mutex==0.1=main
  - python==3.9.19=h955ad1f_1
Use "conda info <package>" to see the dependencies for each package.

It seems that the environment solver is unable to find these specific packages or their versions in the current channels. Could you please review the environment.yml file and check if there are any issues with the specified package versions? Alternatively, is there a more recent or updated version of the file that I should use?
Thanks in advance for your help!


bugs in distributed training

we are using the Slurm Workload Manager, but when compile custom operators, bugs occur:
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

I have googled, but cannot find a good solution. Can anyone help me ?

Hi @cuge1995 , I'm not familiar with the Slurm Workload Manager. But as the error message says, can you check the CUDA_HOME in your environment  and maybe it is not set correctly,


Generalise db-converter

In order to protect us against accidentally introducing a change that causes a "hard fork" (existing chains becoming invalid), we plan to use the validation mode of the db-converter tool to validate a "golden" chain in a (nightly?) CI job. When that chain is no longer valid, we must have introduced a hard fork.
The validation mode of the db-converter tool currently assumes a Byron chain while we want to test this with CardanoBlock.
The converter mode of that tool is still Byron specific and can be left as is. The validation mode should be split off and generalised. Either generalise it to any block type or replace ByronBlock with CardanoBlock, as the latter is compatible with the former.
Optionally: replace the usage of optparse-generic with "plain" optparse-applicative and stop using path and path-io.

Done in #2375.


DEVDOC-247: New branch for deployment process - preview

Description

Pull Request Type

[ ] Documentation content changes
[ ] Bugfix / Missing Redirects
[x] Docusaurus site code changes

PR Checklist

[X] The commit message follows our guidelines included in the CONTRIBUTING.md
[X] All tests of Lint, cspell and check-content pass. (How to launch them?)
[X] No sensitive content has been committed

Other information
This a new branch created to optimize the new documentation deployment process. Commits and pull requests will trigger a gitlab pipeline to deploy a new microservice containing a new version of the documentation exposed at preview.docs.mia-platform.eu.

Why this PR? isn't #1102 enough?
The same applies for #1105


exclusively use performance.now()

Browser support is now robust enough that all of the Date timings can be dropped and performance.now can be used instead.

Cool! If you need a robust polyfill for older browser, check this one out; most polyfills I encountered online didn't work on Android Browser 4.3. https://github.com/tpronk/JASMIN/blob/master/src/polyfills.js


Support exporting PYTHONPATH before running user code

As discussed in Slack, it'd be nice to use PYTHONPATH in Pants (and not have it be scrubbed) when invoking user PEX script so that the user code can use subprocess.run([sys.executable, ...], ...) and not have to pass a constructed PYTHONPATH in the env= argument.
How this looks is dealer's choice, as it's hidden from me, the client, through Pants.

When the target of a subprocess.run is itself a PEX, there exists --no-strip-pex-env to compose with this.

The history here is #989


Dead project?

Is this still being developed? I've been trying to set up an ELK stack on ECS using this container but the task kite container stops with the following:

When i try to run the container manually it exits with the message:
standard_init_linux.go:175: exec user process caused "exec format error"
Since the information is rather vague, I'm having trouble knowing where to go next for debugging purposes.

@jperkelens The project isn't dead, we're still here :smile:. We haven't been actively working on this code, but it should still be working.  Can you tell us a little more about what you're observing?  Specifically:

When a task stops in ECS, each of the containers may have a reason, which should be visible in the ECS console.  Can you see if there is a reason listed?
On the instance, can you look at the ECS agent logs and see if there are errors?  Our troubleshooting guide has instructions for finding these.

As a bit of a wild guess...can you describe how you built the image?  Did you just run docker build or did you run make?  Did you build this on Windows, Mac, or Linux?

I ran make on Mac, it required moving the files into a folder that mimicked the namespace 'github.com/awslabs/ecs-task-kite' to get the Makefile to complete properly, which seemed suspicious and I suspect may be part of the problem.
The only reason given in the console is the Exit Code 1 in the above image.
No errors in the ECS agent logs:
2016-10-27T13:54:40Z [INFO] Pulling container module="TaskEngine" task="kibana:8 arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e, Status: (NONE->RUNNING) Containers: [kibana (NONE->RUNNING),elasticsearch (NONE->RUNNING),]" container="elasticsearch(dockyardaws.cloud.capitalone.com/cdi-logging/ecs-task-kite:latest) (NONE->RUNNING)"
2016-10-27T13:54:43Z [INFO] Creating container module="TaskEngine" task="kibana:8 arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e, Status: (NONE->RUNNING) Containers: [kibana (NONE->RUNNING),elasticsearch (PULLED->RUNNING),]" container="elasticsearch(dockyardaws.cloud.capitalone.com/cdi-logging/ecs-task-kite:latest) (PULLED->RUNNING)"
2016-10-27T13:54:43Z [INFO] Created container name mapping for task kibana:8 arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e, Status: (NONE->RUNNING) Containers: [kibana (NONE->RUNNING),elasticsearch (PULLED->RUNNING),] - elasticsearch(dockyardaws.cloud.capitalone.com/cdi-logging/ecs-task-kite:latest) (PULLED->RUNNING) -> ecs-kibana-8-elasticsearch-e2eed8a1a185b6b7b701
2016-10-27T13:54:43Z [INFO] Saving state! module="statemanager"
2016-10-27T13:54:43Z [INFO] Created docker container for task kibana:8 arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e, Status: (NONE->RUNNING) Containers: [kibana (NONE->RUNNING),elasticsearch (PULLED->RUNNING),]: elasticsearch(dockyardaws.cloud.capitalone.com/cdi-logging/ecs-task-kite:latest) (PULLED->RUNNING) -> 1be26c8b7ca04b4db9c3d76c5409ec520b55b7c75d715761cec15a58b9453461
2016-10-27T13:54:43Z [INFO] Starting container module="TaskEngine" task="kibana:8 arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e, Status: (NONE->RUNNING) Containers: [kibana (NONE->RUNNING),elasticsearch (CREATED->RUNNING),]" container="elasticsearch(dockyardaws.cloud.capitalone.com/cdi-logging/ecs-task-kite:latest) (CREATED->RUNNING)"
2016-10-27T13:54:44Z [INFO] Adding event module="eventhandler" change="ContainerChange: arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e elasticsearch -> RUNNING, Exit 1, , Known Sent: NONE"
2016-10-27T13:54:44Z [INFO] Sending container change module="eventhandler" event="ContainerChange: arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e elasticsearch -> RUNNING, Exit 1, , Known Sent: NONE" change="ContainerChange: arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e elasticsearch -> RUNNING, Exit 1, , Known Sent: NONE"
2016-10-27T13:54:44Z [INFO] Adding event module="eventhandler" change="ContainerChange: arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e elasticsearch -> STOPPED, Exit 1, , Known Sent: NONE"
2016-10-27T13:54:44Z [WARN] Container that we thought was stopped came back; re-stopping it once module="TaskEngine" task="kibana:8 arn:aws:ecs:us-east-1:586488143756:task/aac2030c-bb1c-47e9-832a-ef20734a8f2e, Status: (NONE->STOPPED) Containers: [kibana (NONE->STOPPED),elasticsearch (STOPPED->STOPPED),]"

it required moving the files into a folder that mimicked the namespace 'github.com/awslabs/ecs-task-kite' to get the Makefile to complete properly

That's standard for Go projects.  The Go compiler expects the source to be in a folder matching the import path, inside your GOPATH.
I think the problem is that the Makefile isn't set up for cross-compilation right now, so it ended up building a Mac binary and then packaging it inside a container meant for a Linux system.  I don't have a Mac, but can you try rebuilding it by running GOOS=linux GOARCH=amd64 make and see if that fixes the problem?

Will do! Might have to wait till tomorrow to get a response since I'm in a massive yak-shaving operation right now, but I'll let you know as soon as I get around to it.

Building the project with those env variables worked, and the container is now running, however the container logs are filled with the following:
time="2016-10-28T18:13:01Z" level=warning msg="Error listing tasksRequestError: send request failed\ncaused by: Post https://ecs.us-east-1.amazonaws.com/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"

Any other guidance is appreciated.
For reference my two task definitions are the following:
{
  "family": "elasticsearch",
  "containerDefinitions": [
    {
      "name": "elasticsearch",
      "image": "elasticsearch:latest",
      "memory": 2048,
      "portMappings": [
        {
          "containerPort": 9200,
          "hostPort": 9200
        }
      ],
      "mountPoints": [
        {
          "sourceVolume": "es-data",
          "containerPath": "/opt/elasticsearch/data"
        }
      ]
    }
  ],
  "volumes": [
    {
      "name": "es-data",
      "host": { "sourcePath": "/opt/elasticsearch/data" }
    }
  ]
}

{
  "family": "kibana",
  "containerDefinitions": [
    {
      "name": "kibana",
      "image": "kibana:latest",
      "memory": 512,
      "portMappings": [
        {
          "containerPort": 5601,
          "hostPort": 5601
        }
      ],
      "links": ["elasticsearch"]
    },
    {
      "name": "elasticsearch",
      "image": "ecs-task-kite:latest",
      "memory": 15,
      "command": [
        "-family=elasticsearch",
        "-name=elasticsearch"
      ]
    }
  ]
}

That looks like a network error, but I'm assuming that you do have access to ecs.us-east-1.amazonaws.com from your host since you're running the ECS agent without problems.  I'm wondering if there's still something weird going on with cross-compilation and linking; I took a look at how we build the ECS agent and there's a slight difference in the flags we pass to the compiler.
Can you try adding -ldflags "-s" to the go build command in the Makefile?  It would ultimately end up looking like CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "-s" -o ./bin/ecs-task-kite github.com/awslabs/ecs-task-kite/.

That didn't make any difference.

Swapping this to build in a Docker container could help make building it easier in the future.
For the immediate problem, the next step in debugging it would probably be just scp-ing over the static binary outside of a docker container and running it on the host to determine if it's the binary or the docker networking that's messing up, and debug further depending on that.
It would also be worth updating the dependencies (that aws sdk is probably ancient) in case it's a known issue somehow.
An official docker image somewhere would probably also be a nice thing to have.

@jperkelens I was able to get this to work with the example (though I change the task definition to point to ECR for images instead of Docker Hub).
Is the error message that you provided still the one that you see?  That still looks to me like something funky going on with the network out of the container for the task kite.

@samuelkarp Holidays been keeping me busy, but I'm rebuilding my ELK cluster soon so will report back! Thanks for getting back to me.

@jperkelens We haven't heard from you for a while, so I'm going to close this for now.  Please feel free to re-open it if you're continuing to experience problems.


Added missing tests for AnonymousUser methods and properties.

It seems better to use SimpleTestCase for these tests; as a result I moved the existing properties test into this new class. An assert for get_group_permissions was added to the properties-test.

@timgraham Can you see if this is what you wanted?

Oops, we were both editing at the same time. Yes, that's it. I'm going to push my version as I also move the tests to test_models.py and made a few other cosmetic edits. If you feel like doing more cleanup, the rest of test_basic.py could be a candidate for better organization.

@timgraham Thanks. I missed the "separate commits" comment initially. I'm fine with the content of the PR now.


Deploy SNAPSHOTs automatically

I just added the execution permission to the file .buildscript/deploy_snapshot.sh with chmod +x .buildscript/deploy_snapshot.sh.
And I changed the SDK to one that we are using already.
You can see here that it was failing for that reason: https://travis-ci.org/arturbosch/detekt/jobs/607791661#L3885-L3886
Fixes #1826

Yes, that's correct. But if you check near the file name you can see the change: 100644 → 100755

Uh, yes. It's a bit hidden. Cool, thanks!

🎉 It works! https://oss.jfrog.org/artifactory/webapp/#/artifacts/browse/tree/General/oss-snapshot-local/io/gitlab/arturbosch/detekt/detekt-cli/1.1.1-SNAPSHOT

Awesome!


WIP: Take mean of nirs channels that are too close for topoplot

Reference issue
Alternative approach to #7410 as suggested by @larsoner
What does this implement/fix?
If nirs channels are too close for the topoplot to represent then those channels are combined by taking the mean.
Additional information
Initial attempt. No tests yet, just looking for feedback to see if I am on the right path. But this works on my data.

Also I would recommend git grep _merge_grad_data'ing to see where else you might need to change things.

Also I would recommend git grep _merge_grad_data'ing to see where else you might need to change things.

So it appears _merge_grad_data is also used in get_peak, plot_projs_topomap, _plot_ica_topomap, plot_ica_components, plot_tfr_topomap, plot_epochs_psd_topomap and like a dozen helper functions.
So I think I will tackle each topic in turn to keep things bite sized. I will look at psd_topomap, ica, tfr, then projs in subsequent PRs. But first I will take and upload a short test measurement with overlapping channels so that I can make useful tests. @larsoner is this plan ok?

So I think I will tackle each topic in turn to keep things bite sized.

Sounds reasonable to me. Another approach might be to make _merge_grad_data a more general _merge_channel_data that handles both channel types, but based on its arguments I think this approach will not be straightforward (even if it ends up the way we go after you change a few of these code paths over). +1 for working in bite sized increments and we can see if patterns are repeated and can refactored.

#7057

@agramfort and @larsoner could you please review. This is working nicely for me.


Misc: removing esnext since it will be on by default

Will just merge https://github.com/jscs-dev/node-jscs/pull/2104


Suggestions about UserDataStorage.CopyTo() and UserDataStorage.Clear()

Discussed in https://github.com/dotnet/dotNext/discussions/245

Originally posted by ReneeGA2020 July  7, 2024
Suggestion 1:
It looks like UserDataStorage.CopyTo only works when the orgin UserDataStorage has anything stored, otherwise the target object's storage will not be changed. This probably worth to be mentioned in the document, or change its behavior to clear up all the UserData in the target object.
Alternately, provide a Method to check if the storage has any UserData.
Suggestion 2:
I think UserDataStorage.Clear() would be useful.

provide a Method to check if the storage has any UserData.

As well as Clear method, it's badly compatible with thread safety. I would prefer to fix the behavior of existing method.

Just want to thank you for your quick response. I'm now using the new version and they works fine:)


Enhancement: More detailed text message notifications

User Story:
As a social worker, I need an easy way to see who is coming into the office so I don't have to complete unnecessary steps to discover this information.
Background:
Current Process to discover identify of volunteer(s) who have claimed shifts:

Volunteer claims shift
Social worker is notified via text message
Social worker logs in to app
Social worker clicks on need
Social worker clicks on "edit need"
Social worker can view identity of volunteer.

In order to streamline this process, please include the volunteer's name from his/her profile in the text message.
Sample Text Msg:
"Jane Doe has claimed a shift from 9 to 10 a.m."
Acceptance Criteria:

[x] The volunteer's name is included in the text message sent to social workers.

Hi @sarahwicks, @nvick! I'm trying to get involved and this looks like a good first issue for me which I can tackle, should I pick this one up?

Hi @haseebelahi - great!
Yes, this is a good first issue to tackle. Let me know if you have questions!

Great work @haseebelahi, thanks for the contribution!
This is on production & staging now. Can you verify behavior and close this issue if all is well?

Thanks @benjaminwood, I'm not really sure though how to test this on staging since I don't have the credentials or anything. Can you help me in this regard? thanks.

Thanks for your contribution, @haseebelahi! We really appreciate it. @benjaminwood, let me know if we can assist with testing in the stg environment. cc: @SarahOMD @DarcyBlank

@haseebelahi my apologies! I meant to mention @sarahwicks in the second paragraph of my previous message.
@sarahwicks yes please! It'd be great if someone can confirm that they are now seeing the volunteer name in text messages.

@benjaminwood - will do, thanks! Thanks again, @haseebelahi!

We hear that this is working! Thank you, @haseebelahi, for your contribution!!!


bug: Flaky test in TestFraudProofService

https://github.com/rollkit/rollkit/actions/runs/5646138876/job/15293390749

duplicate of #1058


Request to support dialog.open API method

There's a brand new API method, described in https://api.slack.com/dialogs, which would be really handy to have supported by slacker.

I'm looking for the same .... Any info @os ? :/

bump +1

@janikarh Added in #141. Thanks!


[HELP] ERROR While Importing UBUNTU??

I installed GPy via pip install GPy into my anaconda2 toolkit.
When I want to import GaussianProcessRegressor, it generates error:
++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++
In file included from /home/lemma/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
from /home/lemma/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/lemma/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from /home/lemma/.pyxbld/temp.linux-x86_64-2.7/pyrex/GPy/kern/src/stationary_cython.c:485:
/home/lemma/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^
/home/lemma/.pyxbld/temp.linux-x86_64-2.7/pyrex/GPy/kern/src/stationary_cython.c:487:30: fatal error: stationary_utils.h: No such file or directory
#include "stationary_utils.h"
^
compilation terminated.
warning in stationary: failed to import cython module: falling back to numpy
++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++
I have tested:
from GPy.util.config import config
print(config.getboolean('cython', 'working'))
it returns TRUE

Do you get this error message during compilation or import?

@zhenwendai The error pop-up during import as I installed GPy via pip. But compiling from the source can get the same error message during compilation

@mzwiessele, do you have any cues what might be the reason? It is weird because the compilation should not happen during import.

I think I did see something like it before, and had to completely reinstall GPy and all dependencies. That is I had to manually uninstall the packages and caches and it worked again. I have never found the reason for it.

On 26. Oct 2017, at 12:12, Zhenwen Dai<EMAIL_ADDRESS>wrote:
@mzwiessele, do you have any cues what might be the reason? It is weird because the compilation should not happen during import.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@mzwiessele I can compile GPy from the source without error but importing did have an error message like the above. Also, completely reinstall GPy and my anaconda2 and delete all folders:
.config/GPy
.pyxbld
doesnt solve the problem.
Also changing user.cfg and setting:
[cython]
working = False
Also not solved the problem. Not sure what's going on?


Add dark colors to the theme

This change removes tints colors from the theme and replace them with 3 versions of the color:

brighten version of the color
actual theme color
darker version of the color

resolves #49

Codecov Report

Merging #77 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #77   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          16     16
  Lines         148    152    +4
=====================================
+ Hits          148    152    +4

Impacted Files
Coverage Δ

src/color.js
100% <100%> (ø)
:arrow_up:

src/theme.js
100% <100%> (ø)
:arrow_up:

src/Box.js
100% <0%> (ø)
:arrow_up:

src/Text.js
100% <0%> (ø)
: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 e20bdd7...300d3cc. Read the comment docs.

Closing this in favor of #79.


Address some shellcheck reported issues

Have been using for WireGuard + PF for a while

@valcomm Did you also test these modifications?

@g00nix Yes, I have been using scripts with those modifications all the time since those modifications were made


Possibility of using locked semantic versioned dependencies?

Currently sppl depends on hard-coded strict-equality versions of its dependencies.
This makes its inclusion to ongoing projects somewhat problematic.
We always have the choice of vendoring the code instead of installing it through pip, and ignoring restrictions on the setup.py, but I think it'd be best if sppl used a system similar to poetry or pip-tools, with loosely-restricted versions for use as a library, and strict, locked versions for experiment reproducibility in the papers, etc.
Is this something you have considered?

@fsaad I can vouch for poetry and show you how to setup this project to use it.


Fix: openapi description version validation

Overview
Closes #5380
Fulfills ACs

[x] This should warn the user when version >= 3.1 and send them back to the previous step (API selection)
[x]  User should never be able to select a v3.1 OpenAPI description

Demo
Displays the error:

Also resolves this error that pops up when an open api greater than the supported version is selected

Notes
To show the expected error the connectToKiota function needs to throw an error. All functions that call it would need to be changed to handle the exception thrown

Just to confirm, this will show any errors from kiota, right?

Just to confirm, this will show any errors from kiota, right?

Yes.


Fix .comment-code-cloud not being removed when cancelling new code comment (#11464)

Backport #11464

Damn, there is one more PR in the middle already :]


Problems when deserializing objects with a byte array property in version 8.0.1

The problem is described in details here: http://stackoverflow.com/questions/34654184/unable-to-deserialize-an-object-with-a-byte-array-property-using-json-net-8-0-1

The problem seems to be as follows.
In Json.NET version 7, JsonTextReader.ReadAsBytes() called JsonReader.ReadAsBytesInternal().  In the latter, the reader was advanced past the end of the wrapped type object by via a call to ReadInternal():
    internal byte[] ReadAsBytesInternal()
    {
        // SNIP

        if (IsWrappedInTypeObject())
        {
            byte[] data = ReadAsBytes();
            // Here the reader is advanced past the wrapped type object end-of-object token '}'
            ReadInternal();
            SetToken(JsonToken.Bytes, data, false);
            return data;
        }

In Json.NET 8.0 the equivalent logic takes place in JsonTextReader.ReadAsBytes():
    public override byte[] ReadAsBytes()
    {
        EnsureBuffer();

        switch (_currentState)
        {
            case State.Start:
            case State.Property:
            case State.Array:
            case State.ArrayStart:
            case State.Constructor:
            case State.ConstructorStart:
            case State.PostValue:
                while (true)
                {
                    char currentChar = _chars[_charPos];

                    switch (currentChar)
                    {
                        // SNIP
                        case '"':
                        case '\'':
                            ParseString(currentChar, ReadType.ReadAsBytes);
                            // Notice there is no call to consume the wrapped type object end-of-object token '}'
                            return (byte[])Value;

The call to advance the reader past the wrapped type object end-of-object token } is missing.
There were several check-ins refactoring this area for 8.0 so I'm not sure which one introduced the issue.

+1

Fixed https://github.com/JamesNK/Newtonsoft.Json/commit/70120ce0779f1d2c73a0226d04e0015cadf4cf47
Using 7.0.1 until 8.0.2

https://www.nuget.org/packages/Newtonsoft.Json/8.0.2

That was fast :) I am impressed. Thanks
lør. 9. jan. 2016 04.00 skrev James Newton-King<EMAIL_ADDRESS>
https://www.nuget.org/packages/Newtonsoft.Json/8.0.2
—
Reply to this email directly or view it on GitHub
https://github.com/JamesNK/Newtonsoft.Json/issues/778#issuecomment-170184586
.


Use DID Auth in cookies mode

Using DID Auth with cookies instead of raw token responses prevents storing credentials insecurely in local storage. Credentials will now be stored in cookies.

[x] Implement service
[ ] Implement client

Rebased encryption fix


add purchased property to cartItem, "checkout" thunk and button created

also updated past orders page to show whats been "purchased"


Adding "application/x-java-jnlp-file" mimetype association to MSI

This PR is backport of https://github.com/AdoptOpenJDK/IcedTea-Web/pull/384
Signed-off-by: Pasam Soujanya<EMAIL_ADDRESS>

On PMC agenda

/thaw


make it podcast like app?

I want to create an audio book which the app plays songs from my server
so every week I can upload a new podcast on server and it can be played in the app
I am not sure how to make the app so it can get the songs from my serer
really appreciate any help
thanks

This is not the best place to post requests like this. A discussion forum is more appropriate. If you have an issue (ie, a bug) on UniversalMusicPlayer, this is the right place.


ci(release.yml): cache enable: node

:tada: This PR is included in version 4.0.1 :tada:
The release is available on:

v4.0.1
GitHub release

Your semantic-release bot :package::rocket:


IndexError when checkpointing

Hello, I'm getting an IndexError: slice() cannot be applied to a 0-dim tensor when checkpointing at epoch end. My stacktrace is the following:
  File "/fsx/openbioml/openfold_venv/lib/python3.7/site-packages/pytorch_lightning/callbacks/model_checkpoint.py", line 696, in _save_none_monitor_checkpoint
    trainer.save_checkpoint(filepath, self.save_weights_only)
  File "/fsx/openbioml/openfold_venv/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1913, in save_checkpoint
    self.checkpoint_connector.save_checkpoint(filepath, weights_only)
  File "/fsx/openbioml/openfold_venv/lib/python3.7/site-packages/pytorch_lightning/trainer/connectors/checkpoint_connector.py", line 477, in save_checkpoint
    _checkpoint = self.dump_checkpoint(weights_only)
  File "/fsx/openbioml/openfold_venv/lib/python3.7/site-packages/pytorch_lightning/trainer/connectors/checkpoint_connector.py", line 391, in dump_checkpoint
    optimizer_state = self.trainer.accelerator.optimizer_state(optimizer)
  File "/fsx/openbioml/openfold_venv/lib/python3.7/site-packages/pytorch_lightning/accelerators/accelerator.py", line 393, in optimizer_state
    return getattr(self.training_type_plugin, "optimizer_state", lambda x: x.state_dict())(optimizer)
  File "/fsx/openbioml/openfold_venv/lib/python3.7/site-packages/pytorch_lightning/accelerators/accelerator.py", line 393, in <lambda>
    return getattr(self.training_type_plugin, "optimizer_state", lambda x: x.state_dict())(optimizer)
  File "/fsx/openbioml/openfold_venv/lib/python3.7/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1984, in state_dict
    state_dict['base_optimizer_state'] = self._get_base_optimizer_state()
  File "/fsx/openbioml/openfold_venv/lib/python3.7/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1964, in _get_base_optimizer_state
    self.groups_padding[i])
  File "/fsx/openbioml/openfold_venv/lib/python3.7/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1950, in _get_state_without_padding
    lean_state[key] = value[:lean_length]
IndexError: slice() cannot be applied to a 0-dim tensor.

This is using the default DeepSpeed config, and deepspeed==0.5.9. This appears to be related to https://github.com/microsoft/DeepSpeed/issues/1574, which was fixed in https://github.com/microsoft/DeepSpeed/pull/1525. Indeed, reinstalling with deepspeed==0.5.10 fixed the issue for me.
For this reason, consider updating the deepspeed version in environment.yml to 0.5.10.

Does the system work with upgraded deepspeed? The deepspeed changes some APIs between versions. This might be a potential bug..

I think so, yes. I let it run for 10 epochs (see https://wandb.ai/nz99/openfold/runs/2plyhfpc?workspace=user-nz99) to test it out. There should be no major issues upgrading from DS 0.5.9 to 0.5.10. If you check the patch nodes the only change is the merging of https://github.com/microsoft/DeepSpeed/pull/1525 (which fixes the issue mentioned above).


Implement Viterbi algorithm in JavaScript

This means porting EvaluatedMachine, DPMatrix, ViterbiMatrix

duplicate of #5

Oops, closed in error. JS Viterbi is not done (nor is JS Viterbi code generation, which is what #5 is, subtly different from this issue which - as phrased - could be interpreted as meaning an interpreted Viterbi implementation, which obviously is a bit easier than code generation). Leaving closed because #52 is clearer.


Peer Feedback Tim de Roller

Scan your buddy's repository
Is there a repo description at the top?
Yes with the pages link
Is there a link to the live web app provided with GitHub Pages?
Yes
Is the repo open to issues?
Yes
Does it include a gitignore
Yes
Is the concept described well in the readme?
No the readme is not yet edited
Is the API described in the readme?
No there is no description about the API
Code
Check the code for consistency, is code being written the same way in different places?
It looks consistent, only thing is the mix between dutch & english.
Does the code follow naming conventions? Do variable and function names make sense to you?
Its a mix of english & dutch, that should be changed to only dutch or preferably only english :)
Feel free to give feedback on HTML and CSS aswell!
i Like the design, scrolls feels good :) You can make it more accesible by adding a  where you navigate the page

thankss


IdentityServer4 - What happened to IUserService.AuthenticateExternalAsync?

In IdentityServer3 - I have implemented IUserService with specific implementation for "AuthenticateExternalAsync" and "GetProfileDataAsync"
Now when I migrated to IdentityServer4 - I have implemented the IProfileService which lets me implement my "GetProfileDataAsync" however I am not able to map where the existing "AuthenticateExternalAsync" implementation will move?

Is it now under AccountController.ExternalLoginCallback method?

yes

@leastprivilege I'm facing the same issue and I can't find ExternalLoginCallback can you share more details?

@shaikatz - AuthenticateExternalAsync is no more part of IUserService in IdentityServer4 implementation. For authenticating user external you need to implement a logic. You can start with Quickstart UI provided at following location
https://github.com/IdentityServer/IdentityServer4.Quickstart.UI