error: upstream server temporarily disabled while connecting to upstream

I'm getting an error when using this nginx-proxy. If I hit and point on my site the response is incredibly slow to come back in some instances. This happens pretty much immediately, if I hit an endpoint three times, for example, in relatively quick succession. The log for nginx shows the following error:

2017/05/14 09:24:26 [warn] 26#26: *29 upstream server temporarily disabled while connecting to upstream, client: <IP_ADDRESS>, server: [ip removed], request: "GET /documents/5918206a-8da0-4deb-86b2-6b627867e0d5 HTTP/1.1", upstream: "http://<IP_ADDRESS>:8080/documents/5918206a-8da0-4deb-86b2-6b627867e0d5", host: "[ip removed]"

The log for my back end service doesn't show any errors, so I'm not sure what may be going on here. Whether it's a configuration issue on nginx or whether there are errors somewhere that I'm not seeing yet. Has anyone encountered anything like this?

I am also getting the same error. Did anything change?

@dwai1714 not yet. Can you describe what you are seeing?

This is the log.
ThanksDC
On Sunday, May 14, 2017, 9:57:30 PM GMT+5:30, Ethan Miller<EMAIL_ADDRESS>wrote:
@dwai1714 not yet. Can you describe what you are seeing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@dwai1714 I don't think you included the log in your response...

@ezmiller did you use nginx-proxy in docker swarm mode?

@yanwsh - I am encountering this same issue while using the nginx-proxy in swarm mode. I currently only have one node in the swarm due to an unrelated issue. What prompts you to ask this?

Hi... any solution to this? I had to move Docker into swarm mode because I needed something else that requires it, and now I'm getting this error constantly from a site that uses long polling for ajax requests. Any help will be appreciated

I can confirm this issue as of today.
Happens for some pages, for some it works.
If I access my backend directly, then it works just fine.


Add '--weight' flag to 'promtool check metrics' command

Signed-off-by: chenlujjj<EMAIL_ADDRESS>
This PR is related to issue.
IMHO the flag fits better to be under check metrics subcommand compared to debug metrics. Since debug metrics just fetch metrics from a server and write them to a debug.tar.gz file. This fetch-write logic is coupled with debug pprof via debugWrite function.
An example:

Thanks for this!
I think the metrics should be in descending order because the ones the user will be interested in are the biggest.

Hi, @LeviHarrison , @JessicaGreben, I have updated the PR, including following update:

ranks metrics in descending order
add more info about the command usage
add unit test
fix lint issue

With respect to the command naming, I personally perfer the idea of @LeviHarrison since it does NOT focus on ONLY ONE metric.
And it seems like that I cannot create a subcommand of another subcommand.. I have tried to write like this:
checkMetricsWeightCmd := checkMetricsCmd.Command("weight", checkMetricsWeightUsage)
But in this way, the "promtool check metrics weight" and "promtool check metrics" command cannot both work. Not sure if I misused the kingpin library. Please point out if I made a mistake here. :)

And it seems like that I cannot create a subcommand of another subcommand.

I think you're right, kingpin doesn't seem to support subcommands when the main command can be standalone. This leaves us with two options: check metrics-weight or check metrics --weight. I personally prefer the former, because I don't think a flag should change the function of a command that drastically. The hyphen might be weird though.

cc @beorn7 for feedback on the histogram and summary weight calculation

These changes look good to me. I like check-weight command like Levi suggested.
I'm going to do another review, but also the tests aren't passing so that needs to be fixed:
Its failing saying :
        	Error Trace:	main_test.go:333
        	Error:      	Received unexpected error:
        	            	error while parsing text to metric families: text format parsing error in line 2: unknown metric type "summary\r"
        	Test:       	TestCheckMetricsWeight
--- FAIL: TestCheckMetricsWeight (0.00s)

Thanks for the review comments.
@JessicaGreben, I cannot reproduce the test failing in my local environment:

Is the failing message you posted related to the "ci/circleci: test_windows" CI step ?

Oh, I see it. It seems to be caused by the different carriage return on MacOS and Windows. I will try to fix it.

After a bit of investigation, I'm not sure if we should parse the metrics text on windows platform. The "prometheus/common" repository does not include tests on windows.
Another solution may be preparing two metrics.prom files, one for unix using LF as EOL, one for windows using CRLF as EOL. And the test case can open different file based on OS. But I think it is a little verbose here.

Carriage returns are not valid line endings for Prometheus text format or
OpenMetrics, on any platform.
What you are calling weight is called cardinality in the Prometheus
ecosystem, it covers a count of anything.
On Sat 25 Dec 2021, 16:46 chenlujjj, @.***> wrote:

After a bit of investigation, I'm not sure if we should parse the metrics
text on windows platform. The "prometheus/common" repository does not
include tests on windows.
Another solution may be preparing two metrics.prom files, one for unix
using LF as EOL, one for windows using CRLF as EOL. And the test case can
open different file based on OS. But I think it is a little verbose here.
—
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/pull/10045#issuecomment-1001044008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWJG5UUFRHGDV4I5D2X7DTUSXYPTANCNFSM5KKOURUA
.
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 are subscribed to this thread.Message
ID: @.***>

Then the test failure becomes a little confusing to me. I have confirmed that the metrics-test.prom file uses LF (line feed) as EOL.

I think the weight here means the percentage of one metric's cardinality among all metrics cardinality sum.
Maybe the count field in metricStat struct should be renamed to cardinality.
@LeviHarrison @JessicaGreben @brian-brazil What's your idea ?

This always seemed like cardinality to me, but @LeviHarrison disagreed so I will defer to what he thinks is best.

@brian-brazil in my opinion this command is less about the cardinality of individual metrics and more about how that cardinality contributes to a scrape as a whole, or the weight. The assumption is that said metrics aren't just some random collection but what is being retrieved from a target, and the purpose is to figure out what's taking up a scrape body. Cardinality isn't necessarily proportional to scrape size, which is why the weight is more useful, hence we call this command "check-weight".
Of course, it could go either way, and I respect your judgment.

is less about the cardinality of individual metrics and more about how that cardinality contributes to a scrape as a whole or the weight

You seem to be pulling terminology out of thin air here. You say that it's cardinality, and then pick an arbitrary term for it which has no bearing on its meaning, nor any history within this project. It does however have connotations in areas such as load balancing, that'd confuse users.
What I'd suggest is  --analyze, which also gives scope to expand in future.

Cardinality isn't necessarily proportional to scrape size

Can you explain? The higher the cardinality, the bigger the scrape.

I think the current treatment of histograms and summary is fine, i.e. counting each metric line in the text format rather than the whole histogram or summary as one. The former is how Prometheus currently ingests it, i.e. each bucket, quantile, and the sum and count creates a separate time series.

About the naming discussion: I would also prefer to avoid introducing the term weight. That's more likely adding confusion than removing it.
We don't have a strict definition of cardinality in the glossary. From what I can see in the docs, cardinality is used with a fairly wide meaning (see for example the tsdb-stats endpoint doc). It makes sense to me to say "The metric family api_requests_total has a cardinality of 1234." if I want to say that there are 1234 time series with the name api_requests_total. I could also say "The label pair {job="api_server"} has a cardinality of 4321.", which would mean there are 4321 time series of any name with the label pair {job="api_server"}. And finally, it also makes sense to me to say "This scrape has a cardinality of 321.", which means to me that ingesting the scrape will add samples to 321 time series on the Prometheus server.
Since the output contains percentage and absolute counts, I don't think we have to include the percentage aspect in the naming discussion.
Finally, weight could easily be understand as "weight in bytes", which it is not.
In different news, I like the proposal of using a more general term like --analyze so that we can add more information later without coming up with a new name. For consistency, perhaps this could be --extended as we use that already for promtool tsdb analyze, with a help text "Run extended analysis." (You can also see that analyze is already a command, so it would be confusing to use it as a flag somewhere else. Or we could do promtool check metrics analyze. Unfortunately, we are already somewhat inconsistent with the commands, sometimes starting with a verb, sometimes with a noun.)

I also like check metrics --analyze. I don't think we can do check metrics analyze because kingpin doesn't seem to support it (see https://github.com/prometheus/prometheus/pull/10045#issuecomment-1000854139).

I don't think we can do check metrics analyze because kingpin doesn't seem to support it (see #10045 (comment)).

Right, oh well… My vote is for check metrics --extended then, but I don't feel strongly.

Thanks for the suggestions, I also prefer the check metrics --extended for consistency reason.

Have updated the PR and fix CI :)

Reminder: In a week (on 2022-01-12), I'll cut a new release (v2.33). I think this PR would be great to go into the release, so it would be good if the review could be concluded soon. It looks to me like we are almost there…

@LeviHarrison Thanks for the review work. All resolved now.

Thank you everyone for their work on this, and especially @chenlujjj.

Thanks to all reviews and discussions, really learned a lot here. :)


Assetto Corsa Crash

Hi I have a Q2 since 1 year. The Open XR Toolkit works beautiful almost 1 year. I never changed any settings over the year.
Today I just started AC and I get a Errow Message almost at the the end of loading. AC shows no errors. Only Open-VR shows me a message. I tried the also the safe mode without any result. In the normal Oculus Mode the game starts without any problems.
I hope someone can help me with this error. Thanks Kocinski.
XR_APILAYER_MBUCCHIA_toolkit.log

No support provided for OpenComposite. Try the OpenComposite support instead.


Undefined operation: 'rems(18) times 1.25'

I am getting the error: Undefined operation: 'rems(18) times 1.25'. I saw similar posts about this being resolved in 4.8.0. Any help is greatly appreciated!
$font-size-base: rems(18) !default; // Assumes the browser default, typically 16px
$font-size-lg: $font-size-base * 1.25 !default

Node v: 6.12.3
Npm v: 5.8.0
Node-sass: 4.8.3

How is the remaining function defined?
On Sat., 7 Apr. 2018, 4:07 am ryyy20<EMAIL_ADDRESS>wrote:

