Update docs to explain purpose of SampleProjects

This should avoid the impression that they are templates to be followed too closely. This is a partial fix for #149.

That's fine. I'm happy to provide feedback in whatever manner seems easier for you. I appreciate the quick turn-around on the ideas and questions. I'm learning a lot, making good progress, and will have more submissions for your consideration soon.

An unrelated matter (new issue?) but related to seeing things from the eyes of a new user:
I struggled with the compile vs. unit test options for a while. I spent a lot of time struggling with the compiler to get the unit tests to work and the idea that I'm running the unit tests without compiling (them?) seems very odd. Now that I'm understanding better I wonder if "Compile Examples" would be a better phrase (even though it is more verbose).

Lets's absolutely open that new issue.  SampleProjects becomes CompileExamples?  I really like that idea.


blog post: The First WeDeploy Hack Day In Madrid

@zenorocha I added the changes from @jbalsas and @NolanChan so the final review needed is from you.


Fixed nested themes not being republished on outer theme changes

What:
This fixes a bug when having nested ThemeProviders and updating outer theme the change is not reaching the StyledComponent
<ThemeProvider theme={{}}>
	<ThemeProvider theme={{}}>
		<StyledComponent>
	</ThemeProvider>
</ThemeProvider>

Why:
This is a bug fix.
How:
Using publish in the nested ThemeProviders subscriptions.
Checklist:

[ ] Documentation - N/A
[ ] Tests - gonna add tests soon
[x] Code complete

Repro provided by @mitchellhamilton - https://codesandbox.io/s/6j42qx5z23

Codecov Report

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

@@          Coverage Diff          @@
##           master   #363   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          10     10
  Lines         178    179    +1
  Branches       50     50
=====================================
+ Hits          178    179    +1

Impacted Files
Coverage Δ

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

Continue to review full report at Codecov.

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

@kentcdodds do u have any other reviewer in mind? The chane is pretty straightforward and the codebase is tested so it shouldnt break anything ;)


Update challenge.test.ts to use fake timers instead of abitrary number for date value

Description
Update all tests in api/src/routes/protected/challenge.test.ts to use fake timer.
See https://github.com/freeCodeCamp/freeCodeCamp/pull/57201/files#diff-d2c5d3a998beda064c0f960efa442f9e16153817e7ea9fbe5c185a7bb653f98bR1726-R1735

@huyenltnguyen Do you mind if I take a look at this?

@obafemitayor as this issue does not have the help wanted label, it is not open for contribution


DeprecationWarning on node 7

I'm using browser-pack in a project of my own, and I discovered a warning when running my tests on node 7. (recently released)

(node:28861) DeprecationWarning: Using Buffer without new will soon stop working. Use new Buffer(), or preferably Buffer.from(), Buffer.allocUnsafe() or Buffer.alloc() instead.

There are several places in this library that use the Buffer() syntax instead of new Buffer(), and it should be an easy update, as well as being backwards-compatible.

