Option to use the proxy type directly instead of trying combination

When we get the working proxy with the type while we check it through check proxy.py cant we pass it as a param in the Good Proxy.txt file so that the script picks it directly instead of trying combos

hi shawon i have sent you a mail by neo era name please check

proxy_check.py will save the good proxies in the GoodProxy.txt in this format PROXY:PORT|PROXY_TYPE youtube_viewer.py will pick it up if the user answers proxy type equal to ALL or change proxy_type in config.json to "proxy_type": "false",


HasManyThrough Relation only last record

This pullrequest is performance uneasy
fix: https://github.com/vuex-orm/vuex-orm/issues/131

[x] add test code
[x] add performance test code

Codecov Report

Merging #132 into master will decrease coverage by 0.03%.
The diff coverage is 85.71%.

@@            Coverage Diff            @@
##           master    #132      +/-   ##
=========================================
- Coverage   91.14%   91.1%   -0.04%
=========================================
  Files          42      42
  Lines        1423    1428       +5
  Branches      261     262       +1
=========================================
+ Hits         1297    1301       +4
  Misses         56      56
- Partials       70      71       +1

Impacted Files
Coverage Δ

src/attributes/relations/HasManyThrough.ts
80.43% <85.71%> (-0.06%)
:arrow_down:

Continue to review full report at Codecov.

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

Thank you so much!!! Please let me know if you need any help.

Thank you so much for the PR! As always ❤


change derivation path JSON serialization to be less verbose

Issue Number

#2174
Overview

[ ] I have changed  change derivation path JSON serialization to be less verbose and also aligned with other interfaces like cardano-addresses.

Comments

included in #2219


move text step headings into chart headings, set no rows text

for Bug 1441498: [Screen Reader - Application Insights E2E - Failure Analysis] When focus received 'Failed Operations' and 'All Operations' graph chart, screen reader not given relevant information
switched text steps for chart headers to actual chart headers, added failure text:

@acearun is it intentional that this report only uses requests as the source of operations?  on apps like insightsportal-prod (which is effectively a client only SPA), there are no requests,  so the whole workbook is always empty?


Bump Dependencies #2548801260

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/2548801260

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Making configuration more extendable / migrating configuration system to nconf

Hi there!
This pull request contains commits that enable the use nconf for configuration of the ospriet application.
While there is nothing wrong with the current way ospriet handles configuration, I feel these changes could help increase the extendable of the application.

Storing configuration data in a config.json allows third-party programs to interact with ospriet configuration
nconf has built in support for pulling configuration from argument parsing ( argv ) and ENV variables
nconf has the ability to dynamically read / write configuration data at run-time

see: https://github.com/flatiron/nconf
Note: A documentation update will be required if this pull request is merged. I'd be happy to update the documentation accordingly
Not sure if this will get merged, but I wanted to outline a few changes and I figured code would be the easiest way to explain.
Let me know if you have any questions or comments!

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


Moved auth token processing code into library

I did this to properly separate concerns for processing new auth tokens. The
user object had far too much knowledge of auth tokens.

:+1:


Recover from panics from the stdlib when cataloging malformed binaries

Addresses anchore/grype#526
When processing malformed binaries the stdlib does not take into consideration several edge cases, resulting in a panic instead of returning an error. When this happens grype (or syft) will exit with an error.
This PR attempts to recover from any panics from this specific execution path until these cases can be dealt with within the stdlib. This allows for syft/grype to continue cataloging paths that didn't have problems and still produce a report instead of exiting early.

As a side note, though this panic has been solved, I'm still populating a directory with all of the package sources to scan and see if there are any more surprises


Add typeChecker API to get the inferred type arguments of call expression

🔍 Search Terms
infer type arguments function call expression
✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
interface TypeChecker {
  getTypeArgumentsOfSignature(signature: Signature): readonly Type[];
}

📃 Motivating Example
For the below code, the proposed API is supposed to return [ "text" ] for the Passthrough("text") node.
function Passthrough<T>(value: T) {
  return value;
}

let str = Passthrough("text");

💻 Use Cases
In my own case, I'm writing a TypeScript to C++ compiler and getting the inferred type argument is essential for translating the generic function call to C++.
There are also a few other open source projects getting the information by hacking TypeScript's internals:
https://github.com/GoogleFeud/ts-macros/blob/e65480a7bc54107e935e9a95ecbb4f3825f2d6e2/src/utils.ts#L259-L270
https://github.com/mxsdev/ts-type-explorer/blob/3b0bb21f574ebb0d70aac84c37e81e1df0b1d9e4/packages/api/src/util.ts#L725-L750
https://github.com/johnW-ret/express-openapi-gen/blob/885e498066f51fccaa00615f0b46b070788477c9/src/index.ts#L45C18-L84

We don't have a function for this internally (weird, I know - we always operate over and compose TypeMapper objects, not concrete type arguments), but I think internally to the checker, the implementation is just
function getTypeArgumentsForResolvedSignature(signature: Signature) {
    return instantiateTypes((signature.target || signature).typeParameters, signature.mapper);
}

(so long as you're OK with an unresolved signature returning its' input type parameter list). You can't implement it publicly because .target, .mapper, and instantiateTypes are all internal, but it seems like a reasonable thing to want to know about a resolved signature.

Approved to expose the above function

I have the following use case of the type checker public API. Is that impossible since

You can't implement it publicly because .target, .mapper, and instantiateTypes are all internal

Get the global Iterable type
Instantiate it with any: Iterable<any, any, any>
Compare it with another type via checker.isTypeAssignableTo

I have the following use case of the type checker public API. Is that impossible since

You can't implement it publicly because .target, .mapper, and instantiateTypes are all internal

Get the global Iterable type
Instantiate it with any: Iterable<any, any, any>
Compare it with another type via checker.isTypeAssignableTo

TL; DR:
How can I use TypeScript's type checker API to determine if a ts.Type is iterable (a.k.a. assignable to Iterable<any, any, any>).


Require Node.js 8, return undefined instead of null, add TypeScript definition

Waiting for https://github.com/sindresorhus/resolve-from/pull/12.

✅ Waiting for sindresorhus/resolve-from#12.


Validate phone numbers globally (beyond North America)

I recently found the repository and wanted to try it out, but unfortunately, I couldn't log in because the phone validation failed.
Here are some suggestions I believe would be beneficial:

Accept more phone formats: my issue :)

Country Selection: A dropdown to select the country first.

Phone Number Mask: Include symbols to improve readability of the text field.

Improve the Login Page Design:

As the first page a user sees, it should convey welcoming messages. This could also be achieved with an initial landing page.

Validate phone numbers from all over the world (or at least more than North America)

I can tackle my own issue since I've handled something similar in a previous project.
Are there any contribution guidelines, or can I simply fork the repository and open a pull request?
What your thoughts about it?

Fixed in #115

Welcome @IguJl15 ! I'm curious how you happened to come across this repo?

I think it happened when I was looking into some "good-first-issue" list and this repo was listed. I'm taking some time from one of my work projects, so I decided to collaborate on some open source projects.
I hope my contribution helped the project development.
So I'm curious about the project. Can you talk about how did you got this idea and what do you expect the project to perform in the short term?

@IguJl15 there's a bit about my motivations/vision at the top of the README
It's something I've been wanting to build for years. A big motivation was how Facebook Events and Meetup.com have so much potential, I've used both extensively to organize small events, and both have completely stagnated and gotten worse because IMO the owners of the two companies have perverse incentives against helping people connect offline wherever they want. Facebook for example has 80k employees and hasn't touched Events in like 10 years—you still can't even filter events by "in the future" or sort results by "time". They used to have a mobile app called "Local" dedicated to events that had a map and slightly better search features that I used to use a lot to find small events, but they discontinued it.
My motivation is that we all have lots of "weak" IRL connections and activities we want to do more of, but nothing is helping us do that. There are probably lots of things you want to do outside more often, and lots of friends you don't see often that you'd like to spend more time with who want to do the same things, but the logistics are awful. Like remember the last time you met someone and hit it off and discovered you were both into some of the same things.... you maybe exchanged numbers and vowed to get together and then nothing happened. Or maybe you hit them up once for a thing and they were busy and now you don't want to be the person who keeps hitting them up repeatedly.
So it's one part helping grease those social interactions by making something a bit more structured and passive while still totally social and ad-hoc, and another part helping with the logistics for those of us who put the energy into rallying our friends to get out and do stuff.
Another motivation for me is proving that we can us technology to build things that work just because they're useful without a pitch deck and an investor who wants to see a path within a couple years to earning their money back.

That looks awesome. I already had this feeling about how difficult it is to get a bunch of friends to go out. I could say it was intensified by how we started to use Discord for absolutely everything since COVID (tabletop games, casual chat, serious chat, studying together, etc.).
Personally, I do not use any social networks (besides LinkedIn) because of all the issues with fake people, fake photos, fake bodies, etc. More importantly, I've never met anyone "relevant" there. It seems like all the people who count as followers would never count as friends. After some years of using it because everyone else did, I just uninstalled it from my phone.
I'm saying this to let you know that I would love to use Squad Quest to meet some real people. I have a Meetup account that notifies me about some online events I would like to watch (I live in a "not so big" city, so no one would use Meetup). So then, I think I'll spread the Squad Quest word in the next weeks.

I understood what you said and agree with your motivations overall. I have some doubts, but as soon as I've formulated them better, I'll ask you.
Now that I understand the project's intentions, I'd love to help with it. I know something about UI/UX and much more about Flutter, and so on.
What do you think about it? I think the project has points for improvement that if corrected could bring more prominence to the project and the cause as a whole.

@IguJl15 I would love to collaborate! I'm a bit rusty with Flutter and you clearly have a tight command of it so I'd very much appreciate your help
Maybe we could set up a call to meet and discuss some potential issues to work on? The international phone number support was a no-brainer, but outside of bug fixes let's make sure we're getting aligned on approaches and designs for new features so we can keep things cohesive and avoid any extra work
You can easily use this link to grab any time that works for you: https://calendly.com/chrisalfano/60min-virtual

@themightychris
Scheduled! You can delete the link if you want


$betflip, $betroll award 0 flowers

The command is awarding 0 flowers for winning and taking flowers bet as well.

