[Google Translate] ...

Extension – Google Translate
Author: @gebeto

Description
No translation output done.
Steps To Reproduce

After installation, setup English > French as Languages
Ask to translate any work, like "house"
After typing starts, error messages replaces screen

The current behavior
The expected behavior
Raycast version
Version: 1.40.3

Looks good for me:
Maybe you have some internet connection issues? Can you open google translate in your browser?

Thanks for the quick response. Browser is fine.
I will try to check the certificate. This is the error I get so far.
Error: type mismatch at params.message : Expected to decode String but found a dictionary instead.


Stargazers application completed

✅ Closes: #625
This pull request introduces significant new functionality for fetching and displaying stargazers of a GitHub repository. The changes include adding new components, fetching data using both REST and GraphQL APIs, and handling input and metadata calculations.
New Features:

Fetching Stargazers:

Implemented a function to fetch stargazers via the GitHub REST API with rate limit handling (stargazers/src/fetch/via-rest.ts).
Added a function to fetch stargazers using the GitHub GraphQL API with caching and rate limit handling (stargazers/src/fetch/via-graphql.ts).
Created a unified function to fetch stargazers using either the REST or GraphQL API based on the availability of a GitHub token (stargazers/src/fetch/fetch-data.ts).

Component Additions:

Added RemotionRoot component to calculate metadata and render the main composition (stargazers/src/Root.tsx).
Introduced RepoHeader component to display repository information and star count (stargazers/src/repo-header.tsx).

Miscellaneous:

Input Handling:

Added a utility function to wait for no input before proceeding with certain operations (stargazers/src/wait-for-no-input.ts).

Configuration:

Added initial input properties configuration for the stargazers feature (stargazers/input-props.json).

Import Fixes:

Corrected import case sensitivity issue in Main.tsx (stargazers/src/Main.tsx).

cryptotracker-625.webm

@vanshchauhan21 review this PR.

This has been merged already


BiggerStreamPreview doesnt work

The option to see someone else stream-preview doesnt appear when right clicking on streams.
Im having this issue since 3-4 days.

The option to see someone else stream-preview doesnt appear when right clicking on streams.
Im having this issue since 3-4 days.

yes agree

Also seeing this issue.

I do not have the option in the context menu, plz fix :)

Option is visible in the context menu, but it does nothing. A fix would be appreciated @jaimeadf

Option is visible in the context menu, but it does nothing. A fix would be appreciated @jaimeadf

I also have the option in the context menu but it's greyed out. It would be much appreciated if you can fix it. Tyvm :)

Option is visible in the context menu, but it does nothing.

same issue here

now the context menu is completly gone


xcodebuild succeeds but infer fails after finding issues with Apple's framework

I used the below command to Build a dummy project. The build succeeded without any problems

xcodebuild -project InferTesting.xcodeproj -scheme InferTesting -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' clean build

Then I used same command with infer prefix to run the infer on my project.

infer --  xcodebuild -project InferTesting.xcodeproj -scheme InferTesting -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' clean build

Output
http://pastebin.com/M11ZMbRt

Does the issue persist with a more up-to-date infer? You should be able to upgrade with brew update && brew upgrade infer.


Fix issues with TiKV CI

Use 2 6c nodes, use 8 threads for tests
Improve backward compatibility for already built commit
Fix junit report path
Support passing retry times in comment (/run-test retry=n)

@tabokie please add a replay testing run link in description or comment.

@wuhuizuo It's already running now in script mode. https://ci.pingcap.net/blue/organizations/jenkins/tikv_ghpr_test/activity


Obstacle in the octomap

This PR filters all the octomap nodes and deletes the ones below or at surface level.
Also some problems with the obstacle layer in the grid_map were detected. The function is_obstacle()started the raycasting from z=0,. Changed the function to raycast only 1 ray from z = surface + min_height to z= surface + max_height and return true if dist < max_height - min_height.
Additionally, some parameters of the maps were changed (e.g. min_height was lowered to show the robot in the apollo world)
Cheers,
Iván López Broceño

I forgot to merge this :cold_sweat:


Posting data to SDC HTTP server url from javascript throwsCORS issue

Hi, I am using Streamset pipeline for streaming data from browsers. So for that, I created a pipeline with HTTP server origin to post data from browsers Javascript and tried to write in that URL using REST client, and it writes successfully.  Response Headers are already set in the SDC.properties file.
http.access.control.allow.origin=*
http.access.control.allow.headers=origin, content-type, accept, authorization, x-requested-by, x-ss-user-auth-token, x-ss-rest-call
http.access.control.allow.methods=GET, POST, PUT, DELETE, OPTIONS, HEAD

But when I try to write some data from JavaScript using XMLHTTPRequest, it throws error for pre-flight request. Below is the JavaScript code:
  var http = new XMLHttpRequest();
  var value = '{ "prop1": "value 2", "prop2": "value 2" }';
  var url ='http://<IP_ADDRESS>:8100/'
  var async = true
 if ('withCredentials' in http) {
	http.open('OPTIONS', url, async);
} else if (typeof XDomainRequest != "undefined") {
	http = new XDomainRequest(); //for IE
	http.open('OPTIONS', url);
} else {
	http.open('OPTIONS', url, async);
}
    http.open('POST', url, true);
    http.setRequestHeader('Content-Type', 'application/json; charset=utf-8');
    http.setRequestHeader('X-SDC-APPLICATION-ID', 'testApp1');
    // Below headers are set in sdc.properties, so doesn't make any difference in javascript
http.setRequestHeader("Access-Control-Allow-Origin", "*");
http.setRequestHeader('Access-Control-Allow-Methods', "POST, OPTIONS, GET");
http.setRequestHeader('Access-Control-Allow-Credentials', "true");
http.setRequestHeader('Access-Control-Expose-Headers', "X-Region");
http.setRequestHeader("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept,Accept-language");
http.withCredentials = true;
http.onreadystatechange = function () {
    if (http.readyState == 4 && http.status == 200) {
        console.log(http.responseText);
    }
}
http.send(value);

Error thrown from the above code execution :

XMLHttpRequest cannot load http://<IP_ADDRESS>:8100/. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.

Any help will be really helpful. Thanks..!!

Hi, this github repo is for the ansible playbook for SDC deployment. General SDC questions should be directed to the various community channels (user list, slack, JIRA) available here: https://streamsets.com/community/


Receiving 'Datasource was invalidated' notification

System information:

Windows 10
DBeaver <IP_ADDRESS>202200327

Connection specification:

Database name : jhj7bqbh_menudb
Driver name : MySQL 5
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
I keep getting the notification from DBeaver 'Datasource was invalidated'  Live connection count: 2/2
Steps to reproduce, if exist:
Just access my database and run a query.
Include any warning/errors/backtraces from the logs

eclipse.buildId=unknown
java.version=11.0.12
java.vendor=Eclipse Foundation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86_64
org.jkiss.dbeaver.model
Error
Tue Mar 01 15:11:21 CST 2022
Cannot determine transaction isolation level due to connection hanging. Setting to NONE.

@alanneese Hello, thank you for the report. Do you have any settings that may be disconnecting you because of the timeouts. This message should appear if the connection for editor was lost

No, not that I am aware of.  I have been fighting this error for a while.
On Wed, Mar 9, 2022, 5:26 AM Matvey16 @.***> wrote:

@alanneese https://github.com/alanneese Hello, thank you for the
report. Do you have any settings that may be disconnecting you because of
the timeouts? This message should appear if the connection for editor was
lost
—
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/15686#issuecomment-1062822504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALRGR2ASC36NODMC2YHBBTU7CDFNANCNFSM5PVF7G3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


Build packages on github

I have been using some version of this on my local builds for some time. Maybe it is a nice step towards splitting off the packages to a different submodule.
Let me know what you guys think.

This is nice! Could it be extended to build AUR packages as well?
In any case, I do have a concern. Sometimes we freeze the packages by downloading from the Arch package archive. In that case, this could fail because the build environment of the packages would now be different than the installation environment.

I don't get how this will improve builds? Does it caches the packages?

Sounds cool. I'll give it a shot on my branch:)

Build (cached) now done in 37 minutes vs 1u 22minutes on latest successful build on master.

Neat!
Is it stable to sudden changes in those 37 minutes? I mean, the packages are all downloaded at once and built in the same replicated environment right?

Might be worth to add a step betweent the override packages (aka, own packages) to install them on the builder before building all other AUR packages. That way the AUR build environment will closer to the installed image.


Update README.md: Add mention about 2.0.

Hmmm, looks like we need to give some attention to CI after the move?


Fix remote_backend.tf file creation

Noticed the is getting created incorrectly,
the right format should be:
terraform {
  backend "s3" {
  }
}

fixed the file creation issue


Jcenter repo returns 403 forbidden

General Troubleshooting

[X] I have checked for similar issues.
[ ] I have updated to the latest JDA version
[X] I have checked the wiki and especially the FAQ section for similar questions.

Question
Jcenter repo returns the HTTP 403 error when you go to it. I checked the wayback machine and it seems to have been this way for quite a while
Example Code
NaN

How do you actually access it?
Which url are you using?

Why are you reporting this here instead of telling jfrog?

How do you actually access it?
Which url are you using?

The one to add to the pom.xml file
https://jcenter.bintray.com

Why are you reporting this here instead of telling jfrog?

I have no clue how to contact them and like I said the repo seems to have been down for a bit, they should change repos to the central repo or some other one

Duplicate #1538


feat: do not include dependencies in init-operator

instead, output a message asking the user to run update dependencies
to include it;
this allows users to use more easily control what are the dependencies
they want to add to their promise, as well as chose to include them as
workflows.

with this change + the changes in #22, the user experience would be as follows:


refactor(linter): merge deepscan rules into oxc rules

#3327  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite


Limit Runtime and Memory of AQL Queries

Currently, there's no runtime or memory limit on AQL queries, which is dangerous, especially if the project will gain publicity in the future. Here the ArangoDB docs mention limits that can be specified both at app start time (with env vars), or per query with query arguments. Regardless of which approach we choose, I think it should be done, so that the AQL endpoint isn't a vector to halt our app entirely (intentionally or otherwise).
My preference would be to go with the latter approach, since it would require less configuration on our part, and imposing system-wide limits on queries could impede system operations like backups, etc.
Our ArangoDB Python API (python-arango) has an option for specifying both limits per query (AQL execute function), which seems like a good place to start if nothing else.