Looks like there is already a PR (#75) to address this, can we get it merged?

I'm getting this deprecation warning as well.

Seems like issue was fixed https://github.com/substack/browser-pack/commit/c91b8166ae21441e0d855dcc791f90f7998d07e2
But this fix was not released.
@zertosh @TheAlphaNerd @substack how I can help with release of this fix?

Every Browserify user with node.js 7 have this warning https://github.com/substack/node-browserify/issues/1616#issuecomment-262097312

Afaik the deprecation is being (or has been) reversed (https://github.com/davidmarkclements/0x/issues/52)

wontfix


Index is slow

What we know
The ordinals.com index is syncing very slowly. At the current rate, around 3 seconds per block, it will take about 9 days to sync to chain tip. Previous syncs were more like 36 hours, so this is a severe performance regression.
A possible culprit is the new OUTPOINT_TO_TXID table. This table maps outpoints to the txid, if any, that spends them. This is required to improve the error messages when we don't have an outpoint in OUTPOINT_TO_ORDINAL_RANGES table.
The database used to top out at around 50GB, but is currently 89 gigs and growing.
Things to try

[x] revert change and redeploy, but save the old database for inspection. gotta have working block explorer! (@casey)
[x] using the logs, graph the time it took each block to sync. what does this graph look like? (@terror)
[x] make a scatter plot with ordinal ranges written and time.  is there a trend there? (@terror)
[x] make a scatter plot with txs in block and time.  is there a trend there? (@terror)
[ ] if we estimate how much each table should take up, given how much data it contains, and add them together, is that about the size of the database? If not, maybe we have a space leak, either in our use of REDB, or in REDB itself.
[ ] figure out how much ram the additional table will take up. is this under 128 gb? if so, deploy to a new server with 128 gigs of ram.
[ ] Can we trigger this locally? What about on memory constrained VM or server?
[ ] ping chris once we know a little more, he might have ideas. I think lmdb didn't have this performance cliff, so if there are any differences, that might help.

Blocked on https://github.com/cberner/redb/issues/344.

@VirtuallyThere, we should benchmark this more, but it seems like there's already a juicy target for optimization, looking at the flamegraph you posted: https://github.com/cberner/redb/issues/344#issuecomment-1239756024
We're spending around 40% of the time requesting blocks from bitcoin core, and in that thread and context switch stuff that's parallelizing calculating transaction IDs. That can be merged into one background thread that fetches new blocks and calculates TXIDs for transactions in advance. (Alternatively, if it's faster, we could just not calculate TXIDs ahead of time.)

@casey Hah, I came to the same conclusion this morning. Here are my thoughts.
What we know (from the flamegraphs)

We spend about 15% of time on what I categorized as "Rust parallelization" or "thread overhead" (the right part on the flamegraph)
Of the rest, 25% is getting/hashing blocks from bitcoin core, 75% is "database"
Of the database stuff, 1/3 is insert, 1/3 is delete, 1/3 is commit

What I think we should do based on that

Quickest win to reduce elapsed time is likely to move requesting blocks to a separate thread using a queue to always have enough blocks ready for downstream processing. My gut guess was that this should cut out about 25% of elapsed time (it may be a little more, but it's hard for me to predict how the 15% of "thread overhead" behaves)
Biggest potential for substantial time savings is the "batched update" strategy that I suggested last night, but didn't express very well. The idea is to exploit assumed "temporal locality" of ordinal movements by using an in-memory index (likely just a btree for the index, and a list for the outputs to be deleted) to batch updates for some chunk of n blocks (with useful values of n probably ranging between a few thousand and tens of thousands - depending on available memory and on what kind of locality patterns we find), and then only do the aggregate/batched updates to redb every n blocks. Why do I think that would be faster? On the plus side, we have to do high frequency updates only to a much smaller, in-memory data structure. B-tree insert/delete should be O(log n), so an update to a tree of 10% of the size might be twice as fast, comparing in-memory to in-memory, but the difference should be bigger  if this in in-memory vs mmaped to disk. On the other side, if we have no ability to do any meaningful batching of updates within the n blocks we consider, we are just duplicating work and might even be slower. So, before we dive into this, we should collect some simple statistics about locality properties.

Here's the key results from using https://crates.io/crates/cargo-instruments to profile the indexing of mainnet from blocks 450006 to block 451008 (why the unround numbers you may ask: there seems to be an off by some bug in --height-limit, see #517):

The command used was:
cargo instruments --template time -- --cookie-file /opt/node/bitcoin/data/.cookie --data-dir profiling-data --height-limit 451000 index

starting with an index that was at block 450006, so around 1000 blocks indexed. I expect this to give us a pretty representative view of where time goes in indexing mainnet with full blocks.
This is using most recent master as of Sep 11 (commit 59879585ffaeca3a61b5974a30d3ac27fed3cd15)

Working on #500 to help prioritize further optimization efforts.

The index is still slow, but this particular issue isn't appearing anymore, so closing in favor of a new issue, #713.


⚠ Bofrost.es has degraded performance

In 1596c1b, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1545 ms

Resolved: Bofrost.es performance has improved in 46c2296 after 7 minutes.


ILogger - populate exception.Data into exceptionTelemetry

Previous ILogger used to populate Exception.Data into properites.
https://github.com/Microsoft/ApplicationInsights-aspnetcore/blob/de1af6235a4cc365d64cbc78db9bdd2d579a37ee/src/Microsoft.ApplicationInsights.AspNetCore/Logging/Implementation/ApplicationInsightsLogger.cs#L72
The new implementation does not:
https://github.com/Microsoft/ApplicationInsights-dotnet-logging/blob/develop/src/ILogger/ApplicationInsightsLogger.cs#L99
Also, the old implementation has a potential Cast exception as reported here:
https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/831

It seems like it got fixed in Version 2.5.0-beta2: https://github.com/microsoft/ApplicationInsights-aspnetcore/blob/a135f1f7d9da7beb11f9bcf20a30f7e779b739f2/NETCORE/CHANGELOG.md

TelemetryClient.TrackException doesn't do this either.


Test for calendar not working

=========================== short test summary info ============================
FAILED integration/backend_test.py::test_view_calendar - Failed: Error: Image files did not match.
  RMS Value: 18.37049824673608
  Expected:
    /tmp/tmpn58n_kjt/backend_test.test_view_calendar/baseline.png
  Actual:
    /tmp/tmpn58n_kjt/backend_test.test_view_calendar/result.png
  Difference:
    /tmp/tmpn58n_kjt/backend_test.test_view_calendar/result-failed-diff.png
  Tolerance:
    2

I think a viable solution would be to remove the test...


Add clarification to OpenShift doc on custom route hostnames in OpenShift

The only content change is the addition of this note to the OpenShift doc for both monitoring and logging:
"Note that OpenShift does not allow the use of the same across namespaces, so do not use the same hostname across logging and monitoring."
The other changes are just markdown formatting fixing linter warnings.


I will run 'terraform fmt' before committing.

initial bump to 2.21

Current dependencies on/for this PR:

main

PR #37   👈

This comment was auto-generated by Graphite.


[bot] Update to version 3.13.2

Auto-update version number to 3.13.2

@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Hi! This is the friendly conda-forge automerge bot!
Commits were made to this PR after the automerge label was added. For security reasons, I have disabled automerge by removing the automerge label. Please add the automerge label again (or ask a maintainer to do so) if you'd like to enable automerge again!


Contact code request happens on page load

The contact code should only be requested when the user has tapped the contact code field, while registering a name.

So the contact code field will be empty until it's touched?

Yes, permission should be granted in context and on a per-ID basis. With
the new EIP1102 pattern, we'll need to add a trigger for the wallet, too.
On Thu, Sep 13, 2018 at 9:03 PM Barry G<EMAIL_ADDRESS>wrote:

So the contact code field will be empty until it's touched?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/status-im/ens-usernames/issues/17#issuecomment-421134863,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOwPY5Sxqqj5rea50gcCZqjuxQRHG-Kwks5uarodgaJpZM4WoCqB
.

My thinking was that we ask for permission once upon the dapp loading then we can use the code throughout the dapp. Otherwise ask each each time the dapp needs access to the contact code?
I don't believe the the wallet address is uses the EIP yet?

Ask each time the DApp needs access - it should be optional for each name registered by the user.

🙌
On Mon, Oct 1, 2018 at 4:43 PM Barry G<EMAIL_ADDRESS>wrote:

Opened a PR to request contact code when tapped.
https://github.com/status-im/ens-usernames/pull/32/files
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/status-im/ens-usernames/issues/17#issuecomment-426055991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOwPY0SUjWeCQ53jyqYEdlmgsMOdH6b5ks5ugn6NgaJpZM4WoCqB
.


Button position is not absolute in certain urls (have to scroll to bottom of page to see it)

https://blog.saeloun.com/2022/02/23/rails-fiber-safe-connection-pools.html

^ before scrolling all the way down

^ After all the way down

Problem happens because of a well known problem where transforms applied on the parent will cause "position: fixed" to be buggy. The solution seems to be quite hacky and involved, probably worth investigating in the future:
Relevant discussions:

https://stackoverflow.com/questions/21091958/css-fixed-child-element-positions-relative-to-parent-element-not-to-the-viewpo
https://stackoverflow.com/questions/52937708/why-does-applying-a-css-filter-on-the-parent-break-the-child-positioning
https://stackoverflow.com/questions/2637058/positions-fixed-doesnt-work-when-using-webkit-transform

Disabling transforms on the parent (body tag) fixes the problem:

Wow, that's pretty nuts haha. Noted for future release.

No fix for now because not common and too much effort


Parameter hint doesn't show if accepting the autocomplete and only shows default value of first parameter.

Godot version:

3.0.5 stable.
OS version:
macOS High Sierra v10.13.4
Issue description:

If I have a function test_function(value1 = 0, value2 = 3), when I start typing the name of the function, if I press enter on the autocomplete offer, the editor doesn't display the parameter hints, you have to delete the ( and re-write it for the parameter hint to show. Additionally, if the function has multiple parameters with default values, the hint will only display the default value of the first parameter and not for the rest.
Not the end of the world, but I have to assume this isn't the intended behavior.

Fixed since 3.1


Refactor function  encode_attributes

In file encoding.rs function  pub fn encode_attributes(attributes: &str) -> VcxResult<String> takes &str  as argument - it then tries to parse it to Hashmap<String, serde_json::Value>.
Task:

change the function input and output types to be less generic than just &str and String - for example, it could look like

pub fn encode_attributes(attributes: CredentialAttributes) -> VcxResult<CredentialAttributesEncoded>

and hence making the function declaration communicate more about the input it requires and output it's producing.
Obivously, this will have impact on all of the code calling the function, so you will have to update that appropriately. The main place where encode_attributes is being called from. You could transitively continue applying this typing improvements on calling functions.
Additionally, you can try to refactor the function implementation itself as it's quite long.

This issue is take up by Styvane in https://github.com/hyperledger/aries-vcx/pull/778


Does not build on macOS

Description
error[E0282]: type annotations needed for `Box<_>`
  --> /Users/tcurdt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.28/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
   = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`

$ cargo update
    Updating crates.io index
    Updating git repository `https://github.com/tauri-apps/plugins-workspace`
error: failed to select a version for the requirement `tauri-plugin-clipboard-manager = "^2.1.0-beta.5"`
candidate versions found which didn't match: 2.0.1
location searched: Git repository https://github.com/tauri-apps/plugins-workspace?branch=v2
required by package `MBTilesViewer v1.8.0 (/Users/tcurdt/Downloads/mbview-rs/src-tauri)`

Steps To Reproduce
git clone
yarn install
yarn dev
Expected behavior
For it to build
App Version
master
Operating System Version
macOS 15.0
Additional Information
No response

@tcurdt what s your cargo/ rust version?
it builds fine here but i have not update rust/cargo in quite some time

I tried with
$ rustc --version
rustc 1.82.0 (f6e511eec 2024-10-15) (Homebrew)
$ cargo --version
cargo 1.82.0

@tcurdt I am on 1.72.0 so should be fine. Will try to update and see if I can reproduce.
In fact the issue might be on tauri's side. Feels like they remove some cargo packages(and I already have then locally). Will need to update tauri, though updating tauri is never an easy task as they often make breaking changes


Authentication Issue for AWS EKS Cluster

We are attempting to connect to our AWS EKS cluter (via Apache Airflow) and are getting an Authentication error for jobs running longer than 15 minutes. We are using the aws-iam-authenticator for authentication. The issue is that this provides an auth token that expires every 15 minutes, so I think that the client is not able to update the token the currently running job as it is monitoring its status, so after 15 minutes it tries to get a status update with the old token then fails due to the unauthorized error.
We tried attacking an IAM role in our .kube_config to increase this token expiration to 2 hours, but this isn't changing anything. Looking into it it seems like there was a similar issue with the Kubernetes Python Client for Google Cloud Platform that was fixed last year.

This is actually the same issue as this: https://github.com/kubernetes-client/python/issues/741

I think this caused by kubernetes-sigs/aws-iam-authenticator#63 see the comment for more details about why this is happening.
Ultimately looks like it's an AWS problem.

Thanks, I will go ahead and close this.


Inconsistent / incorrect results.

I don't have a repro on hand, so this is more of just a fyi / something to keep an eye out for.
I'm pretty sure its related to merging a branch (say featureA) into master where featureA has had master and other branches merged into it several times.  Once master is in the 'bad state', gogitver will return one of several different version numbers when run consecutive times on the same git repro.  If I had to guess, its related to an unstable sort somewhere.. but I really have no idea ; ).
The workaround is to tag ahead of the current version range.

Oh yah, affects 0.8.1


x/tools/internal/lsp: attach documentation to hover, completion items

LSP has a field for documentation in completion items, as well as space for markdown in the "hover" request. We should attach useful documentation here.

I would love to help If possible, can you please guide me @stamblerre

@Tolsee: absolutely! The main feature here involves generating documentation from a types.Object. You can see that in both completion and hover, we have access to a types.Object, a file's AST, a types.Package, and a types.Info.  The package https://godoc.org/go/doc will likely be needed here as well. The tool https://github.com/zmb3/gogetdoc also does this task, so it might be helpful to look at.
Feel free to send me a change for review if you'd like to work on this.

Also happy to assist @Tolsee, let me know if I can be of any help.

Saw in the tools update that this would be a good issue to get started. Is anybody actively working on this? If not I'm game to give it a go, probably starting in trying to get any docs included in Hover as that seems like a fairly clear start.

Don't believe so - just assign yourself when you start working so others will be aware. Feel free to reach out to me here or on Slack with any questions! We should be able to add a documentation function that can be used by both Hover and Completion.

Great, let me see if I can get a dev environment rolling against VSCode and if that works then I'll volunteer for this. I've done some documentation extraction for our own go stuff so have some experience on this so in theory should be able to knock this out.

Ok, I'm going to give this a go, got this working with a vscode-ception of gopls which is fun. I can't assign myself this but I'll look at this over the next few days and hopefully have something in a day or two to show.

Looks like I can't assign it to you either - I guess you have to have some ownership in the repository or something. Self-assigned to make it obvious that this is taken.

Realize this is a slightly different issue but on the call you mentioned not liking the tag treatment when looking at a struct. Started looking at that since that seemed an even simpler entry point and that looks like explicit behavior in writeType. How do you want those tags represented? Do you want them gone entirely? (I feel that is likely most natural, I don't expect tags to be included in a hover, but checking what desired is)

good idea! yeah i think eliminating them makes the most sense.

Ah, I see now, the format is part of the core library in ObjectString... So next question is do we want to mangle what we get back from ObjectString or reimplement/copy and tweak that implementation into lsp? Seems the latter is the only reasonable option.

I looked at this when writing the guru compatibility, I think a complete implementation inside lsp/source is the only viable approach.
I was thinking of writing something that builds a cleaned ast and then using the normal printer to build the string, but I did not look hard enough to be sure that is the right approach.

I'm not convinced it's the tags that makes the tooltip hard to look at, but rather the lack of formatting.
We've been displaying the tags in Atom's hover implementation for a while and haven't received any feedback that the tags are a problem.  Here's a screenshot of a tooltip that includes tags but properly formats the struct type definition:

Ya, I kinda agree. Maybe we should start with formatting first and see how people feel about it before reimplementing all the ObjectString stuff? Is that a vscode responsibility or the responsibility of the markdown we produce?)

I'd like to jump on this one if it is back to available.

I actually have a CL in progress to fix this, sorry I didn't write here earlier. It's actually a fairly big change, so I may be able to file several more issues once my first one is in.

As I'm sure you are aware, note that Go doc strings are not Markdown but rather have their own minimalistic formatting. For them to display with formatting correctly they will need to be converted to Markdown before returning them if we want them to show up formatted in the editor correctly. See https://github.com/Microsoft/vscode-go/pull/2245 where I implemented this transformation albeit in JS and here it is needed in Go.

Thanks for bringing this to my attention, @segevfiner! Right now in gopls we don't do anything to make sure the comments are formatted well, so I will definitely look into this.

The latest case that needs documentation is completion items. This should probably be done on completionItem/resolve to avoid extra work.

To do that on completionItem/resolve we first need to add some info to the returned CompletionItem-s data field that can be used to quickly get back the types.Object for the given item. Once we have that resolve can use that to get the item again and extract the relevant documentation for it. It also seems that the existing code for documentation is based on ast instead of types, so we either need code to grab documentation from types or get the ast node in resolve instead.
So what should that key for looking up the object in resolve be?

I do think we should cache identifier information to avoid recomputing hover information, but I think to start, we may be able to avoid caching. If we know the position of the completion item, we can get the identifier at the position and get the documentation that way. It might not be technically correct, as the code could change before the item is resolved, but in practice, I'd be surprised if that were a common occurrence.

I think gopls has type info cached so it sounds reasonable to me it will already have a mechanism for this. Maybe Info.ObjectOf but I didn't try this yet.

The above change experimentally added the documentation to  the completion items, but we still have a few things to determine before turning this feature on by default. In particular - should we move to the approach of using completionItem/resolve or stick to population documentation for all items in textDocument/completion? This will require benchmarks to compare the approaches.

Completion documentation was turned on by default at master, so closing this issue.


Improve error message/handling of missing permissions with custom container

What would you like added?
When the ARC executes a job when using the kubernetes job mode, it should check if the pod fails with a ImagePullBackOff, fail the run and write a appropriate error message.
And especially in the case of a image on ghcr.io and the ImagePullBackOff happening because of a 403 error, it should provide a hint to the user to make sure his workflows have the appropriate permissions to access the image.
Why is this needed?
When using images hosted on ghcr.io in your own org, you need to have appropriate permissions to access them.
This means both configuring the repo hosting the image with the proper visibility/permissions. This needs to be done once.
More importantly any workflows using these images (i.e. packages) as the container for a build step, need to have the package: read permission. This is probably not obvious to every user and while it is enabled by default for most cases, if you specify any permissions for the job manually, none of the defaults apply anymore and they would have to be added manually to your specified permissions.
With the current implementation, the user will not get any useful error message and instead the job will keep waiting for 10 minutes before failing without a useful error message.

Hey @john-zielke-snkeos,
I transferred the issue here, since the ARC is not responsible for the hook execution. This is a more appropriate place for this issue. Thank you for reporting it!


Print positional arguments without dashes

Fixes #46.

Codecov Report

Merging #54 (10d2fab) into master (1e1af92) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   93.49%   93.56%   +0.06%
==========================================
  Files           4        4
  Lines        1015     1026      +11
==========================================
+ Hits          949      960      +11
  Misses         66       66

Impacted Files
Coverage Δ

source/argparse/internal.d
93.69% <100.00%> (+0.14%)
:arrow_up:

Continue to review full report at Codecov.

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


Added CSS to project

This PR adds a CSS style sheet and an updated HTML file for the Prework Study Guide application.

CSS was added


Need help for the formly

First of all this is not the ngx-formly issue, but I need help in our issue,
I am using formly-wrapper-angular-element for ngx-formly.
In my stenciljs component, I have used the formly-wrapper-angular-element to create the form dynamically based on JSON passed.
My repository
I am able to create the form but field change/blur event is not working for me.
Below is my json object which I am passing to formly-wrapper-angular-element
this.componentSchema=[{         key: 'country',         type: 'select',         className: 'col-6',         templateOptions: {           label: 'Country',           description: 'Input Field Label',           options: [{ name: 'Afghanistan', code: 'AF' },           { name: 'India', code: 'IN' }],           valueProp: 'code',           labelProp: 'name',           change: () => {             //want to do some opration here             console.log('country changed')           }         }       }]
Inside render block:
<app-formly-wrapper input={JSON.stringify(this.componentSchema)}></app-formly-wrapper>}
Could you please help me to get the field change/blur event to work properly.
(It seems like the issue is with the change field value, How can I passed it to formly-wrapper-angular-element so that ngx-formly will work for me)
Steps to check issue:

clone My repository
at root level(stencil-component-starter) do npm install and then npm start

@aitboudad could you please help me with this?

As JSON doesn't understand functions so JSON.stringify not parsing function.
So I have created one function to stringify it
 makeString (obj) {     return JSON.stringify(obj, function (_key, value) {       return (typeof value === 'function') ? value.toString() : value;     });   }
and eval it on the other side
parseString(str) {     return JSON.parse(str, (key, value) => {       if (typeof value !== 'string') { return value; }       // tslint:disable-next-line:no-eval       return (value.substring(0, 8) === 'function') ? eval('(' + value + ')') : value;     });   }
its working with the above approach :)

Custom element accepts only a string value so if you want to pass a non-string value it should be done through component props (https://github.com/ngx-formly/ngx-formly/issues/1505#issuecomment-478711772).


updated options to start prometheus server

Trying to stop Prometheus data loss.

Coverage remained the same at 35.843% when pulling a62bf21184d019ebf5b33a6e901ee63782823616 on prometheus_config into 191b57427a2725bf76381a2a2259932f1c967b7f on master.


Always on top not staying on after making World of Warcraft fullscreen and then restoring the window size

Microsoft PowerToys version
0.57.2
Running as admin

[ ] Yes

Area(s) with issue?
Always on Top
Steps to reproduce
Make World of Warcraft's bordered window fullscreen and then restore it to the original size
✔ Expected Behavior
The restored window should remain on top instead of having to re-apply the shortcut key
❌ Actual Behavior
The window loses the always on top and ends up in the background despite fixes in the 0.57.2 version of Always On Top to address some of these issues in programs
Other Software
World of Warcraft TBC

Hi friends! This bug is relatively old. In an effort to clear out any stale bugs, could you please let us know if this bug is still showing up on any of the latest builds, 0.74 or up!
/needinfo


Implement QuickDoc-like workflow

Edited:
Command to show, in a split window, the definition and scaladoc of a class/object/trait/method/member. It might require changing the server, I have to take a look at the available API.
I will work on some mock-ups and attach a couple of screenshots to this issue.
Old:
Currently, show type command uses the already formatted type name from the server response. It is ok for simple types and Funtions, but I find much more readable the format used in completion for methods.
We could reuse the same logic as in completion to give ArrowTypeInfo a special treatment.
I already have a TODO in the code for that. Let me know what you people think and I could open a PR for it.

I'd have to see some "mock-up" and perhaps examples of types that show the value of it, personally. :EnType for instance is showing the inferred result type of an expression, which is usually going to be much simpler than the amount of information in call signatures. Even if you're inspecting something that's a function type, in that context I want it to be concise, I don't want my eyes to have to scan a mile to a second column on a wide monitor.
Take for example (Int, String) => IndexedSeq[String] from #288 – it doesn't get much better than that to me, it's literally a valid type that I can even copy and paste directly into :kind in the REPL.
Now :EnInspectType, that one I would be happy to have formatted differently, I'm just not sure how. It could even produce multiple lines of output requiring a keypress to dismiss IMO, to me this command is a choice to "dig deeper" than :EnType.
So that's just my perspective, not to discourage trying it, just need to visualize some cases to evaluate.

You're totally right, I mean 'show type' action as a kinda 'quick doc' popup from the Idea world. But if it is just for inferred type I prefer the shortcut.
It would be nice to have a supporting split window (like vim preview window) to show this kind of information. Some times I want to quickly view the signature+scaladoc of a method. I don't want to switch to the browser for that.
I'll check what the server provides and sketch up a workflow for such use case. Let me rephrase this issue.

It would be nice to have a supporting split window (like vim preview window) to show this kind of information. Some times I want to quickly view the signature+scaladoc of a method. I don't want to switch to the browser for that.

That'd be great, this touches on two things I've had on my list too but haven't written up tickets for them yet:

A lot of plugins like jedi-vim pop up a full function signature and possibly docstring in the preview window when completion is invoked, allowing you to keep seeing full function params after entering (. Not everyone likes that because it shifts your window layout, but I put autocmd InsertLeave * pclose in my vimrc and I'm quite happy with that setup. set completeopt-='preview' if you don't like it, should apply to all plugins that do this.

Documentation lookup that doesn't require switching to a browser, to use for K. Probably open in a split rather than preview because you're likely to want to want to scroll it almost immediately, but this could be flexible. This might be clumsy since we'd probably just have to implement stripping HTML on-the-fly from the doc jars that ENSIME caches… but maybe someone has another idea.

A lot of plugins like jedi-vim pop up a full function signature and possibly docstring in the preview window when completion is invoked, allowing you to keep seeing full function params after entering (. Not everyone likes that because it shifts your window layout, but I put autocmd InsertLeave * pclose in my vimrc and I'm quite happy with that setup. set completeopt-='preview' if you don't like it, should apply to all plugins that do this.

I was aware of that, and I thought a lot about it while implementing #275, but no docs are available in the server response. So if there is an endpoint for docs we could do both requests and merge the responses to easily turn this feature on.
In the meantime, I had configured 'neosnipet' to help me jump through params after method completion. I even opened Shougo/neosnippet.vim#345 just in case to improve integration. I'd like to add some lines to the docs for providing some config examples to get a good autocompletion experience.

Documentation lookup that doesn't require switching to a browser, to use for K. Probably open in a split rather than preview because you're likely to want to want to scroll it almost immediately, but this could be flexible. This might be clumsy since we'd probably just have to implement stripping HTML on-the-fly from the doc jars that ENSIME caches… but maybe someone has another idea.

I'll play around with the server to find what we can do. A feature like that would be so helpful.

Not everyone likes that because it shifts your window layout

Extra information for autocompletion would be much better if something like this gets done:

It seems that some work is already planed on the server to support this use-case on the editors.


Prevent reloading monit configuration every time.

At this time monit reloads on every Chef run. That isn't optimal nor necessary.  Here it happens AFTER the service is restarted...
Recipe: monit-ng::config
  * service[monit] action restart
    - restart service service[monit]
  * ruby_block[reload-monit] action run
    - execute the ruby block reload-monit
  * service[monit] action start (up to date)

That block actually notifies the resource above it to run at the end of the chef converge. The resource above it, in turn crawls the resource collection and conditionally reloads if any monit_check resources have been updated. It's just a handy shortcut for having to have every monit_check resource notify the service to reload

So the provider calls the notify method itself if anything changes, so I'm not sure why this is necessary. I've seen a lot of providers, and none have methods like this...
and second, it's misfiring. It reloads when no monit changes happened. See...
Recipe: monit-ng::config
  * template[/etc/default/monit] action create (skipped due to only_if)
  * directory[/etc/monit.d] action create (up to date)
  * template[/etc/monit.conf] action create (up to date)
  * service[monit] action enable (up to date)
  * ruby_block[reload-monit] action nothing (skipped due to action :nothing)
  * ruby_block[notify-reload-monit] action run
    - execute the ruby block notify-reload-monit
  * ruby_block[notify-start-monit] action run
    - execute the ruby block notify-start-monit

That's not a misfire. the ruby_block resource is running, but if you look
closer there's nothing actually  happening to the service.
Thanks for pointing out the provider notification; I didn't remember that
being there. It's been a while, but if I remember correctly, it wasn't
always getting new configurations loaded. Might have to dig in again and
get one or the other removed.
On Tue, Jun 9, 2015, 11:38 PM Jo Rhett<EMAIL_ADDRESS>wrote:

So the provider calls the notify method itself if anything changes, so I'm
not sure why this is necessary. I've seen a lot of providers, and none have
methods like this...
and second, it's misfiring. It reloads when no monit changes happened.
See...
Recipe: monit-ng::config

template[/etc/default/monit] action create (skipped due to only_if)
directory[/etc/monit.d] action create (up to date)
template[/etc/monit.conf] action create (up to date)
service[monit] action enable (up to date)
ruby_block[reload-monit] action nothing (skipped due to action :nothing)
ruby_block[notify-reload-monit] action run

execute the ruby block notify-reload-monit

ruby_block[notify-start-monit] action run

execute the ruby block notify-start-monit

—
Reply to this email directly or view it on GitHub
https://github.com/bbg-cookbooks/monit-ng/pull/34#issuecomment-110614031
.

if the ruby_block sticks around, we should give it a clearer name too, as "reload-monit" is pretty obviously inaccurate; something like "conditionally-reload-monit" or "maybe-reload-monit" would makes this more clear.


feat: refactor endpoint create/delete flow for swift 2

Reason for Change:
refactor existing endpoint creation flow to support multiple 'EndpointInfo' which represents an interface and consolidate into 'endpoint' struct which maps to pod
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] relevant PR labels added

Notes:

/azp run

azp /run

/azp run


♻(lib-video) add is_live property to video

Purpose
We need to distinguish for a video object if it is a live or a VOD.
Proposal
The is_live is computed property is already done. so we need it in the video serializer et use it when we front side

[x] add 'is_live' to the video serializer
[x] use is_live when possible front side

You miss to use the new is_live property in the convertVideoToLive helper:
https://github.com/openfun/marsha/blob/f280cdb8037ecfba160b32adba27b3d56e7d4da0/src/frontend/packages/lib_video/src/utils/convertVideo.ts#L11-L15

And it can also be used in the convertVideoToJitsiLive helper


[Rust] tree-sitter-rust 0.20.3 does not recognise the if_let_expression node type

Describe the bug
The tree-sitter-rust crate no longer supports the if_let_expression node type, as of v0.20.3. As such, the Rust language query file cannot be parsed.
To Reproduce

cargo update -p tree-sitter-rust --precise 0.20.3
cargo test

Expected behavior
The tests should pass without a query parsing error.
Environment

OS name + version: NixOS 22.05
Version of the code: 6c5b58c7d1b6

Additional context
Pinning to 0.20.2 resolves the problem. I suspect the name of the node type has simply changed, but this needs investigation...

Looks like the change was made here: https://github.com/tree-sitter/tree-sitter-rust/commit/6ebdb1dc6cf4c19d8bae1d04f7bad44408e877d8

That sounds like a good change, as if and let are already handled. You may only have to remove this:
(if_let_expression
  [
    (identifier)
    "let"
  ] @prepend_space
)

One could question their (mis)use of semantic versioning, though 🙂


Improve MagicSock poll_ready behaviour

Currently the iroh_net::magicsock::IoPoller will return Ready as soon as any of the channels (udp-ipv4, upd-ipv6 or relay) could send.  This very easily results in Ready to be returned to eagerly: e.g. in a 1-1 transfer which is using udp-ipv4 only it would always return ready for the relay and udp-ipv6 thus never back off the poller.
We should improve the poller so that it does do this correctly.  This may need more pollers as described in https://github.com/n0-computer/iroh/blob/f28bd27b87ee3e419835dce1fdeacbd0d895098d/iroh-net/src/magicsock.rs#L432-L445
Labelling as both a bug and a feature, because I don't think this behaviour is new since we use<EMAIL_ADDRESS>but it still is not great.

I think improving this is important for correct backpressure.
FWIW, in my testing I never actually hit any case where any UdpPoller returned Pending.
That said, I used the iroh-net/bench, which runs localhost. It's entirely possible that localhost sending is just never slower than the encryption parts of QUIC, so essentially on localhost the socket can probably easily outrun the encryption.
The only other idea I have is testing this across machines, hoping this would make the socket "slower". But that's a little more involved. If anyone has other ideas, please LMK.


Deprecate prithvida splade due to a typo in the name

We've made a typo in the name of prithvida/Splade..., the correct one is prithivida
We need to deprecate the incorrect spelling with a DeprecationWarning and keep only the correct one in the future

available as of 0.3.6


Removed vendorized dependencies, add gems

Replace vendorized JS with gems, avoiding the problem if the parent app is using some of the same JS dependencies.
Additionally:

Switch from chosen to select2, a modern fork of chosen.
Removed Bundler.require from the dummy application.rb,
to catch problems with missing requires.
Autosize post form textarea as well.

@jayroh LGTY?

 It's overdue.


How to apply Placeholder

Hello I've tried applying Placeholder on the configuration but it's not working.
Here is my sample code:
config: {           toolbar: [               ['Paste','PasteFromWord','Undo', 'Redo'],               ['Others'],               [ 'Bold', 'Italic', 'Heading' ],               ['Link'],               ['NumberedList', 'BulletedList','Source','Blockquote' ,'Preview'],               ['Indent','Align']           ],           extraPlugins:'placeholder',           placeholder:'

Male / Female

Graduate of Internal Auditing / Accountancy or any related Business course

With at least minimum of 6 months experience on the same field but not necessary

With above average of communication skills in both oral and written English

Proficient in MS Office

Willing to be assigned in Pasig City and willing to do periodic travels to Batangas, Laguna, Cavite and Clark areas

Open to all fresh graduates

',           height: 200         }

Hi @jeck5895
You can apply Placeholder such as:
<template>

    <vue-ckeditor v-model="multiplePlugins.content" :config="multiplePlugins.config" />

</template>

You can see Demo in Multiple Plugins

Thank you so much appreciate it 😀
On 29 May 2018 at 00:02, Dang Van Thanh<EMAIL_ADDRESS>wrote:

Hi @jeck5895 https://github.com/jeck5895
You can apply Placeholder such as:

You can see Demo http://vue-ckeditor2.surge.sh/ in Multiple Plugins
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dangvanthanh/vue-ckeditor2/issues/60#issuecomment-392561781,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVRp6mfjVt3NlIMKnDvON8hcGTIyfaacks5t3B-egaJpZM4UP41I
.


[BUG]  按照官方教程编译的ollama，在run myMinicpmv2.6:latest时候，模型直接报错退出

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
`(deploy) ycx@user-NF5468-M7-A0-R0-00:~/ycxGit/ollama-minicpm-v2.6/ollama$ ./ollama run myMinicpmv2.6:latest

Are U dying?
Error: an unknown error was encountered while running the model `

期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
- OS: ub 20.04
- Python: 3.10.14
- Transformers: 4.44.0
- PyTorch: 2.4.0
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`): 12.1
(deploy) ycx@user-NF5468-M7-A0-R0-00:~/ycxGit/ollama-minicpm-v2.6/ollama$ ./ollama create myMinicpmv2.6 -f /data1/home/ycx/workspace/HF/minicpmv2_6.Modelfile
transferring model data
using existing layer sha256:74c42a7b0f4dec95ce1e06b0732ec555feefc2f1b09064622c4214de908ed9dd
using existing layer sha256:4f512bc0bcc4367e82f2b247dcef63691691a1df6be1315568d87dac2ae7859d
creating new layer sha256:cca9919e361fa4c9aad81c621bf95e3cd5350376292eaca21f3b6651eb910fb9
creating new layer sha256:04f33aecb9bbd85b5e4d20b569f4a761a4059d128d44f58cd0dc52e58b3e3787
creating new layer sha256:1adc2b47fbc5dcbcc575c2dd5c076b06417f9c9aafb09e402d3daf4795b883e8
writing manifest
success

备注 | Anything else?
No response

我也一样。

没说法 等Ollama官方合并吧

可以试试这个 https://ollama.com/library/minicpm-v:latest

可以试试这个 https://ollama.com/library/minicpm-v:latest

I’m having no luck with this, I’m having this issue on ubuntu, and it happens for every model I attempt to load, here’s an example of me having this exact issue with phi3 as an example.

可以试试这个 https://ollama.com/library/minicpm-v:latest

I’m having no luck with this, I’m having this issue on ubuntu, and it happens for every model I attempt to load, here’s an example of me having this exact issue with phi3 as an example.

update ollama


images: update gops using renovate bot

Example PR: https://github.com/tklauser/cilium/pull/490

/test

Can you help to rebase? Thanks

Can you help to rebase? Thanks

Done, thanks.

Image lint and smoke tests passed after rebase and approvals are in. No need to run full CI, marking as ready to merge.


Partial Dark Latex crashing issue.

opening the game fails constantly for me and my friends, says;
The game crashed whilst rendering overlay
Error: java.lang.IllegalArgumentException: No model for layer changed:dark_latex_wolf_partial#main
got a general idea why this is happening but i dont know how to fix it

Please see #943. If you are in the discord, please look at the pinned message in mod-tech-support.


Task - Filters - move form GET to POST to handle long queries

With the advent of the match_ facets there are use-cases where need to post many IDs.  This generated 414s.  We'll have to move, perhaps conditionally, to POST, or allow both.

@jlpereira See corresponding 3088 branch.
These filter tasks now allow GET or POST:

images
extracts
sources
collecting events
collection objects
people
taxon names

The trick will be to still show the JSON URI unless the request is too big.  Maybe conditionally GET unless the match_ is populated.  Unsure.  You could check the length of the request too I suspect, and toggle to POST, then not display the URI (or leave a message: 'API request is too large to display as a GET request' or something like that.


ImportError: No module named 'DictObject'

I get an ImportError out of \pytg\pytg\pytg\sender.py
ImportError: No module named 'DictObject'

Should automatically get installed already by python setup.py install.
The dependency can be installed manually with
pip install DictObject

running install
running bdist_egg
running egg_info
creating pytg.egg-info
writing requirements to pytg.egg-info\requires.txt
writing pytg.egg-info\PKG-INFO
writing top-level names to pytg.egg-info\top_level.txt
writing dependency_links to pytg.egg-info\dependency_links.txt
writing manifest file 'pytg.egg-info\SOURCES.txt'
reading manifest file 'pytg.egg-info\SOURCES.txt'
writing manifest file 'pytg.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
creating build
creating build\lib
creating build\lib\pytg
copying pytg\argument_types.py -> build\lib\pytg
copying pytg\encoding.py -> build\lib\pytg
copying pytg\exceptions.py -> build\lib\pytg
copying pytg\fix_msg_array.py -> build\lib\pytg
copying pytg\fix_plain_output.py -> build\lib\pytg
copying pytg\receiver.py -> build\lib\pytg
copying pytg\result_parser.py -> build\lib\pytg
copying pytg\sender.py -> build\lib\pytg
copying pytg\test.py -> build\lib\pytg
copying pytg\utils.py -> build\lib\pytg
copying pytg_init_.py -> build\lib\pytg
creating build\bdist.win32
creating build\bdist.win32\egg
creating build\bdist.win32\egg\pytg
copying build\lib\pytg\argument_types.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg\encoding.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg\exceptions.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg\fix_msg_array.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg\fix_plain_output.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg\receiver.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg\result_parser.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg\sender.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg\test.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg\utils.py -> build\bdist.win32\egg\pytg
copying build\lib\pytg_init_.py -> build\bdist.win32\egg\pytg
byte-compiling build\bdist.win32\egg\pytg\argument_types.py to argument_types.pyc
byte-compiling build\bdist.win32\egg\pytg\encoding.py to encoding.pyc
byte-compiling build\bdist.win32\egg\pytg\exceptions.py to exceptions.pyc
byte-compiling build\bdist.win32\egg\pytg\fix_msg_array.py to fix_msg_array.pyc
byte-compiling build\bdist.win32\egg\pytg\fix_plain_output.py to fix_plain_output.pyc
byte-compiling build\bdist.win32\egg\pytg\receiver.py to receiver.pyc
byte-compiling build\bdist.win32\egg\pytg\result_parser.py to result_parser.pyc
byte-compiling build\bdist.win32\egg\pytg\sender.py to sender.pyc
byte-compiling build\bdist.win32\egg\pytg\test.py to test.pyc
byte-compiling build\bdist.win32\egg\pytg\utils.py to utils.pyc
byte-compiling build\bdist.win32\egg\pytg_init_.py to init.pyc
creating build\bdist.win32\egg\EGG-INFO
copying pytg.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying pytg.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying pytg.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO
copying pytg.egg-info\requires.txt -> build\bdist.win32\egg\EGG-INFO
copying pytg.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist\pytg-0.4.1-py2.7.egg' and adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing pytg-0.4.1-py2.7.egg
Removing c:\python27\lib\site-packages\pytg-0.4.1-py2.7.egg
Copying pytg-0.4.1-py2.7.egg to c:\python27\lib\site-packages
pytg 0.4.1 is already the active version in easy-install.pth
Installed c:\python27\lib\site-packages\pytg-0.4.1-py2.7.egg
Processing dependencies for pytg==0.4.1
Searching for dictobject==0.1.1
Best match: dictobject 0.1.1
Processing dictobject-0.1.1-py2.7.egg
dictobject 0.1.1 is already the active version in easy-install.pth
Using c:\python27\lib\site-packages\dictobject-0.1.1-py2.7.egg
Finished processing dependencies for pytg==0.4.1
I'm still getting this error:
Traceback (most recent call last):
File "Telegram_spam.py", line 9, in
from pytg.sender import Sender
File "C:\Users\Karl\Desktop\pytg\pytg\pytg\sender.py", line 19, in
from DictObject import DictObject
ImportError: No module named 'DictObject'

oh. I guess that might be an issue with Windows having case insensitive paths. (how retro)
can you try in a python shell
from dictobject import DictObject

please?

lol yes I get import error on that lowercase import, this works but only on python 2.7 I have several version installed perhaps that's my problem I'll check
from DictObject import DictObject

Any updates?

Did you solve it?

I closed it, as there was no answer.


Adding password reset functionality to address #141

This is currently draft still and needs a lot of work

[ ] need to add unit testing for it too once it's implemented
[ ] implement for own users
[ ] implement for managers

I've also added a scripts folder to make quick dev easier

You can ignore for now the question of admins changing other people's passwords, because we don't have admin users at all yet.
Also, we just merged a couple of big PRs that change the backend API implementation a lot (though not the API itself). That is to say there will be a substantial merge conflict on dtbase/backend/api/user/routes.py. I can sort it out though. Would it be better to do it now, rather than at the end, or would that mess with you working on this?

I can sort out any merge conflicts, is there anything else currently being worked on which might be affected? Happy to take that into consideration.

All the big PRs that restructured things have now been merged. There's currently one in the works that will enforce linting and formatting of Typescript and maybe of CSS (#103), but that probably won't cause significant conflicts. I'm currently working on documentation and @EdwinB12 is on Docker compose stuff for local deployment, which sounds conflict free.

This makes a start on addressing #141. We are all now moving on to different projects and won't have time to finish this, but I'm leaving it open as a draft in case someone comes back and wants to finish the work. Note that there's a massive merge conflict coming up on the backend side. However, the frontend HTML template file is still current and useful.


add issue and PR templates

These template crib heavily from other open-source repository tooling.

provide initial template PRs
provide various issue reporting options
add label triggers for some common queue maintenance tasks

Added label automation will require addition of the following labels:

needs-linting
needs-unique-branch
needs-testing-environment
needs-pull-request-template
needs-more-information

Templates as offered for new issues - Note this order can be adjusted via filename prefixes:

PR prompted template:


AttributeError: module 'numpy' has no attribute 'bool8'

Hello,
I now have this error in all the comands: AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?
-> % ruggedbox 5 4 6 --lid -f stl
Traceback (most recent call last):
  File "/home/masterkorp/.local/bin/ruggedbox", line 5, in <module>
    from cqgridfinity.scripts.ruggedbox import main
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/cqgridfinity/__init__.py", line 15, in <module>
    from .gf_obj import GridfinityObject
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/cqgridfinity/gf_obj.py", line 30, in <module>
    import cadquery as cq
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/cadquery/__init__.py", line 22, in <module>
    from .occ_impl import exporters
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/cadquery/occ_impl/exporters/__init__.py", line 10, in <module>
    from ...cq import Workplane
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/cadquery/cq.py", line 62, in <module>
    from .sketch import Sketch
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/cadquery/sketch.py", line 28, in <module>
    from .occ_impl.sketch_solver import (
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/cadquery/occ_impl/sketch_solver.py", line 3, in <module>
    from nptyping import NDArray as Array
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/nptyping/__init__.py", line 30, in <module>
    from nptyping.ndarray import NDArray
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/nptyping/ndarray.py", line 32, in <module>
    from nptyping.shape_expression import (
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/nptyping/shape_expression.py", line 35, in <module>
    from nptyping.typing_ import Literal
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/nptyping/typing_.py", line 66, in <module>
    Bool8: TypeAlias = np.bool8
                       ^^^^^^^^
  File "/home/masterkorp/.local/share/pipx/venvs/cqgridfinity/lib/python3.12/site-packages/numpy/__init__.py", line 410, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?

I have 0.5.6 installed.
-> % pipx list
venvs are in /home/masterkorp/.local/share/pipx/venvs
apps are exposed on your $PATH at /home/masterkorp/.local/bin
manual pages are exposed at /home/masterkorp/.local/share/man
   package cqgridfinity 0.5.6, installed using Python 3.12.4
    - gridfinitybase
    - gridfinitybox
    - ruggedbox

Any ideas on what this could be ?

This is caused by a CadQuery dependency on the version of numpy.  See this issue for details: https://github.com/CadQuery/cadquery/issues/1626
I'm not familiar with how far the CadQuery team got to resolving this issue, but I suspect if you install a newer version of CadQuery then this will likely resolve it.

Solved in CadQuery's master branch...
pip install git+https://github.com/CadQuery/cadquery.git


fix: update to lingua v1.4.1

fix: update to lingua v1.4.1

:tada: This issue has been resolved in version 16.21.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v16.21.2

Your semantic-release bot :package::rocket:


Keep getting this error in demo_sample.ipynb

 in <cell line: 10>()
8 setattr(torch.nn.Linear, 'reset_parameters', lambda self: None)     # disable default parameter init for faster speed
9 setattr(torch.nn.LayerNorm, 'reset_parameters', lambda self: None)  # disable default parameter init for faster speed
---> 10 from models import VQVAE, build_var
*** 11 ***
12 MODEL_DEPTH = 16    # TODO: =====> please specify MODEL_DEPTH <=====
ModuleNotFoundError: No module named 'models'
but when downloading "Models" Module...
Using cached models-0.9.3.tar.gz (16 kB)
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

hi @Aibecool174 you need to download our models folder (https://github.com/FoundationVision/VAR/tree/main/models), not a python library named models.

hmm, there are new errors in the model folders .py files saying "Import ".###" could not be resolvedPyright(reportMissingImports)" to imports that are ALL already in the VAR respiratory, even after restarting runtime


Update Readme and doc website to reflect deprecated status

Changes proposed
Updating readme to reflect deprecated status

Screenshots (Optional)

Review Error for megha31-cb @ 2024-05-29 18:38:38 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help

Review Error for megha31-cb @ 2024-05-29 18:52:57 UTC
User failed mfa authentication, see go/mfa-help


Xcodebuild reports

Added support for generating HTML, JUnit, etc test reports using xcpretty.

That looks great. How do you use the reports in combination with fastlane? Do you show the generated reports in your CI-system as HTML report?


ARM64 CPU info improvements

Read processor name from registry
Windows Task Manager does it that way.
Better speed readings for heterogeneous CPUs
This way more accurate information about CPU speed is displayed on big.LITTLE ARM devices.
Actual and base CPU speed now matches the one shown in standard task manager (and imo the correct one).

Thanks for the PR, looks good 👍

@dmex
Thank you.
But what was wrong with ARM64: Allow deployment to remote machine in debug config commit?
I've enabled deployment for ARM64 Debug configurations for easier remote debugging.
With deployment enabled VS can automatically transfer new binaries to remote machine.
So there is no need to manually copy them when starting debug session.

Allow deployment to remote machine in debug config commit?

You would need to add it to all configurations not just the arm64 config to be accepted.
The debugging deployment configuration is generally different for each machine and since those changes were only for arm64, I figured it was unintentionally committed.

I just though it was not necessary for other than ARM64 configs, since nobody did it yet. Most people has x64 machines, so it is much easier to debug locally. But for ARM the only real option is remote debugging righ now.
I will submit another PR then.


Update sqlalchemy to v2.0.0

It's finally there!

Thanks @gazorby - there's a patch in starlite main for this, will put through after next release there.


GUI descriptions

Behavior observed:  App GUI doesn't describe that both reports and orders are required for tool to work.
Expected behavior: Tips to guide user to navigate app.
Please attach your log file: /Users/Christopher/MintAmazonTagger/Tagger Logs/2023-02-18_10-01-18.log

Thanks for the report. I have added better error messages coming out in version 1.62 that should make this obvious. Cheers.


Extend frontend to support discussions

Add Comment modal
Display comment modal

I get 'Comment submitted successfully' even though I did not sign a tx. Please fix.


Replace hard coded occurences of account id by variable

Replace hard coded occurences of account id by variable

You can use: https://github.com/alphagov/govuk-infrastructure/blob/c66295306d552d869350670b5249dd53a433ebf6/terraform/deployments/concourse-iam/main.tf#L29 to extract the account number


Marathon doesn't remove tasks which do not exist in Mesos

I'm running a single Marathon instance in a docker container ("mesosphere/marathon:demo-0.9.2") on Mesos (via another Marathon). The current state is the following:

Marathon UI reports a sleep2 app with 300 / 0 (Tasks / Instances) and "Deploying" status
These tasks have been previously killed and do not exist in Mesos any more.

I suppose Marathon sends Mesos kill requests and, as expected, receives TASK_LOST updates, which it doesn't process correctly. Here is the excerpt from the Marathon log:
[2015-08-13 13:49:52,687] INFO Received status update for task sleep.94b7cb71-41b4-11e5-9129-06c509a187f7: TASK_LOST (Reconciliation: Task is unknown) (mesosphere.marathon.MarathonScheduler$$EnhancerByGuice$$b9f91348:98)
[2015-08-13 13:49:52,688] INFO Finished processing status update for task sleep.94b7cb71-41b4-11e5-9129-06c509a187f7. Took 1 ms (mesosphere.marathon.MarathonScheduler$$EnhancerByGuice$$b9f91348:168)
[2015-08-13 13:49:52,688] WARN Couldn't post event for value: "sleep.94b7cb71-41b4-11e5-9129-06c509a187f7"
 (mesosphere.marathon.MarathonScheduler$$EnhancerByGuice$$b9f91348:134)

Note that task sleep.94b7cb71-41b4-11e5-9129-06c509a187f7 is shown in MarathonUI is started.
P.S. I'm not 100% sure how I entered in the described above state, but I'll try to reconstruct the chain of events here, maybe it will provide some background. I had an app in marathon with some healthy tasks and some stuck in staging, then I killed the marathon scheduler, and killed the tasks on Mesos agent, restarted the Marathon, saw the app hanging around and asked Marathon to destroy it.

Hi @rukletsov, this might be related to the demo code. It would be interesting if you experience similar problems with the regular 0.9.2 release (which might very well be). The effected code is very high on our "rewrite soon list".
https://github.com/mesosphere/marathon/issues/462

This problem appears in the demo branch and is fixed there (see related PR)


The document needs more details on MDATP Requirements

It is not very clear if Microsoft Defender ATP is a prerequisite on the workstations, or if only the Cloud version is used and if MDATP configuration is necessary.
In the article, MDATP is mentioned several times, suggesting that if the workstation does not have MDATP installed, Safe Documents cannot work. In only one small place is it mentioned that it would be MDATP Cloud that would be used.
I think we should be clearer about the prerequisites with MDATP and specify that it is the Cloud version accessible without any configuration other than the E5 license and not dependent on an agent on the workstation that is used.

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

ID: 72ac8b1f-a7cf-3487-9a3c-8eff53e4adb5
Version Independent ID: 63773389-8a4f-926f-8430-8c80b19ff2da
Content: Safe Documents in Office 365 ATP - Office 365
Content Source: microsoft-365/security/office-365-security/safe-docs.md
Service: o365-seccomp
GitHub Login: @chrisda
Microsoft Alias: chrisda

@chrisda  Kindly answer and help us in resolving this issue. Thanks.

Checking

@nlepagnez, I think the current topic accurately describes the license requirements. If you disagree, feel free to reopen.

@chrisda I am confused myself as well. The article says that "Safe Documents sends files to the Microsoft Defender for Endpoint cloud for analysis" which sounds like the Microsoft Defender for Endpoint agent is NOT needed. Nevertheless, why not just explicitly say if the agent is or isn't required? Further, someone opened the question, so why not just answer the question explicitly instead of just saying that the requirements are already outlined? Clearly, it is not understood.
Thank you in advance Sir

@netaneladar, @nlepagnez fair enough. I updated the topic to be much more specific.

Thanks again Chris. We have all the requirements in our large tenants, but don't have Defender. It is important for us to understand the requirements before rolling out a global setting.


[FEATURE REQUEST] tag management

It could be cool to be able to manage dashboard tags through wizzy as well.
seems to be achievable regarding API documentations:
http://docs.grafana.org/http_api/dashboard/#tags-for-dashboard
thanks a lot for this awesome tool !

So, would you like wizzy to list tags?
something like wizzy list dashboard-tags ?

we want the ability to copy/extract/insert dashboard-tags from one dashboard to another.
See the possibility to add a new tag or remove tag from dashboards too!

wizzy list dashboard-tags command added!

wizzy copy dash-tags
wizzy extract dash-tags
wizzy insert dash-tags

The above commands are now in master!


Minor increaseVolume and decreaseVolume changes

Trivial changes to increaseVolume and decreaseVolume

Make the methods ignore invalid input instead of raising / lowering to the min / max
Make decreaseVolume wrap increaseVolume for code reuse
Avoid conditions in volume scroll event listener

Cheers for this 👍


[Bug]: Incorrect documentation for OCO_MODEL variable

Opencommit Version
2.4.2
Node Version
N/A
NPM Version
N/A
What OS are you seeing the problem on?
No response
What happened?
The README.md has an incorrect configuration declaration:
oco config set OCO_OPENAI_API_KEY=gpt-4
This should be:
oco config set OCO_MODEL=gpt-4
Expected Behavior
oco config set OCO_MODEL=gpt-4
Current Behavior
oco config set OCO_OPENAI_API_KEY=gpt-4
Attempting this will result in an error.
Possible Solution
No response
Steps to Reproduce
No response
Relevant log output
No response

fixed, thanks!


Fix ng include

Compile only the content and remove ng:compile from the element, as I hope we don't need this hack anymore...

LGTM


(maint) Fork -> forking typo in service

It seems that at least on CentOS 7 the incorrect Type gets ignored and the service works because the PIDFile is correct. This fix gets rid of the warning and the service still works.


[hotfix][docs] Fix Python example in event_time doc

What is the purpose of the change
the Python example in event_time doc uses unexpected timecharacter
Brief change log

Fix documentation

Verifying this change
Docs only change.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no

@klion26 I have corrected Python example's time character of event_time doc, please take a look

Good catch. LGTM. Merging...


App Crash everytime after start by cataloging

Every time I open the app, the cataloging appears in the top bar. As soon as picture 55 is reached, the app crashes
Systeminfos:
Pixel 7 Pro
GraphenOS
Android 14
Logs attached
Aves log 5c059b4262e3.txt
Error in Aves b460b4770aea.txt
System log 87c044441497.txt

Could you please follow the instructions here and send me the file that makes it crash? If you don't feel comfortable with sharing it in this thread, you can also send it to me via email.

thank you for the fast response. It is a big .dng file (678MB) from Ligthroom. I send you a Mail

Thanks for the sample. I can reproduce the crash on my device.


Performance degradation after OpenSSL 3.0.14 uptake

Hi Team,
We have upgraded our tool to use OpenSSL 3.0.14 instead of OpenSSL 3.0.13. As a part of our regular OpenSSL uptake process, we performed the performance testing on  OpenSSL 3.0.14. We didn't expect any deviation, but, surprisingly, we observed degradation in 8 symmetric encryption algorithms we validated for performance.


Implement namespace issuer auto-discovery

Currently, when the director wants to download the public keys for an origin, it queries the namespace issuer directly.  See: https://github.com/PelicanPlatform/pelican/blob/main/director/origin_api.go#L139-L150
Instead, we should implement "openid-configuration"-style auto-discovery: revisit the code around here to reimplement .well-known-based lookup while keeping backward compatibility -- the current URL can still serve up the public keys.

Since this one is purely internal - and we're running low on v7.1.0 time, I'm pushing this to the v7.2.0 milestone.

@jhiemstrawisc - since this has repeatedly gotten pushed back, I'd like to prioritize it for 7.5.0.


Jubilee Aluminum Front Corner Brackets

Feature enhancement details
I suggest adding the Jubilee Aluminum Front Corner Brackets by Mandala Rose Works to the main Jubilee kit, along with the Left Corner Spacer and Right Corner Spacer in the main model repository. Additionally, please include 6x M5 buttonhead screws, 25mm long, with 6x M5 washers.

Good suggestion. We also like to build new machines with the aluminum Z yokes and motor plates to improve rigidity and solvent compatibility. I've added these recommendations as an option in the purchase guide with #156


[bug] GitHub API rate limit exceeded

Bug report
I really like the website - you did a great job building it! It seems like I´m not the only one, who likes the project ;)
Describe the bug
I tried to get the statistics of a organization (@OneArmy) I contribute to. The following happens, when I searched for it:

A new page is rendered & the organizations GitHub Logo is loaded
Loading buffer for the statistics appear
Loading never ends & no error is indicated
A look in the Network console shows, that the rate limit of the GitHub API exceeded

To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Go to https://repository.surf/ONEARMY
See the problem

Expected behavior
I would have expected to get the feedback, that the repository cannot be loaded. Furthermore the UI should stop indicating, that something is loaded.
Screenshots

System information

OS: [Windows]
Browser [Firefox]

Additional context
The documentation by GitHub about rate limits for the GraphQL API: https://docs.github.com/en/graphql/overview/resource-limitations

hey there @tudi2d! thank you so much - we really appreciate it :) You're right - we should definitely add some feedback if rate limits are busted, and perhaps possible mitigations for this too.
But meanwhile, rate limits refresh every hour - I've just tried OneArmy and it seems to be loading fine now actually

hey there @tudi2d! thank you so much - we really appreciate it :) You're right - we should definitely add some feedback if rate limits are busted, and perhaps possible mitigations for this too.
But meanwhile, rate limits refresh every hour - I've just tried OneArmy and it seems to be loading fine now actually


HTML rendering issue

Then submit button is rendered in unexpected place
When I open a browser it looks like shown below

When I open the same page using TestCafe

"testcafe": "^1.9.4"

@suryap666
Hello,
It is difficult to find the cause of the issue without a runnable example. Could you please share some project or a public URL?

@Farfurix I agree with you, even I thought the same, how to share the page.  according to the company policy, I should not share the application URL, username and password etc.. But I am willing to attach the HTML page in this issue, I am not sure how to. please suggest me the standard to follow.

Hello @suryap666,
I'm not sure we will be able to reproduce this issue with an HTML page, but you can pack it into a .zip archive and send to<EMAIL_ADDRESS>It's not necessary to provide access to your entire application URL. A simple example created based on your web site code should be sufficient.

I do agree with you, The HTML page will not be helpful, when I am trying to save it in my local, it renders completely in a different way due to lack of full CSS. My application is a monolith code and as a tester, I haven't worked on the application code much. so cannot spare much time to build a sample website @aleks-pro Thanks for your support. I will close this issue for now. Since we are moving from bulk big application to single page application using Vue.js, I am sure this issue will not happen, if it happens, I will log a bug with a sample public-facing website.


Update onboard-downlevel.md

Updated broken "DeployMMA.cmd" script

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/9016


Doc error in README re predict_and_save() usage

Describe the bug
Try to use predict_and_save as listed on the README and you get
TypeError: predict_and_save() missing 1 required positional argument: 'model_or_model_path'

To Reproduce
Steps to reproduce the behavior:

Go to README.me
Create code using the template provided,

from basic_pitch.inference import predict_and_save

predict_and_save(
    <input-audio-path-list>,
    <output-directory>,
    <save-midi>,
    <sonify-midi>,
    <save-model-outputs>,
    <save-notes>,
)

e.g.
predict_and_save(
    audio_file,
    '/content',
    True,
    True,
    True,
    True,
)

Run that
See error

Expected behavior
Either the README code should work as is, or README should be modified to include specification of required positional argument: 'model_or_model_path'
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Linux -- Google Colab
Browser: Crhome
Version: 1.69.168

Additional context
Add any other context about the problem here.

Trying to add model path as positional argument, e.g.
from basic_pitch.inference import predict_and_save
from basic_pitch import ICASSP_2022_MODEL_PATH

predict_and_save(
    audio_file,
    '/content',
    True,
    True,
    True,
    True,
    ICASSP_2022_MODEL_PATH
)

results in this error:
Predicting MIDI for /...
/usr/local/lib/python3.10/dist-packages/basic_pitch/inference.py:229: UserWarning: PySoundFile failed. Trying audioread instead.
  audio_original, _ = librosa.load(str(audio_path), sr=AUDIO_SAMPLE_RATE, mono=True)
/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py:184: FutureWarning: librosa.core.audio.__audioread_load
	Deprecated as of librosa version 0.10.0.
	It will be removed in librosa version 1.0.
  y, sr_native = __audioread_load(path, offset, duration, dtype)
---------------------------------------------------------------------------
LibsndfileError                           Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py](https://localhost:8080/#) in load(path, sr, mono, offset, duration, dtype, res_type)
    175         try:
--> 176             y, sr_native = __soundfile_load(path, offset, duration, dtype)
    177

13 frames
[/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py](https://localhost:8080/#) in __soundfile_load(path, offset, duration, dtype)
    208         # Otherwise, create the soundfile object
--> 209         context = sf.SoundFile(path)
    210

[/usr/local/lib/python3.10/dist-packages/soundfile.py](https://localhost:8080/#) in __init__(self, file, mode, samplerate, channels, subtype, endian, format, closefd)
    657                                          format, subtype, endian)
--> 658         self._file = self._open(file, mode_int, closefd)
    659         if set(mode).issuperset('r+') and self.seekable():

[/usr/local/lib/python3.10/dist-packages/soundfile.py](https://localhost:8080/#) in _open(self, file, mode_int, closefd)
   1215             err = _snd.sf_error(file_ptr)
-> 1216             raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
   1217         if mode_int == _snd.SFM_WRITE:

LibsndfileError: Error opening '/': Format not recognised.

During handling of the above exception, another exception occurred:

IsADirectoryError                         Traceback (most recent call last)
[<ipython-input-50-2a564e710ae5>](https://localhost:8080/#) in <cell line: 1>()
----> 1 predict_and_save(
      2     audio_file,
      3     '/content',
      4     True,
      5     True,

[/usr/local/lib/python3.10/dist-packages/basic_pitch/inference.py](https://localhost:8080/#) in predict_and_save(audio_path_list, output_directory, save_midi, sonify_midi, save_model_outputs, save_notes, model_or_model_path, onset_threshold, frame_threshold, minimum_note_length, minimum_frequency, maximum_frequency, multiple_pitch_bends, melodia_trick, debug_file, sonification_samplerate, midi_tempo)
    585                     raise e
    586         except Exception as e:
--> 587             raise e

[/usr/local/lib/python3.10/dist-packages/basic_pitch/inference.py](https://localhost:8080/#) in predict_and_save(audio_path_list, output_directory, save_midi, sonify_midi, save_model_outputs, save_notes, model_or_model_path, onset_threshold, frame_threshold, minimum_note_length, minimum_frequency, maximum_frequency, multiple_pitch_bends, melodia_trick, debug_file, sonification_samplerate, midi_tempo)
    532         print("")
    533         try:
--> 534             model_output, midi_data, note_events = predict(
    535                 pathlib.Path(audio_path),
    536                 model_or_model_path,

[/usr/local/lib/python3.10/dist-packages/basic_pitch/inference.py](https://localhost:8080/#) in predict(audio_path, model_or_model_path, onset_threshold, frame_threshold, minimum_note_length, minimum_frequency, maximum_frequency, multiple_pitch_bends, melodia_trick, debug_file, midi_tempo)
    449         print(f"Predicting MIDI for {audio_path}...")
    450
--> 451         model_output = run_inference(audio_path, model_or_model_path, debug_file)
    452         min_note_len = int(np.round(minimum_note_length / 1000 * (AUDIO_SAMPLE_RATE / FFT_HOP)))
    453         midi_data, note_events = infer.model_output_to_notes(

[/usr/local/lib/python3.10/dist-packages/basic_pitch/inference.py](https://localhost:8080/#) in run_inference(audio_path, model_or_model_path, debug_file)
    290
    291     output: Dict[str, Any] = {"note": [], "onset": [], "contour": []}
--> 292     for audio_windowed, _, audio_original_length in get_audio_input(audio_path, overlap_len, hop_size):
    293         for k, v in model.predict(audio_windowed).items():
    294             output[k].append(v)

[/usr/local/lib/python3.10/dist-packages/basic_pitch/inference.py](https://localhost:8080/#) in get_audio_input(audio_path, overlap_len, hop_size)
    227     assert overlap_len % 2 == 0, f"overlap_length must be even, got {overlap_len}"
    228
--> 229     audio_original, _ = librosa.load(str(audio_path), sr=AUDIO_SAMPLE_RATE, mono=True)
    230
    231     original_length = audio_original.shape[0]

[/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py](https://localhost:8080/#) in load(path, sr, mono, offset, duration, dtype, res_type)
    182                     "PySoundFile failed. Trying audioread instead.", stacklevel=2
    183                 )
--> 184                 y, sr_native = __audioread_load(path, offset, duration, dtype)
    185             else:
    186                 raise exc

<decorator-gen-157> in __audioread_load(path, offset, duration, dtype)

[/usr/local/lib/python3.10/dist-packages/librosa/util/decorators.py](https://localhost:8080/#) in __wrapper(func, *args, **kwargs)
     57             stacklevel=3,  # Would be 2, but the decorator adds a level
     58         )
---> 59         return func(*args, **kwargs)
     60
     61     return decorator(__wrapper)

[/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py](https://localhost:8080/#) in __audioread_load(path, offset, duration, dtype)
    238     else:
    239         # If the input was not an audioread object, try to open it
--> 240         reader = audioread.audio_open(path)
    241
    242     with reader as input_file:

[/usr/local/lib/python3.10/dist-packages/audioread/__init__.py](https://localhost:8080/#) in audio_open(path, backends)
    125     for BackendClass in backends:
    126         try:
--> 127             return BackendClass(path)
    128         except DecodeError:
    129             pass

[/usr/local/lib/python3.10/dist-packages/audioread/rawread.py](https://localhost:8080/#) in __init__(self, filename)
     57     """
     58     def __init__(self, filename):
---> 59         self._fh = open(filename, 'rb')
     60
     61         try:

IsADirectoryError: [Errno 21] Is a directory: '/'


feat: initial version

PR Checklist

[x] Addresses an existing open issue: fixes #4
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Sets up pnpm build and pnpm build:data to build the Node.js APIs and Emojipedia JSON files that use them, respectively. See the new README.md and DEVELOPMENT.md additions for docs.
@git-megan and I paired on the tests for this.

@allcontributors add @git-megan for test


iptables-restore fails.  "Set felix-calico-hosts-4 doesn't exist."

Setup is a single host with two containers, and one profile with allow all in and out.  Running on Felix 0.26.
Gist here: https://gist.github.com/spikecurtis/c33af8fa088e495185f8
Full diags:
https://transfer.sh/yXXAf/diags-140715-093309.tar.gz

Dupe of #707?

Please retest with 0.27, which contains the fix for #707.

Works on 0.27.  Closing.


[mpir] retarget MSVS2017 to Windows 10 SDK

Should fix #720

@Mixaill,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks Mixaill. I think you may have forgotten to git add the patches/0001-msvs2017-winsdk.patch file as still same error (no SDK for Windows 8.1), also I noticed this:
F:\vcpkg_mixaill>vcpkg install mpir:x64-windows
INFO: Could not find files for the given pattern(s).
Likely above (very non-informative) info is about that file.
Btw. will this patch hardcode to some version of Win10 SDK? I wonder if this will be best solution as I think people may have different SDK with different revisions and may be unlucky not to have exact revision. Or maybe there is already some kind of vcpkg configuration option that automatically selects some default Win SDK from disk, and this can be reused by patches for every library that vcpkg provides?

We really do need to solve the toolset and winsdk problem across all msbuild portfiles.
I believe this should be possible by adding /p:... overrides to the core vcpkg_build_msbuild that set the toolset and winsdk version.
As for selecting the right winsdk version, we have a PowerShell script we use as part of bootstrap.ps1 to solve this exact problem. I'm on mobile at the moment, but I can look it up later.

Hopefully fixed in the right way

Great! I'm now on Mixaill:msvs2017-mpir-winsdk and 'vcpkg install mpir:x64-windows' works there after last fixes.
I see in commits that this platform selection logic is used, so hopefully it will work for other users too :)

What about override SDK version by default?
So,

vcpkg_build_msbuild() - override to vcpkg_get_windows_sdk() version
vcpkg_build_msbuild(TARGET_PLATFORM_VERSION ${SOMETHING}) - override to ${SOMETHING}
vcpkg_build_msbuild(TARGET_PLATFORM_VERSION FROM_PROJECT) - use version from project

@ras0219-msft what do you think about?

@Mixaill Definitely agree we should always override it by default.
I'm actually quite skeptical about whether there is a valid use case for allowing the portfile or project to specify it. They can't upgrade it, because we find the latest. They could downgrade it, but why? The most reasonable case to downgrade the SDK version is if you want to target an older Windows version -- in which case you need to downgrade all libraries! This says it should be a triplet setting, not a portfile setting.
That said, thanks for the hard work here! I did some cleanup during the merge which I've pushed to your branch.


If multiple PDF agents can be defined ?

Hi ,
I succeeded to create some PDF documnet agent . I wonder if it's possible to create agent on several PDFs or create agent per PDF and reference them by name or similar way in "Generated RAG Agent" chat ?

Actually I have just managed to load 2 pdf files, without changing anything in the code.
The folder data contains 2 pdf files, without any common information.

i'm working on an upgrade to rags that should address your second point :)

@jerryjliu Spectacular !!! Thanks a lot . If the upgrade will tackle multi-pdf as multi-document problem or each agent would be responsible for its own PDF ? Optionality for multi-document ?
Just to make clear at Home page it's possible to load second PDF 👍

But agent (at "Generated RAG Agent" page) is aware only first PDF is loaded for questions

It would be great to be able to use this to add and store multiple documents, not just one file or web page.


Support partial searches for documentation

Sometimes one may have an idea of what the name of an object/attribute is but not which namespace it's in. It would be helpful to have a command which can return possible matches for a given term. I think the best format would be a paginated embed with a list of all matched names that are hyperlinked to their docs. Perhaps this would need to be a separate command so that the library name can be passed as a separate argument.

Is this proposing fuzzymatching along with disambiguation by showing all available choices, or just disambiguation of all exact partial matches.

Is this proposing fuzzymatching along with disambiguation by showing all available choices, or just disambiguation of all exact partial matches.

I think the latter is better.
I'm not sure if this is a good idea, but it could go as far as to look for exact matches for parts of the path delimited by the dot. For example, a query of text would not match discord.TextChannel, only TextChannel would.  For example, if a search query was TextChannel, then it would return only discord.TextChannel rather than that plus every single attribute and function of the object.

I'm interested in looking into this but before any searching is done on the inventories we need to clean them up.
Briefly touched upon this in a comment for #546 :
The inventories we get from some sources contain link to generated content which seems to be duplicated or at least unreachable through the bot because of the current parsing
(pandas-core-groupby-groupby-transform vs pandas.core.groupby.GroupBy.transform where the first one is unrechable through the bot)
Doing a simple search for / and   which make the tag unreachable yields us around a quarter of the urls

You're welcome to work on it. Sorry if this will sound dismissive, but I don't understand what kind of issues the parsing has. In any case, you can clean up whatever is needed to make it work better.

The generated mostly miss an # at the end which is needed to get the HTML tag to search from, but we don't need to preserve them since they should be duplicates and nobody is going to search for a simple with a / in its name.
Looking more at the symbols with spaces there's only around a hundred of them and they are mostly terms (binary file, generator expression) bit out of scope here but should the arg be changed to a greedy one? Or taking it as with the / that nobody is going to attempt to search for those

What kind of drawbacks would a greedy arg have? If none, then why not?

@Numerlor I'm curious if you still plan on (or already are) working on this.

@Numerlor I'm curious if you still plan on (or already are) working on this.

I have it mind, but haven't worked on it beyond some experimenting with the previous PR. It'll be a bit before I can fully pay attention to figuring out how to make this work nicely so anyone's free to pick it up if they want to

I could work on this feature

If this feature were to be implemented, can I get to which form the output of the closest matches would be? I was thinking if there is more than one result, it will add reactions and according to which one you react to it will edit the message accordingly.

Actually, I can't find the time to work on this going to be pretty busy in the upcoming days

Could I be assigned to this now? I'm willing to work on it

So, to implement this, I think the best way to approach would be slash commands; using the autocomplete feature would show all matching docs to the input and since it can show several matches I wouls say it removes most if not all typing errors when trying to get a documentation. Could I get some feedback on this please

From a UX point of view, I find the suggestions on slash commands to be too slow to be considered good, but it’s better than the alternative of providing no suggestions.
That said, we aren’t porting commands to slash commands just yet.


Allow extra unspecified query parameters

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
class QueryArgs(BaseModel):
    x: str
    y: int

    class Config:
        extra = Extra.allow

app = FastAPI()

@app.get("/example")
async def example(query_args: QueryArgs = Depends()):
    return [ query_args.x, query_args.y, query_args.z ]

Description

Open the browser and call /example?x=test&y=3&z=extra_param
Then expect response [ test, 3, extra_param ]

Currently this always returns a 422 status code no matter which parameters are supplied.
Wanted Solution
Extra parameters are already possible for request bodies, it would be nice a feature to also support extra parameters for query params.
Wanted Code
class QueryArgs(BaseModel):
    x: str
    y: int

    class Config:
        extra = Extra.allow

app = FastAPI()

@app.get("/example")
async def example(query_args: QueryArgs = Depends()):
    return [ query_args.x, query_args.y, query_args.z ]

Alternatives
No response
Operating System
macOS
Operating System Details
No response
FastAPI Version
0.68.2
Python Version
3.9
Additional Context
No response

Having extra on the request body is - in my opinion - completely different from what is done when parsing the query parameters.
Think of the following code (base on your code):
@app.get("/example")
async def example(query_args: QueryArgs = Depends(), some_other_arg: str):
    return [ query_args.x, query_args.y, query_args.z ]

Should some_other_arg now also be part of the QueryArgs model? If we find a solution for that: What happens if you use multiple models for query parameters that all allow extra fields - where should those go (first/last/all of them)? Please also keep in mind that other dependencies may also need to consume query parameters.
To be clear: I don't expect this to work in a sane way. If you want to implement this for your particular use case I would recommend using the request object directly. You could for example do something like:
query_args = QueryArgs(**request.query_params) (untested - but you can definitely get this to work)
(see https://fastapi.tiangolo.com/advanced/using-request-directly/ and https://www.starlette.io/requests/#query-parameters)

@ddanier thanks for the quick response.
I see what you're saying and that it is definitely not as straightforward as the extra parameter parsing for request bodies.
I will look into a solution using the request directly as you described.

Thanks for the help here @ddanier ! 👏  🙇
Thanks for reporting back and closing the issue @ErwinJapie  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


[Mobile] Keyboard closes when selecting Header Style

My issue is about [Mobile]
Keyboard closes everytime I click on the SelectHeaderStyleButton which open a drop down and after selecting a heading style the keyboard opens up again which is weird.

Read only mode?

Read only as FALSE.
(I had the same issue when using zefyr 1.0.0-dev.2.0. If it helps.)
Below is the code used:
class EditorScreen extends StatefulWidget {
  EditorScreen({Key key}) : super(key: key);

  @override
  _EditorScreenState createState() => _EditorScreenState();
}

class _EditorScreenState extends State<EditorScreen> {
  QuillController _quillController = QuillController.basic();

  @override
  Widget build(BuildContext context) {
    return WillPopScope(
      onWillPop: () async {
        return true;
      },
      child: SafeArea(
        child: Scaffold(
          body: Column(
            children: [
              Expanded(
                child: Container(
                  child: QuillEditor.basic(
                    controller: _quillController,
                    readOnly: false,
                  ),
                ),
              ),
              QuillToolbar.basic(controller: _quillController),
            ],
          ),
        ),
      ),
    );
  }
}

I think it is not an issue
It is normal

This issue is the duplicate of this.
It is pretty frustrating that the keyboard pops up unnecessarily when we click heading.

I have changed the dropdown (as I didn't looked into it) and to show the heading options on the toolbar instead. Occupies more space but looks much cleaner and simple to use.
If you want to see the screenshot you can checkout the discussions tab.


HELP!!!!

Hi, how do I install this package on a conda environment?

Thank you! Really enjoy your tool!


Create Gitanjali-pr.md

HII GSSoC team,
This is the PR I have raised and it's not been merged.
It's level 1 PR.
Could you please review and merge it.
@sanjay-kv @MastanSayyad
https://github.com/sanjay-kv/Open-source-Practice

Add PR links @Gitanjali-27


New .md file- Private-audience-setup.md

Added Images in windows-uwp/windows-apps-src/publish/images/
Added new screenshots in windows-uwp/windows-apps-src/publish.

Hi @marmuc680 - Would you move this to the private repo as discussed in email? Thanks very much.
We'll close the PR.

Hi @ktoliver, I had a conversation with @hickeys  to work on my this fork, please do not close it

We'll reopen this PR. New content will need to be moved to the private repo for automated validations, Acrolinx, staging, and full PR review.