I am getting the error: Undefined operation: 'rems(18) times 1.25'. I saw
similar posts about this being resolved in 4.8.0. Any help is greatly
appreciated!
$font-size-base: rems(18) !default; // Assumes the browser default, typically 16px
$font-size-lg: $font-size-base * 1.25 !default
Node v: 6.12.3
Npm v: 5.8.0
Node-sass: 4.8.3
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dlmanning/gulp-sass/issues/682, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWCTvvPXUSOMuidOoAaH8XNEGi4mRks5tl669gaJpZM4TKfA2
.

 Thank you for your help!


Inconsistency when drawing singleton registers

When the quantum register is a singleton, the MPL drawer just prints the name without the subindex. This only happens with the MPL drawer and all of the rest drawers:
from qiskit import *
circuit = QuantumCircuit(1)
circuit.x(0)
circuit.measure_all()

In addition, the MPL drawer does not follow this logic for the classical registers:
circuit.draw(output='mpl', cregbundle=False)

Personally, I like the idea of printing just the name when registers are singletons and I think that should be the standard in all the drawers and all the registers types.

Can I have a go at this @1ucian0 ?

Sure thing! Thanks!

@1ucian0 could you provide some help on how to get the circuit to be drawn with latex? I have fixed the errors in the mpl and the text drawers but seem to get the following error whenever I try to draw the circuit with latex -
WARNING: Unable to compile latex. Is "pdflatex" installed? Skipping latex circuit drawing...
FileNotFoundError: [WinError 2] The system cannot find the file specified

You need a way to compile latex. Do you have pdflatex installed?

Yes, that's the problem. It is installed -
Requirement already satisfied: pdflatex in e:\anaconda\envs\fixissue_env\lib\site-packages (0.1.3) and then too it isn't working.

@TheGupta2012 I had this problem once and even though I had pdflatex installed I had to do an install of TeX Live in order to get everything working.

Hi, @TheGupta2012. I'm just checking to see if you're still working on this. If you're having problems with the latex drawer, you could submit a draft PR with your mpl and text changes. If there's anything else I can help with on the latex install, let me know.

Hey @enavarro51  I did update my code for the issue but it was failing some local tests in visualization. Would you be able to help as to where I am going wrong in the updates?.
make test fails in visualizations for text based circuits. All my matplotlib circuits do pass in the binder notebook given in the contributing guidelines but I don't know where to check for the text and the latex based circuit tests? This commit shows the current code changes in my personal remote.


Matching request query should ignore the order of query parameters

Given the following simulation data in Hoverfly
"request": {
          "requestType": "recording",
          "path": "/api/bookings",
          "method": "POST",
          "destination": "www.my-test.com",
          "scheme": "",
          "query": "destination=newyork&class=business&class=premium",
          "body": "{\"flightId\": \"1\"}",
          "headers": {
            "Content-Type": [
              "application/json"
            ]
          }
        }
      }

It's supposed to match the following requests with same set of query parameters in any order:
http://www.my-test.com/api/bookings?destination=newyork&class=business&class=premium
http://www.my-test.com/api/bookings?class=business&class=premium&destination=newyork
http://www.my-test.com/api/bookings?class=premium&destination=newyork&class=business
But Hoverfly only does exact matching of the query string.

This has been fixed and is currently on master. I will resolve this issue once this fix has been released.
This bug is an interesting one. The fix I've implemented is the simplest fix. It involves sorting the query parameters at the time of hashing. This area of the could be improved by potentially replacing the query string with list/map of queries, similar to how we store headers.

Hey @tommysitu,
(v0.10.1)[https://github.com/SpectoLabs/hoverfly/releases/tag/v0.10.1] of Hoverfly has just been released which includes the relevant bug fix.


network: raise a clearer error when using CNI

print a clearer error message when an unprivileged user attempts to
create a network using CNI.
Closes: https://github.com/containers/libpod/issues/3118
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

good to merge?

/lgtm


bundle update

Coverage remained the same at 94.357% when pulling 0fa0a5487acc8f31750e65549d52cc3bdec2bd06 on sergio-ocon:gem_bump into accba259a0214ce23c8933021d187041155f9347 on propedeutica:master.


Make CancelSubscriptionView more flexible

This allows overriding the redirect_url attribute on it as well as
simply pass a ?next to it if you want to override it dynamically.
Closes #217

Codecov Report

Merging #418 into 1.0.0 will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff          @@
##           1.0.0   #418   +/-   ##
====================================
  Coverage    100%   100%
====================================
  Files         23     23
  Lines       1561   1572   +11
  Branches     185    186    +1
====================================
+ Hits        1561   1572   +11

Impacted Files
Coverage Δ

djstripe/views.py
100% <100%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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

Codecov Report

Merging #418 into 1.0.0 will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff          @@
##           1.0.0   #418   +/-   ##
====================================
  Coverage    100%   100%
====================================
  Files         23     23
  Lines       1561   1572   +11
  Branches     185    186    +1
====================================
+ Hits        1561   1572   +11

Impacted Files
Coverage Δ

djstripe/views.py
100% <100%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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

Awesome! Can you add the message pull up to every view and put get_redirect_url into a mixin that each view inherits?

Well not really, because it's pretty specific functionality to this view. Fixed the other notes


rasa_nlu.data_router  - Failure instance : When calling rasa_nlu docker from node request more than once

Rasa version: via docker version 0.15.0
Operating system : Ubuntu 18.4.2, 16gb of RAM
Content of configuration file (config.yml):
language: "fr"
pipeline:
- name: "nlp_spacy"
  model: "fr_core_news_md"
  case_sensitive: false
- name: "tokenizer_spacy"
- name: "intent_entity_featurizer_regex"
- name: "intent_featurizer_spacy"
- name: "ner_crf"
- name: "ner_duckling_http"
  url: "http://duckling:8000"
  dimensions: ["amount-of-money"]
  locale: "fr_FR"
- name: "intent_classifier_sklearn"

Issue:
Hello, i'm trying to simply train a model from a custom UI that I made
When I click on the button I call the function /create_model on the back end that will call the /train on a custom docker image rasa_nlu_fr like this :
var project_name = "project_name"
 var model_name = "model_name"

 var options = {
     url: 'http://localhost:5000/train?project='+project_name+'&model='+model_name,
     method: 'POST',
     headers: { 'content-type': 'application/x-yml' },
     body: fs.readFileSync('./rasa/nlu_config.yml','utf8'),
     encoding: null
 };

 request(options, (error, response, body) => {

     if (!error && response.statusCode == 200) {
         console.log("ok!")
         resp.json({ "text": "model "+model_name+", on projet "+project_name+", created."})
     }
     else
         console.log("problem.")
 });

I created a custom image of rasa_nlu to add french corpus like this :
    FROM rasa/rasa_nlu:stable-full
    RUN pip install https://github.com/explosion/spacy-models/releases/download/fr_core_news_md-2.0.0/fr_core_news_md-2.0.0.tar.gz --no-cache-dir > /dev/null \
        && python -m spacy link fr_core_news_md fr
    VOLUME ["/app/projects", "/app/logs", "/app/data"]
    EXPOSE 5000
    ENTRYPOINT ["./entrypoint.sh"]
    CMD ["start", "-c", "config.yml", "--path", "/app/projects"]

The problem is that when I click the button once it creates the model correctly no error no problem, but when I do it more than once I'm getting this:
r.merabtene@gop.link@LGOP2613:~/SG/socle_nlp/IHM/adminLTE/with_react/with_express/rasa$ sudo docker-compose up
Starting rasa_rasa_1     ... done
Starting rasa_duckling_1 ... done
Attaching to rasa_duckling_1, rasa_rasa_1
duckling_1  | no port specified, defaulting to port 8000
duckling_1  | Listening on http://<IP_ADDRESS>:8000
rasa_1      | 2019-05-23 09:11:47+0000 [-] Log opened.
rasa_1      | 2019-05-23 09:11:47+0000 [-] Site starting on 5000
rasa_1      | 2019-05-23 09:11:47+0000 [-] Starting factory <twisted.web.server.Site object at 0x7f2dac9c2ef0>
rasa_1      | 2019-05-23 09:12:32+0000 [-] 2019-05-23 09:12:32 WARNING  rasa_nlu.data_router  - [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.defer.CancelledError'>:
rasa_1      | 2019-05-23 09:12:32+0000 [-] ]

I have stop the container completely with :
    sudo docker stop $(sudo docker ps -a -q)
    sudo docker rm $(sudo docker ps -a -q)
    sudo docker system prune

So that it starts again to work :/
If anyone knows whats happening, thanks in advance for your help !

This cancelled error could be due to a timeout error or memory error or due to the fact that you've already got a training process running. Since this is related to building a custom UI though, i'd say it's more of a usage question and so it'd be great if you could post this on the forum instead :)


Add telemetry to sign up to mailing list on start page

To evaluate success of adding the link to the sign up page for our mailing list through our start page.

@luabud should this be closed since we are dropping our start page?

yes, thanks!
also thank you @DavidKutu for taking a look at it at the time and volunteering to help, you're very kind! 🤩


few questions

Hi there,
I am willing to test but before may I ask a few questions:

is GPU just recommended or necessary ? I intend to run a mulitcore machines.
can I use grid-engine like with Kaldi queue.pl ?
how does it take to train for 108hours tedlium 1 in your experience ?
how long would that take for 30hours of audio and do you think it is enough to get decent results ?
Cheers,
Vinny.

GPU is required
Yes
it depends on the performance of your GPU card. With a Tesla K80, it took 3 days
Probably not. My observation is that CTC performs better with large amounts of data


Upgrade Kubernetes-external-secret

Is your feature request related to a problem? Please describe.
The KES project is deprecated, because it has been moved to https://github.com/external-secrets/external-secrets. We should start using the new version.
Describe the solution you'd like
Replace the kubernetes-external-secrets helm chart with the new one: https://github.com/external-secrets/external-secrets/tree/main/deploy/charts/external-secrets
Upgrade corresponding values.

@staticvoid255 @j-zimnowoda please be aware the just replacing the chart is not gonna work (I tried). The "new" chart is actually another chart, with another interface. Please investigate what is needed and make a migration plan here first.

The reason this was picked up is that GU are encountering flaky syncing and must restart the kubernetes-external-secrets pod manually each time new secrets are created - this has proven to be highly disruptive as very few of us have access to do so, and I am receiving many comments about this every day.
I found that external-secrets exposes a generic SecretStore object, rather than specifying the backend in Helm values. The ExternalSecret definition has also changed to take a reference to this new SecretStore, so user secrets created with the old version will need to be migrated for sure.
Tasks for now:

SecretStore needs to be created after or during external-secrets install configuring Vault as the backend - how should I do this? I could add it to the external-secrets helm chart and pass in values through the .gotmpl - this seems ok to me as we don't install external-secrets without Vault, and vice versa, unless we plan on supporting such cases in the future.
Migration process for existing secrets / secrets created with old version - need advice, have no suggestions, what I do know is that at the very least ExternalSecrets require a secretStoreRef

There are other secrets properties like lifecycle that are new or have changed - I am still looking into this.
I believe it would be easier to just update to the newest release of kubernetes-external-secrets (8.5.5 vs our 6.1.0) and see if that solves the need for manual restarting, then migrate to external-secrets at a later date when there's less pressure.

So just restarting the pod helped, and that is a classic case of "have you tried turning ...?". And we were already at 8.5.5 we saw, so that leaves upgrading to the new controller. I saw no special labels on the resulting native k8s secrets, so I think I can carefully assume that they are only targeted by name, and we don't have to worry about pre-adoption of any resources. So the drop-in replacement we will realize is not impactful from an integration perspective.

We did turn it on and off again - that may have resulted in a successful sync this time, but does not actually solve issue and is not sustainable. The real issue is the default polling interval being set to 10 seconds resulting in overly aggressive pinging of the kube-api given the number of secrets. Recommend specifying an interval of 60+ seconds (5-10 minutes is common) in our defaults - I will create a PR for this.

I have been looking into this further with Jordi - we have encountered more issues where after creating a kubernetes-external-secrets.yaml file and specifying a polling value (and nothing else), it breaks. This issue is because our Helm chart is 6.1.0 (should be 8.5.5), but our image version is 8.5.5, hence why I thought our image version would be 6.1.0 because of their release strategy. Regardless, in the end this is because someone carelessly updated the image version in values without updating the Helm chart.
`➜  ~ ont -n vault logs -f kubernetes-external-secrets-685b59ff9b-stngd                                                                                >> team-ritense-otomi-aks-ont

<EMAIL_ADDRESS>start /app
./bin/daemon.js

{"level":30,"message_time":"2022-06-21T14:41:03.958Z","pid":17,"hostname":"kubernetes-external-secrets-685b59ff9b-stngd","payload":{},"msg":"loading kube specs"}
{"level":30,"message_time":"2022-06-21T14:41:06.443Z","pid":17,"hostname":"kubernetes-external-secrets-685b59ff9b-stngd","payload":{},"msg":"successfully loaded kube specs"}
{"level":30,"message_time":"2022-06-21T14:41:06.445Z","pid":17,"hostname":"kubernetes-external-secrets-685b59ff9b-stngd","payload":{},"msg":"verifiying CRD is installed"}
{"level":50,"message_time":"2022-06-21T14:41:16.545Z","pid":17,"hostname":"kubernetes-external-secrets-685b59ff9b-stngd","payload":{},"msg":"CRD installation check failed, statusCode: undefined"}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: ./bin/daemon.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/node/.npm/_logs/2022-06-21T14_41_16_640Z-debug.log`

also this, also related to using old helm chart:
camunda                     2m44s       ERROR, secrets "camunda" is forbidden: User "system:serviceaccount:vault:kubernetes-external-secrets" cannot get resource "secrets" in API group "" in the namespace "team-utrecht"                     91d
fluxcd-tenant-key           2m42s       ERROR, secrets "fluxcd-tenant-key" is forbidden: User "system:serviceaccount:vault:kubernetes-external-secrets" cannot get resource "secrets" in API group "" in the namespace "team-utrecht"           91d
gitlab-helm-internal-repo   2m42s       ERROR, secrets "gitlab-helm-internal-repo" is forbidden: User "system:serviceaccount:vault:kubernetes-external-secrets" cannot get resource "secrets" in API group "" in the namespace "team-utrecht"   91d
oauth2-proxy                2m43s       ERROR, secrets "oauth2-proxy" is forbidden: User "system:serviceaccount:vault:kubernetes-external-secrets" cannot get resource "secrets" in API group "" in the namespace "team-utrecht"                7d23h

This is fixed in the newest helm chart release by specifying the "get" verb for serviceaccount access to secrets in rbac.yaml

Regardless, in the end this is because someone carelessly updated the image version in values without updating the Helm chart.

You may diff the latest 8.5.5 chart against what we have now. If there are critical changes (like that rbac setting), please apply those diffs.

fixed in v0.16.9


fixed some grammatical errors

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

LGTM

Congrats @atomanonymous on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Research how to create gradle plugin with java code

Useful articles:

https://medium.com/@q2ad/custom-gradle-plugin-in-java-5d04866e9e53


Renaming packages beyond single letters

I've stayed with names like haptic/h and haptic/w forever; haptic/v, haptic/s, etc. This is cryptic! It's not very explicit to others what these packages are - being explicit is literally one of Haptic's core values.
It sounds odd, but this has also prevented me in the past from including other subpackages like haptic/util and haptic/dev since those break the standard single letter naming. That's not the only reason, another core value is trying to follow YAGNI and not fall into the dangerous rabbithole of overengineering and monorepos.
I don't want haptic/hyperscript. No one does that. Most libraries use "h" since that's the JSX standard import. I've picked haptic/element for now but might switch to haptic/render since "element" sometimes implies vanilla web custom-elements. However, "render" has a connotation of something you do a lot like "a render loop" in a game engine or in React - Haptic and friends Sinuous/Solid/S.js render once...
There's no change to bundle size since the bundle removes import names. 1563gz.
It's important developers are overwhelmed by multiple packages, repos, linking, dependencies, etc. Solid is a particularly bad example for trying to understand the source code. Here's the full extent I can see for Haptic:

haptic
haptic/dev
haptic/element
haptic/extras
haptic/wire

Dev will have a reactor registry, debugger, performance timing, and custom api.patch to show reactive elements on the page. Extras has when() and svg().

Beyond path names, are you considering changing some of the api names?
I'm thinking about how react uses useEffect instead of something like uE here.
So for wires the names could be wireReactor instead of wR.
This would have the drawback of larger bundle sizes though, and it might look a little ugly in actual code due to the way it's used, similar to how o and S looks a lot nicer than observable and subscribe when using sinuous.

Oh they are! They're exported as both the long name and short name. https://github.com/heyheyhello/haptic/blob/1dae6fcbf1a824a424eb5151e69d92a7d582cb3e/src/w/index.ts#L272-L276. So the bundle size is already considering the long names.
Yeah it looks a bit unwieldy to say
There are {wireReactor(data.count)} items
 but also wR is a bit cryptic.
I've actually been kicking myself that I preach explicitness but if you look under the hood at the properties on wire's signals and reactors it's... very terse. I have JSDoc comments at least but I admit it's not great.


Made scan description more accurate and linked to ref docs

Description:
Fixing an incorrect description

Coverage remained the same at 96.747% when pulling 6ba59d9ac2aec282297adba1f286e780df5a3e46 on jonahbron:patch-1 into f9318d898d6c017652a84202ccaebb440397016c on ReactiveX:master.

@benlesh Updated the URLs.


Add more icon choices for the weather display

Please add more choices for the weather icons...
The default one gets too big... Often bigger than the text.
Would love it if they were nearly identical to the Google's weather icons in their At a glance widget

Fixed the icons scale.


different PDF graph in different AWS account

Steps to reproduce
Tell us about your environment:

Puppeteer version:1.11.0
Platform / OS version: Ubantu
URLs (if applicable):
Node.js version: 8.11.4

i generate PDF using pupeteer. it shows perfect graph in one AWS account with same configuration,code  and version i have different AWS account but very rarely pupeteer generate blank graph. is there any kind of hint to solve this issue.

@AnkitLakhani what's a PDF graph?

graph which i render in PDF using chart.js library in canvas.

but very rarely pupeteer generate blank graph. is there any kind of hint to solve this issue.

I don't think there's any secret sauce here - looks more like an issue on the website side than on Puppeteer's. It's hard to say for sure unless there's a repro that illustrates the problem.


InvalidStatusCode Exception for Bittrex

Leaving Bittrex websocket connections opened for an extended period throws this exception: websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection
A possible solution is to catch this exception in the connection while loop.

Seems to be fixed now


[IR][SIBuilder]

Add SIBuilder to handle the span propagation between passes
Add SequentialSpan for multiple source expressions conversion between passes
Add test cases for SIBuilder and SequentialSpan

Hi community,
This is third part of TVM Explorer infrastructures. Based on this patch, we can tag source
information, the spans of source expressions, to the generated expressions during the pass transformations.
To give you more context, we briefly describe what have been done below in this PR. Here is the
list of main modifications:

Create a class SequentialSpan which is derived from Span.
Create a class SIBuilder to manage the span propagation during the pass transformations.
Use the pass context config, enable_si_builder to active SIBuilder.

You can reference to preRFC for more details. Thanks! :D

For your reference, here is the related links.
PreRFC in forum
https://github.com/apache/tvm-rfcs/pull/92
https://github.com/apache/tvm/issues/13116
@haowhsu-quic, @zack-ch

I wonder if it's relay specific. If so, could you please move it under relay's namespace

Hi @Hzfengsy,
Thank you for reply. :D
Although the span filling we have done are mainly in relay passes,  we also implement the functionalities for TIR in SIBuilder.
Perhaps it would be fine to tag with IR?
Thanks!

I wonder if it's relay specific. If so, could you please move it under relay's namespace

Hi @Hzfengsy,
Just a gentle ping, would you mind to review this PR. Or is there any other is recommended for this topic? Thank you :D

Sorry, I'm not an expert on Span system. cc @tqchen @junrushao

This PR introduces a potential issue as suggested by clang, which we might want to patch:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__memory/unique_ptr.h:48:5: warning: delete called on non-final 'tvm::SIBuilder::Impl' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete __ptr;
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__memory/unique_ptr.h:305:7: note: in instantiation of member function 'std::default_delete<tvm::SIBuilder::Impl>::operator()' requested here
      __ptr_.second()(__tmp);
      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__memory/unique_ptr.h:259:19: note: in instantiation of member function 'std::unique_ptr<tvm::SIBuilder::Impl>::reset' requested here
  ~unique_ptr() { reset(); }
                  ^