You need to download and install sqlite browser from here http://sqlitebrowser.org/ Open the database with it, click on Browse Data, Change to BotConfig table, and all the way to the right you will see the modifiers you can change. After you make the changes you want, click on "write changes" at the top. Restart the bot.
Database can be found here:
NadekoBot\src\NadekoBot\bin\Release\netcoreapp1.0\data\NadekoBot.db


DBZ-4366 basic support for DBMS_LOB package

Make less assumptions about the order of SELECT_LOB_LOCATOR and
LOB_WRITE events when a LOB value is constructed. The current approach
also supports interleaved LOB creation (piecemeal creation of 2 large
LOB values in different rows or columns at the same time).
There is still no support for partial LOB manipulations (trimming a LOB,
appending a couple of bytes, overwriting just a couple of bytes in the
middle, ...). To properly support that, a wholly different approach is
needed.

@Naros, I suppose this needs more baking still, right?

@Naros I pushed a new commit, addressing all of your comments:

fixed log capitalization
on TransactionCommitConsumer#close(), the remaining buffered events are now emitted in the order we ingested them
added a CLOB integration test
fixed the LOB construction error I spotted, and added unit tests for LobUnderConstruction
made an effort to keep the number of fragments in a LobUnderConstruction small in case of out-of-order writes, to reduce the impact of the linear search. I could have introduced a more complex data structure instead, but I don't think this is a very common case, so I'm hesitant to complicate the code too much to accommodate it.

One thing I'm still unhappy about is the representation of BLOB fragments. In keeping with the original code, I use the HEXTORAW('...') representation, but when you start fusing and partially overwriting fragments, this is quite inconvenient. I think the cleanest solution would be to do away with HEXTORAW('') altogether, and rely on a flag to mark the contents as binary instead of textual, and do this across the board from TransactionCommitConsumer (or perhaps even from LogMinerEvent) to OracleValueConverter. What do you think?

I can certainly see where the fusing/partial writing of fragments can be annoying with the HEXTORAW('...') function call wrapper.  In terms of an intermediate representation, I don't particularly have a preference for how it gets represented during this step as long as whatever we do keeps the overhead as low as possible.
My only ask is that we are clear in the code/java docs about what we're doing and where this gets re-applied in the pipeline and that whatever we do is also consistent with Xstream.  As to where we reapply the function call wrapper, it might be best that we delay that until TransactionCommitConsumer when we're handing the event off to the core framework.  This prevents the need to apply the function wrapper during loading events from or serializing events to disk via Infinispan.
You agree?

As far as I can tell from reading the code, the XStream implementation doesn't use the HEXTORAW wrapper at all. It gets ChunkedColumnValues from the XStream API, and these are plain byte arrays under the hood.
So it might actually improve consistency with XStream to do away with HEXTORAW and BlobChunkList altogether, and simply pass a byte[] down into the core framework.

The newest version of this PR removes BlobChunkList and the HEXTORAW(...) encoding from LogMiner. It's byte[] all the way now for BLOBs.

Hi @chanetd sorry this PR has lingered a bit; we had holiday breaks and what-not.  I'm going to take a look at this today and offer any last-minute feedback if any.  Thanks again for all the effort & your patience.

Hi @chanetd as a new contributor, I'd like to recommend going forward that once we've begun a review discussion on changes in a PR, please refrain from squashing new commits into older commits.  This just makes the review process of newer changes easier since we can review the newer commits separate from what we have already reviewed in older commits.  If we want the commits to be squashed later we can request that after-the-fact or do it ourselves.  It's not a big deal this time, but it just makes the review/merge process easier for us going forward.

Hi @chanetd as a new contributor, I'd like to recommend going forward that once we've begun a review discussion on changes in a PR, please refrain from squashing new commits into older commits. This just makes the review process of newer changes easier since we can review the newer commits separate from what we have already reviewed in older commits. If we want the commits to be squashed later we can request that after-the-fact or do it ourselves. It's not a big deal this time, but it just makes the review/merge process easier for us going forward.

Got it. What about rebasing against the tip of the main branch? Should I still do that before every push, or leave that off until the review has settled?

If the PR is touching quite a lot of things, it's probably best to delay the rebase less we explicitly ask you to rebase in advance.  If we haven't yet reviewed any of the work, feel free to rebase and force push as needed.  If the PR changes are very tiny, I don't personally think it matters when you rebase.

Merged to main with some changes (=1.9), will backport to 1.8 at 1.8.1.Final release time.


[net-diag] introduce Server and Client classes

This commit introduces Server and Client classes breaking the NetworkDiagnostic module into two components. The Server responds to queries and requests (handling Net Diag TMF commands), while Client issues queries/requests and processes responses. The Server is available under both FTD and MTD (which follows the requirement of Thread spec). The Client is always included on FTD. For MTD, OPENTHREAD_CONFIG_TMF_NETWORK_DIAG_MTD_ENABLE determines whether or not to include the Client.

I expect this change will create a conflict for some of other open PRs related to netdiag, but feel better to have this done earlier (we can address the conflicts in other PRs). :)

Thanks for this enhancement!

The Client is always included on FTD.

What is the resource overhead for the Client? If significant, we could consider enabling by default only on border routers. I'm wondering if the Client is useful on something like a light bulb or smart plug.

What is the resource overhead for the Client? If significant, we could consider enabling by default only on border routers. I'm wondering if the Client is useful on something like a light bulb or smart plug.

Good point. I will check the code size impact.


Please add semantic version tags

CocoaPods is a tool for managing dependencies for OS X and iOS Xcode projects and provides a central repository for iOS/OS X libraries. This makes adding libraries to a project and updating them extremely easy and it will help users to resolve dependencies of the libraries they use.
However, <LiveSDK-for-iOS> doesn't have any version tags. Currently a pod cannot be submitted to the podspec repository referencing a specific commit - a version tag must be specified.
Semantic version tags (instead of plain commit hashes/revisions) allow for resolution of cross-dependencies.
In case you didn’t know this yet; you can tag the current HEAD as, for instance, version 1.0.0, like so:
$ git tag -a 1.0.0 -m "Tag release 1.0.0"
$ git push --tags

Fixed with PR #47


Parsing of the mime types data on Ubuntu Trusty fails

