Fixed surah dropdown #793

Deployed to: http://staging.quran.com:32892

Deployed to: http://staging.quran.com:32893

Deployed to: http://staging.quran.com:32897

Deployed to: http://staging.quran.com:32901

Deployed to: http://staging.quran.com:32902


edit definition for "insulator"

proposed definition:
A transcriptional cis regulatory region (ranges from 0.5kb to 3kbp) that when located between an enhancer and a promoter, the insulator prevents the enhancer from modulating expression of that gene.

Question from @keilbeck
DO you have a reference for this?

Question from @keilbeck
I think this may need to also include chromatin.
Insulators prevent interactions between promoters and enhancers in a position-dependent manner due to their ability to influence higher order chromatin structure
I'm setting this to pending and will talk to you when you get back in town


Use Travis Build Pipelines

I believe I have taken the mystery out of the build scripts while increasing the complexity of the travis file.
We have 1 special build that does coverage, if any of the tests fail then the build stops.
We source / . for pulling into the scope and having functions terminate in the calling scripts.
The setup script sets up the SBT Options, and functions, then very simple scripts are called. I believe this seperation should allow us to get Continuous delivery.
The special script is the build that runs mimaCompatibility and coverageTests. Although I'm still not sure why those don't seem to run.
cc @bfritz Since you have worked so much on the CI.

Here is a Result of a Build that had an Error

Not really sure if people are going to like the Build Stages, however it makes it clear that we will not publish unless tests pass, and puts us in a great position to use sbt-rig for full deploys even across branches.

Update: I'm still in favor of a shift like this which moves the code into .travis.yml and out of a very hard to follow divergent scripts.

I'm still not overly fond of the repetition, but I think I'll like the 0.17 version of it better.  Let's do it.


added my favorite exercise

contributed by adding my favorite my exercise 'Hammer curls'.

I deleted the the requested folder.

please, can I know the status of my PR.


Fix get/set, storage.type (was overridden)

[x] get/set colored and italicized for JS/JSX/TS/TSX.
[x] storage.type was overridden, so I removed it from the JavaScript Method Declaration e.g. constructor scope and changed color.
[x] Added .ts to the method declaration scope.

How it looks now in JS/JSX/TS/TSX

Awesome work! Thank you so much.

Oh, just realized that we also need this changed for the no-italics version. Do you want to make that PR or should I? (Just letting you know that I am speaking and traveling, so I'm cool doing it but won't get to it for a while)