/Users/jshao/Projects/tvm-dev/src/ir/si_builder.cc:229:12: note: in instantiation of member function 'std::unique_ptr<tvm::SIBuilder::Impl>::~unique_ptr' requested here
SIBuilder::~SIBuilder() = default;
           ^


adding a graphic visual of event-rate to vPreProcess

also adding a port that can publish the value.

@francodipietro


Update pre-commit-config.yaml

Closes #526
Code Changes

[x] Updated the pre-commit-config.yaml file to run without Docker
[x] Added __init__.py files in the test directories so mypy can work with them porperly
[x] Added as mypy tests section to setup.cfg to all untyped defs in tests

Steps to Confirm

[ ] Run pre-commit install
[ ] Run pre-commit run -a and verify all hooks run

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
Documentation Updated:

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[x] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
The core of the changes are I removed the docker check because it is slow to run, and I make the hooks directly on the code outside of docker. The docker build is part of the CI check so it still gets checked, just outside of pre-commit.
There are several updates the hooks are wanting me to make when they run, mostly because they are running on the test directories also which isn't currently done. Before I go through and make any suggested updates I wanted to make sure this change is something that would be wanted.

@sanders41 I agree that the pre-commits can be slow, I honestly don't use them and just do a make check-all before each commit.
The main thinking behind this was to make sure that our local checks are the same as CI, so we don't have to do any "debug via CI" madness, but I also get it isn't great from a dev flow perspective.
I'm thinking that #518 might alleviate some of these issues so its probably worth waiting until that gets shipped to then fix up the pre-commit. How does that solution feel?
Thanks for doing this by the way!

Just throwing in my $0.02 - we could always nix the third party tool and switch to git-native pre-commit hooks 👀