OS: ubuntu trusty 14.04.3 LTS
shared-mime-info: 1.2-0ubuntu3
$ bundle exec pry
1:(main)> require 'mimemagic'
SyntaxError: (eval):1: unterminated string meets end of file
from /home/ubuntu/code/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/mimemagic-0.3.7/lib/mimemagic/tables.rb:29:in `eval'

$ apt list | grep shared-mime-info
WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
shared-mime-info/trusty,now 1.2-0ubuntu3 amd64 [installed]

@aristocrates this is the issue you raised.

Just ran across this too, (parallel issues!) in #108

I'm getting this issue too; tried 0.3.7 and 0.3.8.
This regression is blocking our deployment, since the version that we were using 0.3.5 was yanked.
THIS IS URGENT. PLEASE FIX.

@jellybob I suggest modifying the title of this issue to remove Ubuntu Trusty -- it's a cross-platform issue.

I also tried all versions of mimemagic, bundle install fails on deploy with capistrano, it keeps telling:

Your bundle is locked to mimemagic (0.3.5), but that version could not be found
in any of the sources listed in your Gemfile. If you haven't changed sources,
that means the author of mimemagic (0.3.5) has removed it. You'll need to update
your bundle to a version other than mimemagic (0.3.5) that hasn't been removed
in order to install.

This should be resolve in 0.3.9 and 0.4.2, which have just been released.

Thank you!


Typo in post

(I couldn't find a better place to report it, and your website repository doesn't seem to have the source file to do a pull request).
Under "Compiler Hooks", "allow us to associate data type with out typeclass" should be "allow us to associate data type with our typeclass".
I'm only bothering to report it because it took me a few seconds to figure it out and it broke my flow.

EDIT: Later in the document, you have "Using the -XeriveGeneric extension", which should be "Using the -XDeriveGeneric extension".

Should be fixed now.


Improve suite test output

$ make test-mk-v
...
Running Suite: Controller Suite - /home/dbruscin/Workspace/brusdev/artemiscloud/activemq-artemis-operator/controllers
=====================================================================================================================
Random Seed:<PHONE_NUMBER>

Will run 116 of 124 specs

Running Spec 1: security controller broker with security custom resources security after recreating broker cr [aasecurity-controller69]
/home/dbruscin/Workspace/brusdev/artemiscloud/activemq-artemis-operator/controllers/activemqartemissecurity_controller_test.go:69
•
Running Spec 2: security controller Reconcile Test testing security applied after broker [aasecurity-controller142]
/home/dbruscin/Workspace/brusdev/artemiscloud/activemq-artemis-operator/controllers/activemqartemissecurity_controller_test.go:142
...

what is the rune(97...%25) in the name generation... maybe a comment will help explain that!


Deploying to staging and production

Context
https://trello.com/c/VoC0hras
Intent
Roll out job to staging and prod
Also addressing a couple of PR comments
Considerations
Set up secrets but will need to guide this change out to ensure been set up appropriately
Checklist

[ ] This PR contains only changes related to the above card
[ ] Tests have been added/updated to cover the change
[ ] Documentation has been updated where appropriate
[ ] Tested in Development

@andrewrlee seems I'm not an authorised user 😞


Yarn 2.0 support

Describe the bug
GraphQL Mesh does not appear to have correctly defined dependencies in its packages, and as such will not run out of the box with Yarn 2.0+. Some of the issues come from upstream packages, but some are also @graphql-mesh packages.
To Reproduce
Steps to reproduce the behavior:
> yarn init
yarn init v1.22.11
question name (mesh2):
question version (1.0.0):
question description:
question entry point (index.js):
question repository url:
question author:
question license (MIT):
question private:
success Saved package.json
✨  Done in 2.56s.

> yarn set version berry
Resolving berry to a url...
Downloading https://github.com/yarnpkg/berry/raw/master/packages/berry-cli/bin/berry.js...
Saving it into /Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.yarn/releases/yarn-berry.cjs...
Updating /Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.yarnrc.yml...
Done!

> yarn add @graphql-mesh/cli
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @graphql-mesh/cli@npm:0.41.0 [b4b5a] doesn't provide graphql-tag (p5841b), requested by @graphql-codegen/typescript-generic-sdk
➤ YN0002: │ mesh2@workspace:. doesn't provide graphql (p19ff9), requested by @graphql-mesh/cli
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 7s 805ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ yargs-parser@npm:18.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs-parser@npm:20.2.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs@npm:15.4.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs@npm:17.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 3s 489ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 411ms
➤ YN0000: Done with warnings in 11s 785ms
yarn add @graphql-mesh/cli  10.25s user 2.24s system 86% cpu 14.507 total

> yarn run mesh dev
/Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.pnp.cjs:14675
    throw firstError;
    ^

Error: @graphql-tools/utils tried to access graphql (a peer dependency) but it isn't provided by your application; this makes the require call ambiguous and unsound.

Required package: graphql
Required by: @graphql-tools/utils@virtual:d76146c6a6cf1026eae6a659b42ea73a5ac6ef5c4ab43e1d1c3836adaf2d4c8c39297d580f36f1574a206fb01b2810a246ddde8ccdde86f74d9a1c9c0ae22e9c#npm:8.2.5 (via /Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.yarn/__virtual__/@graphql-tools-utils-virtual-5edbf7bf35/0/cache/@graphql-tools-utils-npm-8.2.5-2667229970-421147485c.zip/node_modules/@graphql-tools/utils/)
Ancestor breaking the chain: mesh2@workspace:.

Require stack:
- /Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.yarn/__virtual__/@graphql-tools-utils-virtual-5edbf7bf35/0/cache/<EMAIL_ADDRESS>- /Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.yarn/__virtual__/@graphql-mesh-utils-virtual-2a9b48df9a/0/cache/<EMAIL_ADDRESS>- /Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.yarn/__virtual__/@graphql-mesh-cli-virtual-d76146c6a6/0/cache/<EMAIL_ADDRESS>    at Function.external_module_.Module._resolveFilename (/Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.pnp.cjs:14674:55)
    at Function.external_module_.Module._load (/Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.pnp.cjs:14473:48)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at Object.<anonymous> (/Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.yarn/__virtual__/@graphql-tools-utils-virtual-5edbf7bf35/0/cache/@graphql-tools-utils-npm-8.2.5-2667229970-421147485c.zip/node_modules/@graphql-tools/utils/index.js:5:17)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.external_module_.Module._load (/Users/mal/Code/src/gitlab.inmusicbrands.com/cloud/mesh2/.pnp.cjs:14523:14)
    at Module.require (node:internal/modules/cjs/loader:1005:19)

This can be manually worked around by adding the following to .yarnrc.yml.
packageExtensions:
  "<EMAIL_ADDRESS>    dependencies:
      graphql: "*"
  "<EMAIL_ADDRESS>    dependencies:
      "@graphql-mesh/types": "*"
      "@graphql-mesh/cache-inmemory-lru": "*"
  "<EMAIL_ADDRESS>    dependencies:
      graphql: "*"

Environment:

OS: Mac
@graphql-mesh/cli: 0.41.0
NodeJS: v16.8.0

Additional context

Do you have graphql package installed in your project?

I have the same issue.
$ yarn mesh dev
~/my-project/.pnp.cjs:26238
throw firstError;
    ^

Error: @graphql-mesh/cli tried to access @graphql-mesh/types, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: @graphql-mesh/types
Required by: @graphql-mesh/cli@virtual:5696cc1addee22c455c87f56d44478f4b95fd689d8455b88c642a128b6a6bb307ed2876bdee9944574c8e0b61cc4cddc3daf3a4ea899ca0365edb0f54870e82c#npm:0.45.0 (via ~/my-project/.yarn/__virtual__/@graphql-mesh-cli-virtual-66fea35a1d/0/cache/@graphql-mesh-cli-npm-0.45.0-044085497b-63641f552c.zip/node_modules/@graphql-mesh/cli/)

Then I tried to add the package mentioned above:
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @endemolshinegroup/cosmiconfig-typescript-loader@npm:3.0.2 [fd1fb] doesn't provide typescript (p51d8a), requested by ts-node
➤ YN0002: │ @graphql-mesh/cli@npm:0.45.0 [957eb] doesn't provide graphql-jit (paa5ba), requested by @graphql-codegen/typescript-jit-sdk
➤ YN0002: │ @graphql-mesh/cli@npm:0.45.0 [957eb] doesn't provide graphql-tag (pa72d2), requested by @graphql-codegen/typescript-jit-sdk
➤ YN0060: │ @my-project/schema@workspace:packages/schema provides graphql (p49a81) with version 16.2.0, which doesn't satisfy what @graphql-codegen/typescript-resolvers and some of its descendants request
➤ YN0060: │ @my-project/server@workspace:packages/server provides graphql (pa98f0) with version 16.2.0, which doesn't satisfy what @graphql-mesh/cli and some of its descendants request
➤ YN0060: │ @my-project/server@workspace:packages/server provides graphql (pc30c6) with version 16.2.0, which doesn't satisfy what apollo-server-core and some of its descendants request
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 388ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0000: └ Completed
➤ YN0000: Done with warnings in 0s 892ms

And tried again:
$ yarn packages/server mesh dev
~/my-project/.pnp.cjs:24936
    throw firstError;
    ^

Error: @graphql-mesh/cli tried to access @graphql-mesh/types, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: @graphql-mesh/types
Required by: @graphql-mesh/cli@virtual:957ebe0bb439cda0610c18e00060d3a56bcfa29f074da0ba599e90494e26c64af27f7863017f4141a3cea89009ee32ac6c94b1b41db9137ab0cb3f54b05b5b1b#npm:0.45.0 (via ~/my-project/.yarn/__virtual__/@graphql-mesh-cli-virtual-dc675481bf/0/cache/@graphql-mesh-cli-npm-0.45.0-044085497b-63641f552c.zip/node_modules/@graphql-mesh/cli/)

My env:
$ node -v
v17.3.0

$ yarn -v
3.1.1

Thanks for the reports!
Can someone create a simple reproduction?
Sorry but I'm not adding a lot here but just labeling it according to our new Contribution Guide and issue flow.
It seems already got into stage 0.
Now in order to advance to stage 1 we'll need a simple reproduction, maybe in code-sandbox?
Later to progress to stage 2, a failing test would be needed, would be great if someone could help progress the issues through the stages.
Thank you and sorry that this comment is not a complete solution (yet).

+1
Yarn 1.x versions (which supports node_modules) is in EOL maintenance. With Corepack since Node 18 there's been a large push to use plug and play, which is what yarn 2.x >= uses. PNP is much more explicity with its dependencies, so it would be nice to see this advance and garner native support from the main maintainers.


Unable to Compile on Windows with Case-sensitive Directories

(Partly just reporting this to make it searchable for other people having the same problem, as I couldn't find anything when I was trying to solve it, but also it may be a sign of some underlying issue)
Godot version:
60d910b1916305c4b0ac5f92415083995b4f7c7a
OS/device including version:
Windows 10
MSVC 10.0A (installed with Visual Studio 2017)
Issue description:
When attempting to compile for Windows, I get the following error:
C:\Workspace\godot\thirdparty\glad\glad/glad.h(93): fatal error C1083: Cannot open include file: 'KHR/khrplatform.h': No such file or directory
scons: *** [platform\windows\os_windows.windows.tools.64.obj] Error 2
scons: building terminated because of errors.

However, the file does exist and is in the correct location.
Note: The actual error may slightly differ if the compilation order of the cpp files changes, but it will always be a "missing" file which does exist and is in the correct location.
After some investigation, it seems this is caused by the directories having case sensitivity enabled.
Steps to reproduce:

Clone the repository (tested at 60d910b1916305c4b0ac5f92415083995b4f7c7a)
Enable case sensitivity on the directories (this can easily be done by cloning via Windows Subsystem for Linux, or see https://blogs.msdn.microsoft.com/commandline/2018/02/28/per-directory-case-sensitivity-and-wsl/)
Compile!

Workaround/Solution:
It is possible to solve this issue by simply removing the case sensitivity.
This can be done with a command something along the lines of:
cd affectedDirectory/
for /r /d %f in (.) do (fsutil file setCaseSensitiveInfo %f disable)

However, as far as I can see all of the cases of the files in the include directives are correct - so it seems that this should work even with case sensitivity enabled.
Is it possible that some part of the build process (either Godot-specific or scons) is changing the case internally?

That's pretty weird, given that Godot builds on case-sensitive filesystems for Linux and macOS, so there's definitely no case issue in our filenames or includes.
I guess there's an issue with the include paths, can you build with scons verbose=yes to see the full build command when it fails?

Here's the snippet from the error when built with verbose=yes:
[Initial build] cl /Foplatform\windows\os_windows.windows.tools.64.obj /c platform\windows\os_windows.cpp /TP /nologo /Z7 /Od /EHsc /MT /Gd /GR /W3 /wd4267 /wd4244 /wd4305 /wd4018 /wd4800 /EHsc -DZSTD_STATIC_LINKING_ONLY -DFREETYPE_ENABLED -DSVG_ENABLED -DGLAD_ENABLED -DGLES_OVER_GL /DDEBUG_MEMORY_ALLOC /DDISABLE_FORCED_INLINE /DDEBUG_ENABLED /DDEBUG_MEMORY_ENABLED /DD3D_DEBUG_INFO /DWINDOWS_ENABLED /DOPENGL_ENABLED /DWASAPI_ENABLED /DWINMIDI_ENABLED /DTYPED_METHOD_BIND /DWIN32 /DMSVC /DWINVER=0x0601 /D_WIN32_WINNT=0x0601 /DNOMINMAX /D_WIN64 /DPTRCALL_ENABLED /DTOOLS_ENABLED /DGDSCRIPT_ENABLED /DMINIZIP_ENABLED /Ieditor /I. /Iplatform\windows /Ithirdparty\zlib /Ithirdparty\zstd /Ithirdparty\glad /Ithirdparty\libpng /Ithirdparty\freetype\include /Ithirdparty\nanosvg
os_windows.cpp
C:\Users\joe\Documents\projects\godot\godotengine\thirdparty/glad/glad/glad.h(97): fatal error C1083: Cannot open include file: 'KHR/khrplatform.h': No such file or directory
scons: *** [platform\windows\os_windows.windows.tools.64.obj] Error 2
scons: building terminated because of errors.

To repro this issue, I enabled case sensitivity on thirdparty/glad/ and thirdparty/glad/KHR/
For anyone trying to play around with this, a quick cheat sheet:

Query case sensitivity with: fsutil file queryCaseSensitiveInfo dirName
Set case sensitivity with: fsutil file setCaseSensitiveInfo dirName [enable|disable]

@joealam Does this occur if you build Godot using MinGW instead of MSVC?

No new answer, closing. Please comment if you can still reproduce the issue.

For the record, I can't reproduce this on commit https://github.com/godotengine/godot/commit/5af533147482922a08fccc6b514225a6f0e9c2bc. I tested this on a case-insensitive Windows 10 2004 installation with MSVC 2019 (16.6.4).
When testing this issue, I made sure to enable case-sensitivity on all of Godot's subdirectories by running for /r /d %f in (.) do (fsutil file setCaseSensitiveInfo %f disable) in cmd.exe in the cloned repository folder.

I'm getting the same error when attempting to build from the latest master branch if I set the opengl3 build option to false.
scons: Reading SConscript files ...
Configuring for Windows: target=release_debug, bits=64
Found MSVC version 14.2, arch amd64, bits=64
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
Compiling platform\windows\display_server_windows.cpp ...
display_server_windows.cpp
C:\Users\blacr\Desktop\godot source\thirdparty/glad/glad/glad.h(93): fatal error C1083: Cannot open include file: 'KHR/khrplatform.h': No such file or directory
scons: *** [platform\windows\display_server_windows.windows.double.opt.tools.64.obj] Error 2
scons: building terminated because of errors.
[Time elapsed: 00:00:08.306]

I was able to build successfully after changing #include <KHR/khrplatform.h> to #include "../KHR/khrplatform.h" in glad.h
These are the build options I used:
bits            = "64"
target          = "release_debug"
j               = "4"
float           = "64"
tools           = "yes"
optimize        = "speed"
vulkan          = "yes"
opengl3         = "no"
deprecated      = "no"
vsproj          = "yes"

@BlacRyu This is an unrelated issue. Please open a separate issue, but note that compiling with specific rendering backends is still largely untested so far.


Add support for traffic alerts

What should trigger an alert?

Daily number of sessions + X% over the last week? (configurable?)
Scaling up (needs to be detectable)

E-Mail: nodemailer (via sendmail transport? or SMTP)

Requirements

[ ]  Alert trigger / detection
[ ] Configuration / settings (optional: could also be handled via ENV_VARs for now)
[ ] E-Mail / Slack integration

After looking into sending mails directly from AWS EC2 / ECS instances, it seems to not be an option as port 25 is explicitly blocked to prevent people from sending spam via AWS.
Webhooks seem like a great alternative, however, and they're supported by both Slack and Mattermost, so it's also not a single platform.

What's left to be figured out:

What should our trigger be for alerts?

Number of Sessions over the last X-minutes?
Number of currently active instances?

How to avoid double sending of alerts?


Error: no fast5 files found

I'm going mad trying to use nanopolish. I basecalled with guppy, then simply concatenated all the .fastq files together and converted into a single large .fasta file. I try:
nanopolish index -d /definitely/the/path/to/the/fast5/files concatenated_reads.fasta
It spends a long time creating an index for the .fasta and then says there are no fast5 files.. what am I missing?

What version of nanopolish are you using? If your fast5s are the new multi-fast5 format then you'll need the very latest nanopolish to use them.

I updated to 0.11.0 and now it works, so that was likely the issue. Sorry for the issue!


fix(firebase_ui_auth): add showPasswordVisibilityToggle to RegisterScreen

Description
Currently, showPasswordVisibilityToggle is available on SignInScreen, but not on RegisterScreen.
Related Issues
#114
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (melos run analyze) does not report any problems on my PR.
[x] All unit tests pass (melos run test:unit:all doesn't fail).
[x] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

@kzrnm - this seems a nice update. Could you merge with main branch, please?

@russellwheatley I have merged with upstream/main.


add unidex logo

If you want to create a space follow this guide
https://docs.snapshot.page/guides/create-a-space

Please do not use uppercase in your space path. Only lowercases are allowed. Thank you.


Difference between variables['variableName'] and $(variableName)

Can you please explain the difference between the two? I was using the $() format until now, but recently encountered a problem when sending a variable as a parameter to a template like this: $(variableName). Sending it using variables['variableName'] worked.
Example:
# File: templates/steps-with-params.yml
parameters:
  publishToFeed: 'false'

steps:
- ${{ if eq(parameters.publishToFeed, 'true') }}:
  - task: PkgESNuGetPublisher@0
    inputs: ...

This does not work:
# File: azure-pipelines.yml

variables:
  publishToFeed: 'true'

steps:
- template: templates/steps-with-params.yml
  parameters:
    publishToFeed: $(publishToFeed)

While this works:
# File: azure-pipelines.yml

variables:
  publishToFeed: 'true'

steps:
- template: templates/steps-with-params.yml
  parameters:
    publishToFeed: ${{ variables['publishToFeed'] }}

Thanks

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

ID: dd7e0bd3-1f7d-d7b6-cc72-5ef63c31b46a
Version Independent ID: dae87abd-b73d-9120-bcdb-6097d4b40f2a
Content: Variables - Azure Pipelines
Content Source: docs/pipelines/process/variables.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Hi, look like a bug in Azure pipelines.
Variables that linked via UI (tab variables or variables groups), not in yaml definition are not reachable via
${{ variables['var_name'] }}

${{ variables['foo'] }} gets dereferenced at template compilation time. $[ variables['foo'] ] gets dereferenced at runtime. $(foo) is a macro expansion which also happens at runtime. Largely, anything the macro syntax can do, the runtime syntax can also do. Runtime syntax also gives you access to expressions, so you can do things like eq(variables['foo'], 'true') or format("My var is {0}", variables['foo']).
I agree, this could be better documented.


Week4: implement meetings' arrangement algorithm

Pls change the pull request description to state what you did in this change

Oh yes, I changed my code in branch week3 and forgot to sync in branch week4.


hardhat_mine is slow

Hardhat had implemented hardhat_mine with a "reserved blocks" scheme, avoiding the mining of empty blocks and simply leaving them unallocated unless/until they're actually accessed.
For EDR, our initial implementation of hardhat_mine was a naive one, simply calling mine_block() in a loop for the requested number of blocks, with an intention to optimize later of necessary. At this point, that optimization does already seem necessary.
Some of the provider tests in the Hardhat codebase ask hardhat_mine to mine a lot of blocks, including one test that asks for a billion. Many of those tests are simply failing with network timeouts:

For a quantitative comparison, here is some "benchmark" data as output by the mocha test runner:

Resolved by https://github.com/NomicFoundation/hardhat/pull/4341


Icicle chart

great apps @milanzmitrovic  :smile:

@someshfengde Thanks Somesh!

@milanzmitrovic I agree nice apps!
For the app with tabs, what do you think about removing the close button.  It makes it so that when you make selections, you can still see the figure.  Plus, it's not necessary since you are using the modal header which has a close button built into it.
Without button:

With button:

Hi Ann,
It makes sense. Thanks for suggestion.
I am updating PR now.

Here is link with updated PR.
https://github.com/AnnMarieW/dash-app-gallery/pull/84/files
It seems like it has my last updates. Please let me know if it works? I am not best experienced with git, sometimes I make mess with creating PR :)

icicle chart added through a new PR


[0.7.3] The Add Camera Zoom event is inconsistent

Describe your bug here.
The Add Camera Zoom has varying effects. When used on a song I made with this update, the camera zooms, and gets stuck. It will keep zooming in and not returning to normal.
However, when used on a song I made when the engine was still just in 0.6.x, the effect works fine, it zooms, and returns to normal.
Both the Chart Editor and using a script.lua have this effect.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No, just pure Lua

If it gets stuck, it's because camZooming has been set to false or the opponent didn't sing a note yet


Hi, when try migrate mysql to postgresql i have this error

psycopg2.DataError: invalid byte sequence for encoding "UTF8": 0xf3 0x6e 0x20 0x50
my db mysql have a lot spanish words like ratón,colchón etc many words with accented(google translate this words :))
any help much appreciation

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41612833-hi-when-try-migrate-mysql-to-postgresql-i-have-this-error?utm_campaign=plugin&utm_content=tracker%2F41641218&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F41641218&utm_medium=issues&utm_source=github).

@CARocha, is looks like your MySQL data is encoded in latin1. Are you running MySQL on a Windows machine, or on Linux?
This is likely an issue where PostgreSQL's COPY FROM command expects UTF-8 encoded characters, and MySQL is sending it Latin-1 encoded characters through ETLAlchemy,

Hi, sorry for reply later, yes my MySQL running on Linux machine, and here is my table

i see is utf8 all tables :/ what's wrong? you see @seanharr11
thank for you help :)

@CARocha - are you able to send me that table? Or can you send me a few rows from the table in a mysqldump file?

Hi @seanharr11 here is the dump table file
https://mega.nz/#!h5d1jQzJ
this es key
!gzW1fpDyS-DyT6cHSmypML-E3N7H8C7yKdkiJUHExoQ
thank for you help

@CARocha the hexadecimal "codepoints" decode (via utf8) to ón P. This substring is found in many rows of the table, and I am not sure why this would be causing psycopg2 to choke.
Are you able to isolate the exact row that causes ETLAlchemy to fail? (There are 287 rows with this substring in your table).

When trying to reproduce, I got a different error:
psycopg2.IntegrityError: null value in column "post_date_gmt" violates not-null constraint
DETAIL:  Failing row contains (163947, 0, 2015-07-02 13:18:57, null, eyJ0aXRsZSI6Ik1pbmlhdHVyYXMgTmV4dEdFTiBCXHUwMGUxc2ljYXMiLCJlbnRp..., Miniaturas NextGEN Básicas, , draft, open, open, , , , , 2015-07-02 13:18:57, null, eyJ0aXRsZSI6Ik1pbmlhdHVyYXMgTmV4dEdFTiBCXHUwMGUxc2ljYXMiLCJlbnRp..., 0, http://www.tn8.tv/?post_type=display_type&p=163947, 0, display_type, , 0).
CONTEXT:  COPY wp_xkim_posts, line 233195: "163947,0,2015-07-02 13:18:57,NULL,"eyJ0aXRsZSI6Ik1pbmlhdHVyYXMgTmV4dEdFTiBCXHUwMGUxc2ljYXMiLCJlbnRpd..."

@seanharr11 yea i have many error launch pyscopg2 to migrate the database, thank for you all helps i think is imposible migrate this database to postgresql in this ways
thanks


binder warning

Fixes #231 by putting in the readme a warning about the binder

There could also be the route of setting up our own server for Binder or jupyterhub, to allow the easy access option without the security issues. I'll look into it for the future.

I also brought that up a while ago and, at least at the time, it was deemed too much work.


KCL-8976 Extend schedule publish with REST code sample

Motivation
Based on this task https://kentico.atlassian.net/browse/KCL-8976?atlOrigin=eyJpIjoiZTNjZDQyNTM5N2U1NGFhNmE0MmI4OTUwYTI0NjBmZDAiLCJwIjoiaiJ9
As a part timezone iteration, we want to extend schedule publish endpoint with new optional property display_timezone which will modify how scheduled publish date and time will be displayed in Kontent app.
Context
Add the following information:

When do you need the code to go public? Provide a release date and/or explanation.
22.6. 2022
Is the pull request complete and ready for review?
Yes

Hi @Radimersky, thanks for the PR! The changes look good so I'm merging this. :)


Problem with using React-Router and withRouter

Routes change by  but components don't render
index.js
ReactDOM.render(
  <Provider>
    <Router basename={config.baseUrl}>
      <App />
    </Router>
  </Provider>,
  document.getElementById('root'),
);

App.jsx
// @flow
import React from 'react';
import { Switch, Route, Redirect, Link, withRouter } from 'react-router-dom';
import { compose } from 'recompose';
import Header from './Header';
import Main from './Main';
import Footer from './Footer';
import Alert from './Common/Alert';
import { connect } from '../store';

const App = ({
  isMobile, location, buyCompletionStep,
}): React.Element<*> => {
  console.log(location);
  return (

            <HeaderWarning />

<Link to="/">Home</Link>

<Link to="/buy">Buy</Link>

<Link to="/sell">Sell</Link>

<Link to="/help">Help</Link>

<Link to="/test">test</Link>

<Link to="/done">Done</Link>

            <Switch>
              <Route
                exact
                path="/"
                component={() => (

                )}
              />
              <Route
                exact
                path="sell"
                render={() => (

Sell

                )}
              />
              <Route
                exact
                path="help"
                render={() => (

Help

                )}
              />
              <Route
                exact
                path="/test"
                render={() => (

Test

                )}
              />
              <Redirect to="/" />
            </Switch>

      <Alert code={buyCompletionStep} />

  );
};

export default compose(
  withRouter,
  connect(state => ({
    lang: state.lang,
    isMobile: state.isMobile,
    buyCompletionStep: state.buyCompletionStep,
  })),
)(App);

Result console.log(location): // {pathname: "/", search: "", hash: "", state: undefined}
and not changed by click on links but real url of browser changed
if using <Router> inside <App> all works

It may be related to with router method check the doc here

Important NotewithRouter does not subscribe to location changes like React Redux’s connect does for state changes. Instead, re-renders after location changes propagate out from the  component. This means that withRouter does not re-render on route transitions unless its parent component re-renders. If you are using withRouter to prevent updates from being blocked by shouldComponentUpdate, it is important that withRouter wraps the component that implements shouldComponentUpdate. For example, when using Redux:


How to scroll map inside HorizontalPager

Hello. I am using google map inside HorizontalPager in jetpack compose
but I am unable to scroll left or right. once i scroll it shift me to left / right tab. how can i achieve with horizontal pager ??
earlier i was using requestDisallowInterceptTouchEvent to scroll inside google map when using ViewPager.

If you would like to upvote the priority of this issue, please comment below or react with :+1: so we can see what is popular when we triage.
@rizwan3742 Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
Open a support case - Get 1:1 support in Cloud Console.
Discord - chat with other developers
StackOverflow - use the google-maps tag

This is an automated message, feel free to ignore.


schema loading from apollo engine schema registry

Is your feature request related to a problem? Please describe.
Apollo Engine provides a Schema Registry:

Apollo Graph Manager provides a schema registry that serves as a central hub for managing your data graph (as recommended by Principled GraphQL). The schema registry enables you to explore your schema's types and fields, track its change history, and improve your production server's security by removing the need for introspection. You can also register variants of your schema to support environments besides production, such as test or staging.

https://www.apollographql.com/docs/graph-manager/schema-registry/
It would be nice if the schema could be loaded from there.
Describe the solution you'd like
The codegen config could look like:
schema: engine#id/tag
generates:
  ./src/types.ts:
    plugins:
      - typescript

which would download from engine the schema from the graph named id at variant tag.
The required engine api key could come as an environment variable.
Describe alternatives you've considered
This can already be achieved using a custom loader (https://graphql-code-generator.com/docs/getting-started/schema-field#custom-schema-loader) but it would be nice to have this directly integrated.
Additional context
The implementation for apollo cli can be found here:
https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo-language-server/src/providers/schema/engine.ts

@kamilkisiela we can create a new loader in graphql-toolkit for this?

@danilobuerger Could you try with the following version?
1.9.2-alpha-6a0f647a.11+6a0f647a
The configuration should be like below;
schema:
   - apollo-engine:
      engine:
         apiKey: [API-KEY]
      client:
         service: [ID]@[TAG]

@ardatan Sure will give it a try and report back.
However, I think it's a really bad idea to put the api key in the codegen config. People will check it in and then leak it everywhere. This should really be an environment variable.

@danilobuerger You can pass it as environmental variable;
schema:
   - apollo-engine:
      engine:
         apiKey: ${API_KEY}
      client:
         service: [ID]@[TAG]

So API_KEY would be coming from env variable.

I didn't know that that was possible, thanks for pointing it out! For future reference, its also documented here: https://graphql-code-generator.com/docs/getting-started/codegen-config#environment-variables

@ardatan Yup, works on my machine. Thanks a lot for all the hard work!

@danilobuerger  Great! Thank you for pointing out the code in the apollo-language-server. So it helped a lot while implementing this feature :)

Available in v1.10.0.


also allow mode.widget_name

fix #151

Coverage increased (+0.05%) to 64.741% when pulling f17850c7a507b24c55cd74cc3fe483cd6d5f2044 on key_conflict_check into ba2acc27b5bf6400108a98eb59333b0ee8ca8e9a on dev.

Coverage increased (+0.05%) to 64.741% when pulling f17850c7a507b24c55cd74cc3fe483cd6d5f2044 on key_conflict_check into ba2acc27b5bf6400108a98eb59333b0ee8ca8e9a on dev.


Feature/channel authentication

Elm:
In this PR i've tried to extract the main channel/socket stuff out of Main and into its own Channel module.
This adds the token payload when joining a channel, and adds channel join errors; currently all channel join errors will force a new login, using @mattsenior earlier work on http errors.
I think maybe Channels will eventually need a namespace alongside Request so that we can dedicate a module to each channel, for now to avoid circular dependencies i've had to put some Error logic into the Request.Channels module, would like to see what @mattsenior thinks.
I've ended up with some pretty huge parameter lists in the new Request.Channel module, that could do with a refactor: i'd like to try and embrace the withAuthToken, withJoinError paradigm much more in the future, but hopefully this is a good first step in that direction.

Yeah looks good, nice to collect this stuff into its own module.
At the moment it looks like all the joinErrors are being interpreted as Unauthorized - I guess in the future we can handle other unexpected errors and other subsequent channel errors using the standard error page or something.


Adding service discovery for delius testing-db

Probation webops ticket nit579 - Adding service discovery capability for Delius testing db ECS service.

Closing, replaced with similar contents in a different PR.


⚠ Bofrost.fr has degraded performance

In a9ebc06, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 943 ms

Resolved: Bofrost.fr performance has improved in c184389 after 6 minutes.


[5.1] Add 'relation' fieldtype to Schema

This provides a shorthand syntax for generating relationship columns in schema, a frequent practice in development (at least in my experience).
The function makes an assumption that you are using unsigned integers for IDs. I realise that this might be a bit short-sighted, so if there are any suggestions on how to handle this better (perhaps also implementing bigRelation and the like) I will gladly work on this further.

Holding off on this.

@taylorotwell Can you confirm whether this is because 5.2 is right around the corner, or because it needs some more work? :)


Need way to specify collaborators on a cookbook

As presently working, the person invoking 'knife supermarket share' is the ONLY person who can maintain that cookbook in supermarket.
This model seems a little goofy to me.  If i'm an admin as defined in supermarket, i'd expect to be able to maintain ANY cookbook in the supermarket.
Having a command line means to specify shared collaborators would alleviate this.  Perhaps a change to supermarket would also be in order.

Hi, @solverdude. Thanks for the feedback.
Administrative rights on a Supermarket is a separate privilege concern from collaborating on a cookbook.
Supermarket has collaborators and collaborator groups for expanding the number of people who can perform maintenance tasks on a cookbook. Is this a request to add to knife supermarket commands to add/remove collaborators and collaborator groups to a cookbook? What would you picture that command looking like?

@SolverDude, any thoughts on @robbkidd's comment above?

Sorry, on vacation.
If i add cookbooks via supermarket share, no one else can add a version of
them, without first going through supermarket gui and baking themselves
collabs.  I'd like an option to specify the collaborators in the share
command, and maybe one to change collaborators for an existing cookbook.
That's my initial thoughts.  Does that make sense?
On Feb 29, 2016 11:13, "Nell Shamrell-Harrington"<EMAIL_ADDRESS>wrote:

@SolverDude https://github.com/SolverDude, any thoughts on @robbkidd
https://github.com/robbkidd's comment above?
—
Reply to this email directly or view it on GitHub
https://github.com/chef/knife-supermarket/issues/25#issuecomment-190339504
.

@nellshamrell and @robbkidd , to further clarify [i'm back to work], I was expecting my being an admin in supermarket to be equivalent to being an admin in Chef Server.  But it isn't that model at present.  So my feature request was more to address the model supermarket uses, and to specify collaborators on adding a cookbook.
I think that the definition Chef server uses for admin is preferred, on further reflection.  Any admin could push any new cookbook version, in my fantasy world.  That might imply another role layer, like 'committer' or something, where they'd need to be a collaborator to add a version.  Then my above enhancement to knife supermarket would apply.

this is more of a bug against supermarket than knife-supermarket


Allow arguments to be passed onto Stack

Fixes the issue where passing arguments to UserControl no longer propagates into Stack subclassing

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

Do we need *args as well?

Perhaps you are right, someone might be using non kwargs allow me a second


CodeCarbon much too verbose. can verbosity be changed?

CodeCarbon version: 2.0.0
Python version: 3.7
Operating System: Linux (google colab). (testing with a CPU, not GPU)

Description
I've integrated code carbon in a google colab with several pytorch training loops. I start it at the very beginning and stop at the very end as indicated in the documentation. When I run my script, it outputs updates at way too frequent intervals, see extract below. can I reduce the verbosity somehow?
from codecarbon import OfflineEmissionsTracker
tracker = OfflineEmissionsTracker(country_iso_code="NLD", output_dir=TRAINING_DIRECTORY,  project_name=f"{DATASET_NAME}-{MODEL_NAME.split('/')[-1]}")
tracker.start()

# ... some code looping over several pytorch training loops for hyperparameter tuning

# extract of output in my notebook cell:
[codecarbon INFO @ 17:56:19] Energy consumed for RAM : 0.000119 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:19] Energy consumed for all CPUs : 0.001063 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:19] 0.001182 kWh of electricity used since the begining.
[codecarbon INFO @ 17:56:27] Energy consumed for RAM : 0.006738 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:27] Energy consumed for all CPUs : 0.060201 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:27] 0.066939 kWh of electricity used since the begining.
[codecarbon INFO @ 17:56:31] Energy consumed for RAM : 0.007332 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:31] Energy consumed for all CPUs : 0.065512 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:31] 0.072844 kWh of electricity used since the begining.
[codecarbon INFO @ 17:56:33] Energy consumed for RAM : 0.000020 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:33] Energy consumed for all CPUs : 0.000177 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:33] 0.000197 kWh of electricity used since the begining.
[codecarbon INFO @ 17:56:34] Energy consumed for RAM : 0.000139 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:34] Energy consumed for all CPUs : 0.001240 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:34] 0.001378 kWh of electricity used since the begining.
[codecarbon INFO @ 17:56:42] Energy consumed for RAM : 0.006757 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:42] Energy consumed for all CPUs : 0.060378 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:42] 0.067135 kWh of electricity used since the begining.
[codecarbon INFO @ 17:56:46] Energy consumed for RAM : 0.007352 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:46] Energy consumed for all CPUs : 0.065689 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:46] 0.073041 kWh of electricity used since the begining.
[codecarbon INFO @ 17:56:48] Energy consumed for RAM : 0.000040 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:48] Energy consumed for all CPUs : 0.000354 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:48] 0.000394 kWh of electricity used since the begining.
[codecarbon INFO @ 17:56:49] Energy consumed for RAM : 0.000159 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:49] Energy consumed for all CPUs : 0.001417 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:49] 0.001575 kWh of electricity used since the begining.
[codecarbon INFO @ 17:56:57] Energy consumed for RAM : 0.006777 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 17:56:57] Energy consumed for all CPUs : 0.060555 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 17:56:57] 0.067332 kWh of electricity used since the begining.

Edit: And a second question: I don't fully understand why the numbers at the different iterations of "XXX kWh of electricity used since the beginning" don't sum up. My intuition would have been that these numbers sum up as the code progresses, but they don't. Not sure if that indicates an issue?

Hello,
You could change the verbosity with log_level='error'
        :param log_level: Global codecarbon log level. Accepts one of:
                            {"debug", "info", "warning", "error", "critical"}.
                          Defaults to "info".

You are right, _total_energy look like to have a bug, thanks for reporting this !

ok, thank you!

Yes,
CodeCarbon is developed with flexibility in mind. This means you don't have to keep passing the same arguments over and over to EmissionTracker objects in your scripts. Any and all arguments can be set from configuration files or environment variables. CodeCarbon will look sequentially for arguments in:

~/.codecarbon.config (global user config)
./.codecarbon.config (local directory config)
CODECARBON_ARG (environment variables)
EmissionsTracker(arg=value)

Config files are INI text files which should look like:
[codecarbon]
log_level = ERROR

For kWh of electricity used since the beginning. I made a test and it works for me.
But the interval between too log is too short, default value is 15 seconds.
Did you instantiate multiple EmissionsTracker ?
Could you send the beginning of the log to see the tracking mode ?

I'm pretty sure that I'm only instantiating the EmissionsTracker once.
Here is the initialisation:
from codecarbon import OfflineEmissionsTracker
tracker = OfflineEmissionsTracker(country_iso_code="NLD", output_dir=TRAINING_DIRECTORY,  project_name="test")
tracker.start()

# output in notebook cell:
[codecarbon INFO @ 20:33:15] offline tracker init
[codecarbon INFO @ 20:33:15] [setup] RAM Tracking...
[codecarbon INFO @ 20:33:15] [setup] GPU Tracking...
[codecarbon INFO @ 20:33:15] Tracking Nvidia GPU via pynvml
[codecarbon INFO @ 20:33:15] [setup] CPU Tracking...
[codecarbon WARNING @ 20:33:15] No CPU tracking mode found. Falling back on CPU constant mode.
[codecarbon WARNING @ 20:33:17] We saw that you have a Intel(R) Xeon(R) CPU @ 2.30GHz but we don't know it. Please contact us.
[codecarbon INFO @ 20:33:17] CPU Model on constant consumption mode: Intel(R) Xeon(R) CPU @ 2.30GHz
[codecarbon INFO @ 20:33:17] >>> Tracker's metadata:
[codecarbon INFO @ 20:33:17]   Platform system: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
[codecarbon INFO @ 20:33:17]   Python version: 3.7.13
[codecarbon INFO @ 20:33:17]   Available RAM : 12.687 GB
[codecarbon INFO @ 20:33:17]   CPU count: 2
[codecarbon INFO @ 20:33:17]   CPU model: Intel(R) Xeon(R) CPU @ 2.30GHz
[codecarbon INFO @ 20:33:17]   GPU count: 1
[codecarbon INFO @ 20:33:17]   GPU model: 1 x Tesla P100-PCIE-16GB

It seems like it outputs co2 consumption updates at certain, frequent intervals (15 sec), whether the cells consumes much energy or not. for example, under a totally normal cell like this:
### import local functions
from google.colab import drive
import sys, os
drive.mount('/content/drive', force_remount=False)
#drive.flush_and_unmount()
print(os.getcwd())
os.chdir("/content/drive/My Drive/Colab Notebooks/")
print(os.getcwd())

sys.path.append("/content/drive/My Drive/Colab Notebooks/")

import few_shot_func
import importlib  # in case of manual updates in .py file
importlib.reload(few_shot_func)

from few_shot_func import random_sample_fill, format_nli_testset, format_nli_trainset  # custom_train_test_split, custom_train_test_split_sent_overlapp
from few_shot_func import load_model_tokenizer, tokenize_datasets, set_train_args, create_trainer
from few_shot_func import compute_metrics_standard, compute_metrics_nli_binary, compute_metrics_classical_ml, clean_memory, aug_back_translation

from sklearn.model_selection import train_test_split
np.random.seed(SEED_GLOBAL)

I get the output:
[codecarbon INFO @ 07:27:02] Energy consumed for RAM : 0.000020 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 07:27:02] Energy consumed for all CPUs : 0.000177 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 07:27:02] 0.000197 kWh of electricity used since the begining.

Can the frequency be reduced to updates very 5 minutes or so?

You are using the package the right way, you could reduce the interval with measure_power_secs=300
What surprise me is that you have a Tesla P100-PCIE-16GB but it is not monitored.

thanks for pointing out the measure_power_secs argument!
Regarding the GPU monitoring: I've been switching around between CPU and GPU for my tests. so for some of the outputs above, it was only running on a CPU, so that's probably not an issue on your end.
(What still seems weird is that the kwh don't seem to sum up in the printed output)

Update: I now use this initialisation: (running on a CPU in google colab)
from codecarbon import OfflineEmissionsTracker
tracker = OfflineEmissionsTracker(country_iso_code="NLD", output_dir=TRAINING_DIRECTORY,  log_level='warning', measure_power_secs=300, project_name=f"asdf")
tracker.start()

and I still get very frequent output, although measure_power_secs=300 and log_level='warning':
[codecarbon INFO @ 11:13:17] Energy consumed for RAM : 0.000020 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:13:17] Energy consumed for all CPUs : 0.000177 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:13:17] 0.000197 kWh of electricity used since the begining.
[codecarbon INFO @ 11:13:32] Energy consumed for RAM : 0.000040 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:13:32] Energy consumed for all CPUs : 0.000354 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:13:32] 0.000394 kWh of electricity used since the begining.
[codecarbon INFO @ 11:13:47] Energy consumed for RAM : 0.000059 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:13:47] Energy consumed for all CPUs : 0.000532 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:13:47] 0.000591 kWh of electricity used since the begining.
[codecarbon INFO @ 11:14:02] Energy consumed for RAM : 0.000079 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:14:02] Energy consumed for all CPUs : 0.000709 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:14:02] 0.000788 kWh of electricity used since the begining.
[codecarbon INFO @ 11:14:17] Energy consumed for RAM : 0.000099 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:14:17] Energy consumed for all CPUs : 0.000886 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:14:17] 0.000985 kWh of electricity used since the begining.
[codecarbon INFO @ 11:14:32] Energy consumed for RAM : 0.000119 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:14:32] Energy consumed for all CPUs : 0.001063 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:14:32] 0.001181 kWh of electricity used since the begining.
[codecarbon INFO @ 11:14:47] Energy consumed for RAM : 0.000139 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:14:47] Energy consumed for all CPUs : 0.001240 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:14:47] 0.001378 kWh of electricity used since the begining.
[codecarbon INFO @ 11:15:02] Energy consumed for RAM : 0.000158 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:15:02] Energy consumed for all CPUs : 0.001417 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:15:02] 0.001575 kWh of electricity used since the begining.
[codecarbon INFO @ 11:15:17] Energy consumed for RAM : 0.000178 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:15:17] Energy consumed for all CPUs : 0.001594 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:15:17] 0.001772 kWh of electricity used since the begining.
[codecarbon INFO @ 11:15:32] Energy consumed for RAM : 0.000198 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:15:32] Energy consumed for all CPUs : 0.001771 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:15:32] 0.001969 kWh of electricity used since the begining.
[codecarbon INFO @ 11:15:47] Energy consumed for RAM : 0.000218 kWh. RAM Power : 4.757494926452637 W
[codecarbon INFO @ 11:15:47] Energy consumed for all CPUs : 0.001948 kWh. All CPUs Power : 42.5 W
[codecarbon INFO @ 11:15:47] 0.002166 kWh of electricity used since the begining.

Hello,
I'm not able to reproduce, I have the expected behavior. Could you execute the file https://github.com/mlco2/codecarbon/pull/311/files#diff-c0d24196d74b1afe05099f8f81055c5744ba1aeb353c2949bdaea3c219f5f0e9 in your environment ?
It will log debug to a codecarbon.log file and only display Warning and Error.

@benoit-cty does the measure_power_secs argument affect the actual measurements or only how frequently print outs are made?

@KasperGroesLudvigsen It affects the measures because it is the interval between two measures.
With rapl it could be very high because we read an energy counter so you always get accurate results.
For GPU we read instant power, then Compute energy over time. If you have many variations in power usage it's not perfect.

Can we close the issue, do you still have the problem ?

I haven't tried it in a while, I think you can close, thanks for your responses


Move to container-based builds

Moving to grunt-cli allows us to use sudo: false

Build successful. Merging.


Added a "Request for Comments" note

Docs Build status updates of commit a45d3d0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/api/addons-api-reference.md
:white_check_mark:Succeeded
View

microsoft-edge/extensions-chromium/publish/api/using-addons-api.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit d218c88:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/api/addons-api-reference.md
:white_check_mark:Succeeded
View

microsoft-edge/extensions-chromium/publish/api/using-addons-api.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1920556:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/api/addons-api-reference.md
:white_check_mark:Succeeded
View

microsoft-edge/extensions-chromium/publish/api/using-addons-api.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


P5 HUB75 64x32 matrix - noisy output and wrong colors displayed, chaining not working

Hi everyone,
I have this panel - https://www.aliexpress.com/item/32998526924.html bought from Aliexpress that I can easily control with an Arduino Mega 2560 following the guide on Adafruit and also using their library - https://learn.adafruit.com/32x16-32x32-rgb-led-matrix/connecting-with-jumper-wires / https://github.com/adafruit/RGB-matrix-Panel
It works with their default configuration and examples, but only one 64x32 matrix (no chaining).
I am also able to correctly control it with the default settings in @hzeller´s https://github.com/hzeller/rpi-rgb-led-matrix
With that, chaining also works (even with 6 of them).
Now, here are my results with PxMatrix.
1. Post your code
The code is probably NOT the issue. I can use it with other LED matrix panels I have (a P4 64x32 for example), but anyway.
#include <PxMatrix.h>

#define P_LAT 22
#define P_A 19
#define P_B 23
#define P_C 18
#define P_D 5
#define P_E 15
#define P_OE 16
hw_timer_t * timer = NULL;
portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED;

#define matrix_width 64
#define matrix_height 32

// This defines the 'on' time of the display is us. The larger this number,
// the brighter the display. If too large the ESP will crash
uint8_t display_draw_time=70; //30-70 is usually fine

//PxMATRIX display(,16,P_LAT, P_OE,P_A,P_B,P_C);
PxMATRIX display(64,32,P_LAT, P_OE,P_A,P_B,P_C,P_D);
//PxMATRIX display(64,64,P_LAT, P_OE,P_A,P_B,P_C,P_D,P_E);

// Some standard colors
uint16_t myRED = display.color565(255, 0, 0);
uint16_t myGREEN = display.color565(0, 255, 0);
uint16_t myBLUE = display.color565(0, 0, 255);
uint16_t myWHITE = display.color565(255, 255, 255);
uint16_t myYELLOW = display.color565(255, 255, 0);
uint16_t myCYAN = display.color565(0, 255, 255);
uint16_t myMAGENTA = display.color565(255, 0, 255);
uint16_t myBLACK = display.color565(0, 0, 0);

uint16_t myCOLORS[8]={myRED,myGREEN,myBLUE,myWHITE,myYELLOW,myCYAN,myMAGENTA,myBLACK};

void IRAM_ATTR display_updater(){
  // Increment the counter and set the time of ISR
  portENTER_CRITICAL_ISR(&timerMux);
  display.display(display_draw_time);
  portEXIT_CRITICAL_ISR(&timerMux);
}

void display_update_enable(bool is_enable)
{

  if (is_enable)
  {
    timer = timerBegin(0, 80, true);
    timerAttachInterrupt(timer, &display_updater, true);
    timerAlarmWrite(timer, 4000, true);
    timerAlarmEnable(timer);
  }
  else
  {
    timerDetachInterrupt(timer);
    timerAlarmDisable(timer);
  }
}

void setup() {
  display.begin(16);

  display.setScanPattern(LINE);

  //display.setPanelsWidth(2);

  display.clearDisplay();
  display.setTextColor(myCYAN);
  display.setCursor(2,0);
  display.print("abcdefghijklmnop");

  display_update_enable(true);

  delay(5000);

}

unsigned long last_draw=0;
void scroll_text(uint8_t ypos, unsigned long scroll_delay, String text, uint8_t colorR, uint8_t colorG, uint8_t colorB)
{
    uint16_t text_length = text.length();
    display.setTextWrap(false);  // we don't wrap text so it scrolls nicely
    display.setTextSize(1);
    display.setRotation(0);
    display.setTextColor(display.color565(colorR,colorG,colorB));

    // Asuming 5 pixel average character width
    for (int xpos=matrix_width; xpos>-(matrix_width+text_length*5); xpos--)
    {
      display.setTextColor(display.color565(colorR,colorG,colorB));
      display.clearDisplay();
      display.setCursor(xpos,ypos);
      display.println(text);
      delay(scroll_delay);
      yield();

      // This might smooth the transition a bit if we go slow
      // display.setTextColor(display.color565(colorR/4,colorG/4,colorB/4));
      // display.setCursor(xpos-1,ypos);
      // display.println(text);

      delay(scroll_delay/5);
      yield();

    }
}

void loop() {
  scroll_text(1,50,"Welcome to PxMatrix!",96,96,250);
  display.clearDisplay();
}

2. Post a picture of the problem and describe what you expect to see
With the code above, I currently see this: (and the scrolling text shows up as white and very noisy).

If I uncomment the display.setPanelsWidth(2); and chain another panel (ESP32 to Panel Input of matrix 1, from there to panel output of matrix 2 and a ribbon connecting all pins of panel output 1 to panel input 2), this is the result - still only the first (ESP32 directly connected) panel lights up, and it displays like this:

Seller instructions say it is a 1/16 scan module, but I tested to see how it looks with 1/8 just to be sure (no chaining, only one module):

3. Run the pattern test and post the result as gif/video (need to have a bit more than one full RED/YELLOW/WHITE cycle)
1/16 pattern test (it loops after WHITE) - please note that the GIF skips some frames, but the pattern test fully runs, smoothly. Here it also doesn't have the noise issues I get on the pixeltime sketch:

1/8 pattern test (it stops/locks up after WHITE):

During both tests only one module is connected.
4. State what version of PxMatrix you are running and what MicroController you use
Latest PxMatrix with ESP-WROOM-32. The wiring is the standard one from the project homepage, with some of the PI wires hooked up to the PO and the rest to the ESP32 via jumper cables. I have tried swapping out cables, boards, re-setting-up and recompiling everything on ESP8266, the results are the same, can't get it to display correctly.
Any ideas are appreciated. Happy holidays!

Hello!  Did you ever get this issue resolved?  I have a very similar problem I think.  I have a single 1/16 P5 64x32 panel which works fine using an Arduino Mega 2560 following the guide on https://github.com/adafruit/RGB-matrix-Panel.   But I want chaining of multiple panels so I have wired it to a D1 mini clone as per instructions on https://github.com/2dom/PxMatrix.  The pattern test runs mostly ok but the "pixeltime" test has serious ghosting.  AFAIK the wiring is correct.  Any ideas?

Hi, the mentioned matrix works properly with another and different wiring - try using this https://github.com/pixelmatix/SmartMatrix
The wiring should be documented as a comment in the corresponding example sketches or you can check out some more details in this project - https://esp32.com/viewtopic.php?f=17&t=3188 or on the library wiki http://docs.pixelmatix.com/SmartMatrix/library.html
You can also check out some discussions on the library forum - https://community.pixelmatix.com/
I got multiple types of non standard panels with the help of folks over there.
Good luck with your project!


replace np.flip with indexing [::-1]

[X] Closes #262
[ ] Tests added

This is an attempt to fix #262. I simply did what @rabernat suggested. With this change, when I installed xgcm from my fork this seem OK.
(base) [nc3020@gadi-login-02 ~]$ python -m pip install --user git+https://github.com/navidcy/xgcm.git@fa8fb6d9ed59201496855e3a303506263e09a007 --upgrade
Collecting git+https://github.com/navidcy/xgcm.git@fa8fb6d9ed59201496855e3a303506263e09a007
  Cloning https://github.com/navidcy/xgcm.git (to revision fa8fb6d9ed59201496855e3a303506263e09a007) to /scratch/v45/nc3020/tmp/pip-req-build-m8f_y12m
  Running command git clone -q https://github.com/navidcy/xgcm.git /scratch/v45/nc3020/tmp/pip-req-build-m8f_y12m
  Running command git checkout -q fa8fb6d9ed59201496855e3a303506263e09a007
Requirement already satisfied, skipping upgrade: xarray>=0.14.1 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from xgcm==0.3.0+79.gfa8fb6d) (0.16.1)
Requirement already satisfied, skipping upgrade: dask in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from xgcm==0.3.0+79.gfa8fb6d) (2.28.0)
Requirement already satisfied, skipping upgrade: numpy in ./.local/lib/python3.7/site-packages (from xgcm==0.3.0+79.gfa8fb6d) (1.19.1)
Requirement already satisfied, skipping upgrade: future in ./.local/lib/python3.7/site-packages (from xgcm==0.3.0+79.gfa8fb6d) (0.18.2)
Requirement already satisfied, skipping upgrade: docrep<=0.2.7 in ./.local/lib/python3.7/site-packages (from xgcm==0.3.0+79.gfa8fb6d) (0.2.7)
Requirement already satisfied, skipping upgrade: setuptools>=38.4 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from xarray>=0.14.1->xgcm==0.3.0+79.gfa8fb6d) (49.2.0.post20200712)
Requirement already satisfied, skipping upgrade: pandas>=0.25 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from xarray>=0.14.1->xgcm==0.3.0+79.gfa8fb6d) (1.1.2)
Requirement already satisfied, skipping upgrade: pyyaml in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from dask->xgcm==0.3.0+79.gfa8fb6d) (5.3.1)
Requirement already satisfied, skipping upgrade: six in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from docrep<=0.2.7->xgcm==0.3.0+79.gfa8fb6d) (1.15.0)
Requirement already satisfied, skipping upgrade: pytz>=2017.2 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from pandas>=0.25->xarray>=0.14.1->xgcm==0.3.0+79.gfa8fb6d) (2020.1)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.7.3 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from pandas>=0.25->xarray>=0.14.1->xgcm==0.3.0+79.gfa8fb6d) (2.8.1)
Building wheels for collected packages: xgcm
  Building wheel for xgcm (setup.py) ... done
  Created wheel for xgcm: filename=xgcm-0.3.0+79.gfa8fb6d-py3-none-any.whl size=60195 sha256=5dd6c3bec21b5470619f5a4add86b771bb638d48482f74074bdef60d2d1c9c6d
  Stored in directory: /home/552/nc3020/.cache/pip/wheels/1f/c4/82/1b4b177ce7ab3fe0b1aaf0c11bf0e0b3d5755d1ebeafc80d62
Successfully built xgcm
Installing collected packages: xgcm
  Attempting uninstall: xgcm
    Found existing installation: xgcm 0.5.0
    Uninstalling xgcm-0.5.0:
      Successfully uninstalled xgcm-0.5.0
Successfully installed xgcm-0.3.0+79.gfa8fb6d
(base) [nc3020@gadi-login-02 ~]$ python
Python 3.7.8 | packaged by conda-forge | (default, Jul 31 2020, 02:25:08)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import xgcm
>>>

@jbusecke could you have a look? I'm not sure whether or what test could have caught this.

I did notice that when I installed from my latest commit I see
Successfully installed xgcm-0.3.0+79.gfa8fb6d

Why 0.3.0+...?

Great! Thanks for the contribution. The modifications look good. I think we should make sure that this all is tested with an older version in the ci. Id suggest you pin an older version of number e.g. here. Id suggest numba<=0.48, unless somebody sees a reason to go even lower? That way we make sure that all the tests are executed at least once with the old numba version.
Additionally, you should remove the version restriction and modify the warning text here.
Also of course, add this to whats-new.rst and get the credit for improving xgcm!
That should be all IMO.
Now to your installation issue, I dont know why its defaulting to that old version...I think there was a similar issue in #262, and a fresh environment did the trick. As long as things go through CI I think we are good. Does anyone else have a clue why conda would do that?

pin numba<=0.48 in all python version envs, right?

@jbusecke, feel free to edit at your liking

hm seems like test fail, I guess since #205 requires numba 0.49?

I changed the numba version back to the latest one for the python 3.7 and 3.8 environment, since we only need one case where we test against the outdated version. In the more recent ci environments we want to test against the latest and greatest.
I think the test will pass once you release the version restriction in grid.py here.
I would change it to ( I tried to edit it but gh was being weird):
# check optional numba dependency
        if numba is None":
            raise ImportError(
                "The transform functionality of xgcm requires numba. Install using `conda install numba` "
            )

Fantastic, thanks @navidcy!


add types to package.json

Adding the types field to package.json means this can be installed directly from npm without having typings installed:
npm install akdor1154/npm-ldapjs (or types/npm-ldapjs once/if this is merged!)
I guess it will also be necessary once @types can redirect to the typings repository...

quickest merge I've ever seen, thanks! :)

No problem 😄  It's handy to have these entries added gradually. Hopefully once redirects land in DefinitelyTyped it'll all just work as a result of it.


[ci] remove nexysvideo build

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

Is there maybe an issue with the fact that later CI jobs depend on the one that you have disabled permanently?

Is there maybe an issue with the fact that later CI jobs depend on the one that you have disabled permanently?

but that shouldn't be any different compared to when we skipped fpga builds just because of docs right..? and shouldn't the CI process at least start or complain..or something?

Is there maybe an issue with the fact that later CI jobs depend on the one that you have disabled permanently?

but that shouldn't be any different compared to when we skipped fpga builds just because of docs right..? and shouldn't the CI process at least start or complain..or something?

Yeah I would also expect it do give some more feedback...

Is there maybe an issue with the fact that later CI jobs depend on the one that you have disabled permanently?

but that shouldn't be any different compared to when we skipped fpga builds just because of docs right..? and shouldn't the CI process at least start or complain..or something?

Yeah I would also expect it do give some more feedback...

okay that false was clearly why. Let me take a look. Maybe the parsing of the conditions failed because as you say, it's not really a "condition".

LGTM. You can also disable the "build software for nexys video" job, which takes another 10 minutes or so CI time (not latency, but resources).

thanks @imphil . let me get this one in first since i'm already in the queue for a lot of CI, i dont' want to lose the spot. I'll follow up with a separate PR to get rid of that 10 minutes.


Fixed a display issue for long ipv6 addresses and port input on mobile

This fixes the display issue of long IP (ipv6) addresses, and the port-input on mobile. I also made the table show nicely on a mobile devices.

Thanks!

Thanks!


android 2.3.3 getClass().getSuperclass().getDeclaredField("mColumnWidth")

Hi! Crush on  android 2.3.+
can you change
Field numColumns = getClass().getSuperclass().getDeclaredField("mColumnWidth");
on
Field numColumns = GridView.class.getDeclaredField("mColumnWidth");

It's fixed now. And I've published the snapshot version: <IP_ADDRESS>-SNAPSHOT to
https://oss.sonatype.org/content/repositories/snapshots/
If it works well, I will publish the release version at once.


feat: use id as filename

it would be great if we could mention this in docs/integrations/obsidian.md
a list of variables that can be used for filenames in general would be great

Thanks for the reminder, @berot3.  I'm adding it here: https://github.com/omnivore-app/docs.omnivore/pull/159

Thank you so much @sywhb
Just another thought: what about folders? 😅😂
Searching through the docs, there is no mention of folder-variables/templates. I mean, like for filename, it is mentioned directly in the settings. But docs should maybe have at least such a bit more difficult to understand options included.
Now what I want to say is, maybe either include folder/attachment folder and filename, or none of them 😄 but I would prefer to include them, since I came to the docs to get some answers, of which I wasn't very sure from the settings-dialog.


fix(tailwind): additional tailwind completion settings for phoenix projects

Description
Tailwind completions stopped working in Phoenix projects that have HTML, HEEX or Elixir files with ~H sigils.
Broader discussion and recommended solution: https://github.com/tailwindlabs/tailwindcss-intellisense/issues/1002
Related Issue(s)
Screenshots

Checklist

[x] I've read the CONTRIBUTING guidelines.

ty


MapView as header

Is there any support for a MapView as the header? It doesn't need touch functionality, just the ability to take a location command and display it as the header instead of an image.. thanks!

I am looking for a similar feature, however, with an actual MapView with touch functionality. Any ideas?

I am looking for a similar feature, however, with an actual MapView with touch functionality. Any ideas?


[BugFix] Report exception when the java udf was error

Why I'm doing:
Current, when Java UDF throw exception, BE only printed the log and the query has not ended. If this UDF is on the conditions, the error result will be obtained.
Similar to https://github.com/StarRocks/starrocks/pull/42590
What I'm doing:
After the end of JNI, check whether there is an exception. If exception appears,  report it.
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[x] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.4
[x] 3.3
[x] 3.2
[x] 3.1
[x] 3.0

I want to add test to Query Test, but I don’t know how to add the UDF function in this test.

@MicePilot can refer: sql/test_jit/T/test_jit_expr, and it's need you support a  udf jar,  we will add it to cloud
BYW, resolve the clang-format plz

--- /home/runner/_work/starrocks/starrocks/be/src/exprs/java_function_call_expr.cpp
+++ /home/runner/_work/starrocks/starrocks/be/src/exprs/java_function_call_expr.cpp (after clang format)
@@ -74,8 +74,8 @@

         // call UDF method
         jobject res = helper.batch_call(fn_desc->call_stub.get(), input_col_objs.data(), input_col_objs.size(), size);
-        // The ctx of the current function argument is not the same as the ctx of fn_desc->call_stub.
-        // The latter is created in JavaFunctionCallExpr::prepare and used in java udf, so we should
+        // The ctx of the current function argument is not the same as the ctx of fn_desc->call_stub.
+        // The latter is created in JavaFunctionCallExpr::prepare and used in java udf, so we should
         // use it to determine whether an exception has occurred.
         FunctionContext* java_udf_ctx = fn_desc->call_stub.get()->ctx();
/home/runner/_work/starrocks/starrocks/be/src/exprs/java_function_call_expr.cpp had clang-format style issues
         if (java_udf_ctx != nullptr && java_udf_ctx->has_error()) {

We already have Exception UDFs for our test collections
                CREATE FUNCTION exception_test(string)
                RETURNS string
                properties
                (
                    "symbol" = "ExceptionUDF2",
                    "type" = "StarrocksJar",
                    "file" = "{url}ExceptionUDF2.jar"
                );

We already have Exception UDFs for our test collections
                CREATE FUNCTION exception_test(string)
                RETURNS string
                properties
                (
                    "symbol" = "ExceptionUDF2",
                    "type" = "StarrocksJar",
                    "file" = "{url}ExceptionUDF2.jar"
                );

thank you，I have updated the test


Add content on default URL

Purpose
Add content on

Default URL corresponding to the default endpoint.
Instructions to change the default endpoint of a component.

Content will look like this

Shall we mention that, once the user either creates multiple deployment tracks within the current major version, or promotes beyond the initial environment the user cant no longer change the default url


Prep for 0.9.4 release

We had to skip 0.9.3 because of a marketplace issue. I'm going to try to overwrite that release by bumping the version to 0.9.4.

Waiting for confirmation from Jason & co. before merging.


fix: trim leading slash when fetching entry from manifest

When in development mode you can specify entrypoint paths with or without a leading slash, as Vite::getEntries() trims the slash.
// Both of these work
{{ vite_entry('/resources/scripts/app.js') }}
{{ vite_entry('resources/scripts/app.js') }}

However, when using the mainfest adding a leading slash fails with Entry '/resources/scripts/app.js' does not exist in the manifest.
This fixes that by trimming the slash before lookup.

Thanks again!