docs: Improve README file

Adding a complete version of the README file, so we can start with the donation process of this repo.
Related issue(s)
Relates to #16

We require all PRs to follow Conventional Commits specification.
More details 👇🏼
 The subject "Improve README file" found in the pull request title "docs: Improve README file" should start with a lowercase character.

@smoya Feel free to add any kind of suggestion and let me know if anything missing on the document :)

Missing the following sections:

Installation
Usage (with examples)
Contributing


🔨 Remove input_size argument from models

Description
After merging PR https://github.com/openvinotoolkit/anomalib/pull/1706, models no longer require input_size argument. However, there are some places where input_size is still used, such as docs and some other utility functions. This is to ensure they are all removed properly.
For example, here is an example to the Patchcore model.
https://github.com/openvinotoolkit/anomalib/blob/34b3a90f9794dc037ec963381866d18f5f270328/src/anomalib/models/image/patchcore/lightning_model.py#L25-L33

Hi @samet-akcay
I want to work on this issue.

Sure, thanks for your interest

Hi @samet-akcay,
I've begun addressing the issue at hand and have a few inquiries.
Certain utility functions contain the parameter input_size, as seen here (cfa). Should I also eliminate these instances?
Additionally, some functions compute values dependent on input_size, like here here (ganomaly) Should these calculations be adjusted as well?

.take

Hi @samet-akcay
In ganomaly, the encoder and decoder have the input_size, based on the input_size it calculates some values. Should these calculations be adjusted as well? Please let me know.
Thanks.

Hi @samet-akcay
In ganomaly, the encoder and decoder have the input_size, based on the input_size it calculates some values. Do I need to remove them as well?

Hi @blaz-r
Any comment on this?