@sdras Sorry, I forgot about that :( I will definitely open a PR right now for non-italic version!


Pipelines started crashing in last few hours

The jobs started to crash with Error: Cannot find module 'azure-actions-webclient/webClient' which is imported in https://github.com/microsoft/pipelines-appservice-lib/blob/master/packages/appservice-rest/src/Kudu/KuduServiceClient.ts#L3
I believe the issue is caused by one of the last few commits made in this repository:
https://github.com/Azure/webapps-deploy/commit/bbd69d2cbae29328417a9b4d8469f2dd12e7e169
https://github.com/Azure/webapps-deploy/commit/007249dab7e1dde37723f36c91eeb663bd9dbc90
this one looks the most suspicious:
https://github.com/Azure/webapps-deploy/commit/54291e6252e122e21264f9ec6ab7df4cbe8f80e8
Configuration:
      - name: Deploy to Azure
        uses: azure/webapps-deploy@v1
        with:
          app-name: my-app-name-on-azure
          publish-profile: ${{ secrets.STAGING_AZURE_WEBAPP_PUBLISH_PROFILE }}

Logs:
2019-12-19T11:30:34.4883155Z ##[group]Run azure/webapps-deploy@v1
2019-12-19T11:30:34.4883365Z with:
2019-12-19T11:30:34.4883506Z   app-name: staging-coinflip-aaa-hostedsite
2019-12-19T11:30:34.4884718Z   publish-profile: ***
2019-12-19T11:30:34.4884923Z   package: .
2019-12-19T11:30:34.4885057Z   slot-name: production
2019-12-19T11:30:34.4885191Z env:
2019-12-19T11:30:34.4885326Z   CI: true
2019-12-19T11:30:34.4885516Z   SLACK_WEBHOOK: ***
2019-12-19T11:30:34.4885810Z   SLACK_CHANNEL: ci-cd
2019-12-19T11:30:34.4885926Z   SLACK_PRE_MESSAGE: *Deployed Feature:*
2019-12-19T11:30:34.4886033Z   REPO_SLUG: oakslab/coinflip-AAA-hosted-site
2019-12-19T11:30:34.4886136Z   COMMIT_MESSAGE:
2019-12-19T11:30:34.4886234Z   COMMIT_ID:
2019-12-19T11:30:34.4886331Z ##[endgroup]
2019-12-19T11:30:34.6426081Z internal/modules/cjs/loader.js:800
2019-12-19T11:30:34.6426497Z     throw err;
2019-12-19T11:30:34.6426646Z     ^
2019-12-19T11:30:34.6426727Z
2019-12-19T11:30:34.6427637Z Error: Cannot find module 'azure-actions-webclient/webClient'
2019-12-19T11:30:34.6427819Z Require stack:
2019-12-19T11:30:34.6428710Z - /home/runner/work/_actions/azure/webapps-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js
2019-12-19T11:30:34.6429531Z - /home/runner/work/_actions/azure/webapps-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js
2019-12-19T11:30:34.6430125Z - /home/runner/work/_actions/azure/webapps-deploy/v1/node_modules/azure-actions-appservice-rest/Utilities/AzureAppServiceUtility.js
2019-12-19T11:30:34.6430643Z - /home/runner/work/_actions/azure/webapps-deploy/v1/lib/deploymentProvider/WebAppDeploymentProvider.js
2019-12-19T11:30:34.6431219Z - /home/runner/work/_actions/azure/webapps-deploy/v1/lib/main.js
2019-12-19T11:30:34.6431446Z     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
2019-12-19T11:30:34.6431817Z     at Function.Module._load (internal/modules/cjs/loader.js:690:27)
2019-12-19T11:30:34.6432392Z     at Module.require (internal/modules/cjs/loader.js:852:19)
2019-12-19T11:30:34.6432625Z     at require (internal/modules/cjs/helpers.js:74:18)
2019-12-19T11:30:34.6433288Z     at Object.<anonymous> (/home/runner/work/_actions/azure/webapps-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js:13:21)
2019-12-19T11:30:34.6433615Z     at Module._compile (internal/modules/cjs/loader.js:959:30)
2019-12-19T11:30:34.6433853Z     at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
2019-12-19T11:30:34.6434083Z     at Module.load (internal/modules/cjs/loader.js:815:32)
2019-12-19T11:30:34.6434305Z     at Function.Module._load (internal/modules/cjs/loader.js:727:14)
2019-12-19T11:30:34.6434589Z     at Module.require (internal/modules/cjs/loader.js:852:19) {
2019-12-19T11:30:34.6434978Z   code: 'MODULE_NOT_FOUND',
2019-12-19T11:30:34.6435149Z   requireStack: [
2019-12-19T11:30:34.6435855Z     '/home/runner/work/_actions/azure/webapps-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js',
2019-12-19T11:30:34.6436343Z     '/home/runner/work/_actions/azure/webapps-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js',
2019-12-19T11:30:34.6436861Z     '/home/runner/work/_actions/azure/webapps-deploy/v1/node_modules/azure-actions-appservice-rest/Utilities/AzureAppServiceUtility.js',
2019-12-19T11:30:34.6437596Z     '/home/runner/work/_actions/azure/webapps-deploy/v1/lib/deploymentProvider/WebAppDeploymentProvider.js',
2019-12-19T11:30:34.6437969Z     '/home/runner/work/_actions/azure/webapps-deploy/v1/lib/main.js'
2019-12-19T11:30:34.6438115Z   ]
2019-12-19T11:30:34.6438250Z }
2019-12-19T11:30:34.6478547Z ##[error]Node run failed with exit code 1

@SumiranAgg can you please take a look at it? it's kind of urgent.

@SumiranAgg Having the exact same issue - currently unable to deploy via Actions

Could be a regression. Will rollback.

I can confirm that the issue still persists.

Are you pointing to azure/webapps-deploy@v1 ? Or is it releases/v1

It's Azure/webapps-deploy@v1

I have just restarted the test and it does work now. Thanks @SumiranAgg for your quick help!

Glad to know its working!


AM-2749: missing domain primary owner permission

:id: Reference related issue.
AM-2749
:pencil2: A description of the changes proposed in the pull request
updates the upgraded so that #5098 gets applied on existing installations

Suggestion: to ease the support, do you think the VERSION should be set to the AM version (4.6.0 here) ?

Ignore this comment (I can't remove it).  With a step back, it is simpler to have an increment.


csr and csc matrixes' initializers support shape

It support this type of initializer: csc_matrix((m, n))
merge #236 first

conflict

rebased

LGTM!


Want to add NLP Course from Zero to Hero in Hindi/Urdu.

Hey there,
I wanted to add a NLP course from zero to hero which is in hindi/urdu for which I couldn;t any course file to edit, can you add that course file so that I can edit and merge my PR with it after the creation.
Looking forward!

Not is necessary open issues if you are be able to send the pull request (PR) :wink:.
Anyway, if you submit a PR, help us to autoclose this issue. How? Read this article about how to linking a PR to an issue

cc: @davorpa

Resolved by #7702


FATAL: this function is for sm80, but was built for sm750

I was assigned an A100 and got hit with this error, tried deleting everything and starting from scratch but same error.

A100 xformers will be fixed soon

Would You share the  [ fix error sm80 ] link in google colab  ?


Post Introductory Metaculus Comment on Question 22307

Goal
Write a Metaculus comment on question 22307 discussing the results of Model A (the first model).
Context
As of 2024-04-28, there are roughly 2 days remaining for predictors to make comments on question 22307. That there were many tornadoes recently across the US has pushed predictions close to the open upper bound on the question. Despite this, the author suspects predictors are likely still interested in learning about possible modelling techniques that can be employed here.
Tasks

[x] Get stable output and code for Model A, including different combinations of the terms.
[x] Draft a comment here to post on Metaculus.

Out Of Scope

Evaluating other sorts of models that can be used for tornado prediction.
Discussing the nature and dynamics of tornadoes.

Resources & Links

Tornado Count In April-May 2024

See here:
I understand that this question closes in less than a day and that the observed preliminary count of 310 exceeds the open upper boundary of 300, but I would really appreciate if some Metaculites could take a look at this multilevel model I built and provide some thoughts and or feedback.

Some quick links:

- [The repository](https://github.com/AFg6K7h4fhy2/Forecasting-Tornadoes)
- [The NOAA data, if anyone wants a cleaned csv file](https://github.com/AFg6K7h4fhy2/Forecasting-Tornadoes/blob/main/data/clean/cleaned_NOAA_SPC.csv)
- [The model, in code](https://github.com/AFg6K7h4fhy2/Forecasting-Tornadoes/blob/main/model_E414_01/src/model.py)
- __[A document for the model](https://github.com/AFg6K7h4fhy2/Forecasting-Tornadoes/blob/main/model_E414_01/docs/output/out.pdf)__

The most important aspects of the above, in math and writing, for those who do not want to visit the last link:

---

Let \(\alpha_i\) denote the random effect of the location of state \(i\) on expected tornado count. Further, let \(\gamma_j\) and \(\delta_k\) denote the random of effects of month \(j\) on and year \(k\), respectively, on expected tornado count. Let the expected tornado count for state \(i\), month \(j\), and year \(k\) be called \(Y_{ijk}\).

The tornado count \(T_{ijk}\) for state \(i\), month \(j\), and year \(k\) can be modelled via \(T_{ijk} \sim \text{Poisson}(Y_{ijk})\), where \(\log (Y_{ijk}) = \alpha_{\text{state}[i]} + \gamma_{\text{month}[j]} + \delta_{\text{year}[i]}\), i.e. \(Y_{ijk}\) is [log-linear](https://en.wikipedia.org/wiki/Log-linear_model).

Adaptive priors:

$$
\begin{aligned}
\alpha_{l} &\sim \text{Normal}(\overline{\alpha}, \sigma_{\alpha}) \quad \text{for} \quad l = 1, 2, \dotsc, 50 \\
\gamma_{l} &\sim \text{Normal}(\overline{\gamma}, \sigma_{\gamma}) \quad \text{for} \quad l = 1, 2, \dotsc, 12  \\
\delta_{l} &\sim \text{Normal}(\overline{\delta}, \sigma_{\delta}) \quad \text{for} \quad l = 1, 2, \dotsc, 5
\end{aligned}
$$

where

$$
\begin{aligned}
\overline{\alpha} &\sim \text{Normal}(0, 3.0) \\
\overline{\gamma} &\sim \text{Normal}(0, 1.0) \\
\overline{\delta} &\sim \text{Normal}(0, 2.0)
\end{aligned}
$$

and

$$\sigma_{\alpha}, \sigma_{\gamma}, \sigma_{\delta} \sim \text{Exponential}(1.0)$$

---

Around a week ago, I began created it, but had to pause working on it due to my job. The posterior samples gave me around a mean US tornado count of 275 (summing across individual states), so this is not too bad relative to other commented predictions and considering the turn of events.

I expect to create more modelling repositories in the future, if anyone wants to join (worth noting that I am fairly particular about how my repositories are run and setup). Also, it's worth noting that there are likely going to be more files for visualization, sensitivity analyses, forecast-output creation, saving of posterior samples and other values, etc... in the near term as I scope out this Forecasting-Tornadoes repository further. The README needs to be worked on more as well; I expect to include some visualizations (tornado data, priors, prior predictive, posterior predictive, MCMC trace, etc...) later next week (these will be in the last link in the aforementioned list).

Mostly, I am looking for others to lean towards either "_yes, this model makes some sense_" or "_no, this is silly, why would you do this?_" or "_this model would make sense if X was changed_" or something else similar.

@(skmmcj) @(Haiku) @kqr @(katifish)

Done, save for some of the first task. Completing now in the interest of time.

Done, save for some of the first task. Completely now in the interest of time.


Convert to TypeScript (0)

This is the initial change.  We need to:

rename all *.js files to *.ts
npx init gts
install any @types packages needed
replace all require statements with imports
disable the check npm run script for now
get npm run compile passing
Update the main field in package.json to be build/src/index.js
Add a types property in package.json to be build/src/index.d.ts
Add build to .gitignore
....  other stuff I'm likely forgetting 😆

resolved in #63


The load_yaml!() macro should not be relative to the working directory

This seems like a new development, or maybe I just haven't noticed before, but it looks like load_yaml!() loads relative to the working directory rather than either the base of the project, or the src directory. This causes a problem when running cargo build from a directory that wasn't expected.

load_yaml! uses include_str! internally.

The file is located relative to the current file (similarly to how modules are found),

Like @sru said, this uses the include_str! internally so it's not something we could easily change, or do so without a runtime cost.
If you've got ideas on a new method to add which is relative to the project root I'm not against it. But would also like to make sure it's worth the effort.


stderr not printed from failing spark jobs

If a SparkSubmitTask fails, stderr from the Spark job is not printed by Luigi. It is a regression introduced in 2.8.4, probably by https://github.com/spotify/luigi/commit/62fbaf20775b69995cacb3e266a8b50a6959fd92
Reproduce by creating a derived instance of SparkSubmitTask, with entry_class overridden with a non-existing class. (Not tried.)
Reverting to Luigi 2.8.3 fixes the problem. One can also work around the problem by disabling the URL tracking; set stream_for_searching_tracking_url = 'none' in the child class of SparkSubmitTask.
As a side note, it was surprising to find a regression in a patch version. If we want to follow semantic versioning, 2.8.4 should have been named 2.9.0, since it introduced new functionality.

Note that #3000 is a PR to fix this and #2999 describes the same problem.

Note that #3000 is a PR to fix this and #2999 describes the same problem.

Closing this one as a duplicate.

Closing this one as a duplicate.


404 error

Hi I'm getting a 404 error I've followed documentation and have setup my .env with this:
SHOPIFY_KEY=a3550blahblahblahblahblahblabh
SHOPIFY_SECRET=blahblahblahbaljsdlkfjaljsdf
SHOPIFY_DOMAIN=name.myshopify.com
SHOPIFY_TOKEN=blalblajsdlfiajslkdfjlaksjdfasdf
this gives me an error:
/vendor/rocket-code/shopify/src/RocketCode/Shopify/api.php
error is
"ERROR #22: The requested URL returned error: 400 Bad Request"
running laravel 5.6
THANK YOU!

Hey, this error is from the RocketCode package and not this one... So you should ask there...
BUT, I do think it has to do with the code itself that your trying to run and not with the setup, and I believe it has to do with the endpoint you're trying to reach...
Hope this help!
Amos


Demo display errors on the console window "getEnabledElement: parameter element must not be undefined"

The error "getEnabledElement: parameter element must not be undefined" is thrown by the cornerstone viewer when ever the viewer is resized.

Fixed.


[build.Docker] remove cargo test from the build part.

We have introduced an entry point script for the docker image in #1473. I think should do this for cargo test too, then we can choose when to execute the tests, and don't have to run them redundantly during the build process in the CI as they are executed during the build process of the worker and the client.
Btw. why did we even choose to run these tests as part of the docker build process? The CI always runs in our integritee-dev container anyhow. We can just execute them plainly in the CI according to my understanding. In this case we could even do this parallel to the build process.

Obviously, we can't expose cargo test as part of the built docker binary, as it needs the source files, which are no longer existing t this step. However, my question in this case is still: Why executing it in the docker? We run the build process anyhow in the integritee-dev container.

Hmm, it seems the reason is that one library is looking for:
error: could not find native static library `Enclave_u`, perhaps an -L flag is missing?
error: could not compile `itp-enclave-api-ffi` due to previous error

Which is only there if the worker & enclave has been built once.


Update pre-commit and CI config

We should try to be consistent with Universal_Robots_ROS2_description (see 58)

We are also constantly updating this on ros2_control – there you can also find the most updated version. Regarding GH actions  update, we added a bot to do that once per week.

Thanks for the hint. Dependabot seems like an easy thing to do, maybe we could also just add a scheduled workflow that does pre-commit autoupdate (something like this).


consolidate to a single raster tiling service and domain name

We are on a mission to consolidate the MAAP project down to a single raster tiling service. Until recently, there were three services running:

titiler.maap-project.org: an outdated titiler application with /cog endpoints and support for registering and using custom MosaicJSON via the /mosaics endpoints.
titiler-stac.maap-project.org: a titiler application with the /stac endpoints for rendering tiles from STAC item hrefs
titiler-pgstac.maap-project.org: a titiler.pgstac application with support for rendering tiles from STAC collections in the MAAP STAC API via the /collections endpoints or /searches endpoints

For reasons we want to move everything to a single service. The plan has been to build the titiler.pgstac service up to include the /cog, /stac, and /mosaics endpoints so that any MAAP user could run their existing workflows on that service instead ofone of the other two. Over the last several months we have accomplished the goal of upgrading the titiler.pgstac service to include all of the features from the other services.

https://github.com/MAAP-Project/maap-eoapi/pull/26
https://github.com/MAAP-Project/maap-eoapi/pull/31
https://github.com/MAAP-Project/maap-eoapi/pull/27

titiler-stac.maap-project.org has been torn down already!
The last step is to move users over to the titiler.pgstac service via one of these approaches:

request that users update their applications and notebooks that point at titiler.maap-project.org to use titiler-pgstac.maap-project.org, then eventually shut down titiler.maap-project.org and the associated Lambda.
flip a switch to redirect traffic to titiler.maap-project.org to the titiler.pgstac application instead of the old titiler application, then shut down the titiler application.

The situation is slightly complicated by the fact that both the titiler and titiler.pgstac applications are running the SMCE AWS account with custom domains registered in the UAH AWS account.
We may want to migrate this infrastructure over to the MCP AWS account in the near future so we need to consider that possibility when we commit to a plan.
Option 1: Tell users to update code to use titiler-pgstac.maap-project.org instead of titiler.maap-project.org
advantages:

no more infrastructure changes besides tearing down the old titiler application and the titiler.maap-project.org domain infrastructure
we could accomplish it in phases by adding warnings to the old endpoint responses and eventually returning an error that tells users to redirect traffic to titiler-pgstac.maap-project.org
could even overlay warning text to any tiles requested from the old application

disadvantages:

existing code that uses titiler.maap-project.org would need to be updated
working with users is more difficult than making infrastructure changes
the default action by users will be no change, which will eventually result in an error
titiler-pgstac... is an awfully long url to recall and type every time you make a dynamic plot in a notebook

implications for transfering to MCP

...

Option 2: Direct traffic to titiler.maap-project.org to the titiler.pgstac application instead of the old titiler application
advantages:

As long as all of the endpoints from the titiler application are supported by the titiler-pgstac application, users should not notice a difference
If the above is true, users will require minimal or no notification of the changes
The shorter domain name is better!

disadvantages:

There may be some minor parameter name changes that would break existing formatted URLs for the titiler application endpoints

e.g. coord-crs -> coord_crs and things like that

implications for transfering to MCP

...

@jjfrench @wildintellect please feel free to add other options or make any edits that you want, and can you help me fill in the details about what these options mean for the potential move to an MCP account?

Worst/Best idea, shorten it to tiles.maap-project.org or tiler.maap-project.org ...

Worst/Best idea, shorten it to tiles.maap-project.org or tiler.maap-project.org ...

We could also follow the eoAPI example and use raster.maap-project.org
A totally new url would be the most work but if there is a moment to reconsider the domain name now is probably the best time.

We could keep both existing domain names and add raster.maap-project.org, that could give us a period of time to transition people to raster.maap-project.org gradually?


In "updating modals" code example, ove 'type' to be nested inside 'view'

Summary
To fix the issue described in #317

It looks like the example on https://slack.dev/bolt/concepts#updating-pushing-views has type at the top level object but it should actually be nested in view as shown in https://api.slack.com/reference/block-kit/views

Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

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

After merging https://github.com/slackapi/bolt/pull/321 and rebasing onto master, we'll be able to merge this.

Finally, the CI builds are successful 😌
@yamashush good catch! Thanks again 🙇


Session pool max not respected

Environment details

OS: CentOS
Node.js version: 8.9
npm version: 5.6
@google-cloud/spanner version: v1.4.0

Steps to reproduce
None currently, I will create some if it comes to that.
Question
I have a an API which is using this Spanner library with its default pooling settings.  Per those settings [0] the max number of sessions in each pool should be 100.  When deploying another set of services which hit said API I receive a bunch of AlreadyExistsErrors when the API calls .commit for an insert transaction which violates a unique index.  The problem however is that as other requests continue to come to this set of API replicas the session pool balloons to the max and I start getting timeout acquiring session errors (I have a acquireSession timeout of 30000ms).  At most I currently have 20 replicas of this API, how is it possible their collective session pools could be consuming the current 30,000 session limit?
[0] https://github.com/googleapis/nodejs-spanner/blob/e404e3999d8c834de19842ea6b8d07796bdbd25a/src/session-pool.js#L58

Hi @walshie4, I'm sorry to hear you're having issues! Can I ask how you're verifying that you're hitting the 30,000 session limit? If you're seeing the Timed out acquiring session. error, that just means that your pool of 100 sessions has hit its max.
In the event that your commit fails we try not to make any assumptions about how you wish to handle that failure. So we do not release the session for that transaction back into the pool, if you're not explicitly releasing it via transaction.end(), then it's very likely you would hit the max value and start seeing timeouts.
If you call database.close() once you start seeing this behavior, we'll actually supply an error message with a list of possible session leaks that you're able to inspect.
database.close(err => {
  if (err && err.messages) {
    err.messages.forEach(leak => console.log(leak));
  }
});

@callmehiphop Thank you for the timely response.  I've been tracking the session count using the stackdriver metric.  I'll take a look around and re-open this if I have more information on this front.

@callmehiphop Is calling end needed for read-write transactions which fail at commit as well?  The docs mention read-only only.
https://cloud.google.com/nodejs/docs/reference/spanner/1.4.x/Transaction#end

Yep! commit calls end internally after a successful request, however if it fails, we don't want to release the session in case you end up retrying, etc.  Assuming that's the case, I think this is something we can fix with better docs.

Hello 👋
We've implemented the mentioned missing call to end for commit failures however I am still seeing the session pool behave in unexpected ways resulting in many issues.
I've tried a large number of permutations to the session pool setting to little or no gain.  I am still seeing this issue manifest itself.  I have 120 replicas each with a session pool configured to have a max of 1100 sessions.  From what I've been told regarding session count this still sounds absurdly over-done as the request throughput for these services is currently in the ballpark of ~100/s in total across all replicas.
Yet even with a crazy setup of 20 Spanner nodes I am hitting the session max of 200,000 sessions.
I am seeing quite a bit of behavior like this:

Where the second larger drop-off is initiated by spinning down 10 replicas, however the jump to (over) the max of 200k is simply from standing those replicas back up.  All while under constant load.
My session pool settings are:
max: 1100,
min: 600,
concurrency: 1000,
acquireTimeout: 300,
writes: 0.05,

Most of these settings are probably over-kill from what I've heard about how many sessions should be in use at any given moment (as many as concurrent requests to Spanner) yet even with a config like:
max: 1000,

I still see massive spikes of createSession requests which easily eat up the entire 200k session quota, and this is without our heavy load services even being turned on.
Am I doing more harm than good with pre-warming the session pools via min?  Is there a different way I can avoid RESOURCE_EXHAUSTED and Timed out acquiring session. errors?
With the way this is currently behaving I do not have the confidence to move forward with moving our already scaled infrastructure onto Spanner.  The session pool behavior and session limit makes simply testing a very slow, painful and confusing experience.
My hunch is that it is not properly using sessions available in the pool.  This is backed by the experience of standing up each of these replicas with an ample min size (well above the aggregate requests/sec for the entire replica set) but still seeing the session pool spike in size as load is applied.
If you have any other means of debugging what is going on inside the session pool please let me know, and I will try it.

If it helps the load being applied is mostly reads (indexed or PK)

@walshie4 sorry to hear about the issues you are having. Let me assure you that the problems you are running into are likely bugs in the node.js library and not in the cloud spanner backend.
@danoscarmike Can we prioritize investigating this issue and making whatever fixes are required. This seems like a pretty severe issue.
cc @snehashah16

@callmehiphop can you have another look at this?  Thanks.

I'm going to close this since the original issue seems to have been resolved and this appears to be morphing into a clone of #192.


liverload less,scss

If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Expected behavior
I hope to livereload the code,and can deal with less fill,scss file, so I hope to write some webpack codes . how to realize it ?

Create React App does not currently support Less or SASS, as documented in README. If you need them, you may run their command line utilities yourself, and import the resulting CSS file into your project.
We might reevaluate this decision in a few months.
Please see the discussion in #78.

This is now explained in the Sass integration documentation.


setting left and right eyes according to the person's perspective instead of observer

Currently, we are returning eye coordinates with respect to the observer's perspective. In other words, left eye value is actually the right eye of the person. We should set these similar to biology!

[x] fix left and right eye settings in all detectors
[x] add an unit tests to test_extract_faces.py and visual_tests.py checking that left eye is on the right of the right eye
[x] update docstrings according to this action

Closed with PR - https://github.com/serengil/deepface/pull/1140


Empty component types should not require allocation

Empty component types are often used as tags, such as struct is_alive {};. Since there is no data to access within these types, and since the user does not care about the identity of a tag type, these types should require no allocation.
Possible solutions:

Store nullptr for these components.

Creating a reference to nullptr is illegal, but "usually works".

Store a pointer to the same static object for all components.

Must be careful to avoid ODR violations.
Have to figure out some way to avoid accidentally calling delete.

Provide a tag<T> template to specifically mark a component as a tag.

May cause confusion between tag<T> and T components.
Probably the safest solution.
Must allow storing both tag<T> and T components in the same entity.

It appears as if you've got a conundrum: implementing a possibly messy solution to your issue, or just throwing a nullptr in there and be done with it.  In order to future-proof this library, I think that you should definitely choose either the second or third option.  Since the second option seems extremely risky and likely to result in lots of issues down the road, I would opt for the third option.


\RavenDB\Documents\Commands\GetDocumentsCommand::withStartWith() throw on not null but empty prefix

Hello,
Method \RavenDB\Documents\Commands\GetDocumentsCommand::withStartWith throw when $startWith is an empty string (but is not null), while an empty string is working and theoretically a valid prefix.
Solution:
Replace:
        if (empty($startWith)) {
            throw new IllegalArgumentException("startWith cannot be null");
        }

by:
        if ($startWith === null) {
            throw new IllegalArgumentException("startWith cannot be null");
        }

Can you explain what your scenario is for using startsWith with an empty string?
Are you trying to iterate over all the documents?

Can you explain what your scenario is for using startsWith with an empty string? Are you trying to iterate over all the documents?

Yes indeed, with a limit of 1000 documents, there's ofc an option pattern I'm using for "matches" parameters, but it's effectively what I'm doing.

But if I'm going on the wrong way, just tell me what alternative to use :P
I'm only looking for a way to fetch up to 1000 documents (metadata only, I don't need the rest) with an optional "matches" parameter.

Can you go back a step? What is the actual scenario? You want to find 1000 documents based on their id?
Note that if you matches  for empty startsWith means that you are doing a full scan.
Basically:
for item in docs:
   if match(item):
       yield item

I assume that this isn't what you want.

Not exactly, I have a public API that allow users to retrieve all the cache items (the objects stored in Ravendb) with a maximum hard-limit of 999 items. This public API have an optional "$pattern" parameter that I successfully bound to Ravendb:
    /**
     * @return array<int, string>
     * @throws PhpfastcacheDriverException
     * @throws PhpfastcacheInvalidArgumentException
     */
    protected function driverReadAllKeys(string $pattern = ''): iterable
    {
        $keys = [];
        if (empty($this->documentPrefix)) {
            throw new PhpfastcacheUnsupportedMethodException('A document prefix must be configured and not empty to be able to load all items from Raven.');
        }
        $results = $this->instance->loadStartingWith(
            RavenProxy::class,
            $this->documentPrefix,
            $pattern,
            0,
            ExtendedCacheItemPoolInterface::MAX_ALL_KEYS_COUNT
        );

        if (is_iterable($results)) {
            /** @var RavenProxy $item */
            foreach (iterator_to_array($results) as $item) {
                $keys[] = $item->getKey();
            }
        }

        return $keys;
    }

So to bypass this "error", I made the prefix mandatory so the /docs can be called without errors.

It is like a "I want all the cache item that contain xxxx keyword".
And I wrap the keyword with * like this: *keyword*. it is currently really working well:

But the pattern is working well, it's just the $startsWith prefix which is mandatory on the Php client while it is not on the Ravendb API. Well not exactly "mandatory" but incorrectly checked as it considers an empty string as null due to if (empty($startWith)) check :)

The issue is that this works as long as you have a small amount of data. But if you have 1M items, you may need to scan through all of those.
What kind of freedom do you have in this scenario?
If I was writing independently, I would want to do something like:
{ data: ..., id: ..., tags: ["cache-test3"] }

So add the ability to tag a cache item (with multiple tags), then allow to query on that. This will result in both better API and use case, I think.
But I don't know if this is something that is possible from your end given that you integrate with an existing project

Tags already exists and are handled well on my side, but don't bother about the pattern, it is not the issue here 😂
The issue is just that the php client requires developers to provide an non-empty string to $startWith while it is not required at all by the API. Because it considers an empty string equal to null.
So; short version: I'd like to be all to grab the 999 first documents without having to provide $startWith or $matches ☺

That is indeed a bug, and we can fix that. @alxsabo
The actual use case is probably better off with a query, rather that loadStartingWith

Ok. I will make a bug fix for this issue.

Aside topic:
Do the ravendb client is Semver-compliant ?
Because I found changes that are completely breaking between 5.21 et 5.2.6 :(

There shouldn't be any breaking changes, only additional APIs

Because I found changes that are completely breaking between 5.21 et 5.2.6 :(

Can you tell us what changes you found?

PHP version changes from 8.0 to 8.1 minimum in between 2 PATCH version :(
So basically when my CI is running, composer rollback from 5.2.6 to 5.21 to run the tests which make new methods added between 5.2.1 and 5.2.6 suddenly unavailable :(

Yes, we update minimum version of PHP to be 8.1, and RavenDB cant be run on PHP 8.0

Yes, that was a breaking changes, for being Semver compliant this change should have occurred on a MINOR or MAJOR version.
Here you increased the minimum support between 2 PATCH version, so users from the 5.2 library will have incompatible code between php 8.0 and 8.1. Fine for me, I'll make the necessary checks and changes, but you should be carefully not introducing too much BC else users will have pain maintaining their code to your client :)

Thank you for raising this concern. We'll ensure better backward compatibility in our future updates.

This is something I'm very vigilant to since I took the Phpfastcache library 8 years ago.
PHP version was only increased from major to major version to avoid users to have brutal composer rollbacks and versions constraint sticked.
I will continue my implementation on my side until I consider it stable enough to make an official release of Ravendb support on Phpfastcache. Thanks for the quick support however !


gvfs prefetch for a folder and all its content

gvfs prefetch --folders services --verbose --hydrate
Stats:
Matched blobs:    0
Already cached:   0
Downloaded:       0
Hydrated files:   0
Is there a way to prefetch a folder and all its sub-content? gvfs --folders does not do that and gvfs --files downloads all pattern matching files from the entire repository.

This is not specified very well (or at all) in the help output for that command, but the expectation is that the folder paths you specify are relative to the root of the directory, not relative to your current working directory (which I'm guessing is why your command is not finding any matched blobs).
If you try running it again with root-relative paths, you should see that it does behave as you expect in terms of recursing into all subfolders as well.

Solved it. Thanks!


add support for OpenSearch vector store

Add OpenSearchAiSearchFilterExpressionConverter
Add support for FilterExpression
Add support for OpenSearch vector store

Hi @JM-Lab, AWS also provides OpenSearch and it the java sdk provides AwsSdk2Transport. Wonder if should be part of this PR or a separate one.

Hi @eddumelendez,
Sure, use AwsSdk2Transport for OpenSearchClient. Check this link for details: https://opensearch.org/docs/latest/clients/java/#connecting-to-amazon-opensearch-service

Hi @tzolov,
I plan to address your requests within the next 1-2 weeks. Would you prefer me to add commits to the current pull request or handle them in a separate pull request? Let me know what you think.

[ ] Adding documentation under the vectordbs
[ ] add the references to the catalog nav.adoc.
Add opensearch auto-configuration and boot starter

Hi @tzolov,
Will reset tangled commits and soon add documentation for vectordbs with updates to catalog nav.adoc for a clean pull request.

@tzolov
I've just created a new PR focusing solely on the OpenSearch files, on the main branch. You can find it here: https://github.com/spring-projects/spring-ai/pull/663.
Going to close this current one. Thanks!

@tzolov
I've just created a new PR focusing solely on the OpenSearch files, on the main branch. You can find it here: https://github.com/spring-projects/spring-ai/pull/663.
Going to close this current one. Thanks!


RekognitionFacesPolicy seems to take unnecessary parameter

Description:
Despite Both rekognition:CompareFaces and rekognition:DetectFaces actions are not related with Rekognition face collection, policy template RekognitionFacesPolicy takes CollectionId parameter.
I would like to use policy template RekognitionFacesPolicy, but it does not work well because it makes unnecessary constraints for resources.
I suspect this is a bug.
Questions:
Why policy template RekognitionFacesPolicy takes CollectionId parameter?
Related Document:
[1] Amazon Rekognition API Permissions: Actions, Permissions, and Resources Reference - Amazon Rekognition
https://docs.aws.amazon.com/rekognition/latest/dg/api-permissions-reference.html
API Operations |	Required Permissions   	| Resources
--------------------------------------------------------
CompareFaces   | rekognition:CompareFaces |	None used.
DetectFaces    | rekognition:DetectFaces	| None used.

API References:
[2] CompareFaces - Amazon Rekognition
https://docs.aws.amazon.com/rekognition/latest/dg/API_CompareFaces.html#API_CompareFaces_RequestSyntax
[3] DetectFaces - Amazon Rekognition
https://docs.aws.amazon.com/rekognition/latest/dg/API_DetectFaces.html#API_DetectFaces_RequestSyntax

You are correct. CompareFaces and DetectFaces have no required resources in https://docs.aws.amazon.com/rekognition/latest/dg/api-permissions-reference.html.
That parameter to that policy template can be safely removed.

Hi, keetonian
Thank you for your response.
I will try to make pull request to resolve this issue

Hi, @keetonian
I created a pull request to resolve this issue.
Could you please review it when you have time?
Thanks.

@53ningen Appreciate the fix! We'll make sure the docs get updated once this change gets released.

Pending release in v1.14.0

Closing this issue as this is released in v1.14.0


add community contributions to language pages; add link to JS page

The community-contributions component did not play well with the pages in docs/languages due to some layout issues. I fixed this by adding an override to layouts/langs.njk and then checking for that override in layouts/docs.njk.
After enabling community contributions on language pages, I added a contribution link to the JavaScript language page: https://willmartin.dev/posts/conditional-rendering-eleventy/

Cheers!

Great! Thank you!


Update Boilerplate

[ ] Use react-navigation for routing
[ ] Simplify folder organization (consolidate routes/ and layouts/ to a single screens/ directory)
[ ] Look into any performance ramifications of loading all images
[ ] Research other boilerplates and see what else we could improve (ignite)

https://www.facebook.com/groups/react.native.community/permalink/922838681185044/


advanced webp output options - alpha quality, lossless and near lossless

Coverage increased (+0.007%) to 99.497% when pulling 4f17c1671ebd3770acef10de1600f1103b8f19a8 on rnanwani:feature-advanced-webp-options into 815d076b3522b4aa4b586ed84adef9296e511a9f on lovell:master.

Coverage increased (+0.007%) to 99.497% when pulling 40aea9b8ff043593e4a0df36876fcf0f17f768a6 on rnanwani:feature-advanced-webp-options into 815d076b3522b4aa4b586ed84adef9296e511a9f on lovell:master.

If it looks good now, I can squash it into a single commit?

Since this is valid vips copy clovia.jpg clovia_vips_1.webp[lossless,near_lossless] and uses near_lossless with default Q setting, then I guess even
.webp({
  lossless: true,
  nearLossless: true
})

should be considered valid.

Coverage increased (+0.007%) to 99.497% when pulling 0ac8a6edb5b62cd81005f9869b8f5b18082a170e on rnanwani:feature-advanced-webp-options into 815d076b3522b4aa4b586ed84adef9296e511a9f on lovell:master.

Coverage increased (+0.007%) to 99.497% when pulling 0ac8a6edb5b62cd81005f9869b8f5b18082a170e on rnanwani:feature-advanced-webp-options into 815d076b3522b4aa4b586ed84adef9296e511a9f on lovell:master.

Fantastic, thank you very much for this Rahul.


Tooltip text doesn't load when from i18n

I'm trying to create a tooltip with localized text using aurelia-i18n, and it seems the resource doesn't get properly loaded.
delete

Ah yes, I've seen this interpolation with valueConverters not update, too..
${ 'deleteButton' | t }
I'm still not sure if this is a bug or intended (https://github.com/aurelia/templating/issues/438#issuecomment-236657358).
Can you try to add a signaler just to see if it works in principle?

I think this is solved. 😃

I have the same problem now.. use release 0.24.0

Please advise where I am wrong

I need to check this when I get home, it worked before and I don't remember the details.
Some new samples with i18n support are in the works by @mar9000

Hmm, this doesn't work, either:

I wonder if this has anything to do with i18n at all.
Of course, in that case my statement that it was solved was wrong.

Please check on v1 and reopen if persists


Large Update to Model and Backend Stability

UX:

Larger map.
Tree and building collision enabled
Clicking on faction recenters camera
Building rendering functionality (currently only farm)
Switched to generic cloud skybox
Buildings now have an 'address' which places them more appropriately.
Faction location and building location is now static
camera doesn't go below grownd

Backend:

Fixed an issue where event's weren't loading.
Added better checks to the cmdb_tool
re-mapped all of the objects and libraries to work better with notebooks and az-functions
updated environment to python 3.8
added openai for future projects

Reverting


using npm @aspnet/signalr angular package. could not find any documentaion nor samples on the same. It would be nice if we can get some working samples .  we wan't to use this with asp.net core and angular 5 SPA

using npm @aspnet/signalr angular package. could not find any documentaion on the same neither the sample. can you please privide any sample or documenation we wan't to use this with asp.net core and angular to using npm @aspnet/signalr angular package. could not find any documentaion nor samples on the same. It would be nice if we can get some working samples . we wan't to use this with asp.net core and angular 5 SPA

There is no documentation or samples for that exact scenario at this time. Our documentation can be found here: https://docs.microsoft.com/en-us/aspnet/core/signalr/?view=aspnetcore-2.1.


Tests sendwebpush

This adds methods for testing sendWebPush in it's current state.

cc @petele @wibblymat @addyosmani @jeffposnick
Anyone for a review?

Looks good in general. One piece of feedback with a scope that extends outside this PR is that it could be more maintainable to create a standalone file that included an enum-like mapping of error identifiers to error strings, and then refer to the errors via their identifier when constructing them in the library and when checking for them in the test.

Ta for the review Jeff (The mocha exit with status 0 is super frustrating!!).
Raised an issue regarding the error message (agreed that this doesn't scale well or maintain well) https://github.com/GoogleChrome/push-encryption-node/issues/12

@wibblymat when you get a chance, I'd appreciate you check over the code in push.js to make sure you are happy with them and I'm not missing anything.

Superceded by #18


Problem with SPI read/write through USB-HID

Hi,
Thanks for your work and your code.
As I understood from your blog, we are now able to dump/write SPI through USB-HID with Joy-Con Charging Grip.
Although everything else works, dumping always returns zeroed files.
Writing does nothing. Tested with color change and clearing switch controller cache.
Is there something I'm missing?

OK, commit https://github.com/shinyquagsire23/HID-Joy-Con-Whispering/commit/e72e8b9ef43bdce5d778ba9ea463b6c464e8b2ba broke them.
Before this commit, both work.
I'll try to fix latest version locally.

Fixed with https://github.com/shinyquagsire23/HID-Joy-Con-Whispering/commit/849eadb368b67bbd4b4791fed47a2e37f781d34c


Incomplete Syntax definition

COMMENT delimiter [[commentText]] delimiter [[auxiliarycommentText]]

non-Terminal
Definition

delimiter
[\x0-\x7\xE-\x19\x1B-\x1F\x21-\xFF]

commentText
[\x0-\xFF]*

auxiliarycommentText
[\x0-\x9\xB-\xFF]*\xA

Both delimiter are a matching pair.

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

ID: a968a2ef-58ac-a2b7-daf9-2ace6630f6b6
Version Independent ID: 952845bf-711a-86cb-3a05-2512a357878d
Content: COMMENT (MASM)
Content Source: docs/assembler/masm/comment-masm.md
Product: visual-cpp
Technology: cpp-masm
GitHub Login: @corob-msft
Microsoft Alias: corob

@Player1UK thanks! See comment for #1123.


Core Component and Tooltip event handling tweaks

This PR tweaks the behavior of the core component and the tooltip related to events:

Core | Component | Events: Check if the callback exists before execution
Component | Tooltip: Allowing triggers to be undefined or null
Component | Tooltip: If the container is body, don't change its position style because it can have unwanted effect

@reb-dev Great, feel free to merge when you're ready. I won't be able to do it myself.


hack sys.argv to fix #2389 on macos

Description

Type of change

[X] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

Closes #2389
QMenuBar will populate the App menu on MacOS by using the basename of sys.argv[0]. We check whether this is not napari and, in that case, we add a new a path component to make Qt believe it was (before any qt imports). We undo that change as quickly as possible, after QApplication has been instantiated.
How has this been tested?

[X] Opened a napari installation with python -m napari and check name is napari
[X] sys.argv is restored in IPython console

BEFORE

AFTER

Final checklist:

[X] My PR is the minimum possible work for the desired functionality
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

It looks to me like sys.argv is passed explicitly to QApplication in qt_event_loop.py. Wouldn't it be better to create a copy and pass the copy to QApplication instead of messing with the original ones ?

Hm, let me look into that @Carreau. Thanks!

it's strange as the windows-latest python-3.7 test failed twice on the same test with this change. Let me rerun a 3rd time.

it's strange as the windows-latest python-3.7 test failed twice on the same test with this change. Let me rerun a 3rd time.

Or failure on windows disappeared and the other one seem unrelated. Merging.


Fuel consumption is perhaps a bit high

I'm by no means an expert on these things, but if I understand it correctly the picture below shows me flying at FL290, ISA+10 (approximately) and with 86% TRQ. According to the POH that would give me a fuel consumption at around 55.6 GPH but as you can see I'm getting a significantly higher value (69GPH). I know that the developers have been speaking about modeling the aircraft as one that has a few flight hours so perhaps that would give you a slightly higher fuel consumption, but not this much higher right?

I agree with you, it is, but nothing I do seems to make any change. The FF is also increasing while climbing, while it should decrease.

I help help to fix that.

Hm, hopefully you can get this fixed. Mostly doing long range in FSE where I need the fuel savings. Thank you for your work. Very nice so far.

I like long range in the TBM too. The two possible solutions at the moment are to refuel in flight, using the upper menu, and not to use the mod.

What about raising the fuel level and dropping the weight of the fuel to keep from making performance compromises?

I'm getting closer to something now, seems like only 1 value makes a difference, so I can't ajust it to altitude/temperature, but it's better than nothing.

And the preliminary results:

What about raising the fuel level and dropping the weight of the fuel to keep from making performance compromises?

I don't know how to do this.

I think this happens in real life because of a single reason: the temperature of the fuel drops at altitude making the energy density increase, while at lower altitudes the temperature of the fuel increases which decreases the energy density. I see a lot of comments around the models making references to fuel density is ~6.7lbs per US gallon which is correct, at room temperature. It's likely this isn't modelled in FS2020 either A. They didn't know about it. or B. They don't know why.

Yeah, I believe it just isn't modeled as this value didn't change since take-off (it should have changed by some number greater than 0). The best we could do is write a mod that adjusts how much fuel is in the tank using the OAT and some fancy math. Shouldn't be too hard and I'll probably do it in the next few days if I manage to get some free time.

https://forums.flightsimulator.com/t/someone-goofed-some-math/294734
Found the bug and reported on zendesk. 😮


fix failure to OCR: general quality issue due to LSTM being fed noisy/crappy original image pixels instead of cleaned-up binarized pixels.

fix Bushnell OCR bug (failure to properly OCR the number "11"; see message chain in mailing list: https://groups.google.com/g/tesseract-ocr/c/5jrGvsrdqig/m/jvTG6L9zBgAJ; this includes sample images, text output and context as originally reported by Astro/Nor):
root cause:
it turns out tesseract erroneously grabs the ORIGINAL image (instead of the THRESHOLDED/BINARIZED one!) to extract the word box (Tesseract::GetRectImage()) which will be fed into the LSTM OCR neural net in order to OCR the detected text area.
Ergo: this fix SHOULD improve OCR results generally, as this is a generic bug which impacts ALL text bboxes found in a given input page image, which are then being pumped into the LSTM engine to obtain OCR'ed text.
This fix was verified to work in an otherwise patched/augmented tesseract rig: GerHobbelt/tesseract: commit series bb37cf3c2e3f177cf41d2e8a01a648bcc53f3911, ffc1997483f6380583fb6921910896826a62d304, 15d2952fc4d8f5407e5491112794f9cb2c0b0f77, 69416e594ac84078898800222168e4bfdad68ef1, f49826b7354436c6dfe6c1672e5b55235dab756b, d53c1a219ae78a1091bdc3a168d3881d7043d8f6, 44f2f8486c1b0064402b45b194100d0007a07698, where I worked on removing the curious BestPix() API, which SEEMINGLY was originally meant for ScrollView-et-al debug display purposes, but is (IMO) an ill-named API for that purpose.

remove accompanying, now obsolete, comment

also remove the need for BestPix() API usage in EquationDetect::PrintSpecialBlobsDensity() by invoking the API that delivers what's actually used there: the image height. Here BestPix() usage is also wrong (theoretically) as the sought-after image height is about the actual height of the binarized image data, which represent the cleaned-up-and-ready-for-use OCR sourcing image data.

Corollary of this bug
Anyone feeding tesseract monochrome (pre-thresholded/binarized) images from an external cleanup+binarization process SHOULD already get best OCR results and SHOULD NOT be impacted by this bug, nor this fix. (As then there would be no difference between 'original pix' and 'binary pix' from tesseract's perspective.)

I tested this commit on a grey scale newspaper image, and the result is mixed. Some line were recognized better, others got worse.

Do you have a sample newspaper scan where this occurs?
🤔
The fundamental issue with the old code is that it circumnavigates the
tesseract thresholding/cleanup process using no obvious criteria & outside
the user's control, resulting in undesirable source image noise getting
into the engine. Pondering both your results and mine, this would mean
BestPix() needs a user control parameter. (Or folks should be relegated to
using fully external image cleanup processes, but that would still leave us
with a nonobvious decision making process in BestPix().🤔
On Sat, 5 Aug 2023, 12:04 Stefan Weil, @.***> wrote:

I tested this commit on a grey scale newspaper image, and the result is
mixed. Some line were recognized better, others got worse.
—
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/tesseract/pull/4111#issuecomment-1666460160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADCIHVGZBSXOZ7IRNN3SV3XTYLBJANCNFSM6AAAAAA3E2Z2SQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Windows 8.1: pressing Del deletes folders without any prompt

This is a non-issue since Explorer deletes without a prompt, too.


Fix fabric

you will need to create github deploy keys (i have no rights to do so) and store it inside the "instance" in order to fetch gh repo. they are used like this during deployment:

c.run("ssh-agent bash -c 'ssh-add ~/.ssh/github_pyconcz && git fetch'")

to see fabric ouptut, setup invoke conf like this
echo 'run = {"echo": True}' > ~/.fabric.py


ESPAltherma not working on ESP8266

Hello,
I have an esp8266 NodeMcu V2 CP2102, I followed the procedure to install ESPAltherma but the firmware does not seem to start. I have a blue led next to D0 which flashes every 2 seconds and the serial monitor writes every 2 seconds:
load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00054bc0
~ld
My ESP8266 does not even connect to my wifi network, I tried to install Tasmota and the Wifi and MQTT works perfectly.

Try removing PROGMEM.

Thanks ! I deleted PROGMEM in the ALTHERMA(BIZONE_CB_04-08KW).h file and everything started working.

Same issue here.
Maybe a fixe for this ?

I removed PROGMEM from the source code. Not used in esp32, and breaking in esp8266.

Ok thanks a lot!


Images disappear when scrolling

The issue
When the markdown is rendered within a ScrollView, images within the markdown disappear as it scrolls. In versions prior to these changes, the images render consistently.
The reason
It looks like the commit made on November 6, 2019 where the deprecated lifecycle methods are removed is the culprit, but I'm not sure where the bug occurs. Any ideas?

I've investigated this; this is caused because when shouldComponentUpdate was removed, the shallow comparison of incoming props was removed.  Consequently, if you use <Markdown {...} /> within a ScrollView, it will unnecessarily re-render the markdown each time the scroll position changes.  This can be fixed by using React.memo

Hey there, thanks for debugging this - i am struggling to replicate the render thrashing inside of the library with this code below.
@nickarora do you have a code snip that does?
const copy = `
# Title

I've investigated this; this is caused because when shouldComponentUpdate was removed, the shallow comparison of incoming props was removed. Consequently, if you use <Markdown {...} /> within a ScrollView, it will unnecessarily re-render the markdown each time the scroll position changes. if an image is being fetched from a url, the constant re-rendering leads to the glitch -- because FitImage needs time to figure out it's height and width. (it defaults to height 0 if the info is unavailable)

I've investigated this; this is caused because when shouldComponentUpdate was removed, the shallow comparison of incoming props was removed. Consequently, if you use <Markdown {...} /> within a ScrollView, it will unnecessarily re-render the markdown each time the scroll position changes. if an image is being fetched from a url, the constant re-rendering leads to the glitch -- because FitImage needs time to figure out it's height and width. (it defaults to height 0 if the info is unavailable)

I've investigated this; this is caused because when shouldComponentUpdate was removed, the shallow comparison of incoming props was removed. Consequently, if you use <Markdown {...} /> within a ScrollView, it will unnecessarily re-render the markdown each time the scroll position changes. if an image is being fetched from a url, the constant re-rendering leads to the glitch -- because FitImage needs time to figure out it's height and width. (it defaults to height 0 if the info is unavailable)

I've investigated this; this is caused because when shouldComponentUpdate was removed, the shallow comparison of incoming props was removed. Consequently, if you use <Markdown {...} /> within a ScrollView, it will unnecessarily re-render the markdown each time the scroll position changes. if an image is being fetched from a url, the constant re-rendering leads to the glitch -- because FitImage needs time to figure out it's height and width. (it defaults to height 0 if the info is unavailable)

I've investigated this; this is caused because when shouldComponentUpdate was removed, the shallow comparison of incoming props was removed. Consequently, if you use <Markdown {...} /> within a ScrollView, it will unnecessarily re-render the markdown each time the scroll position changes. if an image is being fetched from a url, the constant re-rendering leads to the glitch -- because FitImage needs time to figure out it's height and width. (it defaults to height 0 if the info is unavailable)

![img](https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Image_created_with_a_mobile_phone.png/1280px-Image_created_with_a_mobile_phone.png)

`;

const App: () => React$Node = () => {
  return (
    <>
      <StatusBar barStyle="dark-content" />
      <SafeAreaView>
        <ScrollView
          style={{height: '100%'}}
        >

           <Markdown style={styles}>{copy}</Markdown>

        </ScrollView>
      </SafeAreaView>
    </>
  );
};

In your example, you are unable to reproduce the bug because nothing causes your app to re-render the markdown component with the same props.
Here's a sample project that demonstrates the problem:
https://github.com/nickarora/react-native-markdown-display/tree/rerender-bug/bugexample

thanks @nickarora and @egarrett94
completely missed this! fixed in 5.1.1, please let me know :)

Hello. I'm on latest 6.1.6 and this error keeps happening. any workaround? Thanks


Update issue templates

Start adding issue templates to help submissions be more self-sorting

Changes in this PR obsoleted by 4a212bd8495ce352c87cdd0ef885c1370c2fb32b


Added C++ solution to ANAGRAMS

Description
Added C++ solution to the problem anagrams
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have made corresponding changes to the documentation
[x] Any dependent changes have been merged and published in downstream modules

Just make another commit. Just an edit in readme or any small change this time this will not fail I guess.🙂

@Aditya-150  Done. You can review it now


Tutorial on intkey workload generator

Documentation on 'intkey workload' added to
developer's guide. This replaced the article on the
simulator from version 0.7 of Sawtooth Lake.
Signed-off-by: Todd Ojala<EMAIL_ADDRESS>

I think the word "simulator" should be replaced with "generator" throughout the doc.

@agunde406 I made the change: simulator-->generator


Reject unsolicited PeerResponse messages

This PR naively caches sent peer requests until a response is received, the goal being to detect when an unsolicited PeerResponse message is sent in order to influence a node's peer lists.
TBD:

[x] protocol violating nodes are currently disconnected and added to the candidate peers. Might be good to restrict them instead? (follow up)
[x] is the naive cache sufficient or do we need to track multiple requests to the same peer at a time? Consolidated with existing cache.

Fixes #2894.
Drafted as it has only been tested on a local network.

Rebased.


Migrate from nextjs-sitemap-generator to next-sitemap

Superseded by https://github.com/acelaya/alejandrocelaya.blog/issues/146


FroshTools without elastic search not working properly, please check.

PHP Version
8.0.20
Shopware Version
<IP_ADDRESS>
Actual behaviour
The first tab "System status" is not loading. Following message appears in the console_
Uncaught Error: Too few arguments to function Frosh\Tools\Components\Elasticsearch\ElasticsearchManager::__construct(), 0 passed in /www/htdocs/var/cache/prod_h2d7a77f1e45ae064898b86ae1d456125/Container2gnyuep/Shopware_Core_KernelProdContainer.php on line 23679 and exactly 8 expected {"exception":"[object] (ArgumentCountError(code: 0): Too few arguments to function Frosh\\Tools\\Components\\Elasticsearch\\ElasticsearchManager::__construct(), 0 passed in /www/htdocs/var/cache/prod_h2d7a77f1e45ae064898b86ae1d456125/Container2gnyuep/Shopware_Core_KernelProdContainer.php on line 23679 and exactly 8 expected at /www/htdocs/vendor/store.shopware.com/froshtools/src/Components/Elasticsearch/ElasticsearchManager.php:26)"} []
Expected behaviour
It's working if shopware/elasticsearch is installed, but we're not using elasticsearch. So it should be possible to use frosh tools without it.
Steps to Reproduce?

PHP version 8.0.20
Shopware version <IP_ADDRESS>
FroshTools version 0.2.7
shopware/elasticsearch removed via composer

Hey Soner, many thanks for the quick implementation. When will the next version with these changes be released?


Memory leak slowing down simulations

Expectations are that the 999 simulation is going to be just as fast as the first one, but that is currently not the case. Very obvious when it's 200+ bots in each simulations. Reproduces both on Debug and Release builds.

After experimenting with LimitParallelExecution I have now achieved stable execution time

I pushed a update that limits parallel execution, to the smallest of

2x number of cores avaliable
allowing 5MB of RAM for each parallel simulation

With this, I'm confirming it was not a memory leak - the consumed memory stays under 100MB even after hundreds and hundreds of completed simulations.
Closing this issue.


Error trying to return array passed in to function

The following code:
from numba import njit

@njit
def foo2(x):
    return x

@njit
def foo(x):
    return foo2(x)

a = np.arange(10)
print foo(a)

produces the following error in function foo:
ValueError: Only accept returning of array passed into the function as argument

even though the array being returned from foo is the original array passed in to foo.

This now works fine, closing.


Content blocks render with different amounts of inset even though they are entered in the same way

Issue found in 166936d3b298a293d4ddd2e573cadc3489ce5f38
Below is a screen shot of two accordions that both have a right aligned image but the text of the first is indented more than the text of the second.
This is often an issue, even if there is just text, but I haven't been able to identify why.

![image](https://cloud.githubusercontent.com/assets/5931508/7140601/19b72d38-e2c4-11e4-9a1f-80dabf5e08d6.png)

This was an issue in ucam-cl-dtg/isaac-app, which I believe is now fixed.


Update GreetingController.java

@chanmi910: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
65f7bdab0cf9030a563f322ffee7aad7f575d951
link
/test pr

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/restart

/test pr


Autoscaling metrics

The actual and desired size of the cluster are among the most fundamental metrics you want to capture when monitoring the cluster.
Issue #, if available:
Description of changes:
Added metrics collection to autoscaling group and appropriate IAM permissions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi @stephenmsachs
Looks good! just two things we need to change before we merge.

Please squash all the commits into one commit. Assuming you have upstream configured like this:

$ git remote -vv
upstream        git@github.com:aws/aws-parallelcluster-cookbook.git (fetch)
upstream        git@github.com:aws/aws-parallelcluster-cookbook.git (push)

Then you can rebase & squash:
git fetch upstream && git rebase upstream/develop
git rebase -i upstream/develop

Then change pick to squash for all but 1 commit, for example:

Next run tox -e cfn-autoformat to make travis happy:

pip install tox
cd cli && tox -e cfn-autoformat

Commit the changes and force push:
git commit -a --amend
git push [your_fork] [your_branch] --force

Replacing this with https://github.com/aws/aws-parallelcluster/pull/1229


Strings, comments and types are colored the same

https://msdn.microsoft.com/en-us/visualfsharpdocs/conceptual/units-of-measure-[fsharp]

@dend This is something that needs to be fixed in the formatting for code snippets.  We could work around this by putting comments on their own lines in the snippet, but that would only be a temporary workaround.

I'll bring this up to the attention of the engineering team - seems like we can make some improvements to the syntax highlighting engine.


omada_client_connected_total changed in latest omada version

Hi,
In Omada controller version 5.9.31 the filed omada_client_connected_total no longer displays only 1 value, but separate values for each wifi mode (ac, ax, ng, etc)
This will result in the grafana dashboard to have multiple values when it should be only one total number
# TYPE omada_client_connected_total gauge omada_client_connected_total{connection_mode="wireless",site="***",site_id="641c7f4750ab2904d039be64",wifi_mode="802.11ac"} 7 omada_client_connected_total{connection_mode="wireless",site="***",site_id="641c7f4750ab2904d039be64",wifi_mode="802.11axa"} 1 omada_client_connected_total{connection_mode="wireless",site="***",site_id="641c7f4750ab2904d039be64",wifi_mode="802.11na"} 1 omada_client_connected_total{connection_mode="wireless",site="***",site_id="641c7f4750ab2904d039be64",wifi_mode="802.11ng"} 1

Hey @uzzitm,
In the latest release some of the client total metrics were updated, this was to add extra dimensions to the metrics to allow people to filter clients based on their type as well as the wifi protocols connected.
If you're not interested in a breakdown on your dashboard, you can simply use sum(omada_client_connected_total) in your Prometheus query

thanks for the suggestion Charlie ! sum(omada_client_connected_total) works perfectly

fixed


Add the motoko-base library to releases

There doesn't seem to be any way to associate a specific motoko release with a version of base that's guaranteed to work with it, so this at least guarantees that we publish the same version that the testsuite passes with.

Looks reasonable. Is this part of the plan to not use nix anymore to get Motoko artifacts into the dfx build?


rename function to explicit their boolean output?

Thanks for the package, very useful!
Would it make sense to rename the functions to things like is_valid_siren? I somehow feel that it would make more sense. What do you think?

Thank you Joël, that's a good point.
The idea behind the chosen names is that they are both in english in french (as the package will be used mainly by french speakers).
I'll probably stick with that idea.
Naming things is hard. 😅


Missing Sequence

Hello there,
first of all, thanks for making this database available!
This is not a big problem but just something I noticed. I am using file: pr2_version_4.10.0_UTAX.fasta and got a warning formatting it:
WARNING: Empty sequence at line 2598276 in FASTA file /cluster/project/gdc/people/jwalser/db/pr2_version_4.10.0_UTAX.fasta, label >CP000499.0.0_U;tax=k:Eukaryota,d:Opisthokonta,p:Fungi,c:Ascomycota,o:Saccharomycotina,f:Saccharomycetales,g:Scheffersomyces,s:Scheffersomyces_stipitis
Adding the trimmed sequences (or removing the record it) solved it.
Best

Hello
Thanks for the feedback, this will be fixed in the next release of PR2 (4.11.0) which should be released in a couple of weeks.  Cheers.  Daniel


fix: Invalidate cloudfront cache after rewriting static files

Unfortunate but if someone requests static files during a deployment the unrewritten versions can get stuck in CF.
Not sure how to prevent this from happening in the first place though :(

When I redeployed my test app w/ updated nextauth google client id/secret, it never updated w/ the new values. I'm hoping this fixes that.


how to translate from subquery

i have see the doc reference, my question is : how to translate from sub query into querydsl, ex:
select * from (
select * from table1
) as t

like this:
from(Q1).where(Q1.id.in(JPAExpressions.select(Q2.id));


Allow keyboard keys to navigate inventories.

Currently, you cannot use keyboard keys to navigate in inventories like you can with controllers. This should be changed so that you can play Minecraft solely with your keyboard.

Yeah it could be verry cool


feat(table): Multi-column table cells

Problem
Table cells cannot currently span across multiple columns:

These
Are
Single
Column

But these are
multi-column

This is often useful when wanting to "group" or "nest" headers:

Benchmark
Rust
JavaScript

CPU
Memory
CPU
Memory

bench1
5%
5kb
100%
5GB

Solution
Add an option to the Cell struct and take it into account when rendering the table. This means that in a table with N columns, each row can contain anywhere between 1 and N cells.
Additional notes
The specific example above would also require multi-row headers, which is a separate issue out of scope for this one. Multi-col cells are still useful in other contexts as well.

Hello, we tried to solve the issue.
This is what we did:
Added support for multi-column cells in the Table widget by introducing a colspan field to the Cell struct and modifying the rendering logic to handle cells that span multiple columns.
You can review changes in this commit: https://github.com/kkpo4553/ratatui-ratatui-1568/commit/d855ce2773d5cf9ae11a6499d9445c10cbda9bd3.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

AI is cool with me (I use a variety of things daily). But I prefer there to be a human in the loop that checks things so they're not wasting my time like this.


[GA] Release cycle and nightly builds

Feature request

As a non-tech user I would like to know when the next release will be
As a non-tech user I would like to test PR builds easily

What problem does this feature solve?
A big feature (to me) has been released (home assistant connectivity, any light of the house, yay) and there is no way to test it unless I wait for the next release (Unable to know when it will be) or I build the project myself, which not everyone can do.
What does the proposed API look like?
Not related
How should this be implemented in your opinion?

As a user I would like to know when the next release will be:

Write the release cycle of the project in the readme or in a doc page

As a user I would like to test PR builds

Github action downloads link are hard to find, maybe add a bot to add those links to PR's comments (with expiry if there is any)?

Are you willing to work on this yourself?
No: I don't know the release cycle (is it automated btw?) and I'm using gitlab CI/CD, so I'll be slow to update github's actions/workflow files

Nightly builds can be obtained from the repository page.
https://releases.hyperion-project.org
You can recognize PR build on the Actions page.

Just in addition...
To test a dedicated PR follow the documentation:
https://docs.hyperion-project.org/user/advanced/Testing.html#pull-requests

As a user I would like to know when the next release will be:
Write the release cycle of the project in the readme or in a doc page

Given that we are a small team doing development voluntarily, there is no fixed release cycle.
Whenever there is a consistent state that we think is beneficial for a wider community and is reasonable spending the effort doing a release, we do so.
it is likely we still do a release this year, but no ETA yet.


Move CDI spec from mod.rs to config.rs located in src/specs/

As original mod.rs where cdi spec defined, I think we should move it to a dedicated config.rs for CDI spec which ensures adherence to Rust style guidelines and keep maintaining alignment with cdi-go code for specs-go.

cc @zvonkok


Could not find a package configuration file provided by "osqp"

Starting >>> ndt
--- stderr: osqp_interface
CMake Error at CMakeLists.txt:14 (find_package):
  By not providing "Findosqp.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "osqp", but
  CMake did not find one.

  Could not find a package configuration file provided by "osqp" with any of
  the following names:

    osqpConfig.cmake
    osqp-config.cmake

  Add the installation prefix of "osqp" to CMAKE_PREFIX_PATH or set
  "osqp_DIR" to a directory containing one of the above files.  If "osqp"
  provides a separate development package or SDK, be sure it has been
  installed.

---
Failed   <<< osqp_interface [1.87s, exited with code 1]

Go: https://osqp.readthedocs.io/en/stable/installation/sources.html#install-the-binaries
Under osqp/lin_sys/direct/qdldl/qdldl_sources folder you should clone the osqp/qdldl master branch and I recommended that you build this repo before the clone in the another directory.
nisa@nisa:~/osqp/build$ cmake ..
nisa@nisa:~/osqp/build$ cmake --build . --target install
nisa@nisa:~/osqp/build$ sudo make install

(sudo is important!!!)


Learn Flutter

Push different side projects to learn flutter.

Please assign this task to me

let me do this


How can I deploy vllm model with multi-replicas

I want to deploy a LLM model on 8 A100 gpus.
To support the higher concurrency, I want to deploy 8 replicas (one replica on one gpu), and I want to expose one service to handle user requests, how can I do it?

you mean each gpu has one vllm?  and it serve. small model like 13b

you mean each A100 gpu has one vllm? and it serves small model like 13b

yes, how can I manage these model replicas in one service ?

you mean each A100 gpu has one vllm? and it serves small model like 13b

yes, how can I manage these model replicas in one service ?

maybe you can do like below.
1)first, use 8 ports to launch  8 vllm on each gpu
2)set a frontend and receive the request from user,  then router the requests to one vllm based on load balance.

you mean each A100 gpu has one vllm? and it serves small model like 13b

yes, how can I manage these model replicas in one service ?

maybe you can do like below. 1)first, use 8 ports to launch 8 vllm on each gpu 2)set a frontend and receive the request from user, then router the requests to one vllm based on load balance.

If I want to do inference offline,how should I do this

CUDA_VISIBLE_DEVICES= 0 python -m vllm.entrypoints.api_server --model [your model] --port 8080
Cuda visible devices are from 0 to 7 if your machine have 8 of them. You need to choose multiple port (e.g., from 8001 to 8007)
Then you can send request to <IP_ADDRESS>:[your port] to inference your server locally.

This can be acheived using https://github.com/lm-sys/FastChat and their vLLM integration by running a single controller and multiple vLLM model workers.


Custom imprint, privacy policy, terms and conditions

MAS should offer the ability to configure custom links/input for

imprint
privacy policy
terms/conditions

These should be exposed in the MAS web UI and in the footer of emails sent by MAS.

FTR, I think this requirement is only to show the information and links whereas I have made https://github.com/matrix-org/matrix-authentication-service/issues/1703 to enforce acceptance of terms by the user.

@pmaier1 What are you thinking of for the "imprint"? Where would that show?

@pmaier1 What are you thinking of for the "imprint"? Where would that show?

It needs to be shown on all web pages and in the email footer (just as the other ones). I think it is sufficient if we allow configuring a link. If there's no link configured, we wouldn't show it.

I think we might want to let people configure different imprints for web vs email which might give some flexibility.
e.g.

Web footer: All Rights Reserved. The Element name, logo and device are registered trade marks of New Vector Ltd

Email footer: NOTICE: New Vector Ltd t/a Element is a company registered in England & Wales with company number 10873661. Our registered office is 10 Queen Street Place, London, United Kingdom, EC4R 1AG.

None of these options are mandatory. The default config that is generated by mas-cli can have them as empty values (or omitted entirely).


[proposal] 'area-cruve' attribute required

Is it possible to consider adding a 'area-cruve' attribute to realize the apperance?
https://i.loli.net/2017/12/25/5a40cf01ce734.png

Hi @Dieber, thanks for the proposal.
Just to understand, you mean you would like to have a areaCurve accessor the same way we have a lineCurve option in the line chart: http://eventbrite.github.io/britecharts/module-Line.html#.lineCurve__anchor ?

@Golodhros
Yes, That's right.

Thanks for raising the issue @Dieber, the functionality should be available after this https://github.com/eventbrite/britecharts/pull/504 gets merged. Shares same curve configurations as the line chart.


docs: readme update

Clarified PrismaClient import, to address issue #49.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix limited API unicode iteration

__Pyx_PyUnicode_READ for the limited API just uses data as the unicode object. Bring the initialization for unicode iteration in line with that definition.
Cherry-picked from https://github.com/cython/cython/pull/5261

Thanks


Left to Right Gradient?

I've been playing with the combination of location, start, and end props but can't figure out how to implement a left to right gradient. Any thoughts?
Thanks!

start is [x,y] (proportional) end is same so:
     <LinearGradient colors={['#514A9D', '#24C6DC']}                       start={[0.0, 0.5]}                       end={[1.0, 0.5]}                       locations={[0.0, 1.0]}                       style={styles.container}>
will do the trick!

Ok, I think I understand it now. Thanks for the fast reply!
On Wednesday, December 9, 2015, Nick Hudkins<EMAIL_ADDRESS>wrote:

start is x,y http://proportional end is same so:
<LinearGradient colors={['#514A9D', '#24C6DC']}
start={[0.0, 0.5]}
end={[1.0, 0.5]}
locations={[0.0, 1.0]}
style={styles.container}>
will do the trick!
[image: screen shot 2015-12-09 at 1 19 09 pm]
https://cloud.githubusercontent.com/assets/299126/11694335/81f5674c-9e77-11e5-8af8-251272482e45.png
—
Reply to this email directly or view it on GitHub
https://github.com/brentvatne/react-native-linear-gradient/issues/45#issuecomment-163347742
.

--
-Brad
Sent from my iPhone

Woops! Looks like my explanation got butchered a little bit. Basically 0,0 is top left , 1,1 is bottom right.
:+1:

when i insert the code Error occur... can you help me pls

This is my code
Program:
<LinearGradient colors={['#514A9D', '#24C6DC']}
start={[0.0, 0.5]}
end={[1.0, 0.5]}
locations={[0.0, 1.0]}
style={styles.container}>

<Calendar
theme={{
backgroundColor: 'transparent',
calendarBackground: 'transparent',
textSectionTitleColor: '#fff',
selectedDayBackgroundColor: 'yellow',
selectedDayTextColor: 'red',
todayTextColor: '#00adf5',
dayTextColor: '#fff',
textDisabledColor: '#d9e1e8',
arrowColor: '#fff',
monthTextColor: '#fff',
textDayFontSize: 12,
textMonthFontSize: 16,
textDayHeaderFontSize: 16,
currentDayCircle: {
backgroundColor: 'blue',
},
}}
hideExtraDays={true}
hideArrows={true}
onDayPress={(day) => {
//console.log('selected day', day)
}}
/>

I faced the same issue. I just changed the start to startPoint and end to endPoint in LinearGradient tag. It worked for me.


[sanity] Better paragraph (p tag) formatting

DOMAIN = both
Feature request...Better paragraph (p tag) formatting (right now there isn't enough white space between paragraphs so everything looks squished together)
See Carbonmark About page for an example.

low priority, closing


⚠ Bofrost.at has degraded performance

In 8ba93d9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1192 ms

Resolved: Bofrost.at performance has improved in 67710f9 after 16 minutes.


Filter option for the experience users

Must have feature
We would also like to have a filter where the users of the experience site can filter to only see the events of a specific category. For that, we also need a new custom field namely the category on the event object.

Not currently planned - will consider as future enhancement.


How to remove chat log by default

So I cant seem to find documentation on how to stop tmi from logging all chat from channels that you are in. Is it possible to change this without altering the code itself?

Actual behaviour:
Expected behaviour:
Error log:
Insert your error log here

Server configuration

Operating system:
Node version (if applicable):
NPM version (if applicable):
tmi.js version:

i simply just dont wanna see what messages come from other channels

The debug option sets the default logger to the "info" level. Remove it to default to the "error" level. You can supply your own logger or set the level lower to "warn" to get more information without the chat.
client.log.setLevel('warn');

but warn doesnt show the joining of channels
thats what i would like to keep

Add an event handler for the "join" and "part" events. There's no other distinction between chat and join/part to the logger.
Example:
client.on('join', (channel, username, self) => {
    if(self) {
        client.log.info(`Joined ${channel}`);
    }
});


Support po_tokens (to resolve "Sign in to confirm you're not a bot")

Describe the bug
The other issue (https://github.com/distubejs/ytdl-core/issues/76) has been derailed with tech support questions. po_token and visitor_data is now required to bypass the bot confirmation screen. Details are documented in yt-dlp or Invidious' fix here: https://github.com/iv-org/invidious/pull/4789 && https://github.com/yt-dlp/yt-dlp/pull/10648.
The po_token/visitor_data can be generated using https://github.com/iv-org/youtube-trusted-session-generator, or presumably through inspecting your browser's HTTP request headers + cookies.
How difficult would it be able to support this?
Debug File
Working request body
{
  "context": {
    "client": {
      "clientName": "WEB",
      "clientVersion": "2.20240726.00.00",
      "hl": "en",
      "timeZone": "UTC",
      "utcOffsetMinutes": 0
    }
  },
  "videoId": "[VIDEO_ID]",
  "serviceIntegrityDimensions": {
    "poToken": "[PO_TOKEN]"
  },
  "playbackContext": {
    "contentPlaybackContext": {
      "html5Preference": "HTML5_PREF_WANTS",
      "signatureTimestamp": 19942
    }
  },
  "contentCheckOk": true,
  "racyCheckOk": true
}

Working Headers
{
    "X-YouTube-Client-Name": "1",
    "X-YouTube-Client-Version": "2.20240726.00.00",
    "Origin": "https://www.youtube.com",
    "X-Goog-Visitor-Id": "[VISITOR_ID]"
}

Environment
@distube/ytdl-core version: 4.14.4
Node.js version: v18.20.3
Operating system: Debian GNU/Linux 11

You can use cookie for avoid it
  private async initializeAgent() {
    const cookiesPath = path.join(__dirname, '..', 'cookies.json');
    const cookiesContent = fs.readFileSync(cookiesPath, 'utf8');
    this.agent = ytdl.createAgent(JSON.parse(cookiesContent));
  }
  getAgent(): ytdl.Agent {
    return this.agent;
  }

You can use cookie for avoid it
  private async initializeAgent() {
    const cookiesPath = path.join(__dirname, '..', 'cookies.json');
    const cookiesContent = fs.readFileSync(cookiesPath, 'utf8');
    this.agent = ytdl.createAgent(JSON.parse(cookiesContent));
  }
  getAgent(): ytdl.Agent {
    return this.agent;
  }

Authentication doesn't always fix this issue. Main point of this issue is to figure out if unauthenticated requests can still be made to work. Risking Google account bans is not ideal

cookies.json

Don't worry , because file cookies.json set at in your back-end, not in client (front-end) you can check here : https://phuongmychi.vn/watch?v=ZTbKpBzL7hE

cookies.json

Don't worry , because file cookies.json set at in your back-end, not in client (front-end) you can check here : https://phuongmychi.vn/watch?v=ZTbKpBzL7hE

My point still stands.. and this is not relevant to the issue I created. The maintainer can decide whether this approach is viable

cookies.json

Don't worry , because file cookies.json set at in your back-end, not in client (front-end) you can check here : https://phuongmychi.vn/watch?v=ZTbKpBzL7hE

My point still stands.. and this is not relevant to the issue I created. The maintainer can decide whether this approach is viable

If you worry about that, you can create an youtube clone account for use cookie ^^

Hey @Brainicism.
Does it work without cookies or proxies if I set po_token etc as you say?
I have deployed my API to Vercel Function, but cookies do not work on such a server and I am using a proxy at this time.

Yes, it seems like an update is needed to be able to use po_tokens.

Yes, it seems like an update is needed to be able to use po_tokens.

How to retrieve the po_token, is there any working version?

currently cookies doesn't work for live streams, seems like this is needed

Use Youtubei.js its working fine for me

Support for poToken is almost complete.
Right now, the getBasicInfo function is not working due to a bot error, so I am fixing that.
You can find it at @ybd-project/ytdl-core

@ybd-project/ytdl-core
I have now released ytdl-core with the ability to specify poToken and visitorData.
The iOS and Android players are experiencing bot errors, but we have been able to work around this by using the Web Creator player.
These issues are being improved, so please wait. We are looking forward to receiving reports of issues.


Missing information (project URL/Catalog) in template detail view.

Rancher Versions: Build from master
Steps to reproduce the problem:
Go to Catalog->Library->Apache Kafka
Catalog field is empty and Project URL field is missing.

Tested rancher-server version v1.5.0-alpha1
project URL and Catalog info are seen in template detail view.


x/build: decide status of Android TryBots

The android-386-emu and android-amd64-emu builders currently run as TryBots in the default set. However, android/386 and android/amd64 are not first-class ports, and have some open issues that can cause test failures in TryBot runs (notably #51001, #52724, #42212).
Discussion #53060 proposes to run only first-class ports as TryBots, but I think we should on the status of android TryBots in particular independent of that discussion, because we have specific known failure modes affecting the android TryBots today.
CL 407615 would remove these TryBots, and #25963 discusses misc-compile TryBots that could plausibly take their place.
In order to avoid TryBot failure noise when the tree reopens for Go 1.20, we should decide on the status of these TryBots before completing the Go 1.19 release cycle.
(CC @eliben @golang/android @golang/release)

As a small correction, only the android-amd64-emu builder is configured as a TryBot. The android-386-emu one is a post-submit only builder for all repos.

I think in the current state it makes sense for the android-amd64-emu builder to be post-submit only.
If I understand correctly, @cherrymui may support that too, based on this comment on CL 407615. (I'll update that CL once this issue moves to NeedsFix state.)

Just clarify questions:
What's the exact consequence of removing a builder from TryBots?
Does it mean that this port will never be tested unless explicitly requested?
Is it going to be similar to how iOS living today? (i.e. unless try=ios, the builder will only be tested after a CL is submitted?)
Instead of removing it from TryBots will at least require doing a proper upgrade, is that correct?

Is it going to be similar to how iOS living today? (i.e. unless try=ios, the builder will only be tested after a CL is submitted?)

Yes, this is correct. "Removing the builder from the TryBot set" would mean it will not run automatically before CL submission when Run-TryBot+1 vote is set, but can be requested via SlowBots syntax (i.e., TRY=android or TRY=android-amd64). But it'll run after a CL is submitted (aka post-submit builds, as visible on the build dashboard), that's not changing here.
I think this answers other questions, but let me know if I missed something. (I didn't quite understand the very last question.)


To fix #491

Coverage remained the same at 48.87% when pulling 8d7efcfc3a50e55218ae008924da74c4eedc64e6 on samuelgarcia:fix_axon_bug into f0285a7ab15ff6535d3e6736e0163c4fa6aea091 on NeuralEnsemble:master.

Coverage remained the same at 48.87% when pulling 8d7efcfc3a50e55218ae008924da74c4eedc64e6 on samuelgarcia:fix_axon_bug into f0285a7ab15ff6535d3e6736e0163c4fa6aea091 on NeuralEnsemble:master.

Coverage remained the same at 48.87% when pulling 8d7efcfc3a50e55218ae008924da74c4eedc64e6 on samuelgarcia:fix_axon_bug into f0285a7ab15ff6535d3e6736e0163c4fa6aea091 on NeuralEnsemble:master.

Hello @samuelgarcia! Thanks for updating the PR.

In the file neo/rawio/axonrawio.py, following are the PEP8 issues :

Line 453:29: E127 continuation line over-indented for visual indent
Line 458:100: E501 line too long (108 > 99 characters)

The travis is our old firend test_pynnio.py!!

Ready to merge.


Missing icons

There are missing 3 icons in wuma ulx interface (black and purple texture)

Which three icons?


🐞 [Bug]: Monitoring  Retry logic in failed on RMB

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
Monitoring
What happened?
tried to run example of monitoring with invalid relay url and got an error after first try
Steps To Reproduce
No response
which network/s did you face the problem on?
Dev
version
2.5.0
Twin ID/s
No response
Node ID/s
No response
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records

Relevant log output
.

Verified, Devnet.
It worked with all the URL correct and with 2 invalid URLs.


npm run build error and solution

In this section on step 4 "npm run build" command might give this error depending on the webpack version user have installed.

In this case applying the solution here solves the issue.

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

ID: a59958d2-f428-9ca2-3440-a5af662386c0
Version Independent ID: dcaf0b5b-08ea-c437-130b-342a1be62a16
Content: Tutorial: Build a message compose Outlook add-in - Office Add-ins
Content Source: docs/tutorials/outlook-tutorial.md
Product: outlook
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Looks like this issue should be resolved with the fixing of issue https://github.com/OfficeDev/office-js-docs-pr/issues/2179 so closing.
@mehmetkaradeniz Let us know if that's not the case and we can reopen this issue.
Thanks.


Supplemental Data Error Reporting

added table for supplemental data reporting errors. errors are now reported for each supplemental data (Race, Sex, Ethnicity, Payer) with mismatched expected and reported values. this adds to the total possible number of execution errors

Screenshot plz

When I run C1 and C3, my reporting errors look like this:

Presumably this is more meant for C2 and C3 (cat 3) error reporting, but do we want to implement it for C1 and C3 as well?


fix typo

should be f"> --------- MII Settings: {ds_optimize}
was resulting in an error when importing mii
should be a simple fix

Please merge this.

@mustafakemalelma & @TahaBinhuraib what version of Python are you using that this line is causing an error? This works for me with Python 3.8 (but I'm not exactly sure when support for formatting like f"{my_var=}" was added)


[Snyk] Upgrade @vitest/coverage-v8 from 1.0.1 to 1.0.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @vitest/coverage-v8 from 1.0.1 to 1.0.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 21 days ago, on 2023-12-07.

Release notes

Package name: @vitest/coverage-v8

1.0.2 - 2023-12-07   🐞 Bug Fixes

Don't check if vite is installed  -  by @ wojtekmaj in #4659 (775e2)
Fix ensurePackageInstalled on Yarn PnP  -  by @ wojtekmaj in #4657 (574cc)
Apply stripSnapshotIndentation for thrown snapshot  -  by @ hi-ogawa in #4663 (74820)
cli:

Prompted packages fail to install  -  by @ AriPerkkio in #4593 (a9908)

expect:

Apply URL equality check only when URL is available  -  by @ hi-ogawa in #4670 (43783)

runner:

Improve fixture error messages  -  by @ sheremet-va in #4673 (1e4aa)
Fix fixture cleanup when test times out  -  by @ hi-ogawa in #4679 (e7c5e)

vitest:

Support new Request('/api') in happy-dom  -  by @ sheremet-va in #4671 (6e6ee)
Skip processing getter in auto-mocked constructor call  -  by @ hi-ogawa in #4677 (cb786)

    View changes on GitHub

1.0.1 - 2023-12-04   🐞 Bug Fixes

Bump vitest packages peerDependencies versions  -  by @ AriPerkkio in #4654 (42070)

    View changes on GitHub

    from @vitest/coverage-v8 GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Updated in 2a7993ec574f5c55383c0a1be5ffaf51f0641ebe.