I'm certainly open to any option. The thing I like about per-commit is is you don't have to think about it, any time you commit it runs so you can't forget. That said if you do forget, CI will still catch things so not the end of the world.
@PSalant726 advantages I see to pre-commit installing the hooks are a couple. First it make sure everyone is using the same hooks with the same settings (including automatically updating the hooks when the config file is updated. Second it makes it really easy, pre-commit install vs needing to know how to install them yourself.

@sanders41 is this worth revisiting now? I think I can take a swing at it now that the other PRs are closed

I would say yes. I think pre-commit is really nice.

closing for now, will revisit in the future though


@DisallowReplay on a single Event Handling Components blocks replay of the entire StreamingEventProcessor

Basic information
If an event-processor is used in multiple service-classes and one of those classes is annotated with @AllowReplay(false), the processor is no longer replayable, but it should.

Axon Framework version: 4.9.1
JDK version:  17.0.8 2023-07-18
Complete executable reproducer if available (e.g. GitHub Repo): https://github.com/CptCheesebeard/axon-bugreport-allowreplay

Steps to reproduce

Create two service classes with the same ProcessingGroup and some EventListeners
One of those service classes only contains EventListeners with @AllowReplay(false)
Start a replay of the shared ProcessingGroup

this situation is shown in the provided example project

Expected behaviour
The EventProcessor should start the replay and ignore all EventListener that are not allowed to replay.
Actual behaviour
When trying to start the replay, the following exception is thrown.
Unexpected exception thrown: java.lang.IllegalStateException: The handlers assigned to this Processor do not support a reset
Possible commit when the issue was added
https://github.com/AxonFramework/AxonFramework/pull/2769
Pull Request
https://github.com/AxonFramework/AxonFramework/pull/2957

Although bothersome, this is a great find, @CptCheesebeard!
Furthermore, I see you have provided a fix for the predicament as well, in PR #2957.
Note I have added the right labels and attached this issue to milestone 4.9.2.

I am closing this issue since it has been resolved through pull request #2957.
Thanks again for your effort on both the issue and the pull request, @CptCheesebeard!


How to access/expose the service without the kubectl proxy command?

Hey,
first of all thank you very much for this great example. It works really well and except for some of the podinfo values not being documented here very well, it‘s easy to follow.
I think it could be extended a little, because I feel like I would not always (never) expose my service with a custom proxy command.
How would I point the installed ingress to my service and make it handle traffic over the internet? (Or in my clusters network)

I feel like it should be one command or file or change and a description, what IP to use then etc.
I‘m lost here.

This is kind of a general Kubernetes question, I have some supportive docs I can help you with, however since this is not a Flux issue, I don't want to get into too much detail here. (Big welcome to the Kubernetes community!)
You're right that port-forward is not a very helpful solution, it is like a patch cable. It doesn't expose anything to the internet, just to your local machine, and it does not take account of service routing for longer than the instant it takes to connect to one pod behind the service. The port-forward is really a quick kludge to get you to see proof that your service is running.
Are you by any chance using a Kind cluster? If so, there are some specific targeted docs for Kind that I've been using to expose Kind services to my local machine via an ingress, and they're really useful here. https://kind.sigs.k8s.io/docs/user/ingress/
There are similar docs there for setting up a load balancer or what have you, other options for getting traffic into your cluster that you might have considered. I use metallb on my local network to provision LoadBalancer services, and usually use the ingress-nginx project or traefik as my front-end, allowing for me to use one single LoadBalancer IP and reuse it for several different hosts.
I would like to help you, but I don't want to generate noise on the Flux repos unrelated to Flux. So I am going to close this as off-topic, but I'm also afraid to seem unwelcoming for someone new in the community, so I will say directly that you're welcome to find me in the CNCF Slack (#flux) channel and ask for more help there if you remain stuck! There are also many great channels in the Kubernetes slack. I think both are open for sign-ups from the general public. See you later and good luck with the journey!


Rename content/github/setting-up-and-managing-your-github-user-accoun…

…t/maintaining-ownership-continuity-of-your-user-accounts-repositories.md to Contenido/Github/configuración y administración-su-github-usuario-cuenta/maintaining-ownership-continuity-of-your-user-accounts-repositories.md
asesor github

Why:

What's being changed:

Check off the following:

[ ] All of the tests are passing.
[ ] I have reviewed my changes in staging.
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

hello such my name is Jorge I am very happy that almost left this project is for me a great pleasure to be on your team tell you that for contributions do not worry
I have everything written down and I never give myself up for ill-served and thank you
ATT..... techshoppimg11.....
Enviado desde Correohttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows 10
De<EMAIL_ADDRESS>Enviado: viernes, 30 de octubre de 2020 03:59 p. m.
Para<EMAIL_ADDRESS>CC: @techshopping11<EMAIL_ADDRESS><EMAIL_ADDRESS>Asunto: Re: [github/docs] Rename content/github/setting-up-and-managing-your-github-user-accoun… (#937)
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelineshttps://github.com/github/docs/blob/main/CONTRIBUTING.md.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/github/docs/pull/937#issuecomment-719818943, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AROC3UWDTSSEIJDOJMYGZ7LSNMZMVANCNFSM4TFO2PSA.

Remove PR de la placa de proyecto FR


Step 1 of build up profile handler for testing CI

@nirarg @amalykhi @yasun1 Can you please review? It's just step 1. And I prefer it can be merged to unblock others.

besides previous comments - /lgtm

/lgtm

/lgtm

/lgtm

/approve


Drawer causes header title to disappear, possibly has wrong font

Using the latest version (beta 5: https://www.npmjs.com/package/react-navigation)

The header title disappears when the drawer is opened. It should stay visible and change only when the user selects a new screen.
The font used for header items doesn't look like the standard iOS font? Not sure if it is but looked strange to me.

(This is a followup after https://github.com/react-community/react-navigation/issues/216 was fixed. It's now broken in a different way than before so creating a new issue.)

The font used for header items doesn't look like the standard iOS font? Not sure if it is but looked strange to me.

Haven't looked at them too closely, but font used is system, so if anything is broken, it might be the letter spacing or font weight that's slightly different.

I believe this is because DrawerNavigator uses TabNavigator behind the scenes, with two routes, DrawerOpen and DrawerClosed, the first one is null. That explains why title disappears. Not sure if that was intentional though.

Hi, any updates on this issue? I would like to contribute to the issue fix. It would help if you could guide me a little on how to go about that. Thanks

Doesn't it make more sense to have the drawer open up over the header? I know it's a slightly different issue and there are talks in other tickets for DrawerNavigator to have its own built in header. This just seems odd from a navigation standpoint though.

I am not facing this issue, even though I am using both drawer and stack navigators together, drawer would be the parent navigator in my case.

Is this still an issue? I have a Drawer navigator as my main navigator with Stack Navigators nested. I don't have this issue.

@nonameolsson I think it happens when DrawerNavigator is inside a StackNavigator

@cwagner22 Oh. I have never tried that. Only nesting stack navigators inside a drawer.

Any developments on this? Im searching a workaround but no luck yet.

I copied the drawer code in the example Expo app and made some changes to show this bug. The resulting code can be found here: https://github.com/slhawkins/drawer-in-stack-example.
I saw two possible workarounds for this. Both require the StackNavigator the Drawer is inside to have headerMode set to 'none'. From there, you can either nest each screen inside a StackNavigator with the headerMode set to something other than 'none', or you can use a custom header for everyone screen in the Drawer. In either case, I would probably create a simple component to wrap everything in, and then use a utility function that takes the DrawerNavigator route options and returns a new set of options with every screen wrapped appropriately. That would make it easy to remove the workaround once this is fixed.

this happens if you nest a DrawerNavigator in a StackNavigator and actually I don't think this is a bug. You just need to hide the header for the drawerNavigator:
const doNotShowHeaderOption = {
  navigationOptions: {
    header: null,
  },
};
const MyDrawer = DrawerNavigator(
  {
    // screens here
  }
);

const MainStack = initialRouteName =>
  StackNavigator(
    {
      Drawer: {
        screen: MyDrawer,
        ...doNotShowHeaderOption,
      },

@nonameolsson can I see your code on how you implement the drawer navigator with nested stack navigator?

+1

Guys I suggest you take a look at the Intermediate Concepts linked in the README for some complex Drawer examples.
I'm not sure this issue should still be open :/

Hi @kelset !
As you mentioned, this issue looks more like a misunderstanding of the documentation than a real issue. Also there is no code to check how it was implemented.
In the first comment @grabbou explained the reasons why the tittle is not shown and almost at the end @vonovak gave a correct example of the Drawer usage.
I believe this issue should be removed from the Roadmap too.
Thanks!

@kelset i have checked examples provided by you, but still have no solution for the same issue. I have a clickable example with the code. Problem: when opening drawer, header disappears.

@ericvicenti I have tried your solution. That works. I mean it gives me the header title. But what about the background color and tintColor? I have supplied those properties to stackNavigator and I want them to remain the same in either cases. i.e. if drawer is opened or not, I want to see those properties as set by header.

Same error https://github.com/react-navigation/react-navigation/issues/3571

you won't have this issue on 2.0


Included documentation for dc.js

Added brief details and set up instructions.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Hi @bspai
It seems that similar changes have already been accepted earlier for this article you're editing, sorry about that. 😓
If you feel you have more to add, please feel free to open up a new PR.
Thanks again! 😊

If you have any questions, feel free to reach out through Gitter or by commenting below. 💬


Setting default value on specific page types

Is there a way to set the SEOSitemaps property to be disabled on specific pagetypes? I have tried setting the serialized string value of the property in the get method but it doesn't use that value it seems.
This is what I have tried
public virtual string SEOSitemaps {
            get
            {
                var sitemapSetting = this.GetPropertyValue(x => x.SEOSitemaps);
                if (this.PageTypeName == "InformationPage")
                {
                    return string.IsNullOrWhiteSpace(sitemapSetting) ? "<SEOSitemaps><enabled>False</enabled><changefreq>weekly</changefreq><priority>0.5</priority></SEOSitemaps>" : sitemapSetting;
                }
                return sitemapSetting;
            }
            set
            {
                this.SetPropertyValue(b => b.SEOSitemaps, value);
            }
        }

Use override SetDefaultValues:
public override void SetDefaultValues(ContentType contentType)  {             base.SetDefaultValues(contentType);             this.SEOSitemaps = "<SEOSitemaps><enabled>False</enabled><changefreq>never</changefreq><priority>0.0</priority></SEOSitemaps>";         }
It would be nice if Geta would have some public methods, so we could do this:
public override void SetDefaultValues(ContentType contentType) {             base.SetDefaultValues(contentType);             var sitemap = new PropertySEOSitemaps             {                 Enabled = false             };             this.SEOSitemaps = sitemap.Serialize(); }

I see that PropertySEOSitemaps has Serialize as a public method: https://github.com/Geta/SEO.Sitemaps/blob/bddff176af2a9503e625f1d44bd78b73ac3f6217/src/Geta.SEO.Sitemaps/SpecializedProperties/PropertySEOSitemaps.cs#L100
Doesn't it work?

I'm confused how this is to be used? The Serialize() method sets the protected String property, which can't be read and used to set the new property's value.

@marisks Serialize() is public but it's void. It writes to a property that is not public.
Is there no way to exclude specific page types?

For reference this works:
        public override void SetDefaultValues(ContentType contentType)
        {
            base.SetDefaultValues(contentType);
            var sitemap = new PropertySEOSitemaps
            {
                Enabled = false
            };
            sitemap.Serialize();
            this.SEOSitemaps = sitemap.ToString();
        }

Thanks @MarkMcDonald , I added it to the readme and made an example in the sample site
https://github.com/Geta/SEO.Sitemaps#set-default-value


chore: clean up types, address name overwrite

closes #214

@JarbasAl Is there a particular reason to pin rapidfuzz to 3.6.x, or was that just Dependabot going wild? Are there features we need in utils that are only available in the newest version? Did we drop compat with 2.x?

Converting to a draft, because this has the potential to be very breaking, and Jarbas suggested maybe we deprecate portions of it anyway. This shouldn't merge until after ovos-core 0.0.8 is released


Further implementation of stylix.imageScalingMode

Fixes #677
Presently, stylix.imageScalingMode only has an effect on sway. This PR implements it for

swaylock
wpaperd
GNOME

Marked as draft because:

I want to add support for KDE, but am unsure how.
GNOME implementation is untested.
I personally use Hyprland, so I can't very easily test this. I struggled to find information on what the available background modes actually do. I found this list of available modes.

Let me know if there's any other apps that should support this option.

Marked as draft because:

I want to add support for KDE, but am unsure how.

I am not very familiar with the KDE ecosystem. @danth, might be more helpful here.

GNOME implementation is untested.
I personally use Hyprland, so I can't very easily test this.

Consider using testbeds. Note that https://github.com/danth/stylix/pull/612 already adds testbeds for various applications.

Let me know if there's any other apps that should support this option.

The following modules rely on stylix.image:
$ rg --files-with-matches stylix\.image modules | sort
modules/feh/hm.nix
modules/feh/nixos.nix
modules/gnome/hm.nix
modules/gnome/nixos.nix
modules/grub/nixos.nix
modules/hyprlock/hm.nix
modules/hyprpaper/hm.nix
modules/i3/hm.nix
modules/kde/hm.nix
modules/lightdm/nixos.nix
modules/regreet/nixos.nix
modules/sway/hm.nix
modules/swaylock/hm.nix
modules/wpaperd/hm.nix

So I can avoid some headaches: does this repo have a standard format/formatter?

The testbed is confusing me--how can I adjust the stylix configuration that's being used in the VM?

So I can avoid some headaches: does this repo have a standard format/formatter?

In order to declutter the commit history, avoid formatting changes, as they will be superseded by https://github.com/danth/stylix/pull/519 in the future.

how can I adjust the stylix configuration that's being used in the VM?

Testbeds are implemented in /stylix/testbed.nix. For more testbed examples, consider looking at https://github.com/danth/stylix/pull/612.

For KDE: it doesn't look like a look-and-feel can change the image fill mode...? this is very poorly documented

Anything else?


added templateWrap callback option and strictMode boolean option

I think that it is useful if the developer can decide how the templates are registered. This allows them to use a different caching service, or even generate a json file (for example) with the templates instead of a js file.

This would be great please merge this!

Any plan to accept/review this PR? Must have feature :)

@taylorcode Sorry for the delay.  I'm down for merging this, but would need the forked changes in your README.md and package.json reset ;)

Can anyone here help with #137?

@taylorcode taking a look at this, and I really like the feature. Just had one question, and would request one or more tests for it. Also would you mind backing out the fork-specific changes to the README and package.json? Thanks!

This also needs rebase


Fixes issues with handling incorrect number of command arguments with JRuby

It looks like Thor decides how command argument errors are handled based on exception backtraces.  After taking a closer look, JRuby backtraces include references to Java source code that disrupt handle_argument_error?.  In order to address this, I added an additional filter to the backtrace that rejects Java source files if RUBY_PLATFORM matches /java/.
This patch is meant to resolve #179 and makes the specs below pass with JRuby.  Any alternate solutions or feedback are welcome.
rspec ./spec/group_spec.rb:34 # Thor::Group#start raises an error when a Thor group task expects arguments
rspec ./spec/group_spec.rb:128 # Thor::Group#invoke_from_option with default type allows to invoke a class from the class binding by the given option
rspec ./spec/runner_spec.rb:107 # Thor::Runner#start does not swallow Thor::Group InvocationError
rspec ./spec/runner_spec.rb:112 # Thor::Runner#start does not swallow Thor InvocationError
rspec ./spec/thor_spec.rb:174 # Thor#start raises an error if a required param is not provided
rspec ./spec/thor_spec.rb:204 # Thor Thor#start when the user enters an unambiguous substring of a command should invoke a command, even when there's an alias the resolves to the same command

I am willing to accept this, and half-wrote this fix myself, but I am extremely unhappy with the heuristic being used here. We should strip this down and try to rethink what we're doing here in the first place.

I should note that this doesn't fix similar issues with Rubinius, and it's harder to fix Rubinius.

I definitely can't disagree.


How to set a camera using H.265 encoding.

Hi, I was trying to display a Hikvision camera with H.265 encoding.
I've installed ffmpeg by homebrew as follow:
brew install ffmpeg --with-x265

And here's my configuration.
"platforms": [
  {
    "platform": "Camera-ffmpeg",
    "cameras": [
      {
        "name": "Gate Camera",
        "videoConfig": {
          "source": "-re -i  rtsp://admin:password@<IP_ADDRESS>:554/Streaming/Channels/1",
          "maxStreams": 2,
          "maxWidth": 2560,
          "maxHeight": 1440,
          "maxFPS": 25,
          "vcodec": "libx265"
        }
      }
    ]
  }
]

Any idea? Thanks.
PS. The VLC media player can play the rtsp link correctly without any lag.

@olliwang did you have any success with this? I would like to do the same. Thanks!

the vcodec still needs to be x264. That's for transcoding, not input format.


CPython vs PyBind11 performance

I did exactly as instructed. There is a huge difference in performance between CPython and PyBind11 approach.
Running benchmarks with COUNT = 500000
[tanh(x) for x in d] (Python implementation) took 0.570 seconds
[fast_tanh(x) for x in d] (CPython C++ extension) took 0.157 seconds
[fast_tanh2(x) for x in d] (PyBind11 C++ extension) took 13.368 seconds
Visual C++ 2017
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32

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

ID: 40e3b6b1-a3d2-f4f2-b1ad-dd654a062343
Version Independent ID: b2418b84-04f4-60d2-ec1d-291a5d4d0c51
Content: Write C++ extensions for Python - Visual Studio (Windows)
Content Source: docs/python/working-with-c-cpp-python-in-visual-studio.md
Product: visual-studio-windows
Technology: vs-python
GitHub Login: @ijoosong
Microsoft Alias: joesong

@GilbertSchuurman -- Gilbert, thank you for your feedback.  This is a product issue more than a documentation issue -- please add it here:

Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE.
Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Change email.template.txt without modifying the core one

Is there a way to use a copy of this file, so it would not be overwritten when the plugin is updated?
Thanks

This is a very good point. I’ll see, what alternatives would be best. Suggestion are most welcome.

Perhaps making it a snippet? I was happy to see I could override comments.php by copying it in the right folder :)

Yes, the comments.php snippet serves as a production ready example usage of the Kirby Comments plugin, so users of the plugin are encouraged to use it as such an example and write their own comments form/list.
I’m still unsure about the correct method of storing the email template (snippet, template, page, configuration, …).

This is now fixed in 1.1.5.
The best solution I found was declaring the email.template.txt file as plugin asset, so users can create alternative assets in assets/plugins/comments/. Instructions on how to customise the email-body-template file can be found in the README. More about customising plugin assets in the Kirby docs.


Return result of 'fill' method

The parent implementation of fill returns the value.
If the value is a valid callable than it is executed after the model is saved. This is helpful when dealing with complex relationships.

@kaareloun can we get this tagged in a release?


Did you tried to separate the frontend in a different project?

What would you make different if it will be to separate the frontend in a different project?
I think X-CSRF-TOKEN is no more needed if axios is used with preflight on frontend.
...and I am a bit confused about how you use Passport (I came to your git specifically for this problem I have). I can't find where you set the Authorization header based on access_token from oauth/token, but I see that on Login, you use csrfToken as in  `if($this->auth->attempt($loginInfo)) {
$apiCookie = $this->cookie->make($this->auth->user()->getKey(), $csrfToken);
  return $this->response->success($this->repository->currentUser())->withCookie($apiCookie);
} `

Cheers!

So for this project I decided to create an API that my own project could consume, and I initially set out to authenticate my app with the API via the Oauth password grant type.
However, looking at this section of the Laravel docs told me that a much simpler way to do this would be to use the JWT identifier that Passport provides, and sending that cookie along with every request to the API.
The usual method of doing this that the docs describe is by wrapping your web routes in the CreateFreshApiToken middleware. This ensures that the laravel_token cookie is always set/refreshed. However this would require a full refresh between login/signup and visiting the app for the middleware to provide the token.
My solution was to look at how Passport creates this cookie internally, I found that it was done via the Laravel\Passport\ApiTokenCookieFactory class. So I inject this class into my LoginService and then return a 200 response with the laravel_token cookie created by this class to identify my user.
As for moving the front-end to a different project, I think you could still use this set-up as long as the production domain for the front-end and back-end are the same, since that would allow you to share the laravel_token cookie. You would still need the CSRF token as Passport requires this token to construct the JWT.
I have yet to implement a full Oauth service on this project, I will in the future but right now I want to focus on other aspects of the project.

Closing this but feel free to ask more here


Update about-billing-for-github-actions.md

Why:
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):
Fixes a small typo in the Minute multipliers sub-section. (that -> than).
Check off the following:

[ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[X] For content changes, I have completed the self-review checklist.

@MSWS Thank you so much for opening a PR! ✨
While we unfortunately won't be able to accept this PR given the sentence being updated makes sense with the original "that" rather than the proposed "than", we greatly appreciate your willingness to contribute 💛
If you're looking for another issue to pick up, take a look at our help wanted section to find open issues you can work on ✨


JAAS initializer regression

Fix JAAS initializer with setting the missing properties.
Resoves #419
Once this PR is merged and backported to 2.0.x, we will have to address https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/420 on master branch.

Merged as 7007f9494a2f43e066141dda90c85cde62a83f1c, doesn't cherry-pick cleanly; needs work on 2.0.x.

@garyrussell cherry-picked the commits to 2.0.x after fixing the conflicts.


[OF-1359] refac: Update the hotspot component type properties

OF-1359 refac: Update the hotspot component type properties

Removed the hotspot space component get/set hotspot type methods and associated property
Removed the enum for HotspotType
Added get/set IsTeleportPoint and IsSpawnPoint methods both storing their values in boolean properties
Updated the hotspot space component script interface
Updated the hostspot space component tests

For the reviewer

[ ] If required, are the changes covered by appropriate tests?
[ ] Are any public-facing API changes well documented?
[ ] Is the code easily readable and extensible and/or follow existing conventions?

Will create a new PR off develop


Decide what to do with the strings (And possibly other configuration)

I am not a fan of strings.py module - I feel like it should all be loaded from an external file instead.
Python discord bot (https://github.com/python-discord/bot/tree/master/bot) uses YAML files for various config, could do the same... but on the other hand, that same bot uses hardcoded message strings spread across all modules, which is probably not the best solution.

Added a new resource strings.yaml, and a metaclass to automatically load the values.


ArcPolyline severity of arc

I know that there is a way to change the height of an ArcPolyline, but does this affect the severity of the arc? I want to make a very gradual arc, even if the arc is tall/long. Also, the default arc, when vertical, can end lower than the top of the arc visually on screen. (See below) Is there a way to not allow this? Thank you.

@11samype Good question.  Right now, the severity can be controlled by the height of the arc (using a distanceToHeight function).  I believe using a smaller height value will solve your issues, since when the arcs are more vertical it will move the peak down, but I will also look into ways of making this easier to customize.  Adding additional configuration options should be easy and something I can add in the next day or two.

Thank you for the quick response. I will mess around with the distanceToHeight function. Any additional configuration options would be much appreciated.

I've gone ahead and tried using a LinearFunction with ArcPolyline but am not getting what I am looking for. Box 1 shows what I want each end of my arc to basically look like. At box 2 you can see that even with a reduced height the arc still goes down. At box 3, you can see some odd behavior that happens sometimes. Not sure why.

I really would like to keep the arc quite tall but just have it come back down in a manner that doesn't show the peak vertically. Thanks for the help.

@11samype The way the arcs appear now is due to using cubic bezier curves.  I'll play around with supporting quadratic bezier curves (through a config flag), which might look better from your perspective.

Fantastic! Thank you for your time

@11samype With the latest 1.0dev commits you should be able to change the ArcedPolyline to use quadratic bezier curves rather than cubic bezier curves by setting the mode option to 'Q'.  Let me know  if this makes things better for you appearance-wise.

Will that work with Leaflet 0.7.x?

Oh sorry, I'll apply these changes to the master branch as well.
On Tuesday, September 29, 2015, Peter Samyn<EMAIL_ADDRESS>wrote:

Will that work with Leaflet 0.7.x?
—
Reply to this email directly or view it on GitHub
https://github.com/humangeo/leaflet-dvf/issues/72#issuecomment-144069045
.

Thanks

@11samype Do things look better when you use the 'Q' option?

Yes, I've spent some time with it and am very happy with how it looks. Thank you for the extra effort.

No problem.  Glad it's looking better!


Add CredentialRef property to NutanixDatacenterConfig CRD

The design proposal for the new field can be found in the following PR https://github.com/aws/eks-anywhere/pull/5092
The credentials are handled as follows:

The credentials used by EKS-A are stored under the name "nutanix-credentials" if not explicitly defined in NutanixDatacenterConfig
The credentials used by CAPX continue to use the name of the cluster
A validating webhook rejects NutanixDatacenterConfig if credentialRef is not set appropriately during creation
A validating webhooks rejects updation if the updation removes the credentialRef
NutanixDatacenterReconciler adds default credentialRef if credentialRef not set

How has this been tested?
Used a bundle-release.yaml where:

eksa.components.uri has been substituted https://raw.githubusercontent.com/aws/eks-anywhere/d2b51fc932337df243b19a90afe2cc844d4b6d3c/eksa-components.yaml
clusterController image is set to public.ecr.aws/g7v6l0u0/eks-anywhere-cluster-controller:nutanix

The substituted eksa-components.yaml file has these changes

Uses the updated version of NutanixDatacenterConfig CRDs with credentialRef property
Uses updated version of image of eksa-controller-manager with webhooks and nutanixdatacenterconfig reconciler public.ecr.aws/g7v6l0u0/eks-anywhere-cluster-controller:nutanix

Created a new cluster successfully using
bin/eksctl-anywhere create cluster -f ./${CLUSTER_NAME}.yaml --force-cleanup -v 10  --bundles-override ./bundle-release.yaml

/ok-to-test

/assign @abhinavmpandey08

Hmm, the unit tests are passing locally https://app.warp.dev/block/dCSZGRlrQQQVIQS0iiuYdv but seems like a tinkerbell test is failing in CI
--- FAIL: TestReconcilerValidateHardwareNoHardware (0.04s)
[288](https://prow.eks.amazonaws.com/view/s3/prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp/pr-logs/pull/aws_eks-anywhere/5114/eks-anywhere-presubmit/1632531196862795776#2:build-container-build-log.txt%3A288)
    reconciler_test.go:500:
[289](https://prow.eks.amazonaws.com/view/s3/prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp/pr-logs/pull/aws_eks-anywhere/5114/eks-anywhere-presubmit/1632531196862795776#2:build-container-build-log.txt%3A289)
        Expected
[290](https://prow.eks.amazonaws.com/view/s3/prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp/pr-logs/pull/aws_eks-anywhere/5114/eks-anywhere-presubmit/1632531196862795776#2:build-container-build-log.txt%3A290)
            <string>: minimum hardware count not met for selector '{"type":"worker"}': have 0, require 1
[291](https://prow.eks.amazonaws.com/view/s3/prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp/pr-logs/pull/aws_eks-anywhere/5114/eks-anywhere-presubmit/1632531196862795776#2:build-container-build-log.txt%3A291)
        to contain substring
[292](https://prow.eks.amazonaws.com/view/s3/prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp/pr-logs/pull/aws_eks-anywhere/5114/eks-anywhere-presubmit/1632531196862795776#2:build-container-build-log.txt%3A292)
            <string>: minimum hardware count not met for selector '{"type":"cp"}': have 0, require 1
            ```

/retest

/retest

/retest

/retest


Add timestamps to logs

Changes Introduced
Adds a timestamp to the log outputs
Applicable linked issues
N/A
Checklist (check all that apply)

[X] This change maintains backwards compatibility
[ ] I have introduced tests for all new features and changes
[ ] I have added documentation covering all new features and changes
[X] This pull-request is ready for review

Codecov Report

Merging #110 (5e970ed) into main (7f292fa) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #110      +/-   ##
==========================================
- Coverage   89.08%   89.01%   -0.08%
==========================================
  Files          87       87
  Lines        2830     2830
  Branches       80       80
==========================================
- Hits         2521     2519       -2
- Misses        309      311       +2

Impacted Files
Coverage Δ

...nesis/mock/api/RegisterStreamConsumerRequest.scala
94.28% <0.00%> (-5.72%)
:arrow_down:

Continue to review full report at Codecov.

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


[Feature]: Json Array / postgres text[] type handling

Is there an existing issue for this?

[X] I have searched the existing issues

Summary

I have this Array of string in postgres that represents multiple choices, they can't be an enum since they are different for every entry (the overlap is insignificant), and then they need to be parsed as such with a helper function to be inserted into postgres:
const data = JSON.parse(jsonInput);
const pgArray = `{${data.map(item => `"${item}"`).join(", ")}}`;

Field type Array makes a mess of it as it creates list of objects and this is not what we need and to be honest, if I am not mistaken there is a bug there at the moment because selecting it does not allow for inputting any values:

the input field for the value cant be clicked for some reason
A workaround I have currently is converting the list to a csv for easy human inputting:
return inputArray.map(item => ({"": item}));

and on the update query I convert it to a pgarray:
const items = inputArray.map(obj => `"${Object.values(obj)[0]}"`);
const pgArray = `{${items.join(", ")}}`;

Why should this be worked on?
Because it is a very common use of data types and a huge hassle at the moment on both projects that I have going with Appsmith and I can imagine it affects more people

@thebadking to understand this correctly, you are looking to automatically handle text arrays so that when they are inserted, appsmith converts the javascript array into { "a", "b", "c" }
Did I get that right?

Yes, back and forward between the Postgres Array and appsmith array, because it requires conversion to insert to the DB


Update Geoprocessing.js

Seems like an error in the author's code as request calls need to be directed to _service

thanks for this @pauldzy


Update message & access Imageview from PhotoMessageModel

Hi @AntonPalich / Chatto team,
I have creating chat view in my application & which have two way messaging , So i have two requirement/ want to help regarding
a) I want to access imageview of PhotoMessageModel for show image from server.
b) If already added message in chatview & i want to specific message for status update.
So any help/suggestion for these two topic/requirement
Thanks

Hi @AntonPalich /Chatto team,
I have new issue with status,
i already creating model with .success status but sometime (most likely) sended photo with red icon
my code is below:
let messageModel =  self.makeMessageModel(postObject.id, isIncoming: isComing, type: PhotoMessageModel.chatItemType,messageStatus: .success)
let photoMessageModel = ChatPhotoMessageModel(messageModel: messageModel, imageSize: imageSize, image: image)
photoMessageModel.status = .success

Any help
Thanks


chore: ensure statsig / analytics / i18n initialised before rendering app

Description
Satish alerted me to this 'Statsig', 'getExperimentParams: Error getting params for experiment: dapps_filters_and_search', [Error: Call and wait for initialize() to finish first.] error that occurs on app start every time. This error occurs because the root saga kicks off the dapps saga which kicks off the saga to fetch the dapps list. We query statsig for the experiment variables in this fetch dapps list saga. All of this happens when the redux store is initialised, which is actually before the AppInitGate.
We essentially need to sync the "side effects" and "render" parts of the app.
This PR:

await sentry / analytics / i18n in app init saga
ensure AppInitGate waits for all sagas to finish initialising before starting the "render" part of the app
ensure that analytics and i18n are not referenced before the AppInitGate

Test plan
Actually this error only happens on app load, there are subsequent requests to fetch the dapps list which succeed. So no visible impact, experiment should work as usual. The error is no longer logged, and the app does not feel slower to start.
Related issues
n/a
Backwards compatibility
Y

@jeanregisser @cajubelt @satish-ravi @MuckT @silasbw this PR took a turn today as i went deeper down this rabbit hole.
i was trying to ensure that the correct tools were initialised before they were referenced, but found the i18n + analytics were both being referenced in the App.tsx and sagas. this kind of defeats the purpose of having an AppInitGate.
i bounced these ideas around with Jean to check that i'm not totally crazy. the key changes:

the app init saga should be the place where we initialise app wide tools, this is executed first before spawning the rest of the sagas. this includes sentry, analytics, i18n so far.
the AppInitGate's purpose now is to block the app from rendering until the sagas are spawned. it also starts the analytics session and attaches deep link handlers - these tasks were done by App.tsx before, which was racy since analytics and firebase weren't guaranteed to have initialised yet
the app_launched event now effectively tracks the performance impact that i was interested in, so no need to add a new event


Staking: add a label to validators who are also observers

Fixed in https://github.com/zeta-chain/example-frontend/pull/19


docs: Update the Traffic tapping configuration

The option 'envoy.config.tap.v3.TapConfig.match_config' has been marked deprecated by the commit 520389e677cd ("tap: factor out the TAP filter matcher for later reuse in other filters (#12429)").
Update the option to 'envoy.config.tap.v3.TapConfig.match'.

hi @haiyuewa thanks for raising this
we have been gradually moving all of our (bootstrap) config out of rst and into yaml - this ensures that the config is tested and doesnt go stale
would you be willing to shift these to yaml ?
you can find exsiting examples where the config has been separated with:
$ git grep literalinclude docs/

im happy to help if needed

@phlax
By my understanding:

Add a dir '_include' into 'docs/root/operations'.
Put my workable yaml into it.
Then change to 'literalinclude'.

Right ?

yep - thats basically the gist - you will probably need to wrap the config with bootstrap boilerplate - ie listeners/clusters/etc
with the literalinclude there are a few options - not all are currently used in all examples - but ideally we want:

only relevant lines showing
caption/download for the config file itself
optionally highlighting of significant lines

i should probably write this up somewhere as it comes up a lot

cc @kanurag94

Yes, I found the format. I will submit a new patch about 'Traffic tapping' as a start.
.. literalinclude:: _include/http-cache-configuration.yaml
:language: yaml
:lines: 29-34
:linenos:
:lineno-start: 29
:caption: :download:http-cache-configuration.yaml <_include/http-cache-configuration.yaml>

great, thanks @haiyuewa
re patch, i would just update this pr (perhaps i misunderstand)

nice work @haiyuewa docs are buiilding - just a couple of (yaml) format issues to resolve
CodeChecker ERROR [yamllint] docs/root/operations/_include/traffic_tapping_plain_text.yaml (indentation 39:19): wrong indentation: expected 16 but found 18
CodeChecker ERROR [yamllint] docs/root/operations/_include/traffic_tapping_ssl.yaml (indentation 54:17): wrong indentation: expected 14 but found 16

@phlax
Fixed, just copy it from the original design. ;-)