Hi,
about the [cfa question you had[(https://github.com/openvinotoolkit/anomalib/blob/34b3a90f9794dc037ec963381866d18f5f270328/src/anomalib/models/image/cfa/torch_model.py#L135) I think that this input_size stays as it's internal.
About ganomaly, the input_size you linked is part of torch model and that needs to stay. You should remove the input_size in lighting_model docstring:
https://github.com/openvinotoolkit/anomalib/blob/34b3a90f9794dc037ec963381866d18f5f270328/src/anomalib/models/image/ganomaly/lightning_model.py#L26-L31
the input_size is set inside lighting_model with setup function:
https://github.com/openvinotoolkit/anomalib/blob/34b3a90f9794dc037ec963381866d18f5f270328/src/anomalib/models/image/ganomaly/lightning_model.py#L95-L103
so the code you linked will work. But looking at this setup function, it seems like the assert string is wrong as it says csflow, so you can fix that.

Hi @blaz-r
Thanks.
Please review the PR and let me know.
Thank you.


Implement SUI denomination

We will need to implement this in explorer and wallet.

@bwann52 , may I put you as the POC for defining the product requirements in terms of showing the SUI denomination on the Explorer and the wallet?

In the case for wallet and explorer we should default to showing in SUI denomination, which should cover most case. For the explorer, we can enable a toggle view if devs want to view in MIST (and similar for other tokens, like ETH and GWEI)
@mystie711 can you think about how many decimals we should show by default, and at which point, if any, do we start showing MIST instead of SUI (likely on the explorer)?
Note 10^9 MIST = 1 SUI


Only load IO.console in TTY terminals

Hi
I've got NoMethodError: undefined method `winsize' for nil:NilClass error when running TTY::Screen.new.width code on jenkins.
This is solution found in https://github.com/pry/pry/commit/00f7877b0f8c3cdf3810093063e7f7c349d16749.

Thanks, will release new version shortly.

Release version v0.3.0 - please give it a try and let me know if the issue is resolved.

Works great :) Thanks.


Support for PHP Extension

The previous version of joern (https://github.com/octopus-platform/joern/tree/dev/projects/extensions/joern-php) looks to have the ability to ingest PHP ast and populate its database, I was wondering if the same thing is possible with currently supported branch of joern or if I should be using the previous version for that feature?

PHP support has not yet been ported over, so, if you need it, you'll have to go with the old version for now.


Missing NSwagStudio.msi v13.18.0

Hi, Rico.
First of all, thank you for your time and dedication to this project that helps programmers so much.
NSwagStudio.msi installation file is not available for download.

You are probably talking about the auto-update feature? I've added the missing bits to release page https://github.com/RicoSuter/NSwag/releases/tag/v13.18.0 , auto update probably requires some work from Rico...


Add eslint_enable_code_actions setting

Implements #22.
Chose eslint_enable_code_actions because there is also a eslint_enable_diagnostics, but whatever you prefer ofc.
Would you add tests for this, and if so, how?

Looks good to me! I am actually working on writing unit tests in addition to the current integration tests, so I'll save tests for later. Thanks for taking care of this!


[Snyk] Security upgrade nginx from 1.19 to 1.23.3

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile-old

We recommend upgrading to nginx:1.23.3, as this image has only 116 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

714
Exposure of Resource to Wrong Sphere SNYK-DEBIAN10-CURL-3065760
No Known Exploit

714
Directory Traversal SNYK-DEBIAN10-DPKG-2847944
No Known Exploit

714
Buffer Overflow SNYK-DEBIAN10-OPENSSL-1569403
No Known Exploit

714
OS Command Injection SNYK-DEBIAN10-OPENSSL-2807585
No Known Exploit

714
OS Command Injection SNYK-DEBIAN10-OPENSSL-2933515
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Directory Traversal

Closing as redundant.


Updating instance type selections.

Issue #, if available: N/A
Description of changes: Aligning RDGW instance types with rdgw-domain.template; mirroring FileServer and Edge node types with main template.
Ref: https://github.com/aws-quickstart/quickstart-microsoft-rdgateway/blob/main/templates/rdgw-domain.template#L163
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-e2e-tests


Library Issue Organization

@unfoldingWord/devs  @birchamp
Per our conversation this morning I wanted to open a discussion around how we organize issues around libraries and applications. I've written my thoughts in a slightly formal manner using an ontology log (diagram) below in order to create some clarity around my thoughts. Please feel free to ask for clarity.
The Problem - Formally
Our current development process places a lot of contextual strain on our apps. Fixes in libraries are tied very closely to their use cases in applications and typically require a lot of context outside of the library in order to fix and or test.
Below is an ontology diagram of the ideas involved[^1]:
graph

Issue["a Github Issue"]
Desc["a description"]
Prob["a problem"]
Repo["a Github Repo"]
PR["a Pull Request"]
ClosingPR["a Closing Pull Request"]

Prob --> |f: is noted in| Desc
Desc --> |g: has| Issue
Issue --> |h: has| Repo
Prob --> |i: refers to| Repo
PR --> |j: has| Repo
PR --> |k: fixes| Prob
ClosingPR --> |l: is| PR
ClosingPR --> |m: closes| Issue

Consider the paths f;g;h and i. If these paths are not equivalent then we have a case where a problem is being  noted in a repository (f;g;h) but that same problem refers to a different repository i. When paths k;f;g;h and j are not equivalent then we have pull requests fixing problems that refer to the "wrong" repository.
This leads to the following problems:

unknown state of issues (questions like: "Has this issue been resolved" can no longer be answered by looking at their assigned issue state).

over-reliance on personal contextual knowledge. That is, we have to rely on a single person to provide the context for an issue, which PRs are currently address that problem and what the state of those PRs currently are. This leads to the further problem of developers not being able to easily "pickup" or "drop" issues - context switching becomes rather difficult.

Anti-OCE philosophy. This sounds harsh but I use this language to draw attention to the fact that new developer/non-unfoldingWord developers are unable to contribute to projects since their is so much context around a particular issue.

A Suggested Solution

Make paths f;g;h and i equivalent. Loosely this means that problems described in issues should belong to the same repository that they refer to.

Ensure that paths l;k and m are equivalent. This means that every pull request that closes an issue should be fixing all of the problems described in that issue. If a PR is not  doing this then we should refactor an issue into more granular issue.  A common issue we are dealing with is how to relate issues in apps that are caused by issues in libraries.

A library bug that induces a bug in a consuming app can be solved using the above solution in the following way:

create an issue in the library that describes the problem discovered in the library.
create a separate issue in the app where the bug was discovered
links in both of the two issues via comments so that other developers can gain the context they need to solve the problems at hand.
the PR solving the library problem should close the issue in (1)
the PR that upgrades the dependency on the library in the app should close (2)

This has the following benefits:

developers can work independently on library bug problems (in the case where bugs in multiple libraries are, together, inducing a single bug in an app this means we can put 2 developers on the library bugs each with an independent work flow)
we can easily track the state of problems
relationships between problems can be formally noted across the OCE ecosystem using github links
if a fix to a library doesn't fully work then the issue can be reopened independent of the application

Philosophically
With more public use of our libraries (the goal of OCE) our libraries will have less freedom they have to be viewed in the context of a single app. This leads to - I believe - a culture change wherein we view our libraries as publicly accessable
[^1]: Arrows can be composed to form paths and can be read as a sentence. For example path f;g would read as: "every problem is noted in a description which has an issue."

@theNerd247 looking at step 1 in the proposed solution it says "if a library is causing a bug"; however, that is not the typical way a bug is discovered. A bug is most often discovered in the application. That bug could involve changes to the app, one or more libraries, or both.  We need a workflow that addresses it from an app-centric bug discovery process.
Also as far as:

Ensure that paths l;k and m are equivalent. This means that every pull request that closes an issue should be fixing all of the problems described in that issue. If a PR is not doing this then we should refactor an issue into more granular issue.

Others should weigh in on this but it's my understanding that our current process is exactly that with few exceptions.  An issue is not closed until the PRs address it.  If QA discovers that the issue is incomplete then they will either fail the issue or create a new issue for the remainder of the work after determining that the partial completion is acceptable.

@theNerd247 Also when you refer to PRs closing issues, I'm confused. Issues don't get closed until after QA and release.

If QA discovers that the issue is incomplete then they will either fail the issue or create a new issue for the remainder of the work after determining that the partial completion is acceptable.

The idea that I have is that a PR should not be closed until after it passes through QA. Currently we are merging PRs before the QA process.

however, that is not the typical way a bug is discovered

I'm not sure we're using the same definition for "bug". My definition for bug is: "Something wrong with a piece of code" (either application or library); bugs can relate to each other through causality. E.g: a bug in a library can be part of the cause of a bug in an app. I think what I'm getting at is that our current workflow doesn't account for the following situations:

when you refer to PRs closing issues, I'm confused. Issues don't get closed until after QA and release.
What I am referring to here is the fixes #<issue-number> syntax that Github provides in the PR description. When a PR is merged it automatically closes that issue. What I am arguing for here (and in #500) is that we leverage this feature so that we can:

easily answer the question: "has this issue been resolved?", if the PR is merged then it passed QA and the ticket will have automatically been closed and labeled as such.
if a PR partially solved an issue and we want to retain this fact then this forces us to create new issue and create a link to the original issue.

Ultimately I would suggest the following changes to our process:

run a PR through QA before merging that PR so that when a PR is closed its issue is also closed.
When a bug is discovered in an app we create multiple issues that are linked together (one for the app, and others for the deeper bugs discovered in the libraries). This has the advantage of making our workflow more parallel and incremental.

@theNerd247 both of those suggestions seem fine to me but we'll need to run them by the team


add documentation for SqlInlineData attribute

This PR closes #273

When I change the view to Rich Diff view, everything after Adding New Integration Tests heading seems to be in a code cell.

Weird, I formatted in our ADS and it looked fine, updated it again, looks good now. Thanks for looking into it.


Correct usage of the n samples parameter

When the n_samples parameter is 2, the two pictures that are generated, Figure 1 and Figure 2 are very different. Do I use this parameter incorrectly?

Hi @goozi, can you explain what your purpose is when using n_samples?. This parameter simply sets the number of examples to generate, each one being sampled with different initial noise and therefore resulting in different outputs. The level of difference between the outputs depends on the other sampling parameters, the more sampling variance you allow the model, the more different the results may become.
If this was not your intention, you may run python scripts_cdc/img2img.py --help to view usage of arguments, or reply here.


Add search result ticks to bar

In chrome, when you search for something using "ctrl-f", yellow ticks appear showing where the search results lie on the page.  It would be cool if this scrollbar showed the same for "/" search results.

This is added PR #85.

Looks great, thanks!!


Added commands to create administrator

Management.html page lacks information about creating administrator on first management UI launch.

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

@sashabrava Thank you for signing the Contributor License Agreement!

I've applied this manually with some wording changes and attributed it to you. Thanks!


 placeholders are not working on the pink-bluegrey theme.

Bug, feature request, or proposal:
Bug report.
What is the expected behavior?
Placeholders show up on <md-input> when using the pink-bluegrey theme.
What is the current behavior?
Placeholder text is white until the <md-input> is focused.
What are the steps to reproduce?
http://plnkr.co/edit/qjcghUoBEs0GMING1eS9?p=preview
Which versions of Angular, Material, OS, browsers are affected?
Alpha 10, Chrome 54

This due to it being a dark theme, but we don't actually apply the theme background to the body, we only have it on the md-sidenav-layout (which we use in the demo app). @jelbourn should I add the theme background to the body?

@crisbeto Nope. We shouldn't change the styles of any elements not owned by a component. This should probably just be something that goes into the theming guide.

Wouldn't this be something that's a pretty common use case? I'd imagine that not everybody will use md-sidenav-layout as their main wrapper element.

Potentially, but I want to stick to that policy for now and try to address this with documentation.


setViewName missing string length

The function requires 3 parameters in BGFX:
setViewName(viewId, name, length) with types (ViewId, const char *, int32_t)
The externs don't give the string length to the function.
Expected:

Actual output:

This causes the build to fail.
I have not checked if there are other functions with the same problem.

fixed in f462532f7bfbffdf6d9e7817d6cc5c690ebc1f02


Import device-toggle

Describe the bug
Import-dashboard device-toggle not working
To Reproduce
Steps to reproduce the behavior:

EMBArk installation (default mode/docker-mode)
Start EMBArk: sudo ./run-server.sh
See problem when trying to import

Expected behavior
Toggle doesn't work
Screenshots

Desktop (please complete the following information):

OS: Ubu 22

fixed 👍

fixed


Feature request: Support re-enabling a user after lockout

Firstly, really nice little library, this saved me a load of work, very much appreciated.
Would be really useful to get support for re-enabling a user who has been locked out due to too many password attempts:
DELETE /{realm}/attack-detection/brute-force/users/{userId}
(see https://www.keycloak.org/docs-api/15.0/rest-api/index.html#_attack_detection_resource)
I would have submitted a PR but I don't have time to spare for the next month or two. If nobody's had time to implement it I'll try and see if I can have at it myself a bit later on.

Thanks @aledt for you interest. I'm happy somebody is getting use out of this library. I don't work for delphai any longer which is why I'm not actively maintaining the library anymore. I still quickly implemented the /attack-detection resource. Hope it's not to late to be of use for you.


Etag absent in MD response from eosgrpc

https://github.com/cs3org/reva/blob/84f2c0ebc2d6ef4f2f14b2096fedf131058e28a5/pkg/eosclientgrpc/eosclientgrpc.go#L1238
Even though we try to look for the etag in the xattrs present in the response from the MD call, it is never actually present, hence it fails the smashbox tests. cc @SamuAlfageme

Fixed by https://github.com/cern-eos/grpc-proto/commit/0de0dd8772b7014d07a21024c6e18c6e22d89b04

And committed the consequent fix into the related PR  #1154


rename *Filter matchers to *Matcher

Naming is ideally consistent. At some point I started using filter as a synonym for matcher. This is however a potential source of confusion. As such we should rename them to *Matcher as the trait is Matcher as well

Closed in https://github.com/plabayo/rama/pull/115 by @rabuu .


fix: spawn npm with shell on Windows

Description

With new generator based adaptive runtime, starting bots with node runtime will fail. This PR is to fix this issue.
Task Item

Screenshots

duplicate #6742

duplicate #6742
Got it, closing this one.


Add (simple) error reporting when operator stages are unable to install.

Fixes #216
Proposed Changes

In several places, we return err to indicate that the reconciliation can't make progress. In these places, we should also set the status.

Release Note
Errors during the installation process are now reported in the custom object status.

/assign @Cynocracy @jcrossley3

Sample output:
apiVersion: operator.knative.dev/v1alpha1
kind: KnativeServing
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"operator.knative.dev/v1alpha1","kind":"KnativeServing","metadata":{"annotations":{},"name":"knative-serving","namespace":"knative-serving"},"spec":{"version":"test"}}
  creationTimestamp: "2020-07-26T15:15:21Z"
  finalizers:
  - knativeservings.operator.knative.dev
  generation: 2
  name: knative-serving
  namespace: knative-serving
  resourceVersion: "223570"
  selfLink: /apis/operator.knative.dev/v1alpha1/namespaces/knative-serving/knativeservings/knative-serving
  uid: ca90e686-2ab6-49fe-add3-f05de2f4dfed
spec:
  version: test
status:
  conditions:
  - lastTransitionTime: "2020-07-26T15:15:21Z"
    status: Unknown
    type: DependenciesInstalled
  - lastTransitionTime: "2020-07-26T15:15:21Z"
    status: Unknown
    type: DeploymentsAvailable
  - lastTransitionTime: "2020-08-16T18:09:51Z"
    message: 'Install failed with message: stat : no such file or directory'
    reason: Error
    status: "False"
    type: InstallSucceeded
  - lastTransitionTime: "2020-08-16T18:09:51Z"
    message: 'Install failed with message: stat : no such file or directory'
    reason: Error
    status: "False"
    type: Ready
  - lastTransitionTime: "2020-07-26T15:15:21Z"
    status: "True"
    type: VersionMigrationEligible
  observedGeneration: 2

It would probably be better if we also had the error coming back from the installation failure include the path that was trying to be stated, but that seems like a separate PR.

Updated, and added a test for a stage that actually sets a failure condition and then returns an error as well.

/close

/close


Feature: Customizable annotation download

Our annotation download functionality, while critical, is often a source of much frustration to users.
The frustration stems from:

Too many fields
Confusing fields
Not enough fields
Duplicate fields (especially around dates and times due to Excel's inability to work with ISO8601 dates)

I reason that because we are trying to create a data export format that suits multiple stakeholders (programmers, data scientists, general scientists, novice users) we end up with a selection of columns that aren't great for any of them.
Proposal
Allow customization of the attributes/columns included in the export.
Details
For the annotation download page, provide a subsection that allows a user to customise the output.
I'm thinking a series of checkboxes with different options like:

include deleted annotations (requested by @JessCappadonna in https://github.com/QutBioacoustics/baw-server/pull/310#issuecomment-264741054)
switch between Excel compatible dates, ISO8601 dates, or both
switch between flat tag,  id:tag, or just id formats
switch to include extra details (like uuid, ...)
...and others!

Persistence
The choices made by the user can be persisted in their user profile with a button like save my choices and then reset with a reset to default choices button.

Do we need to keep audio_recording_uuid? If the other tags column can be broken into sub-categories under non-biophonic sounds. Just a suggestion as it might complicate further. I also agree the too many date and time columns split and combined versions but I think it is due to excel limitation (as explained by Ant.)

The audio_recording_uuid is important because it is the identifier for the files on disk. Anyone doing anything advanced (e.g. programmers and data scientists) could use this column to do a wide array of things, for example, like downloading the associated false colour images, or pre-generated indices for a recording (or a segment of a recording) - that would be something I think you in particular @tsheringde would be interested in.
Maybe we could make the audio_recording_uuid unchecked by default, with the possibility to include it is a user wants it.


added MutedTotalHandleLeakTestNames and MutedUserGdiHandleLeakTestN…

@brendanx67 Looks like I already did try to mute it in release but missed a change to the BelowThresholds function which probably prevented it from working.

@bspratt Should we expect code inspection to fail for release right now? It should be testing this branch merged into the 20_2 branch, not master.  We don't normally run code inspection on the release branch, right?

Those should not be failing. But in this case it's due to a TC upgrade changing the rules, rather than a change in the code. I'll see about quieting that.

We don't normally run code inspection on the release branch, right?
Yes, that's how TC is configured, come to think of it. I guess this is a different set of rules. Still no big deal to tweak this, I think.


Use SViper without short reads

I want to be able to run sviper without giving it a short read bam file, to get the consensus :)

Hi :)
So you want to give it a long read BAM file and an VCF file and have sviper output a multi FASTA file containing all the consensus sequences for the appropriate positions?

Yes, exactly. I'm working with an tandem repeat insertion that we are worried would get polished away if we use the short reads as well.

@tungufoss Alright :)
Last question: Do you want a flanking reference region around the consensus (analogous to the polished consensus I use)?
The consensus sequence will be around 800 bp long, if you plan to remap the consensus to the reference you might want the flanking region because it will create an artificial long read (18.000bp) and will ensure correct remapping to the corresponding reference position.

Why don't we have both? It could be an option in the project's graceful argument parser.

Please checkout the current develop branch to test the new feature and tell me if it works.
Happy Holidays :)


common features

Ideas for code which could be extracted to android-commons:

code for Firebase Cloud Messaging & pushproxy
Files upload
logging & Exception reports

see https://github.com/nextcloud/talk-android/issues/1376
https://github.com/stefan-niedermann/nextcloud-commons

authentication
user status

https://github.com/nextcloud/talk-android/issues/898

account switcher

code for pubsh FCM I see in android-library (which Talk soon can use, once we have https://github.com/nextcloud/talk-android/pull/2497 merged)
same for files upload, at least server related parts. UI/UX, with upload queue is way too different, I fear

Logging ✔
authentication ✔
user status ✔
account switcher ✔

SSO? 🤔 We never released 1.0.0 of the SSO lib, so we might publish it as a module of android-common as well 🤷♂


building stateless models (to serve as shared resource for memory usage optimizing)

Hi!
I've built a skill 'phonebook', based on dstc2 gobot.
Such a gobot has a "tracker" subcomponent.
It means that if I use build_model(...json) then the model is being loaded into the memory and keeps state of the dialog.
So as I can see if several users started their dialogs with the same model I have to load several models (one model for each dialog).
But this is a problem because each model needs a lot of memory (possibly because of loading large embeding models).
Is there a ready-to-use way to avoid abundant memory consumption?
For example can I easily transform dstc2.json component excluding "tracker" subcomponent and track dialog states somewhere out of the gobot (for example at appropriate skill wrapper)?
How to do so?
Or If there an easier way to reduce memory usage?

Hi @vitalyuf,
Thanks for the feedback, we're aware of the single user support issue of go_bot and will try to faster fix it.
The hot fix you can make is the following:

Every attribute in deeppavlov.models.go_bot.bot:GoalOrientedBot.reset_state is user-specific. So all attributes should be in the input of the whole pipeline and deeppavlov.models.go_bot.bot:GoalOrientedBot.r__call__ method. __call__ should also return updates version of the attributes (the final GoalOrientedBot object shouldn't save any state).
For that to work you should modify python code of bot.py and config too.
The best way is to create a new pipeline variable "state", which contains all the user-specific values.

In the end you can start a REST API server that expects the whole state of a user and can make predictions for multiple users. (Though you would have to store the state of all users yourself.)

Optionaly if your pipeline input consists of three variables: response, history and state, it can be then interpreted as a "Skill". And there is a specifial class Agent that will store the states for all users for you. For a statefull agent example:

from deeppavlov.agents.default_agent.default_agent import DefaultAgent
from deeppavlov.agents.processors.highest_confidence_selector import HighestConfidenceSelector

from deeppavlov import build_model, configs

skill = build_model('/path/to/your/config', download=True) # is already a skill, not just a model
agent = DefaultAgent([skill], skills_selector=HighestConfidenceSelector())

agent(['hello, i want some cheap food'])

thank you!
Please, tell me how to desribe a pipeline variable in configuration file?

Thank you!
All worked well!


html() method creates blank pages or strange spaces

When I create a pdf like this:
var pdf = new jsPDF('l', 'mm', 'a4');
var rendererDiv = document.createElement("div");
rendererDiv.textContent = "test text";
    pdf.html(rendererDiv, {
            callback: function()
            {
                //            pdf.save("test.pdf");

                window.open(pdf.output('bloburl')); // to debug
            },
        });

I get a the attached output.
49d38aa4-0f6d-4581-ae76-5ff7c8b0ad37.pdf
No matter what I put in there (ul, li, etc.) it will generate strange blank pages or paddings.

What happens if you use html2canvas directly with the same input? To find out if this is a bug of jsPDF or html2canvas.

you mean like this?
   var pdf = new jsPDF('l', 'mm', 'a4');
       var rendererDiv = document.createElement("div");
       document.body.appendChild(rendererDiv);
       rendererDiv.textContent = "test text";

       html2canvas(rendererDiv).then(canvas => {
           document.body.appendChild(canvas);
       });

It outputs it just fine:

Any chance that this could be fixed ASAP?

I'm currently very busy, so you will probably have to wait a few weeks. But you may provide a pull request. This is an open source project after all.

I'm having the same problem, is there any workaround yet?

Try to add styles to your pdf elements. Use pt in config
const globalStyle = `
  .pdf {
  	width: 470px;
  	margin: 60px;
  }
`;
const doc = new jsPDF({ unit: 'pt' });

I am not sure this is the right way to use html.js.. I only get one blank page. And it's probably not JsPDF's problem. Try to log the element and it's seems that the div that sent to jspdf is empty.
`		var pdf = new jsPDF('l', 'mm', 'a4');
var rendererDiv = document.createElement("div");
rendererDiv.innerHTML = "test text";
rendererDiv.setAttribute('id', 'test');
var x = document.getElementsByTagName("div");
var y = document.getElementById("test");
	console.log('rendererDiv: ');
	console.log(rendererDiv);
	console.log('document.getElementsByTagName("div"): ');
	console.log(x);
	console.log('document.getElementById("test"): ');
	console.log(y);`

I add an alert() function so I can pause the function. Before I hit the okay, it's like this

After the alert window disappeared, the rendererDiv shows up.

So we can close this?


ML.NET installation

Following the instructions on https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/install to install ML.NET in Visual Studio 2022 Community Edition.  These are the prescribed steps:
Already have Visual Studio?
If you already have Visual Studio 2022, you can add the .NET desktop development workload:
Select the Windows key, type Visual Studio Installer, and press Enter.
If prompted, allow the installer to update itself.
If an update for Visual Studio 2022 is available, an Update button will be shown. Select it to update before modifying the installation.
Find your Visual Studio 2022 installation and select Modify.
Select .NET desktop development and make sure ML.NET Model Builder is selected on the right pane. Select the Modify button.
There is not an ML.NET Model Builder option to select.

Hi @hlevene,
Can you please paste a screenshot of what you're looking at? You can also install Model Builder from the VS Marketplace.
https://marketplace.visualstudio.com/items?itemName=MLNET.ModelBuilder2022


Problem with socket.io-prometheus-metrics

Hello hope you are well.
I was trying to install this module on a self hosted Jitsi server and I faced a problem with 9090 port. I had another program that was running on this port and I didn't want to stop it.
I deleted this part and everything seems to be working correctly:
// listens on host:9090/metrics
prometheus.metrics(io, {
    collectDefaultMetrics: true
});

The thing is that I think we can make this (whatever it is) optional and enable it only if user asks for it.
As I had provided my desired port in .env file it was very confusing at first that it was asking for 9090 port to be open.

Good point. Would you like to send a PR making it optional with an env variable?


Fix delay_msec documentation description typo

Fixes a small documentation typo for delay_msec in the OS class.
Should be cherry-pickable for 3.x.

Thanks!

Cherry-picked for 3.4.

Cherry-picked for 3.3.3.


Should persisted realm objects keep a hard reference to realm?

Goals
In CoreData it is a common practice to pass persisted objects to the next viewcontroller. If you do this in realm it seems as if the persisted object has a hard reference to realm, which results in problems if you want to replace the realm file at runtime and you have to kill the app for the replaced database file to be used.  Should persisted realm objects keep a hard reference to realm? If so, shouln't the documentation be updated to reflect the fact that you should never, for example pass realm objects between viewcontrollers or fetch them in viewdidload if you ever want to replace the database file?
Expected Results
1: The initial viewcontroller has no references to realm
2: The initial viewcontroller pushes second viewcontroller that fetches a persisted object when the view appears.
3: The second viewcontroller is popped from the stack
4: The realm file is deleted and replaced by another realm file
5: The inital viewcontroller pushes the second viewcontroller again.
6: The second viewcontroller should have refreshed data
Actual Results
6: The second viewcontroller shows the data from the initial realm file and you have to kill the app for the realm to be refreshed
Realm version: 2.4.2
Xcode version: 8.2.1

Hiya @sipersso. Thanks for reaching out. We're working through a bit of backlog but someone will be in touch with an explanation/solution soon. Cheers! 😸

There is already a section in the documentation covering this. Is there anything further that you feel needs to be covered there?

@tgoyne if Realm works as expected in this case, the documentation is incomplete. The documentation says "Realm instances hold a database connection for the exact duration of their lifetime.". But it doesn't say anything about that you can't keep any references of type RealmSwift.Object either.
For deleting and refreshing the realm file I need to clear, not only any references to Realm, but also to any object that is of type Realm.Object. If I don't do this, I have to kill the application for the content from the new Realm file to appear.
This means I can't pass persisted objects between viewcontrollers as you have no way of knowing when the viewcontrollers are dealloced (and the realm instance is freed). It forces me to only pass a primary key, load the persisted object when the view appears and then manually unload it when the view dissapears (which is very error prone). There is no mention of this in the documentation.

Bringing attention back to this issue. cc/ @tgoyne


relax rand version

Just out of curiosity, what problem is this addressing?

@marshallpierce we are packaging this crate for Fedora and having one (same) version of rand for most of crates looks better.. I don't see any point to restrict version

I see. I think picking a single version of a library for an operating system wide installation is an anti pattern. As a dev-depencency, this version number shouldn't perturb any other crate, but by forcing it to be OS-wide, you're inventing this problem out of thin air.
In this case this relaxation is harmless, so I'll merge this, but I'm not too excited about this artificial concern going forward. :/


Invalid value: 32443: provided port is already allocated

Environmental Info:
K3s Version: k3s version v1.27.4+k3s1 (36645e73)
HELM Version: Version:"v3.12.2"
Node(s) CPU architecture, OS, and Version:
Linux ip-172-31-2-184 6.2.0-1009-aws #9~22.04.3-Ubuntu SMP Tue Aug  1 21:11:51 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:

Describe the bug:
While reinstalling the service getting the "port is already allocated" error. But after 15-20 mins it works.

Service "project-services" is invalid: spec.ports[0].nodePort: Invalid value: 32443: provided port is already allocated

After deleting the service, verified that node port is not been used.  But still getting "port is already allocated".

kubectl describe service --all-namespaces | grep -i nodeport

Steps To Reproduce:

Install the project using helm command the first time

helm upgrade --install --create-namespace --namespace project_name -f values.yaml project_name . --set-string timestamp=$timestamp

Uninstall the project

helm uninstall monitor -n project_name

Immediately reinstall it using the helm install command.

Expected behavior:
Once the service is deleted. It should be available for reuse immediately
Actual behavior:
After deleting the service I need to wait for 15-20 mins before installing the service again.
Additional context / logs:

Just because the chart has been uninstalled doesn't mean that the Kubernetes objects are done deleting. There may be finalizers present that are blocking actual deletion, pending cleanup of other resources. Use kubectl get service -A to see if the service is still present, and if so, check the status and finalizers field to see why is has not been deleted yet.


ValueError: too many values to unpack (expected 2)

Ran into this error in my main file i was using.
So i made the most basic version i could and still got that error. Running in python 3.8 64 bit
from pytube import YouTube
yt = YouTube('https://www.youtube.com/watch?v=jNQXAC9IVRw')
Error thrown:
Traceback (most recent call last):   File "c:\Users\user\Documents\My scripting projects\yt download testr\test.py", line 4, in <module>     yt = YouTube('https://www.youtube.com/watch?v=jNQXAC9IVRw')   File "C:\Python38\lib\site-packages\pytube\__main__.py", line 92, in __init__     self.descramble()   File "C:\Python38\lib\site-packages\pytube\__main__.py", line 140, in descramble     apply_signature(self.player_config_args, fmt, self.js)   File "C:\Python38\lib\site-packages\pytube\extract.py", line 225, in apply_signature     cipher = Cipher(js=js)   File "C:\Python38\lib\site-packages\pytube\cipher.py", line 31, in __init__     var, _ = self.transform_plan[0].split(".") ValueError: too many values to unpack (expected 2)
Is it just me or are you guys getting this error also?

no, i'm getting the same error

Did you use "pip install pytube" or "pip install pytube3" ? if it's the first then uninstall it then install the latter

Did you use "pip install pytube" or "pip install pytube3" ? if it's the first then uninstall it then install the latter

pytube 3.
pytube alone gave me other errors which can be seen in #672

Videos that require to extract js player broken
Traceback (most recent call last):
File "pytube/main.py", line 92, in init
self.descramble()
File "pytube/main.py", line 136, in descramble
apply_signature(self.player_config_args, fmt, self.js)
File "pytube/extract.py", line 225, in apply_signature
cipher = Cipher(js=js)
File "pytube/cipher.py", line 32, in init
var, _ = self.transform_plan[0].split(".")
ValueError: too many values to unpack (expected 2)
check the value of js in Cipher/init_
class Cipher:
def init(self, js: str):
It is changed to:
['var b=[-1215677809,null,-1744521562,833462946,694270393,function(c,d){d=(d%c', 'length+c', 'length)%c', 'length']
no more:
['DE.AJ(a,15)',
'DE.VR(a,3)',
'DE.AJ(a,51)',
'DE.VR(a,3)',
'DE.kT(a,51)',
'DE.kT(a,8)',
'DE.VR(a,3)',
'DE.kT(a,21)']

Videos that require to extract js player broken
Traceback (most recent call last):
File "pytube/main.py", line 92, in init
self.descramble()
File "pytube/main.py", line 136, in descramble
apply_signature(self.player_config_args, fmt, self.js)
File "pytube/extract.py", line 225, in apply_signature
cipher = Cipher(js=js)
File "pytube/cipher.py", line 32, in init
var, _ = self.transform_plan[0].split(".")
ValueError: too many values to unpack (expected 2)
check the value of js in Cipher/init_
class Cipher:
def init(self, js: str):
It is changed to:
['var b=[-1215677809,null,-1744521562,833462946,694270393,function(c,d){d=(d%c', 'length+c', 'length)%c', 'length']
no more:
['DE.AJ(a,15)',
'DE.VR(a,3)',
'DE.AJ(a,51)',
'DE.VR(a,3)',
'DE.kT(a,51)',
'DE.kT(a,8)',
'DE.VR(a,3)',
'DE.kT(a,21)']

Can you elaborate further?

i've been getting the same problem. It's weird cause I didn't have this problem earlier today...

i've been getting the same problem. It's weird cause I didn't have this problem earlier today...

Yea exactly the same for me.

i've been getting the same problem. It's weird cause I didn't have this problem earlier today...

exactly the same for me, too.

I'm also getting the same problem.

i have the same problem as well.
pytube3==9.6.4
python3.7.6

Same problem here

@ZippyDoodah123  would appreciate a PR (and I can merge 😉 ) to fix this issue

Youtube probably changed something.
I tried to change this line:
var, _ = self.transform_plan[0].split(".")
To this:
var = self.transform_plan[0].split(".")[0]
But now getting this error:
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/__main__.py", line 92, in __init__
    self.descramble()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/__main__.py", line 140, in descramble
    apply_signature(self.player_config_args, fmt, self.js)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/extract.py", line 225, in apply_signature
    cipher = Cipher(js=js)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/cipher.py", line 33, in __init__
    self.transform_map = get_transform_map(js, var)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/cipher.py", line 198, in get_transform_map
    transform_object = get_transform_object(js, var)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/cipher.py", line 180, in get_transform_object
    raise RegexMatchError(caller="get_transform_object", pattern=pattern)
pytube.exceptions.RegexMatchError: get_transform_object: could not find match for var var\ b=\[\-1215677809,null,\-1744521562,833462946,694270393,function\(c,d\)\{d=\(d%c={(.*?)};

Welp, doesn't need to take a week to have another cipher problem. :(

@light42  sorry about the frustration - is there something I can do to help

@RONNCC I'm cool, just give me the alternatives to scrap youtube videos while this issue is being resolved.

you can use youtube-dl maenwhile 🤨

I use this workaround until bug is fixed:

import os

def download_video(self, video_id):
        url = "https://www.youtube.com/watch?v={}".format(video_id)
        os.system('youtube-dl "{}" --no-check-certificate'.format(url))

@zuntah thank you.

Facing the same error from today morning.(28.07.2020)
"ValueError: too many values to unpack (expected 2)"

Ran into this error in my main file i was using.
So i made the most basic version i could and still got that error. Running in python 3.8 64 bit
from pytube import YouTube
yt = YouTube('https://www.youtube.com/watch?v=jNQXAC9IVRw')
Error thrown:
Traceback (most recent call last): File "c:\Users\user\Documents\My scripting projects\yt download testr\test.py", line 4, in <module> yt = YouTube('https://www.youtube.com/watch?v=jNQXAC9IVRw') File "C:\Python38\lib\site-packages\pytube\__main__.py", line 92, in __init__ self.descramble() File "C:\Python38\lib\site-packages\pytube\__main__.py", line 140, in descramble apply_signature(self.player_config_args, fmt, self.js) File "C:\Python38\lib\site-packages\pytube\extract.py", line 225, in apply_signature cipher = Cipher(js=js) File "C:\Python38\lib\site-packages\pytube\cipher.py", line 31, in __init__ var, _ = self.transform_plan[0].split(".") ValueError: too many values to unpack (expected 2)
Is it just me or are you guys getting this error also?

Yes I'm facing same problem today. My program run 20 hour's ago perfectly but now its showing me this problem

The problem is most probably youtube changed the js file and the regular expressions are no longer working:
pytube.cipher.get_initial_function_name
I don't have time to fix this, hopefully someone can pick it up.

PR Open: https://github.com/nficano/pytube/pull/701

#701 Works for me, does it work for everyone else?
Great fix @belthaZornv !

the fix doesnt work for me :/

the fix doesnt work for me :/

Are you using pytube or pytube3?

pytube3
python 3.7
ubuntu 18.04

I have the same issue starting today on my telegram chatbot

Weird since #701 fixed it for me.
Hmm. I suggest using youtube-dl anyway it can do everything pytube can and more.
Try it til theres a fix that works for you!

having the same error in pytube3

Will give it a try, thanks

@partriv I had trouble getting it to work too, what worked at the end was uninstalling, pytube3, installing pytubeX and replacing ALL the function patters (not just the one changed) in cipher.py with the ones in #701 and obviously changing from extract.py in the line 301 the key  from cipher to signatureCipher

PR Open: #701

thank you very much, i can down the youtube video now

@partriv
For now, you can try to directly install the pull request version.

pip install git+https://github.com/nficano/pytube.git@refs/pull/701/head

ran pip install git+https://github.com/nficano/pytube.git@refs/pull/701/head, still getting error:
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    video = YouTube("https://www.youtube.com/watch?v=3FSmZQ3LwG0")
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/__main__.py", line 92, in __init__
    self.descramble()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/__main__.py", line 140, in descramble
    apply_signature(self.player_config_args, fmt, self.js)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/extract.py", line 225, in apply_signature
    cipher = Cipher(js=js)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/cipher.py", line 31, in __init__
    var, _ = self.transform_plan[0].split(".")
ValueError: too many values to unpack (expected 2)

ran pip install git+https://github.com/nficano/pytube.git@refs/pull/701/head, still getting error:
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    video = YouTube("https://www.youtube.com/watch?v=3FSmZQ3LwG0")
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/__main__.py", line 92, in __init__
    self.descramble()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/__main__.py", line 140, in descramble
    apply_signature(self.player_config_args, fmt, self.js)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/extract.py", line 225, in apply_signature
    cipher = Cipher(js=js)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/cipher.py", line 31, in __init__
    var, _ = self.transform_plan[0].split(".")
ValueError: too many values to unpack (expected 2)

for me, I had to uninstall pytube3 and then only ran: pip install git+https://github.com/nficano/pytube.git@refs/pull/701/h

ran pip install git+https://github.com/nficano/pytube.git@refs/pull/701/head, still getting error:
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    video = YouTube("https://www.youtube.com/watch?v=3FSmZQ3LwG0")
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/__main__.py", line 92, in __init__
    self.descramble()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/__main__.py", line 140, in descramble
    apply_signature(self.player_config_args, fmt, self.js)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/extract.py", line 225, in apply_signature
    cipher = Cipher(js=js)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytube/cipher.py", line 31, in __init__
    var, _ = self.transform_plan[0].split(".")
ValueError: too many values to unpack (expected 2)

for me, I had to uninstall pytube3 and then only ran: pip install git+https://github.com/nficano/pytube.git@refs/pull/701/h

Yeah, but this fix probably won't worked anymore now. I got this new error when trying to download video.

@light42 change key 'cipher' to 'signatureCipher' in extract.py

@light42 change key 'cipher' to 'signatureCipher' in extract.py

got it, but I think it would be better if the change is made directly on the pull request.

I patched and hosted this again. Looks like there was a merge conflict between this PR and #643
You can install directly from my repo like this:
pip install git+https://gitlab.com/obuilds/public/pytube@ob-v2

or add the following to your requirements.txt
git+https://gitlab.com/obuilds/public/pytube@ob-v2

@kbuilds  if you can contribute a PR to fix this in main - I can merge it 😄

Just merged #701 which should fix this -- please reopen if issue still persists!


Location Widget issues

Search doesn't behave intuitively. Example when Searching for "San Francisco". Typed "San Francisc" results in suggestion "Boston". When typing "San Francisco", suggestion is some place in Mexico?
Shouldn't the time be taken from the selected location? Always seems to be the current system time, no matter which location I select.

We released the Pagekit Beta today. I close this issue because the code base completely changed. Please open a new issue if it still exists.


Invalid program detected (Invalid IL at offset '0x1') - Non-integral type for branch condition

I have a UWP app (Ewn.Mobile.UWP) I have been unsuccessfully trying to build in release mode with .NET Native for weeks now. Many of my issues seem to be stemming from a lack of a 64-bit version of ILC. However, I've gotten to a point where I at least don't get an OutOfMemoryException. As mentioned in #5905 and https://github.com/dotnet/reactive/issues/899, I've implemented the following compiler flags in my csproj:
<Use64BitCompiler>true</Use64BitCompiler>
<ShortcutGenericAnalysis>true</ShortcutGenericAnalysis>

However, I receive the following error during compilation related to one of our internal NuGet packages:
ilclog.csv
"Message",Low,"D:\a\1\s\src\Ewn.Extensions\CollectionExtensions.cs(0) : fatal error N1205: 'static System.__UniversalCanon Ewn.Extensions.CollectionExtensions.AddTo<System.__UniversalCanon, System.__UniversalCanon>(System.__UniversalCanon, System.Collections.Generic.ICollection`1<System.__UniversalCanon>)' : Invalid program detected (Invalid IL at offset '0x1') - Non-integral type for branch condition"
"Error",,0,0,"ILT0005: 'C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\runtime.win10-x86.microsoft.net.native.compiler\2.2.3\tools\x86\ilc\Tools64\nutc_driver.exe @""C:\Users\taylor\Desktop\ewn-main\src\Ewn.Mobile.UWP\obj\x86\Dev\ilc\intermediate\MDIL\Ewn.Mobile.UWP.rsp""' returned exit code 1"
"Message",Low,"Done executing task ""GenerateMDILGlobalAnalysis"" -- FAILED."
"Message",Low,"Done building target ""GenerateMDILGlobalAnalysis"" in file ""Nutc"" -- FAILED."
"Message",Low,"Done building project ""Nutc"" -- FAILED."
"Message",Low,"Compilation failed"

Ewn.Extensions.CollectionExtensions.AddTo
public static T1 AddTo<T1, T2>([NotNull]this T1 @this, ICollection<T2> collection)
    where T1 : T2
{
    collection.Add(@this);
    return @this;
}

I honestly have no idea what could be causing this since the method is pretty basic. Do you think this is a bug or is there something I'm missing?

Sorry for the trouble! Could you reach out to dotnetnative at microsoft dot com? We'll probably ask for an IlcRepro file.

Thanks to @MichalStrehovsky for narrowing this down to NullGuard.Fody generating invalid IL when JetBrains.Annotations NotNull attribute is applied to a non-restricted generic method. The AddTo method from the OP actually doesn't work for value types because of this. Replacing the attribute with a manual null check resolved the issue.


sqlite, sqlite-analyzer: 3.45.2 -> 3.45.3

Changes: https://www.sqlite.org/releaselog/3_45_3.html
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Might have broken tracker. Will investigate failures.

[ ] tracker upstream bug report: https://gitlab.gnome.org/GNOME/tracker/-/issues/435

Pulled upstream tracker fix. Ready for review.

Looks like we also need https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/668 for existing installs: https://discourse.gnome.org/t/tracker-sparql-affected-by-behaviour-change-in-sqlite-3-45-3/20772

Great point! Looks like recently released tracker-3.7.3 contains the fix. Proposed the update as:

https://github.com/NixOS/nixpkgs/pull/308616


Topics

Per https://github.com/sindresorhus/awesome/pull/925#issuecomment-293004190, we need to add awesome-list, awesome, and list topics to this repo to be compliant.

@kakoni, please tackle this and I'll tackle the other item in the issue. Thanks.

@MatthewVita Topics added!

Thanks!


Simplify Printer

Looks like the Printer may have originally been the Syntax type :D
I've removed the Result param and changed some other things to make it more of a pure printer.

This looks like a nice simplification if it still allows to express everything we had. (And yes in earlier versions there was only a single Syntax type with parser and printer just being two interpreters of it)

All test pass locally, same expressiveness. Just deleted a few methods that were essentially noops. Gotta fix a couple fatal warnings :)

Finally! Passes. Scala 2.12 compilation errors are the worst—I needed to temporarily set up 2.11 cross compilation to see the actual error 😆


add sample mimicing az ad sp create-for-rbac

Create a sample which mimics the behavior of az ad sp create-for-rbac in Go, as follows:

Create a new service principal using graphrbac.
Create a new role definition using authorization.
Assign role definition from (2) to principal from (1).

Requirements:

Utilize the identity of the user currently logged into the az CLI on the local machine for all operations.
Demonstrate how to swap the access token from (1), whose audience is https://graph.windows.net with one appropriate for (2), whose audience is https://management.azure.com.
Include a busy-wait loop between principal creation and role assignment like the CLI.

cc @YugangWang @devigned @anguslees @skwan


verible: 0.0.3253 -> 0.0.3410

Description of changes
Update to latest; a few improvements in the language server and some bugs fixed.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

(waiting for the aarch64 build to run to see the expected fetchAttrs sha256)

Adding @NickCao who merged the last update


warm states WIP

Looking for insight here. We have several functions that interact with the computation here. I am not sure which parts equate to what in v02 for warm states. Every time I want to add something it's connected elsewhere.

@jhrehanoaa -- rebased to latest upstream/master


Is something happening to Zeit Servers?

None of deployments working for hours, no matter the code. Tried simple nodejs scripts and even static html.
All statuses are "Initializing"
CLI says "Waiting for deployment to be ready"
In logs once I've seen "finished". And there is no logs now for static tests.
Is everything ok with the service?

Should be resolved.


[Bug]: Redeploy with key not working after update to 343

Error Message and Logs
2024-Sep-26 10:41:40.493622 Starting deployment of git@bitbucket.org:xxxx/api.git:master to Localhost.
2024-Sep-26 10:41:40.677772 Preparing container with helper image: ghcr.io/coollabsio/coolify-helper:1.0.1.
2024-Sep-26 10:41:40.771385 docker rm -f k0g04w8kgsocww888wkskw4g
2024-Sep-26 10:41:40.771385 Error response from daemon: No such container: k0g04w8kgsocww888wkskw4g
2024-Sep-26 10:41:40.878593 docker run -d --network coolify --name k0g04w8kgsocww888wkskw4g --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coollabsio/coolify-helper:1.0.1
2024-Sep-26 10:41:40.878593 79f815f588a682046f41d139c57617a1a398cda5342db5db3a72fa9653da5734
2024-Sep-26 10:41:41.945198 docker exec k0g04w8kgsocww888wkskw4g bash -c 'GIT_SSH_COMMAND="ssh -o ConnectTimeout=30 -p 22 -o Port=22 -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" git ls-remote git@bitbucket.org:xxxx/api.git master'
2024-Sep-26 10:41:41.945198<EMAIL_ADDRESS>Permission denied (publickey).
2024-Sep-26 10:41:41.948479 fatal: Could not read from remote repository.
2024-Sep-26 10:41:41.948479
2024-Sep-26 10:41:41.948479 Please make sure you have the correct access rights
2024-Sep-26 10:41:41.948479 and the repository exists.
2024-Sep-26 10:41:42.003446 Oops something is not okay, are you okay? 😢
2024-Sep-26 10:41:42.005791<EMAIL_ADDRESS>Permission denied (publickey).
2024-Sep-26 10:41:42.005791 fatal: Could not read from remote repository.
2024-Sep-26 10:41:42.005791
2024-Sep-26 10:41:42.005791 Please make sure you have the correct access rights
2024-Sep-26 10:41:42.005791 and the repository exists.
2024-Sep-26 10:41:42.007829 Deployment failed. Removing the new version of your application.
Steps to Reproduce

Updated from coolify v4.0.0 341 to 343
Tried to redeploy App with key (worked before update)
Also tried generating another key

Example Repository URL
No response
Coolify Version
v4.0.0 343
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Debian 12
Additional Information
No response

Please update your instance, it has been already fixed in the latest version (sorry about it).


Tea Smith requesting to be added to CDCgov instance as a member

referred by Leslyn McNabb, DEX

Looks like invite was sent previously - closing. Happy coding!


"RKE Government" label appears in some translations for RKE2

Internal reference: SURE-6510
Reported in 2.7.3
Some users in different languages are seeing "RKE Government" pop up when importing a standard RKE2 cluster. It's possible that a custom cluster is created in Vue (Dashboard) and then viewed in Ember (old Cluster Manager), though that could appear as Imported.
Anyways, we should show "RKE2" instead. The theory is that a non-English language was initially set and then switched to English but there's a clear update needed in the us-en translation file.

@leflambeur found these:

https://github.com/rancher/ui/blob/master/translations/en-us.yaml#L4819 - can’t find the same language change in Vue -
https://github.com/rancher/dashboard/tree/master/shell/assets/translations - maybe they changed languages in ember back to en-us and it updates it?
https://github.com/rancher/ui/blob/ce8f70f19625070f349769df9b36c28d562f1d4a/app/models/cluster.js#L523 -- likely where it gets set

As part of this work, let's document how to do the setup for this.

@gaktive looks like we might need to update the label on the Chinese translations(zh-hans) as well


add integration test on macos with docker driver

there is a way to install docker desktop on mac os github action

Can install Docker to macOS runner with the following: https://github.com/actions/runner/issues/1456


Fix doc layout error for regularizer

Without the additional blank line, the doc shows as follows

We will not be encouraging one liner grammatical changes as this is expensive process, if possible please include more such changes in a single PR.Thank you
CC @mihaimaruseac @chanshah


arrow files are supported

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Can't get git-extras completions to work after following the setup docs too

I followed the instructions mentioned in the git-extras plugin setup page to install git without completions.
Here's my .zshrc.
 # If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="/Users/praveenpuglia/.oh-my-zsh"
export PATH="$HOME/.yarn/bin:$PATH"
export PATH="$HOME/Library/Python/2.7/bin:$PATH"
export PATH="/usr/local/bin:${PATH}"

# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME=""

# Set list of themes to load
# Setting this variable when ZSH_THEME=random
# cause zsh load theme from this variable instead of
# looking in ~/.oh-my-zsh/themes/
# An empty array have no effect
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
  git git-extras z zsh-syntax-highlighting command-not-found extract zsh-autosuggestions
)

source $ZSH/oh-my-zsh.sh
source /usr/local/opt/git-extras/share/git-extras/git-extras-completion.zsh
# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias zshconfig="micro ~/.zshrc"
alias ls="exa"
alias la="exa -la"
#alias code=code-insiders
alias nuke="rm -rf node_modules"
alias nig="npm install --global"
alias nis="npm install --save"
alias nid="npm install --save-dev"
alias ni="npm install"
alias boom="find . -name "node_modules" -exec rm -rf '{}' +"

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

autoload -U promptinit; promptinit
prompt pure

One thing though. Even though I tried installing git without completions, it probably installed the autocompletions anyway.
~
❯ brew install git --without-completions
==> Downloading https://homebrew.bintray.com/bottles/git-2.18.0.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring git-2.18.0.high_sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions and functions have been installed to:
  /usr/local/share/zsh/site-functions

Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/git
==> Summary
🍺  /usr/local/Cellar/git/2.18.0: 1,488 files, 295.6MB

Doing git delete-branch  and hitting tab just cycles through the files.

I think it's because you do
source /usr/local/opt/git-extras/share/git-extras/git-extras-completion.zsh

after sourcing OMZ. Try removing that.

Either that or delete git-extras from your plugin list, I think you'll be good just sourcing the completion file above.

Can you complete commands at all, specially git? If so, post the output of _git.

I can do things like git checkout [TAB] and it shows me a list of all my branches as expected.
# result of which _git
❯ which _git
_git () {
	local _ret=1
	local cur cword prev
	cur=${words[CURRENT]}
	prev=${words[CURRENT-1]}
	let cword=CURRENT-1
	if (( $+functions[__${service}_zsh_main] ))
	then
		__${service}_zsh_main
	else
		emulate ksh -c __${service}_main
	fi
	let _ret && _default && _ret=0
	return _ret
}

It seems you are using git's completion, so I think the issue is that your brew command didn't work as intended.
Try uninstall the brewed git and reinstalling it again; if that doesn't work there may be an issue with your version of brew because it should respect the --without-completions flag. Make sure you're running the latest version of brew.

Ok. So did a clean homebrew setup and it did install git without completions. Then I followed the instructions to add git-extras plugin. No no completion works. I just see a bunch of ..... after hitting TAB and nothing happens after that.
this is what the sourcing and plugins looks like in my zshrc
# Add wisely, as too many plugins slow down shell startup.
plugins=(
  git git-extras z zsh-syntax-highlighting command-not-found extract zsh-autosuggestions
)

source $ZSH/oh-my-zsh.sh
source /usr/local/opt/git-extras/share/git-extras/git-extras-completion.zsh

Never mind.  I was trying to see git completions on a non git repo :D
Thanks. This has solved my problems. :)

@mcornella Hi!
back here again since now the --without-completions option doesn't work for brew anymore. They removed it. What should be done in order to get this working?

I supose you can chmod 0 the completion files, maybe put that in an automated script?
You could also give priority to the zsh completion folder by putting it first in $fpath, but you'd have to know where that is...
If you do this
for d ($fpath); do [[ -f $d/_git ]] && echo $d; done

you'll know in which folders there are git completions and you can tell which is git's and which is zsh's by looking at the comments.

Hi!
I have run into this again and nothing mentioned above works.
Since brew has removed support for --without-completions flag, the info mentioned here for OSX becomes outdated.
Can you please suggest a way in which I can make git-extras work again?
for d ($fpath); do [[ -f $d/_git ]] && echo $d; done

Running this gives me the following.
/usr/local/share/zsh/site-functions
/usr/share/zsh/5.3/functions

All of which seems to be coming from zsh specific directories and not the installed git directory.


[feat] Add support to OAR backend scheduler

This PR adds support to a minimal OAR backend scheduler.
Fixes #2124.

Can I test this patch?

Ok to test

Codecov Report

Merging #2129 (116c6e9) into master (4c4de13) will decrease coverage by 0.49%.
The diff coverage is 38.14%.

@@            Coverage Diff             @@
##           master    #2129      +/-   ##
==========================================
- Coverage   86.26%   85.77%   -0.50%
==========================================
  Files          53       54       +1
  Lines        9313     9410      +97
==========================================
+ Hits         8034     8071      +37
- Misses       1279     1339      +60

Impacted Files
Coverage Δ

reframe/core/backends.py
90.00% <ø> (ø)

reframe/core/schedulers/oar.py
38.14% <38.14%> (ø)

Continue to review full report at Codecov.

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

@jenkins-cscs retry all

We would also need an entry in the documentation.

We would also need an entry in the documentation.

Added an entry in the documentation. I added a line about CI image as well. I am sorry that I forgot to push that change in that previous PR.

Thanks @vkarak for fixing unit tests.


Check Documentation For Other Things

Check docs for other problems

TLDR; Cast your eye over the documetation for any problems not covered in the other issues

Things slip through the net, so check the documentation for other problems that have been missed. Common other problems include

Bullet lists (should be single * then space at the start of line)
Inline code - should be marked by three backticks at start and finish
bookdown.json file is correctly formated and has the right escaping
Links between documentation using RST have been stripped
Any other RST has been removed correctly
Anything and everything not covered

If you end up fixing the same problem over and over, please ping Gary Hockin - we may be able to add bespoke issue for that problem, or fix in automated capacity

In the bookdown.json the target names are missing:
{
    "title": "Zend\\Json",
    "target": "html/",
    "content": [
        {"Introduction": "book/zend.json.introduction.md"},
        {"Basic Usage": "book/zend.json.basics.md"},
        {"Advanced Usage": "book/zend.json.objects.md"},
        {"XML to JSON conversion": "book/zend.json.xml2json.md"},
        {"Zend\Json\Server - JSON-RPC server": "book/zend.json.server.md"}
    ]
}


Unique fqdn validation does not consider aliases

The validation added to ensure that a single fqdn is only referenced in a single IngressRoute does not take into consideration the fqdns mentioned in the aliases field. Thus, it is currently possible to define conflicting IngressRoutes. For example, creating an IngressRoute with fqdn = example.com, and another IngressRoute with an fqdn alias = example.com.
Related #625

Closed as #642 removed support for aliases entirely.


survey.clear doesn't clear added dynamic panels/rows

Are you requesting a feature, reporting a bug or ask a question?
bug maybe
What is the current behavior?
when I try to clear survey with panel/matrix dynamic elements panels and rows data are cleared but they keep shown (empty) in the survey
What is the expected behavior?
I'd like to undo all survey changes by pressing clear button
How would you reproduce the current behavior (if this is a bug)?
http://plnkr.co/edit/L8BfYQ?p=preview (add some row/panels with data and then press clear)

@masciugo  Yes, it is a bug. I am not sure how to fix it yet. Likely we will need to save the initial rowCount and panelCount and set them on clear method.
Anyway the behavior is not expected and it is definately a bug.
Thank you,
Andrew

Hello. We have tried to find a quick solution. But unsuccessfully for now. Because we didn't find a complete solution for all possibler scenarios - assigning default values, just reset data, etc. We'd like to propose a workaround for you - http://plnkr.co/edit/3LwcbN?p=preview
Please let us know whether it is a suitable approach for you.

yeah that's exactly the workaround I adopted while was waiting for a solution :) Thank you


Remove usage of blockdata:: from bitcoin paths

In rust-bitcoin the blockdata module is a code organisation thing, it should never have been public. One day those guys would like to remove it, so as not to be a PITA for fedimint when they do lets remove all usage of blockdata:: now.
Internal change only, no externally visible changes.

Yo. New contributor? :D

Just a lurker - you know :)


quantum_info.Operator constructor raises an unexpected unbound parameter error

Environment

Qiskit Terra version: 0.23.1
Python version: 3.10.8

What is happening?
The quantum_info.Operator constructor fails because of an unbound parameter while all the free parameters of the circuit seem to be properly bound.
How can we reproduce the issue?
from qiskit import QuantumCircuit
from qiskit.circuit import ParameterVector
from qiskit.circuit.library import RGate

pqc = QuantumCircuit(2)
xs = ParameterVector(name='x', length=2)
gate = RGate(*xs).control(num_ctrl_qubits=1)
pqc.append(gate, [0, 1])

pqc.draw('mpl')

from qiskit.quantum_info import Operator

qc = pqc.assign_parameters([2.34, 0.98])
op = Operator(qc)

TypeError: ParameterExpression with unbound parameters ({ParameterVectorElement(x[0])}) cannot be cast to a float.
What should happen?
The code above should work correctly. For other very similar parameterized quantum circuit (see the pqc instance defined below), it runs as expected without any problem.
pqc = QuantumCircuit(3)
xs = ParameterVector(name='x', length=2)
gate = RGate(*xs).control(num_ctrl_qubits=2)
pqc.append(gate, [0, 1, 2])

Any suggestions?
I actually have no idea about why this is happening but it looks like a problem only related to controlled-gates with more than one parameter (e.g. CRGate, CUGate).

Thanks for this report.  I poked into the code a little bit, and it turns out that eventually this is reduces to the bug reported by #7326, because .  That said, we could potentially have headed that off by having an __array__ method defined on ControlledGate, but I'm not fully convinced that that's a good idea, since we don't require that general Gate instances have an __array__ method, so it's not clear how it should work well.
Fixing CUGate's bad behaviour around parameters would be the cleanest way to cause this to work.  PR #9118 should do that, which I need to revisit.


Allow null timestamp values

Yes, I'll get on it later tonight 👍

Finally got around to this. Seems like there are some conflicts however. But I updated tests and wrote some more documentation 👌🏻

Finally got around to this. Seems like there are some conflicts however. But I updated tests and wrote some more documentation 👌🏻

Yes, thanks. The conflict is because the files you're editing are now on TypeScript.

Ah I see. Just pushed another commit to update the files to TS.
Also lmk if the documentation is too verbose, I tried to show all three use cases for the transform

Thinking about this feature more, I think I may have jumped a bit to early on agreeing that we should support this.
Right now, I can't imagine any generic use-case for this and it may just add confusion to the Timestamp transform on why it's allowed to be null. If anyone needs this, I'd recommend to create your own custom transform for your application called nullable-timestamp.
Thank you for taking time on working on this PR and I'm sorry as well if this seems like lost time on your side. 😢

Thinking about this feature more, I think I may have jumped a bit to early on agreeing that we should support this.
Right now, I can't imagine any generic use-case for this and it may just add confusion to the Timestamp transform on why it's allowed to be null. If anyone needs this, I'd recommend to create your own custom transform for your application called nullable-timestamp.
Thank you for taking time on working on this PR and I'm sorry as well if this seems like lost time on your side. 😢


Cleanup Proxy Model Documentation

Link to demo instructions at
docs/BesuProxyModel.md,TestingFabricProxyModel.md
from dev-environments/.../README.md
Update paths to dev-environments/ethereum/{besu,ganache} in documentation
Correct WorkerOrderRegistry to WorkOrderRegistry
Fabric: add instructions for cleaning up demo
Clean up formatting
Add CC license

Signed-off-by: danintel<EMAIL_ADDRESS>

The rendered documentation can be viewed at:
https://github.com/danintel/avalon/blob/proxydocs/docs/BesuProxyModel.md
https://github.com/danintel/avalon/blob/proxydocs/docs/GanacheProxyModel.md
https://github.com/danintel/avalon/blob/proxydocs/docs/TestingFabricProxyModel.md
https://github.com/danintel/avalon/tree/proxydocs/docs/dev-environments/ethereum/besu
https://github.com/danintel/avalon/tree/proxydocs/docs/dev-environments/fabric


Exception in threadException in thread

org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheConfigurationException: ISPN000085: Error while trying to create a channel using the specified configuration file: default-configs/default-jgroups-udp.xml

how can i solved this please any one guide me i imported this orject

Any more logs ?

Closing this as out-of-date


Run PowerShell on Remote machine tasks hangs the build

As the last step in my automatic build and deploy I call a PowerShell script on the remote machine to install my application.
When executing this script the PowerShell task hangs never finishing the build. I figured out few issues in past that it was due to either waiting for user input or there is any powershell session open on the vm. However here those are not the case.
I am using start process to install msi and waiting till it finish.
When i execute that on the remote machine the powershell executes and install the application successfully within few seconds.
Is there any other way to do that successfully?

Hi @Manmp , can you please send the debug logs for the task to<EMAIL_ADDRESS>Also, if possible, do share the powershell script that you are trying to execute. You can generate the debug logs by setting the system.debug to true in the variables tab

Hi @Manmp , If you are still facing this issue, please send the full debug logs and the poweshell script that you are trying to execute

@Manmp
By any chance the script you are running asks for any interactive inputs or pops up any dialogs? Can you check and confirm that?

No I verified.
However I had that issue in other script. Do we have any solution of that?
On May 23, 2017 11:44 AM, "Subrahmanyam Mandavilli" <
<EMAIL_ADDRESS>wrote:

@Manmp https://github.com/manmp
By any chance the script you are running asks for any interactive inputs
or pops up any dialogs? Can you check and confirm that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-tasks/issues/4207#issuecomment-303300334,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWicy1WqpcjkqVxBOja5UqByPxIKFMUyks5r8nkogaJpZM4NPbjZ
.

No you can't run script that requires interactive inputs.   I got your script from @arjgupta it contains msiexec with /qb option, Can you try changing it to /qn.

It was /qn before but it also does same and do not install the application
On Tue, May 23, 2017 at 2:15 PM, Subrahmanyam Mandavilli <
<EMAIL_ADDRESS>wrote:

No you can't run script that requires interactive inputs. I got your
script from @arjgupta https://github.com/arjgupta it contains msiexec
with /qb option, Can you try changing it to /qn.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-tasks/issues/4207#issuecomment-303332326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWicy2ARHDfu2weSJrlgRcCWQzs861b-ks5r8pyngaJpZM4NPbjZ
.

--
Regards
Manisha
---Life is like a book: what matters is how good it is, not how long it is

Can we have lync call?

Can you respond with your preferred time? Mine is IST 9 AM to 6 PM

Assuming you are unblocked with the issue and I am going ahead with closing the issue.


Can I legally allow users to download audio from YouTube?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I am sorry but this is not directly related to yt-dlp. But I am still asking it here because there is probably no other community who would know more about this.
I make a paid Desktop application where students can read news, books, practice tests, etc. Some of my users are asking me to have a feature where they can listen to audio from podcasting websites including YouTube. I have used the hidden/documented APIs of these websites, so implementing such a feature won't be difficult. But I was wondering if it is legal?
There are many Online and Desktop apps that allow users to download audio from YouTube or other sites. My app would have a similar feature where user can put in a link and the app will download and play the audio. Do you guys think I can give this feature without getting into trouble?
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

out-of-scope


update toFieldPath policies with options compatible to upstream mergeOptions

Updates https://github.com/crossplane-contrib/function-patch-and-transform/pull/91
Partially addresses https://github.com/crossplane-contrib/function-patch-and-transform/issues/101 with native P&T compatible mergeOptions as per the proposal in https://github.com/crossplane-contrib/function-patch-and-transform/issues/101#issuecomment-2024155035

@phisco @negz PTAL 🙏

@ravilr Aha, looks like the linter caught a few uses of the newly deprecated types in the codebase. Could you update those too?


[2028] Fixed link for PE allocations

Context
:ship:
Changes proposed in this pull request
Fixed link for PE allocations
Guidance to review
:ship:

 Change link for PE allocations


Beat position calculation

Is there a way to work out the time position of beats in a song?
I'm trying to generate a map of the beats in a given song at runtime, to use as events, but I'm finding "IsBeat" functions more like an audio visualiser.
For example, given a simple beat like https://www.youtube.com/watch?v=HTmKgbT3PFA, an incremented int reaches 120 long before a minute passes, and watching the printed strings, it looks like it'd work really well as a visualiser.
Is there a function to work out slightly more precisely where a beat is?
Something like https://github.com/aubio/aubio/blob/master/src/tempo/tempo.c ?
Definitely going to use your plugins, thanks for your work! 😄

You can detect beat on the basis of multiple sub-bands using a "IsBeatRange" function. Also, if you want to change the maximum FFT sub-bands size, you can call "UpdateFFTSubbandsSize" in a BeatDetection object (which can be accessed from AudioAnalysisToolsLibrary object)
You can detect beats based on multiple FFT sub-bands using the "IsBeatRange" function. Also, if you want to change the maximum sub-band size, you can call "UpdateFFTSubbandsSize" in the BeatDetection object (which can be accessed from the AudioAnalysisToolsLibrary object) to use wider sub-band ranges for beat detection.

Also, if you want to change the maximum sub-band size, you can call "UpdateFFTSubbandsSize" in the BeatDetection object

With some quick testing, that gives the following exception when attempting to process the audio frame, after setting the sub band size > 32:

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 691] Array index out of bounds: 0 from an array of size 0
UnrealEditor_AudioAnalysisTools!UBeatDetection::UpdateFFT() [Plugins\AudioAnalysisTools\Source\AudioAnalysisTools\Private\Analyzers\BeatDetection.cpp:81]
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

I guess I'm not doing something right there! 😅

You apparently didn't correctly specify FFTSubbandsSize. Regarding your crash, you have it equal to zero.

You apparently didn't correctly specify FFTSubbandsSize. Regarding your crash, you have it equal to zero.

Sorry, I didn't specify, I can set it lower than 32, but anything higher throws that exception.

Perhaps I'm using the wrong node?

Just checked, the EnergyHistory double array gets resized, but never gets a new array added, so I'd have to have called UpdateEnergyHistorySize as well.
Perhaps the UpdateFFTSubbandsSize should call this itself, to not encounter this error in the future?

Thank you! I will look into it at the weekend

I'm actually still working on this, I've not had a lot of consistent success with the IsBeatRange functionality (honestly, I'm still assuming that I'm utilising it poorly), and in my case, it would be much more helpful to know upfront where the beats are, to better generate content.
If one wanted to procedurally generate content, you'd need to know where beats are in advance, so you don't have long moments of downtime where a song gets quiet, and your user has no beat/energy derived content, for example.
You can't just assume that a couple of seconds without a beat is going to remain that way, and so being able to analyse a user provided song in advance of actually using it to create content is extremely useful.
I've been looking at a couple of implementations of KISS FFT, and they use some analysis methods that aren't in here, so I've been working on adding those methods, and attempting to create some functionality that will output a list of beat positions.


Issue with Implementing Custom Whisper TFLite Model - Seeking Guidance

Hi,
I'm currently working on implementing a custom Whisper TFLite model, and I'm facing some challenges, particularly with FlatBuffers and understanding how the Tensor-related components work within a TFLite model. I've tried to research and troubleshoot on my own, but I could use some guidance from the community or the repository maintainers.
If there's any specific information on how the repository maintainers created the Whisper TFLite model or if there's a related repository with resources and code samples, I would love to explore it to better understand the implementation.

Please refer the below google colab to understand and how to generate tflite model from TFWhisper model
https://colab.research.google.com/github/nyadla-sys/whisper.tflite/blob/main/models/generate_tflite_from_whisper.ipynb

Thank you

Question about Android Example
In the android_example package, inside the assets folder, I noticed the presence of the file filter_vocab_gen.bin. This file appears to contain mel filters and vocabularies. However, I would like to inquire if there is any documentation available that explains the source and content of this particular file. I'm interested in understanding its purpose and origin.
Additionally, while reviewing the code, I noticed that there are some hard-coded values used for clamping and normalization of the input audio. Could you kindly provide some insights or references on how these specific values were chosen? Understanding the rationale behind these values would be greatly appreciated.
Thank you for your assistance.

Thank you

How to fix issue when i build filters_vocab_gen_util.ipnb?

HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/content/whisper/whisper/assets/gpt2'. Use repo_type argument if needed.
I did not change anything in your code!!
Please help me,
Thanks

@vilassn @nyadla-sys Can you help me?
Thank you very much!!!

How to fix issue when i build filters_vocab_gen_util.ipnb? https://github.com/usefulsensors/openai-whisper/blob/main/notebooks/filters_vocab_gen_util.ipynb
i am running on gg colab
HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/content/whisper/whisper/assets/gpt2'. Use repo_type argument if needed.
I did not change anything in your code!!
Please help me, Thanks
Use below to generate vocab mel
https://colab.research.google.com/github/nyadla-sys/whisper.tflite/blob/main/models/tflt_vocab_mel.ipynb


error Process exited with code 1; 'nix' 'eval' when running ob

Hello,
Beginner here, I followed the readme, used docker to create the database. When I excute "ob run", a lot things compile but finally I have the following error message :
Process exited with code 1; 'nix' 'eval' '-f' '.' '(let a = import ./. {}; in toString (a.reflex.nixpkgs.lib.isDerivation a.passthru.staticFilesImpure))' '--raw'
I had the problem with a Ubuntu 22.04 Os on my local machine and the same happened under Nixos on an EC2 VM.
I found via google a post suggesting to excute the command in the CLI, which resulted in this message "error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override" and I don't know what to do with that.
Thanks for your help
bakwan

I have gathered some more infos, the problem is raised by this command that is executed in a nix-shell :  /nix/store/a5l11f3dcgvh13wxn4kfnxq27ydlzrjm-obelisk-command-0.1/bin/.ob-wrapped --no-handoff --verbose internal run-static-io 01489bf44eb91e7f793dea3f236c5989


/mine route hits https://api.realdevsquad.com/tasks/self infinitely

The /mine route is stuck at loading as the client is calling the api responsible for getting data i.e https://api.realdevsquad.com/tasks/self infinitely.

This is they response I am getting from the API

closing this issue as the bug is fixed


Wasm JS bindings proposal for Cesride.

Here is the WebAssembly based FFI for JavaScript.

@m00sey thank you for checking this. I've just added a small update.
Can we now get this merged?


In Range.contains_product, use get_product_class().id instead of product_class_id

Fixes https://github.com/django-oscar/django-oscar/issues/1860

@mvantellingen Is there anything I need to do to get this merged?
It's a one-liner, so hopefully should be easy-ish.

Totally sensible fix. Thanks John!


ck operator password

I want to know why we use the same operator password for all the ck instance. It is not safe enough, I think we should use give the ability to give every instance different password。And if you agree, I can try it.

Hi @zlcnju , do you mean generating operator password?
In prod environments, default operator password is never used. Kubernetes secret is preferable. We are actually going to change the default configuration to secret based to make it transparent.
Also, clickhouse_operator user is restricted to connect only from clickhouse_operator pod's IP address, so it can not be easily used from outside.

If clickhouse_operator user is restricted to connect only from clickhouse_operator pod's IP address, it is better


[Enhancement] Add Open Parameters to Flat_object Field Type

Is your feature request related to a problem? Please describe.
Flat objects currently do not support open parameters. Looking forward to add open parameter to increase better search results.
Describe the solution you'd like
The following open parameters setting are useful to consider to add in, including normalizer, docValues, ignoreAbove, nullValue, similarity, and depthlimit.
normalizer: allow lowercase, uppercase
docValues: allow to set docValues to be false
ignoreAbove: allow to set if the length of a field is go above certain limit then ignore the document.
nullValue: allow to set nullValue to others
similarity: allow to set similarity setting
depthlimit: allow to set maximum depth limitation to the JSON document
Additional context
Add any other context or screenshots about the feature request here.

Sure, I can take this one. Thank you!
And I am happy to take a look at the other tickets later too if they will be still available (#7136, #7138).

If you decide to work on this issue, would you like to assign yourself in this issue?

@mingshl I can not assign myself (have no privs to do that). Can you please assign me?

of course. done

@mingshl @lukas-vlcek
Can we please get (and maybe prioritize :) ) the addition of the "ignore_malformed" option for flat_object?
Reference:
https://opensearch.org/docs/latest/field-types/
When set to true , and a document is received that is not valid json, the document will not be rejected, rather the field would ignored.
IE - the field would not be indexed, and added the the "_ignored" array
This would help in situation like that referenced in the following issue, where we cannot 100% control if a valid json object is being provided.
https://github.com/opensearch-project/OpenSearch/issues/8250
While this would not make the field searchable , when the option is set, at least the document would not be rejected.

@lukas-vlcek If you haven't started doing it yet, I'd love to try it.

@kkewwei Feel free to jump on it.
I currently do not have any space capacity to work on it.

@kkewwei  -- Thanks a lot for picking this one up!
Once your fix is in (or maybe there's some overlap?) you might want to take a look at https://github.com/opensearch-project/OpenSearch/issues/11635.
For that one, I think we can clean up some (most?) of the query logic from FlatObjectFieldType -- a lot of it (I think) would become "If this query is qualified with a path, then delegate to valueAndPathFieldType, else delegate to valueFieldType".

@msfroh get it, It can simply the code, I will try to implement it with you idea.


⚠ Bofrost.de has degraded performance

In 2ac2dca, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1580 ms

Resolved: Bofrost.de performance has improved in c7283b1 after 6 minutes.


[TE] link to new rca/metrics page

Pulling all PRs together:

https://github.com/linkedin/pinot/pull/1573

https://github.com/linkedin/pinot/pull/1574

https://github.com/linkedin/pinot/pull/1568

adding a subnav that points to the new ember app

fyi @newsummit Most of the work was done in the old framework


Why not Jekyll?

Hiya @MatheusRV  👋
We ❤ Jekyll, but it's better suited for static HTML pages. Since we use authentication with GitHub here, it wasn't the best choice.