Good thinking. Can you set those per-query limits as you envision, and perhaps see about returning a special timeout error if those limits are exceeded?

Good thinking. Can you set those per-query limits as you envision, and perhaps see about returning a special timeout error if those limits are exceeded?

Good thinking. Can you set those per-query limits as you envision, and perhaps see about returning a special timeout error if those limits are exceeded?

I'm not sure what kind of error is returned on timeout, I can see about that. But it should just be a matter of passing arguments to our existing queries run from the AQL endpoint.

Good thinking. Can you set those per-query limits as you envision, and perhaps see about returning a special timeout error if those limits are exceeded?

I'm not sure what kind of error is returned on timeout, I can see about that. But it should just be a matter of passing arguments to our existing queries run from the AQL endpoint.


standard JSON dont compat with go client

https://github.com/apache/rocketmq-client-go/issues/845
BUG REPORT
in https://github.com/apache/rocketmq/pull/4432 , the response of GET_ROUTEINFO_BY_TOPIC is changed, for example, the new format is:
{"brokerDatas":[{"brokerAddrs":{"0":"<IP_ADDRESS>:10911"}]}
the old is:
{"brokerDatas":[{"brokerAddrs":{0:"<IP_ADDRESS>:10911"}]}
the following go code in https://github.com/apache/rocketmq-client-go/blob/master/internal/route.go#L561
func (routeData *TopicRouteData) decode(data string) error {
	res := gjson.Parse(data)
	err := jsoniter.Unmarshal([]byte(res.Get("queueDatas").String()), &routeData.QueueDataList)

	if err != nil {
		return err
	}

	bds := res.Get("brokerDatas").Array()
	routeData.BrokerDataList = make([]*BrokerData, len(bds))
	for idx, v := range bds {
		bd := &BrokerData{
			BrokerName:      v.Get("brokerName").String(),
			Cluster:         v.Get("cluster").String(),
			BrokerAddresses: make(map[int64]string, 0),
		}
		addrs := v.Get("brokerAddrs").String()
		strs := strings.Split(addrs[1:len(addrs)-1], ",")
		if strs != nil {
			for _, str := range strs {
				i := strings.Index(str, ":")
				if i < 0 {
					continue
				}
				id, _ := strconv.ParseInt(str[0:i], 10, 64)
				bd.BrokerAddresses[id] = strings.Replace(str[i+1:], "\"", "", -1)
			}
		}
		routeData.BrokerDataList[idx] = bd
	}
	return nil
}

in id, _ := strconv.ParseInt(str[0:i], 10, 64)  , if broker id is 1, then str[0:i] is "\"1\"", and strconv.ParseInt("\"1\"") will always be 0
so the producer will send message to slave.
I have submit a pull request in rocketmq-client-go, https://github.com/apache/rocketmq-client-go/pull/846, but I think we should also be compatable with the old versions of go client.

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

@yuz10 good catch， would you like to submit a PR to temporarily change back to the previous way to ensure compatibility with old clients?

The go code posted here is manually parsing strings bit by bit, which itself is error-prone. This is not the supposed way of deserializating JSON

@yuz10 Should create an issue to the go-sdk, making it compatible with standard JSON. For the ops, upgrade client first then the server. Let name server generate invalid JSON would cause C++ client coredump from time to time.

I have submit an pull request in go sdk, but there is a compatability problem

@yuz10 Let's make things work this way
For clients prior to V4_9_3, generate  JSON as before unless its request header explicitly accepts standard JSON only;
For clients released in the future, aka, version >= V4_9_3,  respond with standard JSON

@yuz10 It is suggested to use the explicit header field "acceptStandardJsonOnly" instead of relying on the version code.


update numpy output format to match with the requested  MATLAB structure

Small adjustments based on Chris's export code

thanks again for the numpy expertise :)


A question on computing q_gradients_wrt_actions

Hi,
I just read through your  DDPG implementation, and it looks awesome. Thanks for sharing!
Currently, I feel confusion about the q_gradients_wrt_actions function, why we add [0] after the returned gradients since we use a batch of actions to compute gradients.
def q_gradients_wrt_actions(self):
    """ gradients for the q.value w.r.t just input_action; used for actor training"""
    return tf.gradients(self.q_value, self.input_action)[0]

Thank you so much.

it's just a nuance of the tf.gradients API which always returns a list, even when you're only asking for a single value...
from the docs

gradients(ys, xs) adds ops to the graph to output the partial derivatives of ys with respect to xs. It returns a list of Tensor of length len(xs) where each tensor is the sum(dy/dx) for y in ys.

@matpalm but I suppose we do need a list as the self.input_action (and self.q_value) is a batch of actions.
why we only ask for a single value?
Sorry for bothering.

i think you're confusing two things...

this method always returns a list of tensors, even when xs is a single element.
we usually use the first dimension of a tensor to represent a batch.

i'm calling tf.gradients with one xs value, input_action, so the return value is a list of one tensor.
the [0] in my code is referencing the first element of this returned list, it has nothing to do with the shape of the returned tensor.
have a look at the doc again.


🚀 [Feature] Design Authentik EMails

🚀 Feature

As DreamMall we want to have registration, forgot password and other emails with an DreamMall design so that the Users that receive an EMail don't get disturbed by Authentik.
Now it resemble to this:

Expected Target Design:

🤖 ToDo

[ ] Design Authentik EMails to match our cause

Templates: https://github.com/goauthentik/authentik/tree/version/2022.8.2/authentik/stages/email/templates/email

Clarified with @Hardy-Hart-am-Start - Nicole will design this preferable directly in the target language (htm/txt).
Closing in favor of https://github.com/dreammall-earth/dreammall.earth/issues/2221


Clean up the global namespace / define a main function

Checklist (in short):

[ ] have a main() function
[ ] have the if __name__ == "__main__" check
[ ] move the spread out code to one location

https://realpython.com/python-main-function/

I'm not 100% clear about the main function, I create another .py file and move the spread out code into this file right? And then I create a main() function as well as the If__name__... if __name__ == "__main__"check into the main file right?
Do I only call the other file with the rest of the code in the main function or how should I do it?


Unable to add  --telemetry-url "wss://telemetry.polkadot.io/submit 0" flag to parachain nodes

Hi guys, this should reproduce on master, both ubuntu and mac.
Just try to add --telemetry-url "wss://telemetry.polkadot.io/submit 0"  flag to any of the parachain nodes, like https://github.com/paritytech/polkadot-launch/blob/master/config.json#L50
I'm able to add this flag to the relay chain nodes.
I've tried all sorts of combinations of single quotes, double quotes and escape characters, but i'm always getting either:
error: Found argument '--charlie ' which wasn't expected, or isn't valid in this context
	Did you mean --charlie?

or
Invalid value for '--telemetry-url <URL VERBOSITY>...': invalid digit found in string

I think I figured it out.
Had to add the flag like so:
                    "flags": [
                        "--",
                        "--execution=wasm",
                        "--telemetry-url=wss://telemetry.polkadot.io/submit 0"
                    ]

No inner quotes and it launched.
This way if you add a console.log(args); here https://github.com/paritytech/polkadot-launch/blob/master/src/spawn.ts#L245 it should print:
  '--ws-port=9888',
  '--port=31202',
  '--collator',
  '--force-authoring',
  '--tmp',
  '--charlie',
  '--parachain-id=200',
  '--',
  '--chain=/home/georgi/Desktop/workspace/Parity/polkadot-launch/rococo-local-raw.json',
  '--execution=wasm',
  '--telemetry-url=wss://telemetry.polkadot.io/submit 0',

But If you put inner quotes in the telemetry flag it will print:  "--chain=/home/georgi/Desktop/workspace/Parity/polkadot-launch/rococo-local-raw.json", --> double quotes instead of single quotes like all the others.

So this can be closed?


Add efficientnet.tfkeras to nightly build

The assertion does not hold for tf.keras efficientnet model, see
KeyError: "The name 'efficientnet-b0/block1a_dwconv/BiasAdd' refers to an Operation not in the graph."
Find that the layer spec converter for DepthwiseConv2D, there is no output called 'BiasAdd' for this model, but only 'depthwise'. So I add an option for this.

We do this in this PR instead. Close this one.


Fix default reference date so

Fixed the reference date in the disease status form in slim mode so that it doesn't default to today's date. By default it now shows "mm/dd/yyyy" until the user chooses a date.

Set clinicallyRelevantDate to null in Patient.jsx when a new progression is created
Edited progression form to use clinicallyRelevantDate for the default date (as opposed to a variable, like today's date, created in the form)
Added code to convert date format to yyyy-mm-dd which is what the date picker component is expecting (didn't use moment.js to do this because kept getting console warnings that the code is deprecated)
Added check for null value for clinicallyRelevantDate

I get the following if I haven't selected a reference date:
#disease status is #Responding relative to #reference date #12/31/1969  #as of #09/20/2017

The #as of #9/20/2017 is expected right? The concern is the 12/31/1969 date? That looks like Deborah's birthdate... I'll look into tracking down where it's pulling that from

That's the start of the epoch, 0 seconds in Unix time, not her birthday (which was 1966 I think). It's probably trying to display the null value.

yeah the reference date should be null and not included in the structured phrase until I provide one via the form, right?

I think the changes you made look good! One small thing I noticed is that when you clear out the date with the x button in the picker, the date part of the string says #NaN/NaN/NaN. It might be coming from trying to reformat the date after it gets cleared out?

@jafeltra that is a really good catch. I added another check for the date in handleDateSelection. Let me know if this works now

The extra check fixed it for me! Nice job! This looks good to me!


Add { property } to import = require

Suggestion

🔍 Search Terms
import, require
✅ Viability Checklist
My suggestion meets these guidelines (Sorry if they don't meet these guidelines, idk what these are):

[*] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[*] This wouldn't change the runtime behavior of existing JavaScript code
[*] This could be implemented without emitting different JS based on the types of the expressions
[*] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[*] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Like in ECMAScript and CommonJS import syntax, there should be a way to import only a certain property or more.
📃 Motivating Example
import { config } = require("dotenv");
config();

💻 Use Cases
To shorten code, and more

Sorry if this was a bit rushed

Shouldn't it be import { config } from "dotenv";?

Yes, it would be that, but what about non-ES6 TypeScript files?

Duplicate #18307


[npm] Include ReactAndroid with the npm distribution

Enables building RN Android from source while keeping it in sync with the iOS distribution.

@mkonicek can we get this merged?

cc @mkonicek @vjeux seems like a couple of contributors have needed to build RN Android from source. If you really don't want this I can maintain a fork too. This mostly mirrors the current iOS situation, though, which has worked well.

@facebook-github-bot shipit

:+1:
@ide Should we document how to build from source for android? I can PR after i get this working. I think we just need to change setting.gradle to point the path of ReactAndroid and build.gradle to compile reactAndroid

If we update settings.gradle the rest should be self-documenting. Some build.gradle files already have :ReactAndroid instructions in them, commented out.

I'm not able to compile it from node_modules though. I did change settings.gradle and build.gradle.
I get:
startup failed:
  build file '/Users/chirag/Desktop/lrn/lrn/node_modules/react-native/ReactAndroid/build.gradle': 8: unable to resolve class de.undercouch.gradle.tasks.download.Download
   @ line 8, column 1.
     import de.undercouch.gradle.tasks.download.Download
     ^

  1 error

@ide are you able to compile rn-android from source?

Yes, i use the code in node_modules.

Can you share what you changed in setting.gradle?

I am having the same problems as @chirag04 when trying to compile rn android from source:
unable to resolve class de.undercouch.gradle.tasks.download.Download
It would be great to have some documentation on building from source for android.
Thanks

@chemuto I got it working. Refer the comment here: https://github.com/facebook/react-native/issues/3337#issuecomment-147243916. follow step 1 in that comment.

@chemuto See the docs on building from source: https://github.com/facebook/react-native/tree/master/ReactAndroid

@ide @chirag04 I don't understand the reason to this. If you want to build from source you can clone the github repo and follow the instructions: https://github.com/facebook/react-native/tree/master/ReactAndroid

Publishing the Android sources makes the npm package bigger and most people won't need the sources in npm_modules. I'm going to revert this for now until we have a clear need for this.

My only need for build from source is to not change the workspace to UIExplorer. UIExplorer may not have the setup to replicate the bug found in RN using my project setup.

OK get it, that's a valid use case, let's keep ReactAndroid. I'm just adding an .npmignore for ReactAndroid/build (Gradle output) which is huge (>100MB) so we never accidentally publish this.

:+1:

Good call on not publishing the build output. Thanks @mkonicek @chirag04


read method should false after exceed max_read_buffer_bytes

return true will cause OutOfMemory problem

[ ] Did you create an Apache Jira ticket?  (not required for trivial changes)
[ ] Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?  (not required for trivial changes)
[ ] Did you squash your changes to a single commit?  (not required, but preferred)
[ ] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, add  [skip ci] at the end of your pull request to free up build resources.

i made some mistake!


Adding new methods and fixing element count methods

Methods get_number_of_elements, get_number_of_consolidated_elements and get_number_of_leaf_elements are throwing errors.
Code to replicate:
from TM1py.Services import TM1Service
tm1 = TM1Service()

month_elements = tm1.elements.get_number_of_elements('Month', 'Month')

Output: KeyError<EMAIL_ADDRESS>Added new methods:
get_elements_by_level
get_number_of_cubes
from TM1py.Services import TM1Service
tm1 = TM1Service()

month_elements = tm1.elements.get_elements_by_level('Month', 'Month', 2)

Output: ['Q1', 'Q2', 'Q3', 'Q4']

Thanks for fixing this issue and adding the missing tests.


Retrieve Status of Recurring Donation

We should have 5 statuses of recurring donation

Active (tx was successful and recurring donation is ongoing)
Pending (tx is pending execution)
Failed (tx failed)
Ended (isFinished is true?)
Archived (isFinished is true & we hide it from my profile page)

We should add these eligible statuses to a recurring donation and we'll also need an endpoint so the front-end can retrieve a recurring donation's status

export const updateRecurringDonationQuery = `
       mutation (
        $projectId: Int!,
        $networkId: Int!,
        $currency: String!,
        $txHash: String
        $flowRate: String
        $anonymous: Boolean
        $status: String
        ) {
          updateRecurringDonationParams(
            projectId: $projectId
            networkId: $networkId
            currency:$currency
            txHash:$txHash
            anonymous:$anonymous
            flowRate:$flowRate
            status:$status
        ) {
            txHash
            networkId
            currency
            flowRate
            anonymous
            status
          }
      }
`;

[ ] 1-

Please check below scenarios
-I have a donation record to Giveth in recurring donation table and its status is ended
-when I donate to a new project and set donating to giveth also, after completing donation flow
-A new record is added to donation table with "pending " status and after 10 mins it is changed to "Active" correctly
-The donation amount related to Giveth is updated but the status remains ended

I think is related to back-end changes not applying to donations made before the hotfix was applied by @CarlosQ96 about ~2 days ago.
I think there's no practical solution for these old donation statuses - going forward any new donations should have the correct status, right @CarlosQ96 ?

I think is related to back-end changes not applying to donations made before the hotfix was applied by @CarlosQ96 about ~2 days ago.
I think there's no practical solution for these old donation statuses - going forward any new donations should have the correct status, right @CarlosQ96 ?

I need to check the Giveth donation status and in this case I couldn't check it
in general when I donated to a project and after a while the status changes to ended when I donated again to this project what should happen? a new record should be added or the status of same record changes to pending and. then active
for Giveth I have only one record in donation table

@maryjaf
1st point
I think any recurring donations made before the hotfixes in the BE (yesterday) are just permanently broken, we should end those streams on the superfluid dashboard and archive them from the FE.
We should try to start from scratch as much as possible since trying to fix these statuses retroactively isn't the best use of time.
If you have made recurring donations from last night until now and are still encountering errors with recurring donations wrongly having a status of ended then we still have an issue.
2nd point
if the status remains active it is fine when updating the flow rate

I'm not sure which issue is more related to this problem
If i'm wrong let me know to put the comment on right issue

[ ] 3-" total donated"  is shown zero in Recurring Donations table for active donations

I'm not sure which issue is more related to this problem If i'm wrong let me know to put the comment on right issue

[ ]  3-" total donated"  is shown zero in Recurring Donations table for active donations

@maryjaf - Can you make a new issue for this one?
If all other criteria has been met for the 5 statuses defined in the issue description then we can close this one.

I've tested pending, active, ended and archive status and all of them were ok
which status remains to be tested? failed?
Is there any way to check failed status? @CarlosQ96

i am not sure how we can get the failed status yet. As there is no indication in the api

How do we handle failed status for one-time donations? We have a badge for it

I had teste pending , active , ended and archive donation and they were ok
but now there is a problem that status is shown pending
after resolving this problem we could call this issue as Done

Actually @mohammadranjbarz cronjob includes this, in case the donation failed in the blockchain, we set it as finished True and status Failed. That is enough to cover the failed scenario


Add an option to add static labels

It would be great if we can add static labels for each target to enrich metadata:
for example:
targets:

name: internal
host: <IP_ADDRESS>
type: ICMP
labels:
isp_name: ispname
label_test_1: test1
name: google-dns1
host: <IP_ADDRESS>
type: ICMP+MTR
labels:
isp_name: ispname
label_test_2: test2

This is something I had partially implemented but forgotten to complete :-)
I'll finish it in the following weeks.
https://github.com/syepes/network_exporter/blob/master/config/config.go#L45

Would be great to have this feature.   I would like to replace blackbox exporter with Network Exporter, but need to have this feature as we reference devices back to a unique host name and not the IP for monitoring purposes.

Looking forward to this feature, may I ask when this feature will be available?

Last time I tried it was a bit more complex, I need to review how it could be done without changing everything :-)

Finally found some time to implement the target label support.
https://github.com/syepes/network_exporter/releases/tag/1.5.0


Initial KeyVaultAccessControlClient for Java

Tests and samples are still pending and the README is a work in progress.
Based on issue: #8007.

@heaths I talked to the Java team last Thursday about how to handle the auto-generated code, so I'm going to create custom models that access the ones we have here and will make sure we only return those to customers.


Change pre-commit update flow

Regarding Issue #234

Hi @staticdev @aalaesar!
I've seen that there was an update in apparmor repo.
But official Debian10 in Gitlab Actions wasn't updated for some reason. I've added apt-get update command to fix that.
BTW, this DCO check is kind of annoying. I've GPG signed commits turned on by default (set up by git config), but unfortunately there is no option to do the same for sign-off.
Do you have any suggestions/ideas how we can improve that? Because even simple --amend re-triggers pipelines, so they are run in vain.

Hi @staticdev @aalaesar! I've seen that there was an update in apparmor repo. But official Debian10 in Gitlab Actions wasn't updated for some reason. I've added apt-get update command to fix that.

Ok thank you.

BTW, this DCO check is kind of annoying. I've GPG signed commits turned on by default (set up by git config), but unfortunately there is no option to do the same for sign-off. Do you have any suggestions/ideas how we can improve that? Because even simple --amend re-triggers pipelines, so they are run in vain.

hmm maybe putting a dependency for the DCO on the tests not sure if possible


cfn-stack-name parameter is not working with rake

$ rake example-qa:status --cfn-stack-name=example-qa-6
invalid option: --cfn-stack-name=example-qa-6

$ rake example-qa:status[cfn-stack-name=example-qa-6]
Stack does not exist

$ bora status example-qa --cfn-stack-name "example-qa-6"
example-qa-6 - CREATE_COMPLETE

@ampedandwired
I think theres 2 issues here.

The rake tasks with args.extra in stack_tasks.rb never receive the splt arguments from the rake command line.
Eg.
bundle exec rake my-stack:empty['arg1=arg2']
args.extra is empty
From this reference
https://stackoverflow.com/questions/18660282/rake-task-w-splat-arguments
If for eg - the apply task was rewritten like this
      within_namespace do
        desc "Creates (or updates) the<EMAIL_ADDRESS>stack"
        task :apply, [:options] do |_, args|
          @stack.apply(extract_params_from_args(args.extras))
        end
      end
    end```

and rake called from command line.

`bundle exec rake efa-core:apply['options, arg1=arg2']`

2. For @starchx issue with overriding the stack_name from Rake Tasks I don't think it can be done currently. The apply task never calls Bora.new with the override_config in the same way the CLI options do.

There's a bit of history here. The rake tasks were actually the written first, and the command line only came in later. Since then I've been focusing on the cli and the Rake tasks have lagged behind. I was actually thinking of deprecating the Rake tasks, although it looks like you guys are using them, so will look at how to evolve them.
One approach is for the Rake tasks to invoke the Bora CLI programmatically, in a similar way to how the tests do it (stack_helper.BoraCli), simply passing through the args through. That way everything that's available through the cli would also be available through Rake. Taken to the extreme, there could be just a single rake task that did everything: rake bora[apply, mystack, --params, x=y, --cfn-stack-name, foo] for example.
But that seems like it's not adding much value, why not just provide a few helper methods and let people call Bora from their own rake tasks. That probably gives the most flexibility.
require 'bora'
task :mytask do
  Bora.run("apply mystack")
end

@ampedandwired Thanks. I don't really want to put any cfn-stack-name etc into rake file.
Can you tell me how do I get rake bora[apply, mystack, --params, x=y, --cfn-stack-name, foo] format working? That seems like what I need - to show progress in real time in Bamboo with STDOUT.sync = true
Sorry, I am not familiar with rake.

Are you only using rake to work around the STDOUT.sync problem? If so I can add that to bora itself so you can use the command line. If you'd prefer to continue to use Rake, I can probably look at implementing a "catch-all" bora Rake task that lets you run anything.

@ampedandwired Yes. I am only using rake to work around the STDOUT.sync problem. Thanks!

@ampedandwired I've been invoking bora directly from ruby (cucumber tests and rake) for a while. A typical flow is .
require 'bora'
stack = Bora.new.stack stack_name
stack.diff
stack.apply({}, true)

We use ERB to template a bora.yml based on environment variables from the build system (dotenv gem makes this a breeze for local dev vs pipeline parameters).
It would be great to have all the CLI options available to Bora.new

Handling CLI params is the responsibility of the Cli class which sits as a "front end" on top of the Bora class. If you want to use the Bora cli programmatically, you can do this:
require 'bora/cli'
Bora::Cli.start ['status', 'mystack']


[stable/traefik] acme / DNS / gcloud / Ability to specify GCE_SERVICE_ACCOUNT_FILE

Is this a request for help?: NO

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

Setup of ACME for gcloud is different from the other DNS providers in that it needs a file to be accessible in the file system. Currently there is no easy way to configure GCE_SERVICE_ACCOUNT_FILE when using the chart.
One approach that I can verify as working is the one provided by @Azuka in the initial DNS-01 implementation here: https://github.com/kubernetes/charts/pull/1299#issuecomment-361450527. (GCE_SERVICE_ACCOUNT_FILE works today, GOOGLE_APPLICATION_CREDENTIALS is not needed anymore)
What would be a good way to implement this? @krancour @emilevauge @dtomcej @ldez
I'd gladly do an implementation for it as long as we can come to terms with what would be the best way forward.

Took a stab at it in the referenced PR. I'd love to get some feedback, so please feel free to leave a comment.

Any update on this? Definitely a blocker for Google CloudDNS

@krancour @emilevauge @dtomcej @ldez Any chance we could get this merged?
Google Cloud DNS can basically not be set up without modifying the code as it currently stands.

Just ran into this same issue today, would be great to get this merged in 👍

For everyone else experiencing this, http-01 works just fine as long as you point an A record for the wildcard *.your-domain.tld to the load balancer ip being used by traefik.

I'm using dns-01 mostly for privately networked clusters, where I still want public CA signed certs.

Ah. That makes sense.


Not working in new kodi version

PythonToCppException
addons/plug-in.video.einthusan3 line 628
also line 395 and 484

The new version is not working for me as well (Einthusan Video Addon - Version 3.x” for Kodi 19.x (xbmc.python 3.x)). @eintamil Please have a look sir. thanks

It usually works fine, but occassionally saying 'EINTHUSAN ERROR' without loading any. Mainly happening in the evening times. Kodi verson 20.1
Can anyone shed some light on this issue?!

Sorry for the delay in response. Can you add username and password in Add-on Settings Authentication. If it is still not working, please attach your Kodi.log file.

Hi,
Thanks for responding quickly. Much appreciated...
Please find the attached screen shots of account logon page and the 3 error
log pages attached.
The issue is still there even with the account information.
It is only occuring in the night time (Just wierd)
Hope the issue will get resolved...
Thanks in advance.
On Sun, 17 Sept 2023 at 10:05, EinTamil Kodi Repository <
@.***> wrote:

Sorry for the delay in response. Can you add username and password in
Add-on Settings Authentication. If it is still not working, please attach
your Kodi.log file.
—
Reply to this email directly, view it on GitHub
https://github.com/eintamil/repository.eintamil/issues/30#issuecomment-1722430308,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWETSAL4TKD5ZPB2XJ3NFGLX224MPANCNFSM6AAAAAA4RD34T4
.
You are receiving this because you commented.Message ID:
@.***>

Hi,
Thanks for responding quickly. Much appreciated...
Please find the attached screen shots of account logon page and the 3 error
log pages attached.
The issue is still there even with the account information.
It is only occuring in the night time (Just wierd)
Hope the issue will get resolved...
Thanks in advance.
On Sun, 17 Sept 2023 at 10:05, EinTamil Kodi Repository <
@.***> wrote:

Sorry for the delay in response. Can you add username and password in
Add-on Settings Authentication. If it is still not working, please attach
your Kodi.log file.
—
Reply to this email directly, view it on GitHub
https://github.com/eintamil/repository.eintamil/issues/30#issuecomment-1722430308,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWETSAL4TKD5ZPB2XJ3NFGLX224MPANCNFSM6AAAAAA4RD34T4
.
You are receiving this because you commented.Message ID:
@.***>

Hi,
Thanks for responding quickly. Much appreciated...
Please find the attached screen shots of account logon page and the error log attached.

The issue is still there even with the account information entered.
It is only occuring in the night time (Just wierd)
Hope the issue will get resolved...
Thanks in advance.

I am also struggling in the evenings can someone please advise

I am also seeing the same error when I am trying to play anything.

Unfortunately, it is a limitation introduced by the website for free accounts.
Paid account premium users are not facing any error.

Please try the below steps and comment if you are still facing the issue:
- Kindly uninstall the older version of the Einthusan addon
- Update to EinTamil Kodi Repository Version 1.1.0
- Install Einthusan addon Version 3.1.0

Good afternoon,
I have updated however same issue without my account works fine if I enable my membership account it won't play and gives an error.
Kind regards,
Yahoo Mail: Search, organise, conquer
On Sun, 1 Dec 2024 at 1:16, EinTamil Kodi @.***> wrote:
Closed #30 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Same for me as well. Works fine without my account added.
On Wed, Dec 4, 2024 at 8:15 AM alamirfan786 @.***>
wrote:

Good afternoon,
I have updated however same issue without my account works fine if I
enable my membership account it won't play and gives an error.
Kind regards,
Yahoo Mail: Search, organise, conquer
On Sun, 1 Dec 2024 at 1:16, EinTamil Kodi @.***> wrote:
Closed #30 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/eintamil/repository.eintamil/issues/30#issuecomment-2517317326,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHRWAPTVLGQEIY5WHZHTVVT2D3577AVCNFSM6AAAAABSZCZV2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJXGMYTOMZSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Any way to fix this as the account like everyone is a paid account

Please share the logs to troubleshoot


KAFKA-5274: AdminClient Javadoc improvements

Publish Javadoc for common.annotation package, which contains
InterfaceStability.
Finally, mark AdminClient classes with Evolving instead of Unstable.

@cmccabe, I can do a separate PR for the Serializer changes, if you prefer.

The adminclient parts LGTM.
I do have a preference to doing the serializer changes in a separate PR, although I don't feel strongly about it.

Moved serializer javadoc changes to a separate PR as requested: https://github.com/apache/kafka/pull/3330

@gwenshap or @rajinisivaram, maybe one of you can review and merge this javadoc PR. @cmccabe has reviewed it.

Test failure is unrelated.

LGTM. Really nice work, @ijuma.


Version bump of admin and chosen-rails gems

Due to a vulnerability with jquery-rails. See See
https://groups.google.com/forum/#!topic/rubyonrails-security/XIZPbobuwaY
for details

Change to config/application.rb is a reported issue rails/sass-rails#315
chosen-rails interacts with sass so have to upgrade it too

Please add https://gist.github.com/boffbowsh/073d4f36f8677304fa9f too

@boffbowsh The hotfix has already been taken of in #256

Stuart's now removed the GA code => merging.


Reminders update frontend changes

Current behavior
Now our backend supports multiple datetime reminders, so we need to update frontend to change the way it handles subscription changes:

Initially, we were relying on type. It was the indicator of whether subscription type needs to be created or updated.
Now we rely on subscription id

TODO:

Update subscription to pass subscription.id of the existing subscription if modifying it. If creating a new one -- don't pass id at all.
Make PostSubscriptionType.SPECIFIC_TIME subscriptions support multiple entries, so we could add/remove/render N reminders of this type. Other types should stay single as before
Push it to https://github.com/Metaculus/metaculus/pull/795 where all related BE changes are located

Related ticket with mocks -- https://github.com/Metaculus/metaculus/issues/785

lgtm


Update binder link to use demo branch

Edit README on master to use binder setup of demo branch that uses a stable version of the package.

Good to merge once merge conflict is fixed!


declare victory on 2.12 community build and move on

recently added: ammonite, coursier, scalafmt, scala-debugger, pureconfig, circe
that closes out my list (at #161) of projects that I realllllly wanted in
and certainly the overall build is now plenty large enough
I recently closed out all open pull requests and closed most open issues

(...though the build will require continued attention as we move to Java 9 and Scala 2.13...)

post-victory

victory tour plans:

count the lines of code (#59)
blog about it
do a talk about it

in the 2.12 build, I hereby encourage myself to be increasingly willing to just freeze stuff, to lessen ongoing maintenance cost


Enable Pipe tests for clGetKernelArgInfo

Pipe tests have been disabled from api/clGetKernelArgInfo as they were failing due to clang issues.
Ideally they will be enabled once these issues have been fixed.
https://github.com/KhronosGroup/OpenCL-CTS/pull/1056#issuecomment-839472302

When this is done, the clGetKernelArgInfo part of the pipe_info test in test_pipes should also be removed.
In addition to this, testing of clGetKernelArgInfo should be extended to ensure that CL_KERNEL_ARG_INFO_NOT_AVAILABLE is returned when using clCreateProgramWithBinary() or clCreateProgramWithIL() (i.e. when using binary and SPIR-V offline compilation modes).


Add TIGRE projector

It all boils down to create a converter to TIGRE geometry
https://github.com/CERN/TIGRE/blob/master/Python/example.py#L13

       # beam goes on y axis in our geometry (for simple geometry)
        #                 o     Y          |   -X,Y
        # Xray --------O-------->----------|
        #              |                   |
        #              |
        #              V  X
        # rotation is around axis Z: out of plane right handed (anti-clockwise)
        # TIGRE seems to have, with right handed reference system
        #                 o                |   (-Y_CIL,+X_CIL)
        # Xray -<------O-------------------|
        #              |                   |
        #              |
        #              V  Y

        # so we need to translate the angles by removing 90 degrees

To keep into consideration Center of Rotation we need to redefine panel position and orientation and also image position and rotation.


Set up storybook with a simple button

[x] Set up storybook in paranext-core
[ ] Get a basic button story working

@rolfheij-sil you can put "Resolves #__" on the pull request description, and it will attach it :)


As a user of geopmaccess I would like a more explict way to delete names from the access lists

Is your feature request related to a problem? Please describe.
I'm always frustrated when I have to echo an empty string to delete an access list.  There should be a command line option that supports this.  Additionally, it would be nice to be able pass as input a list of names to remove from an access list.
Describe the solution you'd like
Add an option to geopmaccess to remove all signals or controls from an access list:
geopmaccess -D [-g GROUP] [-c]

Additionally add an option that removes specific names from an access list:
geopmaccess -d [-g GROUP] [-c] < REMOVE_LIST

In this can the names in REMOVE_LIST would be removed from an access list, but not be a warning or error if names occur in the REMOVE_LIST which are not in the original access list.
Describe alternatives you've considered
The current implementation requires the user to echo an empty string as the access list to delete it entirely.  There is no way to remove individual names from an access list other than to rewrite the entire list.
Additional context

Thanks @bensallen

The -D and -e options to geopmaccess give a mechanism to delete an entire list, or to edit a list in a text editor.


I use nodejs request module, can not create a Pbf object

Please help me!This is very important to me.
My code is as below,when read a pbf file,success to create a pbf object,when request on web,failed to create.Same two files!
How can I do?Help!
var fs = require('fs');
var VectorTile = require('@mapbox/vector-tile').VectorTile;
var request = require('request');
var rp = require('request-promise');

function filetest() {
    var data = fs.readFileSync('49.mvt');
    var tile = new VectorTile(new Protobuf(data));
    var layerNames = Object.keys(tile.layers);
    console.log('file tile layers:', layerNames);
}

function urltest() {
    rp({
        url: 'http://<IP_ADDRESS>:6082/49.mvt',
        method: "GET",
    }).then(function (res) {
        var pbf = new Protobuf(res);
        var tile = new VectorTile(pbf);
        var layerNames = Object.keys(tile.layers);
        console.log('url tile layers:', layerNames);
    });
}
urltest();
filetest();

below is output:
file tile layers: [ 'xian', 'cun' ]
url tile layers: []

Please don't use GitHub to ask generic development questions, there is StackOverflow for this. Request returns a string as response by default, you need to set encoding: null in the options probably.


Create command results in 400 if default VPC is unavailable for ec2 provider

A failure occurs when attempting to create an exit node via inletsctl create command for ec2 provider.
Expected Behaviour
An ec2 instance and security group are successfully created.
Current Behaviour
A 400 status is returned with the following message when a default VPC is unavailable:
InvalidParameter: The AssociatePublicIpAddress parameter is only supported for VPC launches.

Possible Solution
Explicitly require vpc-id and subnet-id when provider is ec2. This fixes the above issue and allows users to have full control of where the exit node will be placed. I will be following up with proposed fix via PR shortly.
Steps to Reproduce (for bugs)
Execute the following command for an AWS account/region with no default VPC:
./inletsctl create -f ~/Downloads/access-key --secret-key-file ~/Downloads/secret-access-key -p ec2 -r us-west-2

Context

Your Environment

inlets version inlets --version: 0.5.6 and master branch as of Aug 10.

Docker/Kubernetes version docker version / kubectl version:

Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 20.04

Link to your project or a code example to reproduce issue:

/assign: digitalsanctum

/close this has been implemented here an in inlets operator. Many thanks @digitalsanctum


When using registerElement addChildFromBuilder overloads are not being called.

Example project . https://github.com/TheOriginalJosh/ng2ParallaxTest
if you go through the code with a debugger, inside of the nativescript-parallax plugin it's addChildFromBuilder  overload function is not being called. however if you use the plugin in the conventional sense inside of the page object like: <Page xlms:parallax='nativescript-parallax'   ... the addChildFromBuilder function is called.

@TheOriginalJosh  First of all - nice plugin.
To the point: In the Angular Renderer we use the insertChild and addChild methods directly when the parent view is LayoutBase (which is the case with ParalaxView). The reason: they accept index parameter and the _addChildFromBuilder does not.
Here are some suggestions: You can pass additional metadata when registering your component with registerElement where you can override the insertChild and removeChild hooks which will be used inside the renderer.
One other suggestion: you can expose properties of the (header, anchor, content) and set those directly inside the  _addChildFromBuilder and insertChild hooks.
Last thing: In Angluar components usually the loaded event is fired before the children are added (in vanilla {N} this could also happen if you are adding children dynamically). So you might have to change the code of the nativescript-parallax plugin to handle that case.

@TheOriginalJosh
I'm closing the issue for now. Please, feel free to reopen it again, if the metadata hooks are not sufficient to implement the plugin.

@vakrilov I had actually figured out a way around using _addChildFromBuilder however no success still. registerElement didn't seem to want to work with adding the multiple child elements. of header and content.
Any suggestions on how to maybe restructure the plugin? Should I open a new issue?
Thanks for your help.

Yes - you can open another issue and elaborate a bit more on the problem


JSdom v10 api breaking change fix

Use the old api fallback in jsdom v10

Thanks for this! Sorry I didn't notice this pull request until now. I published the latest version of benv including this fix.


Update containers/image.

This should make private gcr repositories work.

See https://github.com/containers/image/pull/339

LGTM


Only one item push through

Thank-you for this library very useful :). I have a FAB button implemented on one of my views and currently only have one item. What is the best practise to not have items in the menu? I don't want to remove it in case we add more back in at a later stage, but just want it to push straight through to the only items action.

Any solution please


Make Text in Motion

"Hacktoberfest2020"

This change isn't needed on my demo repo.  Is this part of some kind of college or university course?


Show response when services don't return JSON data

Now request and response are empty in the service logs. This should not be the case.

Issue migrated to our-city-app/mobicage-backend#54


Bump compatible Leaflet version

Set compatible Leaflet version to >=1.3.1 to get rid off warnings.

Been using your fork for a whole now. Any idea why "Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object" is happening now ? Line https://github.com/bumbummen99/Leaflet.markercluster/blob/back/src/MarkerClusterGroup.js#L803

@bre7 Tbh. i am not really using this package anymore since it caused a lot of trouble and i'll first have to sort stuff out in my project. Since it is complaining about the "right hand side" i think something got messed up in your build. Can you debug that line and check what the value of the "L.MarkerCluster" symbol is?

Mmmh, weird. L.MarkerCluster is undefined (missing import?)

resolved by #976


cmake failed!

ubgpu@ubgpu:~/github/cdec/build$ cmake ..
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LibDL: /usr/lib/x86_64-linux-gnu/libdl.so
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   regex
--   filesystem
--   serialization
--   program_options
--   unit_test_framework
--   system
--   thread
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
-- Looking for lzma_auto_decoder in /usr/lib/x86_64-linux-gnu/liblzma.so
-- Looking for lzma_auto_decoder in /usr/lib/x86_64-linux-gnu/liblzma.so - found
-- Looking for lzma_easy_encoder in /usr/lib/x86_64-linux-gnu/liblzma.so
-- Looking for lzma_easy_encoder in /usr/lib/x86_64-linux-gnu/liblzma.so - found
-- Looking for lzma_lzma_preset in /usr/lib/x86_64-linux-gnu/liblzma.so
-- Looking for lzma_lzma_preset in /usr/lib/x86_64-linux-gnu/liblzma.so - found
-- Found LibLZMA: /usr/include (found version "5.1.0")
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.6", minimum required is "2.7")
CMake Error at /usr/local/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find FLEX (missing: FLEX_EXECUTABLE)
Call Stack (most recent call first):
/usr/local/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.2/Modules/FindFLEX.cmake:199 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
decoder/CMakeLists.txt:15 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ubgpu/github/cdec/build/CMakeFiles/CMakeOutput.log"

Did you install Flex?

great! thanks!
but the new trouble coming:
undefined reference to symbol 'sem_post@@GLIBC_2.2.5',
I launch a new post.


Add a card for competitive programming

#82
This PR fixes the following issues:
add a card for competitive programming in resource page

Changes proposed
Here comes all the changes proposed through this PR

Check List (Check all the boxes which are applicable)

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots and video

Add all the screenshots and a video which support your changes

already achieved the desired results.!


The chess pieces are hard to identify

The king and the pawn are very similar. As are the bishop and pawn.
A chess piece option with the clarity below would be amazing.

I agree, I had quite a few people raise similar complaints over the past couple of years, where people argued that the rook and the queen looked quite similar, for example.
The main issue here is finding a chess set that looks good both on dark mode as well as in light mode, since the user could be using any of those and there's no way to detect it. Unfortunately, that fact alone rules out most of the chess sets (like the one you posted), since the black pieces would be barely visible in dark mode. This is why currently black pieces are dark blue and white pieces are grey-ish.
Another important aspect is licensing. The chess set must be licensed under a permissive license that doesn't require attribution and allows redistribution, since by putting the images in this repo I'm effectively redistributing them, and I have no way of giving attribution. This is also a limiting factor in finding a better set...
Let's keep this issue open for the time being. I'll look for better sets and we can use this thread to discuss/vote which ones are better. Thanks for reporting this! 😄

Hey @doodla, I changed the chess set used in https://github.com/marcizhu/marcizhu and I think it's way easier to identify the chess pieces now:

All pieces are recognizable in dark and light modes. I'll do some tests and if everything goes as expected I will update this repo and close this issue. In the mean time, feel free to propose other chess sets!


adds filterUnsupported method to EmojiPickerUtils

closes #220

Can you provide more contex to this? In what situation this would be useful for the users?

@Fintasys

Can you provide more contex to this? In what situation this would be useful for the users?

I need this method, for example, to be able to display the emojis of the corresponding platform myself, as I would like to preload them. Otherwise there is always a short loading time when opening the EmojiPicker, as this method is called every time it is opened.
I haven't found a good way to integrate preloading directly into the package, so I would like to make this method publicly available.

@maeddin I see, but calling filterUnsupported wouldn't do any preloading. It would just filter emoji based on platform and return the list to you. When the EmojiPicker is used it would load all emoji again. In general the waiting time to load should be milliseconds, so I wonder why you seeing loading indicator. Which platform are you referring to?
Nevertheless, I understand the issue with the preloading that eventually some people face. I would rather suggest to cache the emojiList in the Utils and add an manual initialization method. I might find time trying to come up with a PR in the next days, if you can wait.

@Fintasys I preload the emojis I need once when the app is is started so that they are already loaded when my EmojiPicker opens for the first time. It only takes milliseconds to load, but the emojis still appear after the first frame, which is why I have implemented preloading for myself. Since I have also implemented the entire EmojiPicker myself due to design specifications, it is easier for me to call filterUnsupported directly. This way I can handle the caching myself and also determine when the preloading takes place.


verify and mdsnippets

re https://github.com/SimonCropp/MarkdownSnippets/issues/710
this PR represents how i would solve the problem.
So in effect this PR does

use Verify to assert the output of the program.
as a side effect we now have the output of a given console args in a snapshot file
use that snapshot file as a snippet.

so this way when you change the output, you get to QA th output before accepting it. and the readme will be updated on the next build. The "updated on the next build" can be annoying if u forget to do a build before pushing a change. so i have added a GH action that will re run the docs to ensure they are always in sync.
List of all changes:

pulled out common settings into a Directory.Build.props
added a test project. i picked nunit. let me know if u want mstest or xunit
added verify to that project.
added tests for help and deprecate as mentioned above
added an Upload Test Results step to the GH build. so that if Verify detects a mis-match in CI you will get the resulting files as assets. saves you trolling through the build log for the differences
added a on-push-do-docs.yml action. as mentioned above
ignore .idea/ since i like rider ;)
added an mdsnippets config file with InPlaceOverwrite https://github.com/SimonCropp/MarkdownSnippets?tab=readme-ov-file#inplaceoverwrite That is usually the preferred option for smaller projects
Moved to a non top level statement. so we can call it from a test

Wow, this is amazing! Thank you for taking the time to put this together.
I'm wondering why you use UTs + Verify as a way to generate the content instead of something like https://www.nuget.org/packages/MarkdownSnippets.MsBuild/ which appears to fix up the snippets at build time. What are the drawbacks for doing the fix-up at build time vs. out of build with a GitHub commit or explicit CLI command?
Do you think some people would prefer to have every build in VS/Rider/CLI to fix up the docs? It seems more inuative to me but maybe I'm missing some pros/cons. The idea I have in my mind is that you wouldn't need to wait for the GitHub Actions auto-commit to come in, i.e. you could do the whole PR offline.  Maybe that's good enough vs. having the PR author include the change in one of their own commits.
This approach makes sense if the repo owner wants the UTs as well. It's probably a good idea to have an acceptance test on generated help text.

I'm wondering why you use UTs + Verify as a way to generate the content instead of something like https://www.nuget.org/packages/MarkdownSnippets.MsBuild/ which appears to fix up the snippets at build time. What are the drawbacks for doing the fix-up at build time vs. out of build with a GitHub commit or explicit CLI command?

this PR does also apply MarkdownSnippets.MsBuild. the CI is just a backup in case you change a snippets content, and forget to do a build before pushing. I have seen some people use an "after all tests hook" to execute mdsnippets via the programmatic API so content generated by tests will always be applied to markdown files

you use UTs + Verify as a way to generate the content instead of

it is not really "instead of". we always want two parts. 1. generate the content. 2. merge the content.
re 1. i like to use UTs + Verify to gen the content since, as a side effect, i get all the benefits of snapshot testing for my development flow. eg UI for testrunner, diffing tools when something has changed. etc. In many projects i use tests without Verify to create content to mdsnippets to find. eg this https://github.com/SimonCropp/Polyfill/blob/main/src/Tests/BuildApiTest.cs creates multiple include files. eg https://github.com/SimonCropp/Polyfill/blob/main/api_list.include.md
re 2. i always use have MarkdownSnippets.MsBuild + CI action in place. sometime if i am editing content outside of the IDE i also use the command line or the explorer extension https://github.com/SimonCropp/MarkdownSnippets?tab=readme-ov-file#add-to-windows-explorer.

i should also point out sometimes it is not "generate the content". but instead the content is static. eg i often have a test that shows a simple usage of an api. i then wrap that in a region and include it in the docs md. so the code in docs are never out of date


Fixed icon size

Summary
Fixes #7496

Fixed icon size in following components:
close icon (Banner BannerGraphic, NamespaceFilter),
chevron down (Select)
info and alert (LabeledInput)
checkmark (/c/local/settings/management.cattle.io.feature)
plus (Tab)

While reviewing the Growl PR I also noticed there the close icon is not properly scaled.
Please at least search in the code for all the icon-close cases, since are 100% all broken and used widely.

@bisht-richa This needs rebasing - the commit history is not right.


Add tools and instructions for e2e testing

This change is

Coverage decreased (-0.1%) to 85.61% when pulling 2aebe2d01e19b91e156cb41f970952b5696f01aa on sandbox-saied into 79c2b455b9754444a8c1fd932b1040f567d792ed on main.

test/schema.sh line 34 at r2 (raw file):
Previously, cristinaleonr (Cristina Leon) wrote…
Do you need this commented out code?

I commented them out because hello1 and foo1 were trivial tables that I used for testing but I wanted to show the user that they can create their own simple tables.  If it's confusing, I can delete them from the script.

test/schema.sh line 102 at r2 (raw file):
Previously, cristinaleonr (Cristina Leon) wrote…
What happens if the schema has standard columns and the user does not manually delete them?

The raw will include the standard columns.  For example, for scamper1 the new table will look like the following:
data
archiver
raw
id
parser
date
raw

I'd appreciate any suggestions you may have to further improve this.

test/schema.sh line 34 at r2 (raw file):
Previously, cristinaleonr (Cristina Leon) wrote…
Ah okay, it was not obvious to me why they were there. It might be helpful to have a comment explaining that.

Sure, I will add a comment before merging.

test/schema.sh line 102 at r2 (raw file):
Previously, cristinaleonr (Cristina Leon) wrote…
I see. I suppose that is okay since the creation of the table is more so a sanity check.
Out of curiosity, what about the schema file created? Would that have all the fields listed above or just the fields in the original table?

The table schema file will all the fields: the standard columns that jostler uses to wrap the raw data, and the raw data in its entirety which includes the original standard columns.
As you said, this is only for test purposes to make sure jostler creates valid table schema files as actual table creation is outside its scope.

Thank you for your review.


WIP: add cluster-setup step to deployment workflow

Reorganize to create additional config maps and secrets
during a cluster-setup phase to simplify later steps and
enable defining a post-deploy Job to install routemgt,
package catalog, etc.

WIP - not ready to merge yet.  Created pull request early to validate travis changes.

Closes #45
Closes #79
Closes #108


Element should be clickable if that is not covered

We should consider some extra option to avoid that covered check

This issue has been fixed.
Tested version: 142b35cd86d8a080c5de35f4e88bd68adcd1cdba


AssertionError: Check batch related parameters. train_batch_size is not equal to micro_batch_per_gpu * gradient_acc_step * world_size 256 != 2 * 18 * 7

I changed the conda environment to docker, but this error still occurs.
What should I do?
Is this error caused by environmental lib?

How many gpus did you use？

How many gpus did you use？

Generally, our lab has 7GPUs running and I made no changes to the setting files.  Our 8th graphics card was banned due to instability, does this matter?

Try setting the batch size to a multiple of 7.
such as 126

@hijkzzz its ok to set the batch size to a multiple of 14. But it occurs another issue. How to solve it?
Very thank you much for ur help.
[rank2]: Traceback (most recent call last):
[rank2]:   File "/project/OpenRLHF/examples/scripts/../train_sft.py", line 180, in
[rank2]:     train(args)
[rank2]:   File "/project/OpenRLHF/examples/scripts/../train_sft.py", line 89, in train
[rank2]:     (model, optim, scheduler) = strategy.prepare((model, optim, scheduler))
[rank2]:   File "/root/.local/lib/python3.10/site-packages/openrlhf/utils/deepspeed.py", line 157, in prepare
[rank2]:     ret.append(self._ds_init_train_model(*arg))
[rank2]:   File "/root/.local/lib/python3.10/site-packages/openrlhf/utils/deepspeed.py", line 167, in _ds_init_train_model
[rank2]:     engine, optim, _, scheduler = deepspeed.initialize(
[rank2]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/init.py", line 176, in initialize
[rank2]:     engine = DeepSpeedEngine(args=args,
[rank2]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 262, in init
[rank2]:     self._configure_distributed_model(model)
[rank2]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 1157, in _configure_distributed_model
[rank2]:     self._broadcast_model()
[rank2]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 1077, in _broadcast_model
[rank2]:     dist.broadcast(p.data, groups._get_broadcast_src_rank(), group=self.seq_data_parallel_group)
[rank2]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/comm/comm.py", line 117, in log_wrapper
[rank2]:     return func(*args, **kwargs)
[rank2]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/comm/comm.py", line 224, in broadcast
[rank2]:     return cdb.broadcast(tensor=tensor, src=src, group=group, async_op=async_op)
[rank2]:   File "/usr/local/lib/python3.10/dist-packages/torch/_dynamo/eval_frame.py", line 451, in _fn
[rank2]:     return fn(*args, **kwargs)
[rank2]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/comm/torch.py", line 205, in broadcast
[rank2]:     return torch.distributed.broadcast(tensor=tensor, src=src, group=group, async_op=async_op)
[rank2]:   File "/usr/local/lib/python3.10/dist-packages/torch/distributed/c10d_logger.py", line 75, in wrapper
[rank2]:     return func(*args, *kwargs)
[rank2]:   File "/usr/local/lib/python3.10/dist-packages/torch/distributed/distributed_c10d.py", line 2140, in broadcast
[rank2]:     work = group.broadcast([tensor], opts)
[rank2]: torch.distributed.DistBackendError: [2] is setting up NCCL communicator and retrieving ncclUniqueId from [0] via c10d key-value store by key '0', but store->get('0') got error: Connection reset by peer
[rank2]: Exception raised from recvBytes at ../torch/csrc/distributed/c10d/Utils.hpp:672 (most recent call first):
[rank2]: frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x57 (0x733aaa77a897 in /usr/local/lib/python3.10/dist-packages/torch/lib/libc10.so)
[rank2]: frame #1:  + 0x5b3a23e (0x733a96c8f23e in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #2: c10d::TCPStore::doWait(c10::ArrayRefstd::string, std::chrono::duration<long, std::ratio<1l, 1000l> >) + 0x2c7 (0x733a96c89c87 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #3: c10d::TCPStore::doGet(std::string const&) + 0x32 (0x733a96c89f82 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #4: c10d::TCPStore::get(std::string const&) + 0xa1 (0x733a96c8afd1 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #5: c10d::PrefixStore::get(std::string const&) + 0x31 (0x733a96c3f371 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #6: c10d::PrefixStore::get(std::string const&) + 0x31 (0x733a96c3f371 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #7: c10d::PrefixStore::get(std::string const&) + 0x31 (0x733a96c3f371 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #8: c10d::PrefixStore::get(std::string const&) + 0x31 (0x733a96c3f371 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #9: c10d::ProcessGroupNCCL::broadcastUniqueNCCLID(ncclUniqueId, bool, std::string const&, int) + 0xa9 (0x733a5e44f6d9 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cuda.so)
[rank2]: frame #10: c10d::ProcessGroupNCCL::getNCCLComm(std::string const&, c10::Device&, c10d::OpType, int, bool) + 0xc50 (0x733a5e456b60 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cuda.so)
[rank2]: frame #11: c10d::ProcessGroupNCCL::broadcast(std::vector<at::Tensor, std::allocatorat::Tensor >&, c10d::BroadcastOptions const&) + 0x5a8 (0x733a5e465748 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cuda.so)
[rank2]: frame #12:  + 0x5addde6 (0x733a96c32de6 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #13:  + 0x5ae6cd3 (0x733a96c3bcd3 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #14:  + 0x5ae9b39 (0x733a96c3eb39 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #15:  + 0x5124446 (0x733a96279446 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #16:  + 0x1acf4b8 (0x733a92c244b8 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #17:  + 0x5aee23a (0x733a96c4323a in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #18:  + 0x5afe26c (0x733a96c5326c in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank2]: frame #19:  + 0xd244b5 (0x733aa97f34b5 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_python.so)
[rank2]: frame #20:  + 0x47de04 (0x733aa8f4ce04 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_python.so)
[rank2]: frame #21:  + 0x15a10e (0x6041c3a1a10e in /usr/bin/python)
[rank2]: frame #22: _PyObject_MakeTpCall + 0x25b (0x6041c3a10a7b in /usr/bin/python)
[rank2]: frame #23:  + 0x168acb (0x6041c3a28acb in /usr/bin/python)
[rank2]: frame #24: _PyEval_EvalFrameDefault + 0x614a (0x6041c3a08cfa in /usr/bin/python)
[rank2]: frame #25: _PyFunction_Vectorcall + 0x7c (0x6041c3a1a9fc in /usr/bin/python)
[rank2]: frame #26: PyObject_Call + 0x122 (0x6041c3a29492 in /usr/bin/python)
[rank2]: frame #27: _PyEval_EvalFrameDefault + 0x2a27 (0x6041c3a055d7 in /usr/bin/python)
[rank2]: frame #28: _PyFunction_Vectorcall + 0x7c (0x6041c3a1a9fc in /usr/bin/python)
[rank2]: frame #29: _PyEval_EvalFrameDefault + 0x198c (0x6041c3a0453c in /usr/bin/python)
[rank2]: frame #30: _PyFunction_Vectorcall + 0x7c (0x6041c3a1a9fc in /usr/bin/python)
[rank2]: frame #31: PyObject_Call + 0x122 (0x6041c3a29492 in /usr/bin/python)
[rank2]: frame #32: _PyEval_EvalFrameDefault + 0x2a27 (0x6041c3a055d7 in /usr/bin/python)
[rank2]: frame #33:  + 0x1687f1 (0x6041c3a287f1 in /usr/bin/python)
[rank2]: frame #34: _PyEval_EvalFrameDefault + 0x198c (0x6041c3a0453c in /usr/bin/python)
[rank2]: frame #35: _PyFunction_Vectorcall + 0x7c (0x6041c3a1a9fc in /usr/bin/python)
[rank2]: frame #36: PyObject_Call + 0x122 (0x6041c3a29492 in /usr/bin/python)
[rank2]: frame #37: _PyEval_EvalFrameDefault + 0x2a27 (0x6041c3a055d7 in /usr/bin/python)
[rank2]: frame #38: _PyFunction_Vectorcall + 0x7c (0x6041c3a1a9fc in /usr/bin/python)
[rank2]: frame #39: _PyEval_EvalFrameDefault + 0x198c (0x6041c3a0453c in /usr/bin/python)
[rank2]: frame #40:  + 0x1687f1 (0x6041c3a287f1 in /usr/bin/python)
[rank2]: frame #41: _PyEval_EvalFrameDefault + 0x614a (0x6041c3a08cfa in /usr/bin/python)
[rank2]: frame #42:  + 0x1687f1 (0x6041c3a287f1 in /usr/bin/python)
[rank2]: frame #43: _PyEval_EvalFrameDefault + 0x614a (0x6041c3a08cfa in /usr/bin/python)
[rank2]: frame #44: _PyFunction_Vectorcall + 0x7c (0x6041c3a1a9fc in /usr/bin/python)
[rank2]: frame #45: _PyObject_FastCallDictTstate + 0x16d (0x6041c3a0fcbd in /usr/bin/python)
[rank2]: frame #46:  + 0x164a64 (0x6041c3a24a64 in /usr/bin/python)
[rank2]: frame #47: _PyObject_MakeTpCall + 0x1fc (0x6041c3a10a1c in /usr/bin/python)
[rank2]: frame #48: _PyEval_EvalFrameDefault + 0x75a0 (0x6041c3a0a150 in /usr/bin/python)
[rank2]: frame #49: _PyFunction_Vectorcall + 0x7c (0x6041c3a1a9fc in /usr/bin/python)
[rank2]: frame #50: _PyEval_EvalFrameDefault + 0x198c (0x6041c3a0453c in /usr/bin/python)
[rank2]: frame #51:  + 0x16893e (0x6041c3a2893e in /usr/bin/python)
[rank2]: frame #52: _PyEval_EvalFrameDefault + 0x2a27 (0x6041c3a055d7 in /usr/bin/python)
[rank2]: frame #53: _PyFunction_Vectorcall + 0x7c (0x6041c3a1a9fc in /usr/bin/python)
[rank2]: frame #54: _PyEval_EvalFrameDefault + 0x8ac (0x6041c3a0345c in /usr/bin/python)
[rank2]: frame #55: _PyFunction_Vectorcall + 0x7c (0x6041c3a1a9fc in /usr/bin/python)
[rank2]: frame #56: _PyEval_EvalFrameDefault + 0x6bd (0x6041c3a0326d in /usr/bin/python)
[rank2]: frame #57:  + 0x13f9c6 (0x6041c39ff9c6 in /usr/bin/python)
[rank2]: frame #58: PyEval_EvalCode + 0x86 (0x6041c3af5256 in /usr/bin/python)
[rank2]: frame #59:  + 0x260108 (0x6041c3b20108 in /usr/bin/python)
[rank2]: frame #60:  + 0x2599cb (0x6041c3b199cb in /usr/bin/python)
[rank2]: frame #61:  + 0x25fe55 (0x6041c3b1fe55 in /usr/bin/python)
[rank2]: frame #62: _PyRun_SimpleFileObject + 0x1a8 (0x6041c3b1f338 in /usr/bin/python)
[rank2]: frame #63: _PyRun_AnyFileObject + 0x43 (0x6041c3b1ef83 in /usr/bin/python)
[rank2]: . This may indicate a possible application crash on rank 0 or a network set up issue.
[rank6]: Traceback (most recent call last):
[rank6]:   File "/project/OpenRLHF/examples/scripts/../train_sft.py", line 180, in
[rank6]:     train(args)
[rank6]:   File "/project/OpenRLHF/examples/scripts/../train_sft.py", line 89, in train
[rank6]:     (model, optim, scheduler) = strategy.prepare((model, optim, scheduler))
[rank6]:   File "/root/.local/lib/python3.10/site-packages/openrlhf/utils/deepspeed.py", line 157, in prepare
[rank6]:     ret.append(self._ds_init_train_model(*arg))
[rank6]:   File "/root/.local/lib/python3.10/site-packages/openrlhf/utils/deepspeed.py", line 167, in _ds_init_train_model
[rank6]:     engine, optim, _, scheduler = deepspeed.initialize(
[rank6]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/init.py", line 176, in initialize
[rank6]:     engine = DeepSpeedEngine(args=args,
[rank6]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 262, in init
[rank6]:     self._configure_distributed_model(model)
[rank6]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 1157, in _configure_distributed_model
[rank6]:     self._broadcast_model()
[rank6]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 1077, in _broadcast_model
[rank6]:     dist.broadcast(p.data, groups._get_broadcast_src_rank(), group=self.seq_data_parallel_group)
[rank6]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/comm/comm.py", line 117, in log_wrapper
[rank6]:     return func(*args, **kwargs)
[rank6]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/comm/comm.py", line 224, in broadcast
[rank6]:     return cdb.broadcast(tensor=tensor, src=src, group=group, async_op=async_op)
[rank6]:   File "/usr/local/lib/python3.10/dist-packages/torch/_dynamo/eval_frame.py", line 451, in _fn
[rank6]:     return fn(*args, **kwargs)
[rank6]:   File "/root/.local/lib/python3.10/site-packages/deepspeed/comm/torch.py", line 205, in broadcast
[rank6]:     return torch.distributed.broadcast(tensor=tensor, src=src, group=group, async_op=async_op)
[rank6]:   File "/usr/local/lib/python3.10/dist-packages/torch/distributed/c10d_logger.py", line 75, in wrapper
[rank6]:     return func(*args, *kwargs)
[rank6]:   File "/usr/local/lib/python3.10/dist-packages/torch/distributed/distributed_c10d.py", line 2140, in broadcast
[rank6]:     work = group.broadcast([tensor], opts)
[rank6]: torch.distributed.DistBackendError: [6] is setting up NCCL communicator and retrieving ncclUniqueId from [0] via c10d key-value store by key '0', but store->get('0') got error: Connection reset by peer
[rank6]: Exception raised from recvBytes at ../torch/csrc/distributed/c10d/Utils.hpp:672 (most recent call first):
[rank6]: frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x57 (0x7e7562492897 in /usr/local/lib/python3.10/dist-packages/torch/lib/libc10.so)
[rank6]: frame #1:  + 0x5b3a23e (0x7e754ea8f23e in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #2: c10d::TCPStore::doWait(c10::ArrayRefstd::string, std::chrono::duration<long, std::ratio<1l, 1000l> >) + 0x2c7 (0x7e754ea89c87 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #3: c10d::TCPStore::doGet(std::string const&) + 0x32 (0x7e754ea89f82 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #4: c10d::TCPStore::get(std::string const&) + 0xa1 (0x7e754ea8afd1 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #5: c10d::PrefixStore::get(std::string const&) + 0x31 (0x7e754ea3f371 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #6: c10d::PrefixStore::get(std::string const&) + 0x31 (0x7e754ea3f371 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #7: c10d::PrefixStore::get(std::string const&) + 0x31 (0x7e754ea3f371 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #8: c10d::PrefixStore::get(std::string const&) + 0x31 (0x7e754ea3f371 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #9: c10d::ProcessGroupNCCL::broadcastUniqueNCCLID(ncclUniqueId, bool, std::string const&, int) + 0xa9 (0x7e751624f6d9 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cuda.so)
[rank6]: frame #10: c10d::ProcessGroupNCCL::getNCCLComm(std::string const&, c10::Device&, c10d::OpType, int, bool) + 0xc50 (0x7e7516256b60 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cuda.so)
[rank6]: frame #11: c10d::ProcessGroupNCCL::broadcast(std::vector<at::Tensor, std::allocatorat::Tensor >&, c10d::BroadcastOptions const&) + 0x5a8 (0x7e7516265748 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cuda.so)
[rank6]: frame #12:  + 0x5addde6 (0x7e754ea32de6 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #13:  + 0x5ae6cd3 (0x7e754ea3bcd3 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #14:  + 0x5ae9b39 (0x7e754ea3eb39 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #15:  + 0x5124446 (0x7e754e079446 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #16:  + 0x1acf4b8 (0x7e754aa244b8 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #17:  + 0x5aee23a (0x7e754ea4323a in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #18:  + 0x5afe26c (0x7e754ea5326c in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_cpu.so)
[rank6]: frame #19:  + 0xd244b5 (0x7e75615f34b5 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_python.so)
[rank6]: frame #20:  + 0x47de04 (0x7e7560d4ce04 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_python.so)
[rank6]: frame #21:  + 0x15a10e (0x649a8c1a810e in /usr/bin/python)
[rank6]: frame #22: _PyObject_MakeTpCall + 0x25b (0x649a8c19ea7b in /usr/bin/python)
[rank6]: frame #23:  + 0x168acb (0x649a8c1b6acb in /usr/bin/python)
[rank6]: frame #24: _PyEval_EvalFrameDefault + 0x614a (0x649a8c196cfa in /usr/bin/python)
[rank6]: frame #25: _PyFunction_Vectorcall + 0x7c (0x649a8c1a89fc in /usr/bin/python)
[rank6]: frame #26: PyObject_Call + 0x122 (0x649a8c1b7492 in /usr/bin/python)
[rank6]: frame #27: _PyEval_EvalFrameDefault + 0x2a27 (0x649a8c1935d7 in /usr/bin/python)
[rank6]: frame #28: _PyFunction_Vectorcall + 0x7c (0x649a8c1a89fc in /usr/bin/python)
[rank6]: frame #29: _PyEval_EvalFrameDefault + 0x198c (0x649a8c19253c in /usr/bin/python)
[rank6]: frame #30: _PyFunction_Vectorcall + 0x7c (0x649a8c1a89fc in /usr/bin/python)
[rank6]: frame #31: PyObject_Call + 0x122 (0x649a8c1b7492 in /usr/bin/python)
[rank6]: frame #32: _PyEval_EvalFrameDefault + 0x2a27 (0x649a8c1935d7 in /usr/bin/python)
[rank6]: frame #33:  + 0x1687f1 (0x649a8c1b67f1 in /usr/bin/python)
[rank6]: frame #34: _PyEval_EvalFrameDefault + 0x198c (0x649a8c19253c in /usr/bin/python)
[rank6]: frame #35: _PyFunction_Vectorcall + 0x7c (0x649a8c1a89fc in /usr/bin/python)
[rank6]: frame #36: PyObject_Call + 0x122 (0x649a8c1b7492 in /usr/bin/python)
[rank6]: frame #37: _PyEval_EvalFrameDefault + 0x2a27 (0x649a8c1935d7 in /usr/bin/python)
[rank6]: frame #38: _PyFunction_Vectorcall + 0x7c (0x649a8c1a89fc in /usr/bin/python)
[rank6]: frame #39: _PyEval_EvalFrameDefault + 0x198c (0x649a8c19253c in /usr/bin/python)
[rank6]: frame #40:  + 0x1687f1 (0x649a8c1b67f1 in /usr/bin/python)
[rank6]: frame #41: _PyEval_EvalFrameDefault + 0x614a (0x649a8c196cfa in /usr/bin/python)
[rank6]: frame #42:  + 0x1687f1 (0x649a8c1b67f1 in /usr/bin/python)
[rank6]: frame #43: _PyEval_EvalFrameDefault + 0x614a (0x649a8c196cfa in /usr/bin/python)
[rank6]: frame #44: _PyFunction_Vectorcall + 0x7c (0x649a8c1a89fc in /usr/bin/python)
[rank6]: frame #45: _PyObject_FastCallDictTstate + 0x16d (0x649a8c19dcbd in /usr/bin/python)
[rank6]: frame #46:  + 0x164a64 (0x649a8c1b2a64 in /usr/bin/python)
[rank6]: frame #47: _PyObject_MakeTpCall + 0x1fc (0x649a8c19ea1c in /usr/bin/python)
[rank6]: frame #48: _PyEval_EvalFrameDefault + 0x75a0 (0x649a8c198150 in /usr/bin/python)
[rank6]: frame #49: _PyFunction_Vectorcall + 0x7c (0x649a8c1a89fc in /usr/bin/python)
[rank6]: frame #50: _PyEval_EvalFrameDefault + 0x198c (0x649a8c19253c in /usr/bin/python)
[rank6]: frame #51:  + 0x16893e (0x649a8c1b693e in /usr/bin/python)
[rank6]: frame #52: _PyEval_EvalFrameDefault + 0x2a27 (0x649a8c1935d7 in /usr/bin/python)
[rank6]: frame #53: _PyFunction_Vectorcall + 0x7c (0x649a8c1a89fc in /usr/bin/python)
[rank6]: frame #54: _PyEval_EvalFrameDefault + 0x8ac (0x649a8c19145c in /usr/bin/python)
[rank6]: frame #55: _PyFunction_Vectorcall + 0x7c (0x649a8c1a89fc in /usr/bin/python)
[rank6]: frame #56: _PyEval_EvalFrameDefault + 0x6bd (0x649a8c19126d in /usr/bin/python)
[rank6]: frame #57:  + 0x13f9c6 (0x649a8c18d9c6 in /usr/bin/python)
[rank6]: frame #58: PyEval_EvalCode + 0x86 (0x649a8c283256 in /usr/bin/python)
[rank6]: frame #59:  + 0x260108 (0x649a8c2ae108 in /usr/bin/python)
[rank6]: frame #60:  + 0x2599cb (0x649a8c2a79cb in /usr/bin/python)
[rank6]: frame #61:  + 0x25fe55 (0x649a8c2ade55 in /usr/bin/python)
[rank6]: frame #62: _PyRun_SimpleFileObject + 0x1a8 (0x649a8c2ad338 in /usr/bin/python)
[rank6]: frame #63: _PyRun_AnyFileObject + 0x43 (0x649a8c2acf83 in /usr/bin/python)
[rank6]: . This may indicate a possible application crash on rank 0 or a network set up issue.
[2024-07-05 08:03:23,041] [INFO] [launch.py:316:sigkill_handler] Killing subprocess 21704
[2024-07-05 08:03:23,095] [INFO] [launch.py:316:sigkill_handler] Killing subprocess 21705

https://blog.csdn.net/qq874455953/article/details/134408257

https://blog.csdn.net/qq874455953/article/details/134408257

@hijkzzz I tried to fix it following this blog before u brought it up, but it does not work. I'm trying to solve it...It's weird to see this problem in a single-machine multi-card environment....

Hello, sorry to bother you, how to remove the .cache to solve this problem. I have the same problem.


Only empty data

I have the docker image running with all parameters set. The connect and the polling seems to work, but the only message I can see in my MQTT broker is solix/site_homepage with some empty arrays.
I tested with the Anker Solix python library with the same credentials to see if I get data from the Anker API and I do get all details there.
So it does not seem to be the Anker side. If I set S2M_VERBOSE to true I don't see any data that is polled, but I'm not sure if it should be shown there. Is there a way to debug if the client does not get any data or the MQTT publish does not work correctly.

Okay, I can confirm that the data is shown if I use the main account for the credentlals. So with unsing an account that has the resources only shared, the code needs to be changed.

I don’t own an Anker Solix anymore so I won’t be able to fix the issue by myself. Would appreciate a PR though.

Unfortunately I don't have any experience with Typescript, so I'm not able to fix this. I could provide access to a readonly account for testing if that helps.

I created a pull request which enables the usage of "Shared Accounts". This removes the limitation to decide whether to use the App or the "solix2mqtt" service.


General Settings-based Cleanup

Removes a lot of unused variables, has containers for some of the data structures to simplify some of the scripts.
Removed Anime and Casino references throughout the bot

Commit 9df9240 will resolve the StaffRoleId issue referenced in Sirush#120