Fix fetching more channels to join

Summary
Fix displaying more public channels to join
Ticket Link
https://mattermost.atlassian.net/browse/MM-13215

@hmhealey @lieut-data please review, this is the final Pr before cutting 160 so QA can do their stuff


Add more extensive tests

[ ] extensive models testing

move tests under mcqa folder
requirements-dev

setup mutmut

TODO: More tests on refactored data subpckage.


test: added recaptcha tests

Pull Request Test Coverage Report for Build 1489

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 73.973%

Totals

Change from base Build 1483:
0.3%

Covered Lines:
1041

Relevant Lines:
1339

💛  - Coveralls


How can I set timeout?

Hi,
I'd like to increase the timeout as 3600s. Because I have to upload large video file to S3. So I need to increase the time.
I found this part in amazon document.
(http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html#timeout)
Would you let me know how can I do it?
Thank you.

@a-jumping425 you can add those configurations in the S3 client, which also accepts those http configurations you linked to.

I am sorry. I can't make the sense for the code.
Would you show me some sample code for it?
Thank you.


bunch of errors.

/tmp/21196: line 259: /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory

another one

/tmp/21196: line 937: /etc/privoxy/config: No such file or directory
sed: can't read /etc/privoxy/config: No such file or directory
sed: can't read /etc/privoxy/config: No such file or directory
sed: can't read /etc/privoxy/config: No such file or directory
Restarting Privoxy Proxy server...
Failed to restart privoxy.service: Unit privoxy.service not found.
/tmp/21196: line 978: /etc/squid/squid.conf: No such file or directory
sed: can't read /etc/squid/squid.conf: No such file or directory
sed: can't read /etc/squid/squid.conf: No such file or directory
sed: can't read /etc/squid/squid.conf: No such file or directory
sed: can't read /etc/squid/squid.conf: No such file or directory

another one

sed: can't read /usr/local/lib/python2.7/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.4/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.5/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.6/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.7/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.8/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.9/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory

another one

sed: can't read /etc/nginx/conf.d/vps.conf: No such file or directory
sed: can't read /etc/nginx/conf.d/vps.conf: No such file or directory
sed: can't read /etc/nginx/conf.d/monitoring.conf: No such file or directory

another one

/tmp/21196: line 1218: virtualenv: command not found
/tmp/21196: line 1219: bin/activate: No such file or directory
/tmp/21196: line 1220: pip: command not found

another one

Failed to restart nginx.service: Unit nginx.service not found.
Configuring Startup Application Automation...
Created symlink /etc/systemd/system/multi-user.target.wants/projectfogstartup.service → /etc/systemd/system/projectfogstartup.service.
Job for projectfogstartup.service failed because the control process exited with error code.
See "systemctl status projectfogstartup.service" and "journalctl -xe" for details.

too much errors and it's closed script I can't help it without knowing what's inside

rebuild your vps and open all ports.

/tmp/21196: line 259: /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory
sed: can't read /etc/stunnel/stunnel.conf: No such file or directory

another one

/tmp/21196: line 937: /etc/privoxy/config: No such file or directory
sed: can't read /etc/privoxy/config: No such file or directory
sed: can't read /etc/privoxy/config: No such file or directory
sed: can't read /etc/privoxy/config: No such file or directory
Restarting Privoxy Proxy server...
Failed to restart privoxy.service: Unit privoxy.service not found.
/tmp/21196: line 978: /etc/squid/squid.conf: No such file or directory
sed: can't read /etc/squid/squid.conf: No such file or directory
sed: can't read /etc/squid/squid.conf: No such file or directory
sed: can't read /etc/squid/squid.conf: No such file or directory
sed: can't read /etc/squid/squid.conf: No such file or directory

another one

sed: can't read /usr/local/lib/python2.7/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.4/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.5/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.6/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.7/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.8/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory
sed: can't read /usr/local/lib/python3.9/dist-packages/shadowsocks/crypto/openssl.py: No such file or directory

another one

sed: can't read /etc/nginx/conf.d/vps.conf: No such file or directory
sed: can't read /etc/nginx/conf.d/vps.conf: No such file or directory
sed: can't read /etc/nginx/conf.d/monitoring.conf: No such file or directory

another one

/tmp/21196: line 1218: virtualenv: command not found
/tmp/21196: line 1219: bin/activate: No such file or directory
/tmp/21196: line 1220: pip: command not found

another one

Failed to restart nginx.service: Unit nginx.service not found.
Configuring Startup Application Automation...
Created symlink /etc/systemd/system/multi-user.target.wants/projectfogstartup.service → /etc/systemd/system/projectfogstartup.service.
Job for projectfogstartup.service failed because the control process exited with error code.
See "systemctl status projectfogstartup.service" and "journalctl -xe" for details.

too much errors and it's closed script I can't help it without knowing what's inside

You prolly run the script in non root user

You prolly run the script in non root user
I'm running root user


[Question]: Complete no-cloud access? Possible?

Ask your question
I have a eufy system(home base, motion sensors, door sensors,cameras etc) and in the past months I have been worried about having security data being sent into the "cloud". I would like to make a local server with home assistant where alarms and cameras storage would be save locally(only).
Is it possible to have access to the cameras and the home base without any internet access ?

Not that I know of.

Would it be possible to block the internet  access on the router ? And then use this method plus rtps to control the cameras and sensors?

Also interested in this question. I would like to use some cams in a network without internet.


Add stable_location various ids.

This change is

crates/cairo-lang-lowering/src/ids.rs line 189 at r2 (raw file):
Previously, yuvalsw wrote…
inline

It is used twice.
what is the heuristic for deciding?

crates/cairo-lang-lowering/src/ids.rs line 189 at r2 (raw file):
Previously, yuvalsw wrote…
it's used once - the 2 uses are in different arms

why does it matter that the usage is is different arms?


edpm_compute switch from centos to edpm-hardened-uefi

This switches a crc environment to the edpm-hardened-uefi.qcow2 image
which is distributed in a container image (build defined in [1]).
Automation will rebuild the edpm-hardened-uefi image as required, so the
container image
quay.io/podified-antelope-centos9/edpm-hardened-uefi:current-podified
will remain up to date.
[1] https://github.com/openstack-k8s-operators/edpm-image-builder/

I think this is ready to be reviewed on its merits now, so removing the WIP. install-yamls-deploy must pass before this lands, but any failures should be more down to the image itself

/retest

The permissions issue should be fixed now, but there is now an issue with getting the IP address assigned

recheck

recheck

recheck

I proposed this before the baremetal job existed. It is not required now


Add backward_funciton option in Logic

Looks good! can you please add a test?
Thanks!

Added a test!

/test


added comma in statement

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Buildsetup

Part one of update to migrate app files to a src/dist structure and add a grunt task that will run jshint, uglify on the javascript code, minify on the css and finally copy all the minified files to the dist folder.

@driskull when you have time can you review this? I'm working on 'Part 2' now which will add TS support.


Speed Effect Augmentation?

Hello every one,
I am asking about applying speed as a speech augmentation technique. Does the source code provide an implementation for this technique. I tried with the command Sped = augment.EffectChain.speed(100), however  an invalid syntax issue. Please, I need an example about speed augmentation if it is implemented in the library.
Thank you.

Hi,
I tried the speed effect too and it works well. I guess there is some kind of limit for the parameter. Maybe the one you use is too large for the speed function. You can try:
augment.EffectChain.speed(1.5)
augment.EffectChain.speed(2)
Thank you.

Hello every one,
I am asking about applying speed as a speech augmentation technique. Does the source code provide an implementation for this technique. I tried with the command Sped = augment.EffectChain.speed(100), however an invalid syntax issue. Please, I need an example about speed augmentation if it is implemented in the library.
Thank you.

Also, I find 'tempo' have a better speeding effect than 'speed'

Thank you so much @haoheliu.

Thank you for your answer @haoheliu. However, the error still remains when launching the commands augment.EffectChain.speed(1.5)
augment.EffectChain.speed(2)
The error is AttributeError: 'float' object has no attribute '_append_effect_to_chain' when executing augment.EffectChain.speed(1.5)

Sorry I cannot reproduce this errors. The following code works fine for me. You can try them in colab:
y = augment.EffectChain().speed(1.5).rate(16000)
y = y.apply(x, src_info={'rate': sr})
ipd.Audio(y, rate=sr)

y = augment.EffectChain().speed(1.5) # have not effect, but also have no error
y = y.apply(x, src_info={'rate': sr})
ipd.Audio(y, rate=sr)

y = augment.EffectChain().tempo(1.5)
y = y.apply(x, src_info={'rate': sr})
ipd.Audio(y, rate=sr)

Thank you for your answer @haoheliu. However, the error still remains when launching the commands augment.EffectChain.speed(1.5)
augment.EffectChain.speed(2)
The error is AttributeError: 'float' object has no attribute '_append_effect_to_chain' when executing augment.EffectChain.speed(1.5)

Hey, I got it. You miss the brackets after the "EffectChain".

@haoheliu thanks for the help! @BilalDendani - does this solve your issue?

Thanks @eugene-kharitonov and @haoheliu. I missed the two brackets after EffectChain method like suggested by @haoheliu.
Issue solved.
Thank you so much.


implement multidimensional clones

An alternative to #26

Current cloneId is renamed to protoId.
Hash protoId with index location (uint256) to generate cloneId.
Add mapping protoIdToIndex that tracks the head index for a given protoId
A cloneId at the head index will receive the underlying NFT when sold through ditto, the index is then incremented and the next cloneId will then be at the head.

Must be compiled with --via-ir flag or else stack too deep error surfaces.

Unsure whether heat should be per each clone or per each nft/erc20 pair and have sibling clones share the same heat variable?


ros: 1.13.2-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros to 1.13.2-0:

upstream repository: https://github.com/ros/ros.git
release repository: https://github.com/ros-gbp/ros-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.22
previous version for package: 1.13.1-0

mk

No changes

rosbash
* add missing verbs to rosservice completion (#117 <https://github.com/ros/ros/pull/117>)

rosboost_cfg

No changes

rosbuild

No changes

rosclean

No changes

roscreate

No changes

roslang

No changes

roslib
* avoid putting the rosbuild stacks dir on RPP if it doesn't exist (#111 <https://github.com/ros/ros/pull/111>)

rosmake

No changes

rosunit

No changes

Waiting for other releases...


Remove stray pry import

This made the package unusable in some cases, as pryjs isn't a package dependency.

Good catch @JKillian and my bad for merging. @lambtron mind re-releasing?

Thanks for the quick merge! Even with having to figure out this bug, was much faster to use this project than upload every party parrot emoji to my slack channel by hand! 😉 🎉

Np! Just version bumped on NPM too in case people are struggling. https://www.npmjs.com/package/emojipacks

Thanks for the quick PR @JKillian , have a good night


An error occurred while installing grpc (1.11.0)

What version of gRPC and what language are you using?
1.11.0
What operating system (Linux, Windows, …) and version?
FreeBSD 11.2 p2
What runtime / compiler are you using (e.g. python version or version of gcc)
GNU Make 4.2.1
What did you do?
If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
gem install grpc -v '1.11.0'
What did you expect to see?
Successfull install
What did you see instead?
An error occurred while installing grpc (1.11.0), and Bundler cannot continue.
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment?
I am trying to install gitlab

Please provide us with the full output of the gem install command.

I don't see any actionable info here. OP should try with newer release and provide full output of installation failure. Closing since no update.


Fix inconsitent cursor position when scrolling

This commit fixes regression introduced in cfc20d4f34dca535654cc32df18e785296af4cc5.
self.cursor.line forced the cursor to hold a fixed location while scrolling
until its "original" location (usually the shell prompt) went off the screen.
So cursor position should be keep updated, which can be achieved by using
self.inner.line().
cc @chrisduerr @lovesegfault

Fixes #2570

Y'all rock


Swapping from PersistenceChannel to ServerTelemetryChannel for desktop apps

We use Application insights throughout our system, spanning cloud and desktop apps (winforms, wpf & webview2 based).
The desktop apps have been using a fork of the no longer supported PersistenceChannel for a number of years.
Are you able to advise if there is anything I should consider before using ServerTelemetryChannel within a desktop app?
Some context:

desktop apps all operate in a partial internet environment
some desktop apps are single instances, others are multi

Hi. Please review this doc: https://learn.microsoft.com/azure/azure-monitor/app/telemetry-channels

Thanks for the link Timothy. I've reviewed the document. The most important part is probably that items > 48h are discarded. I can see this happening occasionally for our desktop apps.
I found this project https://github.com/novotnyllc/AppInsights.WindowsDesktop which has brought PersistanceChannel as far as .net 5 / AI 2.18. I'll look at replacing our own fork with that one.


switch travis to bionic

Try to upgrade the test environment in travis without reducing speed.
Precise was fastest. ~Xenial~ mongo 4.0 was twice as slow. Here goes bionic to see what breaks... Bionic is slow due to mongo 4.0
closes #4772 (replaced by this PR)
closes #4863 (included in this PR)

Mongo 4.0 significantly changes the test runtimes. 2x was too much of a
jump, so this is approximately 60s more than the last successful run
time. That comes out to (test time used to calculate in parentheses):
24% increase for "Unit Tests (Python 2.7 MongoDB 4.0)" (812s)
37% increase for "Integration Tests (Python 2.7)" (903s)
95% increase for "Lint Checks, Packs Tests (Python 2.7)" (490s)
71% increase for "Unit Tests, Pack Tests (Python 3.6)" (1101s)
252% increase for "Integration Tests (Python 3.6)" (1031s)
Note that this PR also fixes the Python 3.6 integration tests to
actually run in python 3.6 instead of 2.7, so that might account for
some of the significant test time increase.
When we move to python 3.7 that will probably decrease the py3 times.

This is ready. I updated the PR description to better cover the updates required in moving to Bionic.

Thanks for the testing and timing breakdown! :+1:
According to stats you provided, we'd likely go with the https://github.com/StackStorm/st2/pull/4863 Xenial + Mongo 3.4 for the st2 tests.